Searched refs:fault_inj (Results 1 – 2 of 2) sorted by relevance
18 void nvme_fault_inject_init(struct nvme_fault_inject *fault_inj, in nvme_fault_inject_init() argument22 struct fault_attr *attr = &fault_inj->attr; in nvme_fault_inject_init()42 fault_inj->parent = parent; in nvme_fault_inject_init()45 fault_inj->status = NVME_SC_INVALID_OPCODE; in nvme_fault_inject_init()46 fault_inj->dont_retry = true; in nvme_fault_inject_init()47 debugfs_create_x16("status", 0600, dir, &fault_inj->status); in nvme_fault_inject_init()48 debugfs_create_bool("dont_retry", 0600, dir, &fault_inj->dont_retry); in nvme_fault_inject_init()
628 void nvme_fault_inject_init(struct nvme_fault_inject *fault_inj,633 static inline void nvme_fault_inject_init(struct nvme_fault_inject *fault_inj, in nvme_fault_inject_init() argument637 static inline void nvme_fault_inject_fini(struct nvme_fault_inject *fault_inj) in nvme_fault_inject_fini() argument