/linux-6.1.9/drivers/nvme/host/ |
D | nvme.h | 165 struct nvme_ctrl *ctrl; 242 struct nvme_ctrl { struct 462 struct nvme_ctrl *ctrl; 514 int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val); 515 int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val); 516 int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); 517 void (*free_ctrl)(struct nvme_ctrl *ctrl); 518 void (*submit_async_event)(struct nvme_ctrl *ctrl); 519 void (*delete_ctrl)(struct nvme_ctrl *ctrl); 520 void (*stop_ctrl)(struct nvme_ctrl *ctrl); [all …]
|
D | fabrics.h | 171 struct nvme_ctrl *(*create_ctrl)(struct device *dev, 176 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, in nvmf_ctlr_matches_baseopts() 190 static inline char *nvmf_ctrl_subsysnqn(struct nvme_ctrl *ctrl) in nvmf_ctrl_subsysnqn() 205 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val); 206 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val); 207 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val); 208 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl); 209 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid); 213 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size); 214 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl); [all …]
|
D | core.c | 123 static void nvme_remove_invalid_namespaces(struct nvme_ctrl *ctrl, 125 static void nvme_update_keep_alive(struct nvme_ctrl *ctrl, 128 void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() 143 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset() 155 struct nvme_ctrl *ctrl = container_of(to_delayed_work(work), in nvme_failfast_work() 156 struct nvme_ctrl, failfast_work); in nvme_failfast_work() 166 static inline void nvme_start_failfast_work(struct nvme_ctrl *ctrl) in nvme_start_failfast_work() 175 static inline void nvme_stop_failfast_work(struct nvme_ctrl *ctrl) in nvme_stop_failfast_work() 185 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl() 195 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync() [all …]
|
D | auth.c | 19 struct nvme_ctrl *ctrl; 50 static int nvme_auth_submit(struct nvme_ctrl *ctrl, int qid, in nvme_auth_submit() 82 static int nvme_auth_receive_validate(struct nvme_ctrl *ctrl, int qid, in nvme_auth_receive_validate() 109 static int nvme_auth_set_dhchap_negotiate_data(struct nvme_ctrl *ctrl, in nvme_auth_set_dhchap_negotiate_data() 141 static int nvme_auth_process_dhchap_challenge(struct nvme_ctrl *ctrl, in nvme_auth_process_dhchap_challenge() 294 static int nvme_auth_set_dhchap_reply_data(struct nvme_ctrl *ctrl, in nvme_auth_set_dhchap_reply_data() 341 static int nvme_auth_process_dhchap_success1(struct nvme_ctrl *ctrl, in nvme_auth_process_dhchap_success1() 394 static int nvme_auth_set_dhchap_success2_data(struct nvme_ctrl *ctrl, in nvme_auth_set_dhchap_success2_data() 408 static int nvme_auth_set_dhchap_failure2_data(struct nvme_ctrl *ctrl, in nvme_auth_set_dhchap_failure2_data() 424 static int nvme_auth_dhchap_setup_host_response(struct nvme_ctrl *ctrl, in nvme_auth_dhchap_setup_host_response() [all …]
|
D | multipath.c | 117 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists() 160 void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl) in nvme_mpath_clear_ctrl_paths() 483 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) in nvme_mpath_alloc_disk() 571 static int nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data, in nvme_parse_ana_log() 572 int (*cb)(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *, in nvme_parse_ana_log() 640 static int nvme_update_ana_state(struct nvme_ctrl *ctrl, in nvme_update_ana_state() 675 static int nvme_read_ana_log(struct nvme_ctrl *ctrl) in nvme_read_ana_log() 715 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); in nvme_ana_work() 723 void nvme_mpath_update(struct nvme_ctrl *ctrl) in nvme_mpath_update() 737 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); in nvme_anatt_timeout() [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() 268 void nvme_hwmon_exit(struct nvme_ctrl *ctrl) in nvme_hwmon_exit()
|
D | tcp.c | 166 struct nvme_ctrl ctrl; 181 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in to_tcp_ctrl() 523 static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl) in nvme_tcp_error_recovery() 1298 static void nvme_tcp_free_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_free_queue() 1487 static int nvme_tcp_alloc_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_alloc_queue() 1661 static void nvme_tcp_stop_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_stop_queue() 1675 static int nvme_tcp_start_queue(struct nvme_ctrl *nctrl, int idx) in nvme_tcp_start_queue() 1696 static void nvme_tcp_free_admin_queue(struct nvme_ctrl *ctrl) in nvme_tcp_free_admin_queue() 1707 static void nvme_tcp_free_io_queues(struct nvme_ctrl *ctrl) in nvme_tcp_free_io_queues() 1715 static void nvme_tcp_stop_io_queues(struct nvme_ctrl *ctrl) in nvme_tcp_stop_io_queues() [all …]
|
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() 190 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvmf_reg_read64() 235 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvmf_reg_write32() 267 static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, in nvmf_log_connect_error() 372 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue() 456 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid) in nvmf_connect_io_queue() 508 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl) in nvmf_should_reconnect() 965 bool nvmf_ip_options_match(struct nvme_ctrl *ctrl, in nvmf_ip_options_match() 1051 static struct nvme_ctrl * [all …]
|
D | ioctl.c | 146 struct nvme_ctrl *ctrl; in nvme_submit_user_cmd() 249 static bool nvme_validate_passthru_nsid(struct nvme_ctrl *ctrl, in nvme_validate_passthru_nsid() 263 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd() 310 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64() 472 static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_uring_cmd_io() 572 static int nvme_ctrl_ioctl(struct nvme_ctrl *ctrl, unsigned int cmd, in nvme_ctrl_ioctl() 667 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_ns_uring_cmd() 722 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_ns_head_ctrl_ioctl() 827 struct nvme_ctrl *ctrl = ioucmd->file->private_data; in nvme_dev_uring_cmd() 852 static int nvme_dev_user_cmd(struct nvme_ctrl *ctrl, void __user *argp) in nvme_dev_user_cmd() [all …]
|
D | pci.c | 140 struct nvme_ctrl ctrl; 179 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev() 1185 static void nvme_pci_submit_async_event(struct nvme_ctrl *ctrl) in nvme_pci_submit_async_event() 1236 struct nvme_ctrl *ctrl = &dev->ctrl; in adapter_alloc_sq() 2218 struct nvme_ctrl *ctrl = in nvme_pci_attrs_are_visible() 2777 static void nvme_pci_free_ctrl(struct nvme_ctrl *ctrl) in nvme_pci_free_ctrl() 2964 static int nvme_pci_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvme_pci_reg_read32() 2970 static int nvme_pci_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvme_pci_reg_write32() 2976 static int nvme_pci_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvme_pci_reg_read64() 2982 static int nvme_pci_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvme_pci_get_address() [all …]
|
D | apple.c | 187 struct nvme_ctrl ctrl; 203 static inline struct apple_nvme *ctrl_to_apple_nvme(struct nvme_ctrl *ctrl) in ctrl_to_apple_nvme() 1170 static int apple_nvme_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in apple_nvme_reg_read32() 1176 static int apple_nvme_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in apple_nvme_reg_write32() 1182 static int apple_nvme_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in apple_nvme_reg_read64() 1188 static int apple_nvme_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in apple_nvme_get_address() 1195 static void apple_nvme_free_ctrl(struct nvme_ctrl *ctrl) in apple_nvme_free_ctrl()
|
D | rdma.c | 126 struct nvme_ctrl ctrl; 131 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() 791 static int nvme_rdma_alloc_tag_set(struct nvme_ctrl *ctrl) in nvme_rdma_alloc_tag_set() 996 static void nvme_rdma_stop_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_stop_ctrl() 1004 static void nvme_rdma_free_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_free_ctrl() 1686 static void nvme_rdma_submit_async_event(struct nvme_ctrl *arg) in nvme_rdma_submit_async_event() 1838 struct nvme_ctrl *ctrl = &queue->ctrl->ctrl; in nvme_rdma_addr_resolved() 2219 static void nvme_rdma_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_rdma_delete_ctrl() 2291 static struct nvme_ctrl *nvme_rdma_create_ctrl(struct device *dev, in nvme_rdma_create_ctrl()
|
D | trace.h | 118 TP_PROTO(struct nvme_ctrl *ctrl, u32 result),
|
D | fc.c | 180 struct nvme_ctrl ctrl; 184 to_fc_ctrl(struct nvme_ctrl *ctrl) in to_fc_ctrl() 2425 nvme_fc_nvme_ctrl_freed(struct nvme_ctrl *nctrl) in nvme_fc_nvme_ctrl_freed() 2449 struct nvme_ctrl *nctrl = data; in nvme_fc_terminate_exchange() 2819 nvme_fc_submit_async_event(struct nvme_ctrl *arg) in nvme_fc_submit_async_event() 3262 nvme_fc_delete_ctrl(struct nvme_ctrl *nctrl) in nvme_fc_delete_ctrl() 3426 static struct nvme_ctrl * 3660 static struct nvme_ctrl * 3665 struct nvme_ctrl *ctrl; in nvme_fc_create_ctrl()
|
D | zns.c | 21 static int nvme_set_max_append(struct nvme_ctrl *ctrl) in nvme_set_max_append()
|
/linux-6.1.9/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() 272 static void nvme_loop_free_ctrl(struct nvme_ctrl *nctrl) in nvme_loop_free_ctrl() 410 static void nvme_loop_delete_ctrl_host(struct nvme_ctrl *ctrl) in nvme_loop_delete_ctrl_host() 516 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port() 533 static struct nvme_ctrl *nvme_loop_create_ctrl(struct device *dev, in nvme_loop_create_ctrl()
|
D | passthru.c | 83 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl; in nvmet_passthru_override_id_ctrl() 218 struct nvme_ctrl *ctrl = nvme_req(rq)->ctrl; in nvmet_passthru_execute_cmd_work() 293 struct nvme_ctrl *ctrl = nvmet_req_subsys(req)->passthru_ctrl; in nvmet_passthru_execute_cmd() 374 struct nvme_ctrl *ctrl = nvmet_req_subsys(req)->passthru_ctrl; in nvmet_passthru_set_host_behaviour() 574 struct nvme_ctrl *ctrl; in nvmet_passthru_ctrl_enable()
|
D | nvmet.h | 268 struct nvme_ctrl *passthru_ctrl;
|