Home
last modified time | relevance | path

Searched refs:fault_attr (Results 1 – 22 of 22) sorted by relevance

/linux-6.1.9/include/linux/
Dfault-inject.h16 struct fault_attr { struct
48 #define DECLARE_FAULT_ATTR(name) struct fault_attr name = FAULT_ATTR_INITIALIZER argument
49 int setup_fault_attr(struct fault_attr *attr, char *str);
50 bool should_fail_ex(struct fault_attr *attr, ssize_t size, int flags);
51 bool should_fail(struct fault_attr *attr, ssize_t size);
56 struct dentry *parent, struct fault_attr *attr);
61 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
/linux-6.1.9/lib/
Dfault-inject.c18 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()
155 bool should_fail(struct fault_attr *attr, ssize_t size) in should_fail()
206 struct dentry *parent, struct fault_attr *attr) in fault_create_debugfs_attr()
Dfault-inject-usercopy.c6 struct fault_attr attr;
/linux-6.1.9/net/sunrpc/
Dfail.h14 struct fault_attr attr;
/linux-6.1.9/drivers/media/platform/qcom/venus/
Ddbgfs.h12 extern struct fault_attr venus_ssr_attr;
/linux-6.1.9/drivers/infiniband/hw/hfi1/
Dfault.h21 struct fault_attr attr;
/linux-6.1.9/mm/
Dfailslab.c8 struct fault_attr attr;
Dpage_alloc.c3870 struct fault_attr attr;
/linux-6.1.9/drivers/ufs/core/
Dufs-fault-injection.c44 struct fault_attr *attr = NULL; in ufs_fault_set()
/linux-6.1.9/drivers/nvme/host/
Dfault_inject.c22 struct fault_attr *attr = &fault_inj->attr; in nvme_fault_inject_init()
Dnvme.h229 struct fault_attr attr;
/linux-6.1.9/drivers/gpu/drm/i915/selftests/
Di915_gem_gtt.c980 vm->fault_attr.probability = 999; in shrink_hole()
981 atomic_set(&vm->fault_attr.times, -1); in shrink_hole()
984 vm->fault_attr.interval = prime; in shrink_hole()
990 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_hole()
1040 vm->fault_attr.probability = 100; in shrink_boom()
1041 vm->fault_attr.interval = 1; in shrink_boom()
1042 atomic_set(&vm->fault_attr.times, -1); in shrink_boom()
1059 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_boom()
1069 memset(&vm->fault_attr, 0, sizeof(vm->fault_attr)); in shrink_boom()
/linux-6.1.9/drivers/gpu/drm/msm/
Dmsm_drv.h37 extern struct fault_attr fail_gem_alloc;
38 extern struct fault_attr fail_gem_iova;
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gtt.h329 I915_SELFTEST_DECLARE(struct fault_attr fault_attr);
Dintel_engine_types.h604 I915_SELFTEST_DECLARE(struct fault_attr reset_timeout);
Dintel_gtt.c67 if (I915_SELFTEST_ONLY(should_fail(&vm->fault_attr, 1))) in alloc_pt_dma()
/linux-6.1.9/drivers/mmc/host/
Ddw_mmc.h241 struct fault_attr fail_data_crc;
Ddw_mmc.c1872 host->fail_data_crc = (struct fault_attr) FAULT_ATTR_INITIALIZER; in dw_mci_init_fault()
/linux-6.1.9/include/linux/mmc/
Dhost.h498 struct fault_attr fail_mmc_request;
/linux-6.1.9/kernel/futex/
Dcore.c63 struct fault_attr attr;
/linux-6.1.9/Documentation/fault-injection/
Dfault-injection.rst243 Please see the definition of struct fault_attr in fault-inject.h
/linux-6.1.9/drivers/block/null_blk/
Dmain.c1989 static bool __null_setup_fault(struct fault_attr *attr, char *str) in __null_setup_fault()