Searched refs:nvme_ctrl (Results 1 – 10 of 10) sorted by relevance
/Linux-v4.19/drivers/nvme/host/ |
D | nvme.h | 105 struct nvme_ctrl *ctrl; 147 struct nvme_ctrl { struct 310 struct nvme_ctrl *ctrl; 346 int (*reg_read32)(struct nvme_ctrl *ctrl, u32 off, u32 *val); 347 int (*reg_write32)(struct nvme_ctrl *ctrl, u32 off, u32 val); 348 int (*reg_read64)(struct nvme_ctrl *ctrl, u32 off, u64 *val); 349 void (*free_ctrl)(struct nvme_ctrl *ctrl); 350 void (*submit_async_event)(struct nvme_ctrl *ctrl); 351 void (*delete_ctrl)(struct nvme_ctrl *ctrl); 352 int (*get_address)(struct nvme_ctrl *ctrl, char *buf, int size); [all …]
|
D | fabrics.h | 137 struct nvme_ctrl *(*create_ctrl)(struct device *dev, 142 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, in nvmf_ctlr_matches_baseopts() 155 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val); 156 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val); 157 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val); 158 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl); 159 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid); 163 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size); 164 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl); 165 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, [all …]
|
D | core.c | 103 static void nvme_remove_invalid_namespaces(struct nvme_ctrl *ctrl, 120 static void nvme_queue_scan(struct nvme_ctrl *ctrl) in nvme_queue_scan() 129 int nvme_reset_ctrl(struct nvme_ctrl *ctrl) in nvme_reset_ctrl() 139 int nvme_reset_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_reset_ctrl_sync() 157 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work() 158 container_of(work, struct nvme_ctrl, delete_work); in nvme_delete_ctrl_work() 171 int nvme_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_delete_ctrl() 181 int nvme_delete_ctrl_sync(struct nvme_ctrl *ctrl) in nvme_delete_ctrl_sync() 273 dev_dbg_ratelimited(((struct nvme_ctrl *) data)->device, in nvme_cancel_request() 282 bool nvme_change_ctrl_state(struct nvme_ctrl *ctrl, in nvme_change_ctrl_state() [all …]
|
D | multipath.c | 23 inline bool nvme_ctrl_use_ana(struct nvme_ctrl *ctrl) in nvme_ctrl_use_ana() 36 struct nvme_ctrl *ctrl, int *flags) in nvme_set_disk_name() 92 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists() 226 int nvme_mpath_alloc_disk(struct nvme_ctrl *ctrl, struct nvme_ns_head *head) in nvme_mpath_alloc_disk() 296 static int nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data, in nvme_parse_ana_log() 297 int (*cb)(struct nvme_ctrl *ctrl, struct nvme_ana_group_desc *, in nvme_parse_ana_log() 357 static int nvme_update_ana_state(struct nvme_ctrl *ctrl, in nvme_update_ana_state() 387 static int nvme_read_ana_log(struct nvme_ctrl *ctrl, bool groups_only) in nvme_read_ana_log() 428 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); in nvme_ana_work() 435 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); in nvme_anatt_timeout() [all …]
|
D | fabrics.c | 111 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvmf_get_address() 150 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32() 196 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvmf_reg_read64() 242 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvmf_reg_write32() 279 static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, in nvmf_log_connect_error() 375 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue() 441 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid) in nvmf_connect_io_queue() 475 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl) in nvmf_should_reconnect() 548 blk_status_t nvmf_fail_nonready_command(struct nvme_ctrl *ctrl, in nvmf_fail_nonready_command() 560 bool __nvmf_check_ready(struct nvme_ctrl *ctrl, struct request *rq, in __nvmf_check_ready() [all …]
|
D | rdma.c | 120 struct nvme_ctrl ctrl; 124 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl() 667 static void nvme_rdma_free_tagset(struct nvme_ctrl *nctrl, in nvme_rdma_free_tagset() 676 static struct blk_mq_tag_set *nvme_rdma_alloc_tagset(struct nvme_ctrl *nctrl, in nvme_rdma_alloc_tagset() 901 static void nvme_rdma_stop_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_stop_ctrl() 909 static void nvme_rdma_free_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_free_ctrl() 1378 static void nvme_rdma_submit_async_event(struct nvme_ctrl *arg) in nvme_rdma_submit_async_event() 1809 static void nvme_rdma_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_rdma_delete_ctrl() 1929 static struct nvme_ctrl *nvme_rdma_create_ctrl(struct device *dev, in nvme_rdma_create_ctrl()
|
D | fc.c | 163 struct nvme_ctrl ctrl; 167 to_fc_ctrl(struct nvme_ctrl *ctrl) in to_fc_ctrl() 2027 nvme_fc_nvme_ctrl_freed(struct nvme_ctrl *nctrl) in nvme_fc_nvme_ctrl_freed() 2325 nvme_fc_submit_async_event(struct nvme_ctrl *arg) in nvme_fc_submit_async_event() 2379 struct nvme_ctrl *nctrl = data; in nvme_fc_terminate_exchange() 2801 nvme_fc_delete_ctrl(struct nvme_ctrl *nctrl) in nvme_fc_delete_ctrl() 2957 static struct nvme_ctrl * 3198 static struct nvme_ctrl * 3203 struct nvme_ctrl *ctrl; in nvme_fc_create_ctrl()
|
D | pci.c | 107 struct nvme_ctrl ctrl; 147 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev() 987 static void nvme_pci_submit_async_event(struct nvme_ctrl *ctrl) in nvme_pci_submit_async_event() 1034 struct nvme_ctrl *ctrl = &dev->ctrl; in adapter_alloc_sq() 2214 static void nvme_pci_free_ctrl(struct nvme_ctrl *ctrl) in nvme_pci_free_ctrl() 2365 static int nvme_pci_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvme_pci_reg_read32() 2371 static int nvme_pci_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in nvme_pci_reg_write32() 2377 static int nvme_pci_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in nvme_pci_reg_read64() 2383 static int nvme_pci_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in nvme_pci_get_address()
|
D | lightnvm.c | 495 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_nvm_get_bb_tbl() 575 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_nvm_get_chk_meta()
|
/Linux-v4.19/drivers/nvme/target/ |
D | loop.c | 45 struct nvme_ctrl ctrl; 51 static inline struct nvme_loop_ctrl *to_loop_ctrl(struct nvme_ctrl *ctrl) in to_loop_ctrl() 194 static void nvme_loop_submit_async_event(struct nvme_ctrl *arg) in nvme_loop_submit_async_event() 283 static void nvme_loop_free_ctrl(struct nvme_ctrl *nctrl) in nvme_loop_free_ctrl() 447 static void nvme_loop_delete_ctrl_host(struct nvme_ctrl *ctrl) in nvme_loop_delete_ctrl_host() 571 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port() 588 static struct nvme_ctrl *nvme_loop_create_ctrl(struct device *dev, in nvme_loop_create_ctrl()
|