Home
last modified time | relevance | path

Searched refs:nvme_ctrl (Results 1 – 16 of 16) sorted by relevance

/linux/drivers/nvme/host/
A Dnvme.h160 struct nvme_ctrl *ctrl;
231 struct nvme_ctrl { struct
442 struct nvme_ctrl *ctrl;
493 void (*free_ctrl)(struct nvme_ctrl *ctrl);
495 void (*delete_ctrl)(struct nvme_ctrl *ctrl);
664 bool nvme_wait_reset(struct nvme_ctrl *ctrl);
666 int nvme_enable_ctrl(struct nvme_ctrl *ctrl);
672 void nvme_stop_ctrl(struct nvme_ctrl *ctrl);
690 void nvme_unfreeze(struct nvme_ctrl *ctrl);
729 int nvme_reset_ctrl(struct nvme_ctrl *ctrl);
[all …]
A Dfabrics.h164 struct nvme_ctrl *(*create_ctrl)(struct device *dev,
169 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, in nvmf_ctlr_matches_baseopts()
182 static inline char *nvmf_ctrl_subsysnqn(struct nvme_ctrl *ctrl) in nvmf_ctrl_subsysnqn()
189 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val);
190 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val);
191 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val);
192 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl);
193 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid);
197 int nvmf_get_address(struct nvme_ctrl *ctrl, char *buf, int size);
198 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl);
[all …]
A Dcore.c150 struct nvme_ctrl, failfast_work); in nvme_failfast_work()
217 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work()
1264 struct nvme_ctrl, ka_work); in nvme_keep_alive_work()
2089 struct nvme_ctrl *ctrl = data; in nvme_sec_submit()
2701 struct nvme_ctrl *tmp; in nvme_validate_cntlid()
3133 struct nvme_ctrl *ctrl = in nvme_dev_open()
3155 struct nvme_ctrl *ctrl = in nvme_dev_release()
4148 struct nvme_ctrl *ctrl = in nvme_scan_work()
4209 struct nvme_ctrl *ctrl = in nvme_class_uevent()
4257 struct nvme_ctrl *ctrl = in nvme_async_event_work()
[all …]
A Dmultipath.c102 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists()
145 void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl) in nvme_mpath_clear_ctrl_paths()
546 static int nvme_parse_ana_log(struct nvme_ctrl *ctrl, void *data, in nvme_parse_ana_log()
606 static int nvme_update_ana_state(struct nvme_ctrl *ctrl, in nvme_update_ana_state()
641 static int nvme_read_ana_log(struct nvme_ctrl *ctrl) in nvme_read_ana_log()
681 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); in nvme_ana_work()
691 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); in nvme_anatt_timeout()
697 void nvme_mpath_stop(struct nvme_ctrl *ctrl) in nvme_mpath_stop()
759 static int nvme_lookup_ana_group_desc(struct nvme_ctrl *ctrl, in nvme_lookup_ana_group_desc()
827 void nvme_mpath_init_ctrl(struct nvme_ctrl *ctrl) in nvme_mpath_init_ctrl()
[all …]
A Dhwmon.c14 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()
A Dfabrics.c145 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32()
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()
892 bool nvmf_ip_options_match(struct nvme_ctrl *ctrl, in nvmf_ip_options_match()
962 static struct nvme_ctrl *
967 struct nvme_ctrl *ctrl; in nvmf_create_ctrl()
1041 struct nvme_ctrl *ctrl; in nvmf_dev_write()
1074 struct nvme_ctrl *ctrl; in nvmf_dev_show()
[all …]
A Dtcp.c127 struct nvme_ctrl ctrl;
484 static void nvme_tcp_error_recovery(struct nvme_ctrl *ctrl) in nvme_tcp_error_recovery()
1401 static int nvme_tcp_alloc_queue(struct nvme_ctrl *nctrl, in nvme_tcp_alloc_queue()
2072 struct nvme_ctrl *ctrl = &tcp_ctrl->ctrl; in nvme_tcp_reconnect_ctrl_work()
2096 struct nvme_ctrl *ctrl = &tcp_ctrl->ctrl; in nvme_tcp_error_recovery_work()
2129 static void nvme_tcp_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_tcp_delete_ctrl()
2136 struct nvme_ctrl *ctrl = in nvme_reset_ctrl_work()
2137 container_of(work, struct nvme_ctrl, reset_work); in nvme_reset_ctrl_work()
2159 static void nvme_tcp_free_ctrl(struct nvme_ctrl *nctrl) in nvme_tcp_free_ctrl()
2238 struct nvme_ctrl *ctrl = &req->queue->ctrl->ctrl; in nvme_tcp_complete_timed_out()
[all …]
A Dioctl.c176 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()
A Dpci.c139 struct nvme_ctrl ctrl;
180 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev()
1135 static void nvme_pci_submit_async_event(struct nvme_ctrl *ctrl) in nvme_pci_submit_async_event()
1182 struct nvme_ctrl *ctrl = &dev->ctrl; in adapter_alloc_sq()
2152 struct nvme_ctrl *ctrl = in nvme_pci_attrs_are_visible()
2696 static void nvme_pci_free_ctrl(struct nvme_ctrl *ctrl) in nvme_pci_free_ctrl()
2878 static int nvme_pci_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvme_pci_reg_read32()
3142 static int nvme_get_power_state(struct nvme_ctrl *ctrl, u32 *ps) in nvme_get_power_state()
3147 static int nvme_set_power_state(struct nvme_ctrl *ctrl, u32 ps) in nvme_set_power_state()
3155 struct nvme_ctrl *ctrl = &ndev->ctrl; in nvme_resume()
[all …]
A Drdma.c126 struct nvme_ctrl ctrl;
131 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl()
793 static struct blk_mq_tag_set *nvme_rdma_alloc_tagset(struct nvme_ctrl *nctrl, in nvme_rdma_alloc_tagset()
1053 static void nvme_rdma_free_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_free_ctrl()
1710 static void nvme_rdma_submit_async_event(struct nvme_ctrl *arg) in nvme_rdma_submit_async_event()
1862 struct nvme_ctrl *ctrl = &queue->ctrl->ctrl; in nvme_rdma_addr_resolved()
2252 static void nvme_rdma_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_rdma_delete_ctrl()
2323 static struct nvme_ctrl *nvme_rdma_create_ctrl(struct device *dev, in nvme_rdma_create_ctrl()
A Dtrace.h118 TP_PROTO(struct nvme_ctrl *ctrl, u32 result),
A Dfc.c180 struct nvme_ctrl ctrl;
184 to_fc_ctrl(struct nvme_ctrl *ctrl) in to_fc_ctrl()
2419 nvme_fc_nvme_ctrl_freed(struct nvme_ctrl *nctrl) in nvme_fc_nvme_ctrl_freed()
2444 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()
3285 nvme_fc_delete_ctrl(struct nvme_ctrl *nctrl) in nvme_fc_delete_ctrl()
3449 static struct nvme_ctrl *
3712 static struct nvme_ctrl *
3717 struct nvme_ctrl *ctrl; in nvme_fc_create_ctrl()
A Dzns.c21 static int nvme_set_max_append(struct nvme_ctrl *ctrl) in nvme_set_max_append()
/linux/drivers/nvme/target/
A Dloop.c37 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()
443 static void nvme_loop_delete_ctrl_host(struct nvme_ctrl *ctrl) in nvme_loop_delete_ctrl_host()
567 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port()
584 static struct nvme_ctrl *nvme_loop_create_ctrl(struct device *dev, in nvme_loop_create_ctrl()
A Dpassthru.c36 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()
A Dnvmet.h247 struct nvme_ctrl *passthru_ctrl;

Completed in 57 milliseconds