| /Linux-v5.15/drivers/nvme/host/ |
| D | nvme.h | 160 struct nvme_ctrl *ctrl; 231 struct nvme_ctrl { struct 440 struct nvme_ctrl *ctrl; 487 int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val); 488 int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val); 489 int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); 490 void (*free_ctrl)(struct nvme_ctrl *ctrl); 491 void (*submit_async_event)(struct nvme_ctrl *ctrl); 492 void (*delete_ctrl)(struct nvme_ctrl *ctrl); 493 int (*get_address)(struct nvme_ctrl *ctrl, char *buf, int size); [all …]
|
| D | fabrics.h | 163 struct nvme_ctrl *(*create_ctrl)(struct device *dev, 168 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, in nvmf_ctlr_matches_baseopts() 181 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val); 182 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val); 183 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val); 184 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl); 185 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid); 189 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size); 190 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl); 191 bool nvmf_ip_options_match(struct nvme_ctrl *ctrl,
|
| D | core.c | 116 static void nvme_remove_invalid_namespaces(struct nvme_ctrl *ctrl, 118 static void nvme_update_keep_alive(struct nvme_ctrl *ctrl, 140 void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() 155 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset() 167 struct nvme_ctrl *ctrl = container_of(to_delayed_work(work), in nvme_failfast_work() 168 struct nvme_ctrl, failfast_work); in nvme_failfast_work() 178 static inline void nvme_start_failfast_work(struct nvme_ctrl *ctrl) in nvme_start_failfast_work() 187 static inline void nvme_stop_failfast_work(struct nvme_ctrl *ctrl) in nvme_stop_failfast_work() 197 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl() 207 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync() [all …]
|
| D | multipath.c | 97 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists() 137 void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl) in nvme_mpath_clear_ctrl_paths() 455 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) in nvme_mpath_alloc_disk() 522 static int nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data, in nvme_parse_ana_log() 523 int (*cb)(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *, in nvme_parse_ana_log() 582 static int nvme_update_ana_state(struct nvme_ctrl *ctrl, in nvme_update_ana_state() 617 static int nvme_read_ana_log(struct nvme_ctrl *ctrl) in nvme_read_ana_log() 657 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); in nvme_ana_work() 667 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); in nvme_anatt_timeout() 673 void nvme_mpath_stop(struct nvme_ctrl *ctrl) in nvme_mpath_stop() [all …]
|
| D | hwmon.c | 14 struct nvme_ctrl *ctrl; 19 static int nvme_get_temp_thresh(struct nvme_ctrl *ctrl, int sensor, bool under, in nvme_get_temp_thresh() 40 static int nvme_set_temp_thresh(struct nvme_ctrl *ctrl, int sensor, bool under, in nvme_set_temp_thresh() 224 int nvme_hwmon_init(struct nvme_ctrl *ctrl) in nvme_hwmon_init() 257 void nvme_hwmon_exit(struct nvme_ctrl *ctrl) in nvme_hwmon_exit()
|
| D | fabrics.c | 103 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvmf_get_address() 145 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32() 191 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvmf_reg_read64() 236 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvmf_reg_write32() 268 static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, in nvmf_log_connect_error() 363 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue() 429 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid) in nvmf_connect_io_queue() 465 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl) in nvmf_should_reconnect() 885 bool nvmf_ip_options_match(struct nvme_ctrl *ctrl, in nvmf_ip_options_match() 955 static struct nvme_ctrl * [all …]
|
| D | tcp.c | 127 struct nvme_ctrl ctrl; 142 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in to_tcp_ctrl() 484 static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl) in nvme_tcp_error_recovery() 1233 static void nvme_tcp_free_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_free_queue() 1402 static int nvme_tcp_alloc_queue(struct nvme_ctrl *nctrl, in nvme_tcp_alloc_queue() 1576 static void nvme_tcp_stop_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_stop_queue() 1587 static int nvme_tcp_start_queue(struct nvme_ctrl *nctrl, int idx) in nvme_tcp_start_queue() 1608 static struct blk_mq_tag_set *nvme_tcp_alloc_tagset(struct nvme_ctrl *nctrl, in nvme_tcp_alloc_tagset() 1649 static void nvme_tcp_free_admin_queue(struct nvme_ctrl *ctrl) in nvme_tcp_free_admin_queue() 1660 static void nvme_tcp_free_io_queues(struct nvme_ctrl *ctrl) in nvme_tcp_free_io_queues() [all …]
|
| D | ioctl.c | 176 static bool nvme_validate_passthru_nsid(struct nvme_ctrl *ctrl, in nvme_validate_passthru_nsid() 190 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd() 237 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64() 292 static int nvme_ctrl_ioctl(struct nvme_ctrl *ctrl, unsigned int cmd, in nvme_ctrl_ioctl() 377 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_ns_head_ctrl_ioctl() 440 static int nvme_dev_user_cmd(struct nvme_ctrl *ctrl, void __user *argp) in nvme_dev_user_cmd() 476 struct nvme_ctrl *ctrl = file->private_data; in nvme_dev_ioctl()
|
| D | pci.c | 138 struct nvme_ctrl ctrl; 179 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev() 1109 static void nvme_pci_submit_async_event(struct nvme_ctrl *ctrl) in nvme_pci_submit_async_event() 1156 struct nvme_ctrl *ctrl = &dev->ctrl; in adapter_alloc_sq() 2126 struct nvme_ctrl *ctrl = in nvme_pci_attrs_are_visible() 2670 static void nvme_pci_free_ctrl(struct nvme_ctrl *ctrl) in nvme_pci_free_ctrl() 2852 static int nvme_pci_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvme_pci_reg_read32() 2858 static int nvme_pci_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvme_pci_reg_write32() 2864 static int nvme_pci_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvme_pci_reg_read64() 2870 static int nvme_pci_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvme_pci_get_address() [all …]
|
| D | trace.h | 118 TP_PROTO(struct nvme_ctrl *ctrl, u32 result),
|
| D | rdma.c | 125 struct nvme_ctrl ctrl; 130 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() 792 static struct blk_mq_tag_set *nvme_rdma_alloc_tagset(struct nvme_ctrl *nctrl, in nvme_rdma_alloc_tagset() 1052 static void nvme_rdma_free_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_free_ctrl() 1700 static void nvme_rdma_submit_async_event(struct nvme_ctrl *arg) in nvme_rdma_submit_async_event() 1852 struct nvme_ctrl *ctrl = &queue->ctrl->ctrl; in nvme_rdma_addr_resolved() 2242 static void nvme_rdma_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_rdma_delete_ctrl() 2313 static struct nvme_ctrl *nvme_rdma_create_ctrl(struct device *dev, in nvme_rdma_create_ctrl()
|
| D | zns.c | 21 static int nvme_set_max_append(struct nvme_ctrl *ctrl) in nvme_set_max_append()
|
| D | fc.c | 179 struct nvme_ctrl ctrl; 183 to_fc_ctrl(struct nvme_ctrl *ctrl) in to_fc_ctrl() 2418 nvme_fc_nvme_ctrl_freed(struct nvme_ctrl *nctrl) in nvme_fc_nvme_ctrl_freed() 2443 struct nvme_ctrl *nctrl = data; in nvme_fc_terminate_exchange() 2812 nvme_fc_submit_async_event(struct nvme_ctrl *arg) in nvme_fc_submit_async_event() 3261 nvme_fc_delete_ctrl(struct nvme_ctrl *nctrl) in nvme_fc_delete_ctrl() 3425 static struct nvme_ctrl * 3688 static struct nvme_ctrl * 3693 struct nvme_ctrl *ctrl; in nvme_fc_create_ctrl()
|
| /Linux-v5.15/drivers/nvme/target/ |
| D | loop.c | 37 struct nvme_ctrl ctrl; 42 static inline struct nvme_loop_ctrl *to_loop_ctrl(struct nvme_ctrl *ctrl) in to_loop_ctrl() 173 static void nvme_loop_submit_async_event(struct nvme_ctrl *arg) in nvme_loop_submit_async_event() 274 static void nvme_loop_free_ctrl(struct nvme_ctrl *nctrl) in nvme_loop_free_ctrl() 441 static void nvme_loop_delete_ctrl_host(struct nvme_ctrl *ctrl) in nvme_loop_delete_ctrl_host() 565 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port() 582 static struct nvme_ctrl *nvme_loop_create_ctrl(struct device *dev, in nvme_loop_create_ctrl()
|
| D | passthru.c | 36 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl; in nvmet_passthru_override_id_ctrl() 231 struct nvme_ctrl *ctrl = nvmet_req_subsys(req)->passthru_ctrl; in nvmet_passthru_execute_cmd() 312 struct nvme_ctrl *ctrl = nvmet_req_subsys(req)->passthru_ctrl; in nvmet_passthru_set_host_behaviour() 512 struct nvme_ctrl *ctrl; in nvmet_passthru_ctrl_enable()
|
| D | nvmet.h | 247 struct nvme_ctrl *passthru_ctrl;
|