Searched refs:fault_attr (Results 1 – 20 of 20) sorted by relevance
/linux/include/linux/ |
A D | fault-inject.h | 16 struct fault_attr { struct 44 #define DECLARE_FAULT_ATTR(name) struct fault_attr name = FAULT_ATTR_INITIALIZER argument 45 int setup_fault_attr(struct fault_attr *attr, char *str); 46 bool should_fail(struct fault_attr *attr, ssize_t size); 51 struct dentry *parent, struct fault_attr *attr); 56 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
|
/linux/lib/ |
A D | fault-inject.c | 18 int setup_fault_attr(struct fault_attr *attr, char *str) in setup_fault_attr() 42 static void fail_dump(struct fault_attr *attr) in fail_dump() 58 static bool fail_task(struct fault_attr *attr, struct task_struct *task) in fail_task() 67 static bool fail_stacktrace(struct fault_attr *attr) in fail_stacktrace() 91 static inline bool fail_stacktrace(struct fault_attr *attr) in fail_stacktrace() 103 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() 200 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
|
A D | fault-inject-usercopy.c | 6 struct fault_attr attr;
|
/linux/net/sunrpc/ |
A D | fail.h | 14 struct fault_attr attr;
|
/linux/drivers/gpu/drm/i915/selftests/ |
A D | i915_gem_gtt.c | 946 vm->fault_attr.probability = 999; in shrink_hole() 947 atomic_set(&vm->fault_attr.times, -1); in shrink_hole() 950 vm->fault_attr.interval = prime; in shrink_hole() 956 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_hole() 1006 vm->fault_attr.probability = 100; in shrink_boom() 1007 vm->fault_attr.interval = 1; in shrink_boom() 1008 atomic_set(&vm->fault_attr.times, -1); in shrink_boom() 1025 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_boom() 1035 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_boom()
|
/linux/drivers/infiniband/hw/hfi1/ |
A D | fault.h | 21 struct fault_attr attr;
|
/linux/mm/ |
A D | failslab.c | 8 struct fault_attr attr;
|
A D | page_alloc.c | 3739 struct fault_attr attr;
|
/linux/drivers/scsi/ufs/ |
A D | ufs-fault-injection.c | 44 struct fault_attr *attr = NULL; in ufs_fault_set()
|
/linux/drivers/nvme/host/ |
A D | fault_inject.c | 22 struct fault_attr *attr = &fault_inj->attr; in nvme_fault_inject_init()
|
A D | nvme.h | 224 struct fault_attr attr;
|
/linux/drivers/gpu/drm/i915/gt/ |
A D | intel_gtt.h | 300 I915_SELFTEST_DECLARE(struct fault_attr fault_attr);
|
A D | intel_engine_types.h | 530 I915_SELFTEST_DECLARE(struct fault_attr reset_timeout);
|
A D | intel_gtt.c | 51 if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1))) in alloc_pt_dma()
|
/linux/drivers/mmc/host/ |
A D | dw_mmc.h | 237 struct fault_attr fail_data_crc;
|
A D | dw_mmc.c | 1840 host->fail_data_crc = (struct fault_attr) FAULT_ATTR_INITIALIZER; in dw_mci_init_fault()
|
/linux/include/linux/mmc/ |
A D | host.h | 479 struct fault_attr fail_mmc_request;
|
/linux/kernel/futex/ |
A D | core.c | 68 struct fault_attr attr;
|
/linux/Documentation/fault-injection/ |
A D | fault-injection.rst | 238 Please see the definition of struct fault_attr in fault-inject.h
|
/linux/drivers/block/null_blk/ |
A D | main.c | 1950 static bool __null_setup_fault(struct fault_attr *attr, char *str) in __null_setup_fault()
|
Completed in 68 milliseconds