Searched refs:fault_attr (Results 1 – 22 of 22) sorted by relevance
/Linux-v6.6/include/linux/ |
D | fault-inject.h | 17 struct fault_attr { struct 49 #define DECLARE_FAULT_ATTR(name) struct fault_attr name = FAULT_ATTR_INITIALIZER argument 50 int setup_fault_attr(struct fault_attr *attr, char *str); 51 bool should_fail_ex(struct fault_attr *attr, ssize_t size, int flags); 52 bool should_fail(struct fault_attr *attr, ssize_t size); 57 struct dentry *parent, struct fault_attr *attr); 62 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr() 72 struct fault_attr attr;
|
/Linux-v6.6/lib/ |
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_ex(struct fault_attr *attr, ssize_t size, int flags) in should_fail_ex() 161 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail() 212 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
|
D | fault-inject-usercopy.c | 6 struct fault_attr attr;
|
/Linux-v6.6/net/sunrpc/ |
D | fail.h | 14 struct fault_attr attr;
|
/Linux-v6.6/drivers/media/platform/qcom/venus/ |
D | dbgfs.h | 12 extern struct fault_attr venus_ssr_attr;
|
/Linux-v6.6/drivers/gpu/drm/i915/selftests/ |
D | i915_gem_gtt.c | 986 vm->fault_attr.probability = 999; in shrink_hole() 987 atomic_set(&vm->fault_attr.times, -1); in shrink_hole() 990 vm->fault_attr.interval = prime; in shrink_hole() 996 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_hole() 1046 vm->fault_attr.probability = 100; in shrink_boom() 1047 vm->fault_attr.interval = 1; in shrink_boom() 1048 atomic_set(&vm->fault_attr.times, -1); in shrink_boom() 1065 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_boom() 1075 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_boom()
|
/Linux-v6.6/drivers/infiniband/hw/hfi1/ |
D | fault.h | 21 struct fault_attr attr;
|
/Linux-v6.6/mm/ |
D | fail_page_alloc.c | 6 struct fault_attr attr;
|
D | failslab.c | 8 struct fault_attr attr;
|
/Linux-v6.6/drivers/ufs/core/ |
D | ufs-fault-injection.c | 44 struct fault_attr *attr = NULL; in ufs_fault_set()
|
/Linux-v6.6/drivers/nvme/host/ |
D | fault_inject.c | 22 struct fault_attr *attr = &fault_inj->attr; in nvme_fault_inject_init()
|
D | nvme.h | 240 struct fault_attr attr;
|
/Linux-v6.6/drivers/gpu/drm/msm/ |
D | msm_drv.h | 37 extern struct fault_attr fail_gem_alloc; 38 extern struct fault_attr fail_gem_iova;
|
/Linux-v6.6/drivers/gpu/drm/i915/gt/ |
D | intel_gtt.h | 346 I915_SELFTEST_DECLARE(struct fault_attr fault_attr);
|
D | intel_engine_types.h | 623 I915_SELFTEST_DECLARE(struct fault_attr reset_timeout);
|
D | intel_gtt.c | 70 if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1))) in alloc_pt_dma()
|
/Linux-v6.6/drivers/mmc/host/ |
D | dw_mmc.h | 241 struct fault_attr fail_data_crc;
|
D | dw_mmc.c | 1871 host->fail_data_crc = (struct fault_attr) FAULT_ATTR_INITIALIZER; in dw_mci_init_fault()
|
/Linux-v6.6/include/linux/mmc/ |
D | host.h | 505 struct fault_attr fail_mmc_request;
|
/Linux-v6.6/kernel/futex/ |
D | core.c | 63 struct fault_attr attr;
|
/Linux-v6.6/Documentation/fault-injection/ |
D | fault-injection.rst | 316 Please see the definition of struct fault_attr in fault-inject.h
|
/Linux-v6.6/drivers/block/null_blk/ |
D | main.c | 2057 static bool __null_setup_fault(struct fault_attr *attr, char *str) in __null_setup_fault()
|