| /OK3568_Linux_fs/kernel/drivers/nvme/host/ |
| H A D | nvme.h | 176 struct nvme_ctrl *ctrl; 246 struct nvme_ctrl { struct 440 struct nvme_ctrl *ctrl; 483 int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val); 484 int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val); 485 int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); 486 void (*free_ctrl)(struct nvme_ctrl *ctrl); 487 void (*submit_async_event)(struct nvme_ctrl *ctrl); 488 void (*delete_ctrl)(struct nvme_ctrl *ctrl); 489 void (*stop_ctrl)(struct nvme_ctrl *ctrl); [all …]
|
| H A 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() 166 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val); 167 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val); 168 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val); 169 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl); 170 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid, bool poll); 174 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size); 175 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl); 176 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, [all …]
|
| H A D | core.c | 92 static void nvme_remove_invalid_namespaces(struct nvme_ctrl *ctrl, 125 static void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() 140 int nvme_try_sched_reset(struct nvme_ctrl *ctrl) in nvme_try_sched_reset() 150 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl() 160 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync() 175 static void nvme_do_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_do_delete_ctrl() 189 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work() 190 container_of(work, struct nvme_ctrl, delete_work); in nvme_delete_ctrl_work() 195 int nvme_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_delete_ctrl() 205 static void nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_delete_ctrl_sync() [all …]
|
| H A D | multipath.c | 54 struct nvme_ctrl *ctrl, int *flags) in nvme_set_disk_name() 94 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists() 134 void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl) in nvme_mpath_clear_ctrl_paths() 358 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) in nvme_mpath_alloc_disk() 432 static int nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data, in nvme_parse_ana_log() 433 int (*cb)(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *, in nvme_parse_ana_log() 501 static int nvme_update_ana_state(struct nvme_ctrl *ctrl, in nvme_update_ana_state() 536 static int nvme_read_ana_log(struct nvme_ctrl *ctrl) in nvme_read_ana_log() 576 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); in nvme_ana_work() 584 void nvme_mpath_update(struct nvme_ctrl *ctrl) in nvme_mpath_update() [all …]
|
| H A 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() 372 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue() 442 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid, bool poll) in nvmf_connect_io_queue() 479 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl) in nvmf_should_reconnect() 552 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, in nvmf_fail_nonready_command() 567 bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, in __nvmf_check_ready() [all …]
|
| H A D | tcp.c | 163 struct nvme_ctrl ctrl; 178 static inline struct nvme_tcp_ctrl *to_tcp_ctrl(struct nvme_ctrl *ctrl) in to_tcp_ctrl() 515 static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl) in nvme_tcp_error_recovery() 1262 static void nvme_tcp_free_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_free_queue() 1430 static int nvme_tcp_alloc_queue(struct nvme_ctrl *nctrl, in nvme_tcp_alloc_queue() 1591 static void nvme_tcp_stop_queue(struct nvme_ctrl *nctrl, int qid) in nvme_tcp_stop_queue() 1602 static int nvme_tcp_start_queue(struct nvme_ctrl *nctrl, int idx) in nvme_tcp_start_queue() 1623 static struct blk_mq_tag_set *nvme_tcp_alloc_tagset(struct nvme_ctrl *nctrl, in nvme_tcp_alloc_tagset() 1664 static void nvme_tcp_free_admin_queue(struct nvme_ctrl *ctrl) in nvme_tcp_free_admin_queue() 1675 static void nvme_tcp_free_io_queues(struct nvme_ctrl *ctrl) in nvme_tcp_free_io_queues() [all …]
|
| H A 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()
|
| H A D | pci.c | 136 struct nvme_ctrl ctrl; 180 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev() 1119 static void nvme_pci_submit_async_event(struct nvme_ctrl *ctrl) in nvme_pci_submit_async_event() 1169 struct nvme_ctrl *ctrl = &dev->ctrl; in adapter_alloc_sq() 2568 static void nvme_pci_free_ctrl(struct nvme_ctrl *ctrl) in nvme_pci_free_ctrl() 2747 static int nvme_pci_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvme_pci_reg_read32() 2753 static int nvme_pci_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvme_pci_reg_write32() 2759 static int nvme_pci_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvme_pci_reg_read64() 2765 static int nvme_pci_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvme_pci_get_address() 3030 static int nvme_get_power_state(struct nvme_ctrl *ctrl, u32 *ps) in nvme_get_power_state() [all …]
|
| H A 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() 1060 static void nvme_rdma_stop_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_stop_ctrl() 1068 static void nvme_rdma_free_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_free_ctrl() 1719 static void nvme_rdma_submit_async_event(struct nvme_ctrl *arg) in nvme_rdma_submit_async_event() 1871 struct nvme_ctrl *ctrl = &queue->ctrl->ctrl; in nvme_rdma_addr_resolved() 2256 static void nvme_rdma_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_rdma_delete_ctrl() 2328 static struct nvme_ctrl *nvme_rdma_create_ctrl(struct device *dev, in nvme_rdma_create_ctrl()
|
| H A D | fc.c | 179 struct nvme_ctrl ctrl; 183 to_fc_ctrl(struct nvme_ctrl *ctrl) in to_fc_ctrl() 2417 nvme_fc_nvme_ctrl_freed(struct nvme_ctrl *nctrl) in nvme_fc_nvme_ctrl_freed() 2442 struct nvme_ctrl *nctrl = data; in nvme_fc_terminate_exchange() 2813 nvme_fc_submit_async_event(struct nvme_ctrl *arg) in nvme_fc_submit_async_event() 3257 nvme_fc_delete_ctrl(struct nvme_ctrl *nctrl) in nvme_fc_delete_ctrl() 3414 static struct nvme_ctrl * 3677 static struct nvme_ctrl * 3682 struct nvme_ctrl *ctrl; in nvme_fc_create_ctrl()
|
| H A D | trace.h | 118 TP_PROTO(struct nvme_ctrl *ctrl, u32 result),
|
| H A D | zns.c | 21 static int nvme_set_max_append(struct nvme_ctrl *ctrl) in nvme_set_max_append()
|
| H A 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()
|
| /OK3568_Linux_fs/kernel/drivers/nvme/target/ |
| H A 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() 262 static void nvme_loop_free_ctrl(struct nvme_ctrl *nctrl) in nvme_loop_free_ctrl() 429 static void nvme_loop_delete_ctrl_host(struct nvme_ctrl *ctrl) in nvme_loop_delete_ctrl_host() 553 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port() 570 static struct nvme_ctrl *nvme_loop_create_ctrl(struct device *dev, in nvme_loop_create_ctrl()
|
| H A D | passthru.c | 26 struct nvme_ctrl *pctrl = ctrl->subsys->passthru_ctrl; in nvmet_passthru_override_id_ctrl() 226 struct nvme_ctrl *ctrl = nvmet_req_passthru_ctrl(req); in nvmet_passthru_execute_cmd() 300 struct nvme_ctrl *ctrl = nvmet_req_passthru_ctrl(req); in nvmet_passthru_set_host_behaviour() 500 struct nvme_ctrl *ctrl; in nvmet_passthru_ctrl_enable()
|
| H A D | nvmet.h | 248 struct nvme_ctrl *passthru_ctrl; 557 static inline struct nvme_ctrl *nvmet_passthru_ctrl(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl() 576 static inline struct nvme_ctrl *nvmet_passthru_ctrl(struct nvmet_subsys *subsys) in nvmet_passthru_ctrl() 582 static inline struct nvme_ctrl *
|