| /Linux-v5.4/drivers/nvme/host/ |
| D | nvme.h | 130 struct nvme_ctrl *ctrl; 180 struct nvme_ctrl { struct 355 struct nvme_ctrl *ctrl; 390 int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val); 391 int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val); 392 int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); 393 void (*free_ctrl)(struct nvme_ctrl *ctrl); 394 void (*submit_async_event)(struct nvme_ctrl *ctrl); 395 void (*delete_ctrl)(struct nvme_ctrl *ctrl); 396 int (*get_address)(struct nvme_ctrl *ctrl, char *buf, int size); [all …]
|
| D | fabrics.h | 147 struct nvme_ctrl *(*create_ctrl)(struct device *dev, 152 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, in nvmf_ctlr_matches_baseopts() 165 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val); 166 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val); 167 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val); 168 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl); 169 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid, bool poll); 173 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size); 174 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl); 175 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, [all …]
|
| D | core.c | 94 static void nvme_remove_invalid_namespaces(struct nvme_ctrl *ctrl, 114 static void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() 129 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset() 139 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl() 149 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync() 164 static void nvme_do_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_do_delete_ctrl() 179 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work() 180 container_of(work, struct nvme_ctrl, delete_work); in nvme_delete_ctrl_work() 185 int nvme_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_delete_ctrl() 195 static int nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_delete_ctrl_sync() [all …]
|
| D | multipath.c | 53 struct nvme_ctrl *ctrl, int *flags) in nvme_set_disk_name() 116 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists() 156 void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl) in nvme_mpath_clear_ctrl_paths() 361 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) in nvme_mpath_alloc_disk() 437 static int nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data, in nvme_parse_ana_log() 438 int (*cb)(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *, in nvme_parse_ana_log() 495 static int nvme_update_ana_state(struct nvme_ctrl *ctrl, in nvme_update_ana_state() 527 static int nvme_read_ana_log(struct nvme_ctrl *ctrl) in nvme_read_ana_log() 567 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); in nvme_ana_work() 574 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); in nvme_anatt_timeout() [all …]
|
| D | fabrics.c | 103 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvmf_get_address() 142 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32() 188 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvmf_reg_read64() 234 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvmf_reg_write32() 271 static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, in nvmf_log_connect_error() 367 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue() 437 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid, bool poll) in nvmf_connect_io_queue() 474 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl) in nvmf_should_reconnect() 547 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, in nvmf_fail_nonready_command() 562 bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, in __nvmf_check_ready() [all …]
|
| D | tcp.c | 111 struct nvme_ctrl ctrl; 125 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in to_tcp_ctrl() 420 static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl) in nvme_tcp_error_recovery() 1133 static void nvme_tcp_free_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_free_queue() 1246 static int nvme_tcp_alloc_queue(struct nvme_ctrl *nctrl, in nvme_tcp_alloc_queue() 1428 static void nvme_tcp_stop_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_stop_queue() 1439 static int nvme_tcp_start_queue(struct nvme_ctrl *nctrl, int idx) in nvme_tcp_start_queue() 1460 static struct blk_mq_tag_set *nvme_tcp_alloc_tagset(struct nvme_ctrl *nctrl, in nvme_tcp_alloc_tagset() 1500 static void nvme_tcp_free_admin_queue(struct nvme_ctrl *ctrl) in nvme_tcp_free_admin_queue() 1510 static void nvme_tcp_free_io_queues(struct nvme_ctrl *ctrl) in nvme_tcp_free_io_queues() [all …]
|
| D | pci.c | 114 struct nvme_ctrl ctrl; 154 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev() 1099 static void nvme_pci_submit_async_event(struct nvme_ctrl *ctrl) in nvme_pci_submit_async_event() 1149 struct nvme_ctrl *ctrl = &dev->ctrl; in adapter_alloc_sq() 2505 static void nvme_pci_free_ctrl(struct nvme_ctrl *ctrl) in nvme_pci_free_ctrl() 2674 static int nvme_pci_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvme_pci_reg_read32() 2680 static int nvme_pci_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvme_pci_reg_write32() 2686 static int nvme_pci_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvme_pci_reg_read64() 2692 static int nvme_pci_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvme_pci_get_address() 2909 static int nvme_get_power_state(struct nvme_ctrl *ctrl, u32 *ps) in nvme_get_power_state() [all …]
|
| D | rdma.c | 112 struct nvme_ctrl ctrl; 117 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() 719 static struct blk_mq_tag_set *nvme_rdma_alloc_tagset(struct nvme_ctrl *nctrl, in nvme_rdma_alloc_tagset() 945 static void nvme_rdma_free_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_free_ctrl() 1412 static void nvme_rdma_submit_async_event(struct nvme_ctrl *arg) in nvme_rdma_submit_async_event() 1560 struct nvme_ctrl *ctrl = &queue->ctrl->ctrl; in nvme_rdma_addr_resolved() 1900 static void nvme_rdma_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_rdma_delete_ctrl() 1971 static struct nvme_ctrl *nvme_rdma_create_ctrl(struct device *dev, in nvme_rdma_create_ctrl()
|
| D | fc.c | 161 struct nvme_ctrl ctrl; 165 to_fc_ctrl(struct nvme_ctrl *ctrl) in to_fc_ctrl() 2063 nvme_fc_nvme_ctrl_freed(struct nvme_ctrl *nctrl) in nvme_fc_nvme_ctrl_freed() 2366 nvme_fc_submit_async_event(struct nvme_ctrl *arg) in nvme_fc_submit_async_event() 2420 struct nvme_ctrl *nctrl = data; in nvme_fc_terminate_exchange() 2851 nvme_fc_delete_ctrl(struct nvme_ctrl *nctrl) in nvme_fc_delete_ctrl() 3033 static struct nvme_ctrl * 3288 static struct nvme_ctrl * 3293 struct nvme_ctrl *ctrl; in nvme_fc_create_ctrl()
|
| D | trace.h | 118 TP_PROTO(struct nvme_ctrl *ctrl, u32 result),
|
| D | lightnvm.c | 481 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_nvm_get_bb_tbl() 561 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_nvm_get_chk_meta()
|
| /Linux-v5.4/drivers/nvme/target/ |
| D | loop.c | 37 struct nvme_ctrl ctrl; 43 static inline struct nvme_loop_ctrl *to_loop_ctrl(struct nvme_ctrl *ctrl) in to_loop_ctrl() 174 static void nvme_loop_submit_async_event(struct nvme_ctrl *arg) in nvme_loop_submit_async_event() 262 static void nvme_loop_free_ctrl(struct nvme_ctrl *nctrl) in nvme_loop_free_ctrl() 427 static void nvme_loop_delete_ctrl_host(struct nvme_ctrl *ctrl) in nvme_loop_delete_ctrl_host() 551 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port() 568 static struct nvme_ctrl *nvme_loop_create_ctrl(struct device *dev, in nvme_loop_create_ctrl()
|