Home
last modified time | relevance | path

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

/linux/drivers/nvme/host/
A Dnvme.h192 struct nvme_ctrl *ctrl;
275 struct nvme_ctrl { struct
519 struct nvme_ctrl *ctrl;
560 void (*free_ctrl)(struct nvme_ctrl *ctrl);
563 void (*delete_ctrl)(struct nvme_ctrl *ctrl);
564 void (*stop_ctrl)(struct nvme_ctrl *ctrl);
718 struct nvme_ctrl *ctrl = rq->ctrl; in nvme_try_complete_req()
795 int nvme_add_ctrl(struct nvme_ctrl *ctrl);
798 void nvme_stop_ctrl(struct nvme_ctrl *ctrl);
820 void nvme_unfreeze(struct nvme_ctrl *ctrl);
[all …]
A Dfabrics.h173 struct nvme_ctrl *(*create_ctrl)(struct device *dev,
178 nvmf_ctlr_matches_baseopts(struct nvme_ctrl *ctrl, in nvmf_ctlr_matches_baseopts()
194 static inline char *nvmf_ctrl_subsysnqn(struct nvme_ctrl *ctrl) in nvmf_ctrl_subsysnqn()
217 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val);
218 int nvmf_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val);
219 int nvmf_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val);
220 int nvmf_subsystem_reset(struct nvme_ctrl *ctrl);
221 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl);
222 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid);
227 bool nvmf_should_reconnect(struct nvme_ctrl *ctrl, int status);
[all …]
A Dsysfs.c17 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_reset()
31 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_rescan()
41 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_adm_passthru_err_log_enabled_show()
50 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_adm_passthru_err_log_enabled_store()
340 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_delete()
355 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_transport()
365 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_state()
389 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_subsysnqn()
399 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_hostnqn()
409 struct nvme_ctrl *ctrl = dev_get_drvdata(dev); in nvme_sysfs_show_hostid()
[all …]
A Dcore.c247 struct nvme_ctrl *ctrl = in nvme_delete_ctrl_work()
1341 struct nvme_ctrl, ka_work); in nvme_keep_alive_work()
2346 struct nvme_ctrl *ctrl = data; in nvme_sec_submit()
2947 struct nvme_ctrl *tmp; in nvme_validate_cntlid()
3461 struct nvme_ctrl *ctrl = in nvme_dev_open()
3483 struct nvme_ctrl *ctrl = in nvme_dev_release()
4073 struct nvme_ctrl *ctrl;
4204 struct nvme_ctrl *ctrl = in nvme_scan_work()
4297 const struct nvme_ctrl *ctrl = in nvme_class_uevent()
4352 struct nvme_ctrl *ctrl = in nvme_async_event_work()
[all …]
A Dauth.c23 struct nvme_ctrl *ctrl;
51 static inline int ctrl_max_dhchaps(struct nvme_ctrl *ctrl) in ctrl_max_dhchaps()
57 static int nvme_auth_submit(struct nvme_ctrl *ctrl, int qid, in nvme_auth_submit()
684 struct nvme_ctrl *ctrl = chap->ctrl; in nvme_queue_auth_work()
854 int nvme_auth_negotiate(struct nvme_ctrl *ctrl, int qid) in nvme_auth_negotiate()
875 int nvme_auth_wait(struct nvme_ctrl *ctrl, int qid) in nvme_auth_wait()
891 struct nvme_ctrl *ctrl = in nvme_ctrl_auth_work()
892 container_of(work, struct nvme_ctrl, dhchap_auth_work); in nvme_ctrl_auth_work()
938 int nvme_auth_init_ctrl(struct nvme_ctrl *ctrl) in nvme_auth_init_ctrl()
984 void nvme_auth_stop(struct nvme_ctrl *ctrl) in nvme_auth_stop()
[all …]
A Dmultipath.c162 void nvme_kick_requeue_lists(struct nvme_ctrl *ctrl) in nvme_kick_requeue_lists()
206 void nvme_mpath_clear_ctrl_paths(struct nvme_ctrl *ctrl) in nvme_mpath_clear_ctrl_paths()
769 static int nvme_update_ana_state(struct nvme_ctrl *ctrl, in nvme_update_ana_state()
805 static int nvme_read_ana_log(struct nvme_ctrl *ctrl) in nvme_read_ana_log()
845 struct nvme_ctrl *ctrl = container_of(work, struct nvme_ctrl, ana_work); in nvme_ana_work()
853 void nvme_mpath_update(struct nvme_ctrl *ctrl) in nvme_mpath_update()
867 struct nvme_ctrl *ctrl = from_timer(ctrl, t, anatt_timer); in nvme_anatt_timeout()
873 void nvme_mpath_stop(struct nvme_ctrl *ctrl) in nvme_mpath_stop()
898 struct nvme_ctrl *ctrl; in nvme_subsys_iopolicy_update()
1023 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()
226 int nvme_hwmon_init(struct nvme_ctrl *ctrl) in nvme_hwmon_init()
270 void nvme_hwmon_exit(struct nvme_ctrl *ctrl) in nvme_hwmon_exit()
A Dfabrics.c172 int nvmf_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in nvmf_reg_read32()
283 int nvmf_subsystem_reset(struct nvme_ctrl *ctrl) in nvmf_subsystem_reset()
309 static void nvmf_log_connect_error(struct nvme_ctrl *ctrl, in nvmf_log_connect_error()
447 int nvmf_connect_admin_queue(struct nvme_ctrl *ctrl) in nvmf_connect_admin_queue()
524 int nvmf_connect_io_queue(struct nvme_ctrl *ctrl, u16 qid) in nvmf_connect_io_queue()
1191 bool nvmf_ip_options_match(struct nvme_ctrl *ctrl, in nvmf_ip_options_match()
1279 static struct nvme_ctrl *
1284 struct nvme_ctrl *ctrl; in nvmf_create_ctrl()
1361 struct nvme_ctrl *ctrl; in nvmf_dev_write()
1414 struct nvme_ctrl *ctrl; in nvmf_dev_show()
[all …]
A Dtcp.c192 struct nvme_ctrl ctrl;
1616 static int nvme_tcp_start_tls(struct nvme_ctrl *nctrl, in nvme_tcp_start_tls()
2289 struct nvme_ctrl *ctrl = &tcp_ctrl->ctrl; in nvme_tcp_reconnect_ctrl_work()
2315 struct nvme_ctrl *ctrl = &tcp_ctrl->ctrl; in nvme_tcp_error_recovery_work()
2346 static void nvme_tcp_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_tcp_delete_ctrl()
2353 struct nvme_ctrl *ctrl = in nvme_reset_ctrl_work()
2354 container_of(work, struct nvme_ctrl, reset_work); in nvme_reset_ctrl_work()
2380 static void nvme_tcp_stop_ctrl(struct nvme_ctrl *ctrl) in nvme_tcp_stop_ctrl()
2386 static void nvme_tcp_free_ctrl(struct nvme_ctrl *nctrl) in nvme_tcp_free_ctrl()
2465 struct nvme_ctrl *ctrl = &req->queue->ctrl->ctrl; in nvme_tcp_complete_timed_out()
[all …]
A Dioctl.c177 struct nvme_ctrl *ctrl; in nvme_submit_user_cmd()
274 static bool nvme_validate_passthru_nsid(struct nvme_ctrl *ctrl, in nvme_validate_passthru_nsid()
288 static int nvme_user_cmd(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd()
336 static int nvme_user_cmd64(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_user_cmd64()
452 static int nvme_uring_cmd_io(struct nvme_ctrl *ctrl, struct nvme_ns *ns, in nvme_uring_cmd_io()
533 static int nvme_ctrl_ioctl(struct nvme_ctrl *ctrl, unsigned int cmd, in nvme_ctrl_ioctl()
635 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_ns_uring_cmd()
683 struct nvme_ctrl *ctrl = ns->ctrl; in nvme_ns_head_ctrl_ioctl()
771 struct nvme_ctrl *ctrl = ioucmd->file->private_data; in nvme_dev_uring_cmd()
796 static int nvme_dev_user_cmd(struct nvme_ctrl *ctrl, void __user *argp, in nvme_dev_user_cmd()
[all …]
A Dpci.c141 struct nvme_ctrl ctrl;
180 static inline struct nvme_dev *to_nvme_dev(struct nvme_ctrl *ctrl) in to_nvme_dev()
1132 static void nvme_pci_submit_async_event(struct nvme_ctrl *ctrl) in nvme_pci_submit_async_event()
1147 static int nvme_pci_subsystem_reset(struct nvme_ctrl *ctrl) in nvme_pci_subsystem_reset()
1218 struct nvme_ctrl *ctrl = &dev->ctrl; in adapter_alloc_sq()
2177 struct nvme_ctrl *ctrl = in nvme_pci_attrs_are_visible()
2739 static void nvme_pci_free_ctrl(struct nvme_ctrl *ctrl) in nvme_pci_free_ctrl()
2879 static void nvme_pci_print_device_info(struct nvme_ctrl *ctrl) in nvme_pci_print_device_info()
3245 static int nvme_set_power_state(struct nvme_ctrl *ctrl, u32 ps) in nvme_set_power_state()
3253 struct nvme_ctrl *ctrl = &ndev->ctrl; in nvme_resume()
[all …]
A Dzns.c10 static int nvme_set_max_append(struct nvme_ctrl *ctrl) in nvme_set_max_append()
149 static int nvme_zone_parse_entry(struct nvme_ctrl *ctrl, in nvme_zone_parse_entry()
A Dapple.c187 struct nvme_ctrl ctrl;
203 static inline struct apple_nvme *ctrl_to_apple_nvme(struct nvme_ctrl *ctrl) in ctrl_to_apple_nvme()
1185 static int apple_nvme_reg_read32(struct nvme_ctrl *ctrl, u32 off, u32 *val) in apple_nvme_reg_read32()
1191 static int apple_nvme_reg_write32(struct nvme_ctrl *ctrl, u32 off, u32 val) in apple_nvme_reg_write32()
1197 static int apple_nvme_reg_read64(struct nvme_ctrl *ctrl, u32 off, u64 *val) in apple_nvme_reg_read64()
1203 static int apple_nvme_get_address(struct nvme_ctrl *ctrl, char *buf, int size) in apple_nvme_get_address()
1210 static void apple_nvme_free_ctrl(struct nvme_ctrl *ctrl) in apple_nvme_free_ctrl()
A Drdma.c125 struct nvme_ctrl ctrl;
130 static inline struct nvme_rdma_ctrl *to_rdma_ctrl(struct nvme_ctrl *ctrl) in to_rdma_ctrl()
754 static int nvme_rdma_alloc_tag_set(struct nvme_ctrl *ctrl) in nvme_rdma_alloc_tag_set()
960 static void nvme_rdma_stop_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_stop_ctrl()
968 static void nvme_rdma_free_ctrl(struct nvme_ctrl *nctrl) in nvme_rdma_free_ctrl()
1670 static void nvme_rdma_submit_async_event(struct nvme_ctrl *arg) in nvme_rdma_submit_async_event()
1822 struct nvme_ctrl *ctrl = &queue->ctrl->ctrl; in nvme_rdma_addr_resolved()
2168 static void nvme_rdma_delete_ctrl(struct nvme_ctrl *ctrl) in nvme_rdma_delete_ctrl()
2318 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()
2431 nvme_fc_free_ctrl(struct nvme_ctrl *nctrl) in nvme_fc_free_ctrl()
2455 struct nvme_ctrl *nctrl = data; in nvme_fc_terminate_exchange()
2830 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()
3555 static struct nvme_ctrl *
3696 static struct nvme_ctrl *
3701 struct nvme_ctrl *ctrl; in nvme_fc_create_ctrl()
/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()
279 static void nvme_loop_free_ctrl(struct nvme_ctrl *nctrl) in nvme_loop_free_ctrl()
423 static void nvme_loop_delete_ctrl_host(struct nvme_ctrl *ctrl) in nvme_loop_delete_ctrl_host()
533 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port()
550 static struct nvme_ctrl *nvme_loop_create_ctrl(struct device *dev, in nvme_loop_create_ctrl()
A Dpassthru.c83 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()
294 struct nvme_ctrl *ctrl = nvmet_req_subsys(req)->passthru_ctrl; in nvmet_passthru_execute_cmd()
375 struct nvme_ctrl *ctrl = nvmet_req_subsys(req)->passthru_ctrl; in nvmet_passthru_set_host_behaviour()
573 struct nvme_ctrl *ctrl; in nvmet_passthru_ctrl_enable()
A Dnvmet.h288 struct nvme_ctrl *passthru_ctrl;

Completed in 91 milliseconds