Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/random.h>
#include <linux/sched.h>
#include <linux/stat.h>
#include <linux/types.h>
#include <linux/fs.h>
#include <linux/export.h>
#include <linux/interrupt.h>
#include <linux/stacktrace.h>
#include <linux/fault-inject.h>
Go to the source code of this file.
Macros | |
#define | atomic_dec_not_zero(v) atomic_add_unless((v), -1, 0) |
#define | MAX_STACK_TRACE_DEPTH 32 |
Functions | |
int | setup_fault_attr (struct fault_attr *attr, char *str) |
EXPORT_SYMBOL_GPL (setup_fault_attr) | |
bool | should_fail (struct fault_attr *attr, ssize_t size) |
EXPORT_SYMBOL_GPL (should_fail) | |
Definition at line 49 of file fault-inject.c.
#define MAX_STACK_TRACE_DEPTH 32 |
Definition at line 56 of file fault-inject.c.
EXPORT_SYMBOL_GPL | ( | setup_fault_attr | ) |
EXPORT_SYMBOL_GPL | ( | should_fail | ) |
Definition at line 17 of file fault-inject.c.
Definition at line 102 of file fault-inject.c.