/kernel/linux/linux-5.10/drivers/nvme/target/ |
H A D | nvmet.h | 114 struct nvmet_port *port; 125 * struct nvmet_port - Common structure to keep port 133 struct nvmet_port { struct 152 static inline struct nvmet_port *to_nvmet_port(struct config_item *item) in to_nvmet_port() 154 return container_of(to_config_group(item), struct nvmet_port, in to_nvmet_port() 158 static inline struct nvmet_port *ana_groups_to_port( in ana_groups_to_port() 161 return container_of(to_config_group(item), struct nvmet_port, in ana_groups_to_port() 180 struct nvmet_port *port; 299 int (*add_port)(struct nvmet_port *port); 300 void (*remove_port)(struct nvmet_port *por [all...] |
H A D | configfs.c | 44 static bool nvmet_is_port_enabled(struct nvmet_port *p, const char *caller) in nvmet_is_port_enabled() 53 * nvmet_port Generic ConfigFS definitions. 72 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_adrfam_store() 96 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_portid_show() 105 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_portid_store() 125 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_traddr_show() 134 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_traddr_store() 174 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_treq_store() 200 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_trsvcid_show() 209 struct nvmet_port *por in nvmet_addr_trsvcid_store() [all...] |
H A D | discovery.c | 15 static void __nvmet_disc_changed(struct nvmet_port *port, in __nvmet_disc_changed() 28 void nvmet_port_disc_changed(struct nvmet_port *port, in nvmet_port_disc_changed() 50 static void __nvmet_subsys_disc_changed(struct nvmet_port *port, in __nvmet_subsys_disc_changed() 69 struct nvmet_port *port; in nvmet_subsys_disc_changed() 82 void nvmet_referral_enable(struct nvmet_port *parent, struct nvmet_port *port) in nvmet_referral_enable() 93 void nvmet_referral_disable(struct nvmet_port *parent, struct nvmet_port *port) in nvmet_referral_disable() 105 struct nvmet_port *port, char *subsys_nqn, char *traddr, in nvmet_format_discovery_entry() 134 static void nvmet_set_disc_traddr(struct nvmet_req *req, struct nvmet_port *por [all...] |
H A D | loop.c | 39 struct nvmet_port *port; 565 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port() 567 struct nvmet_port *p, *found = NULL; in nvme_loop_find_port() 664 static int nvme_loop_add_port(struct nvmet_port *port) in nvme_loop_add_port() 672 static void nvme_loop_remove_port(struct nvmet_port *port) in nvme_loop_remove_port()
|
H A D | core.c | 85 static struct nvmet_subsys *nvmet_find_get_subsys(struct nvmet_port *port, 252 struct nvmet_port *port) in nvmet_send_ana_event() 268 void nvmet_port_send_ana_event(struct nvmet_port *port) in nvmet_port_send_ana_event() 301 void nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) in nvmet_port_del_ctrls() 313 int nvmet_enable_port(struct nvmet_port *port) in nvmet_enable_port() 364 void nvmet_disable_port(struct nvmet_port *port) in nvmet_disable_port() 835 static inline u16 nvmet_check_ana_state(struct nvmet_port *port, in nvmet_check_ana_state() 1463 static struct nvmet_subsys *nvmet_find_get_subsys(struct nvmet_port *port, in nvmet_find_get_subsys()
|
H A D | rdma.c | 88 struct nvmet_port *port; 118 struct nvmet_port *nport; 1193 struct nvmet_port *nport = port->nport; in nvmet_rdma_find_get_device() 1825 struct nvmet_port *nport = port->nport; in nvmet_rdma_destroy_port_queues() 1909 static int nvmet_rdma_add_port(struct nvmet_port *nport) in nvmet_rdma_add_port() 1969 static void nvmet_rdma_remove_port(struct nvmet_port *nport) in nvmet_rdma_remove_port() 1979 struct nvmet_port *nport, char *traddr) in nvmet_rdma_disc_port_addr()
|
H A D | tcp.c | 145 struct nvmet_port *nport; 1659 static int nvmet_tcp_add_port(struct nvmet_port *nport) in nvmet_tcp_add_port() 1748 static void nvmet_tcp_remove_port(struct nvmet_port *nport) in nvmet_tcp_remove_port() 1797 struct nvmet_port *nport, char *traddr) in nvmet_tcp_disc_port_addr()
|
H A D | fc.c | 118 struct nvmet_port *port; 1256 struct nvmet_port *port) in nvmet_fc_portentry_bind() 2840 nvmet_fc_add_port(struct nvmet_port *port) in nvmet_fc_add_port() 2887 nvmet_fc_remove_port(struct nvmet_port *port) in nvmet_fc_remove_port() 2897 nvmet_fc_discovery_chg(struct nvmet_port *port) in nvmet_fc_discovery_chg()
|
/kernel/linux/linux-6.6/drivers/nvme/target/ |
H A D | nvmet.h | 130 struct nvmet_port *port; 141 * struct nvmet_port - Common structure to keep port 149 struct nvmet_port { struct 168 static inline struct nvmet_port *to_nvmet_port(struct config_item *item) in to_nvmet_port() 170 return container_of(to_config_group(item), struct nvmet_port, in to_nvmet_port() 174 static inline struct nvmet_port *ana_groups_to_port( in ana_groups_to_port() 177 return container_of(to_config_group(item), struct nvmet_port, in ana_groups_to_port() 196 struct nvmet_port *port; 335 int (*add_port)(struct nvmet_port *port); 336 void (*remove_port)(struct nvmet_port *por [all...] |
H A D | discovery.c | 15 static void __nvmet_disc_changed(struct nvmet_port *port, in __nvmet_disc_changed() 28 void nvmet_port_disc_changed(struct nvmet_port *port, in nvmet_port_disc_changed() 50 static void __nvmet_subsys_disc_changed(struct nvmet_port *port, in __nvmet_subsys_disc_changed() 69 struct nvmet_port *port; in nvmet_subsys_disc_changed() 83 void nvmet_referral_enable(struct nvmet_port *parent, struct nvmet_port *port) in nvmet_referral_enable() 94 void nvmet_referral_disable(struct nvmet_port *parent, struct nvmet_port *port) in nvmet_referral_disable() 106 struct nvmet_port *port, char *subsys_nqn, char *traddr, in nvmet_format_discovery_entry() 135 static void nvmet_set_disc_traddr(struct nvmet_req *req, struct nvmet_port *por [all...] |
H A D | configfs.c | 51 static bool nvmet_is_port_enabled(struct nvmet_port *p, const char *caller) in nvmet_is_port_enabled() 60 * nvmet_port Generic ConfigFS definitions. 80 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_adrfam_store() 112 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_portid_store() 132 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_traddr_show() 140 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_traddr_store() 181 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_treq_store() 207 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_trsvcid_show() 215 struct nvmet_port *port = to_nvmet_port(item); in nvmet_addr_trsvcid_store() 234 struct nvmet_port *por in nvmet_param_inline_data_size_show() [all...] |
H A D | loop.c | 39 struct nvmet_port *port; 516 static struct nvmet_port *nvme_loop_find_port(struct nvme_ctrl *ctrl) in nvme_loop_find_port() 518 struct nvmet_port *p, *found = NULL; in nvme_loop_find_port() 615 static int nvme_loop_add_port(struct nvmet_port *port) in nvme_loop_add_port() 623 static void nvme_loop_remove_port(struct nvmet_port *port) in nvme_loop_remove_port()
|
H A D | core.c | 92 static struct nvmet_subsys *nvmet_find_get_subsys(struct nvmet_port *port, 258 struct nvmet_port *port) in nvmet_send_ana_event() 274 void nvmet_port_send_ana_event(struct nvmet_port *port) in nvmet_port_send_ana_event() 307 void nvmet_port_del_ctrls(struct nvmet_port *port, struct nvmet_subsys *subsys) in nvmet_port_del_ctrls() 319 int nvmet_enable_port(struct nvmet_port *port) in nvmet_enable_port() 370 void nvmet_disable_port(struct nvmet_port *port) in nvmet_disable_port() 845 static inline u16 nvmet_check_ana_state(struct nvmet_port *port, in nvmet_check_ana_state() 1518 static struct nvmet_subsys *nvmet_find_get_subsys(struct nvmet_port *port, in nvmet_find_get_subsys()
|
H A D | rdma.c | 89 struct nvmet_port *port; 119 struct nvmet_port *nport; 1194 struct nvmet_port *nport = port->nport; in nvmet_rdma_find_get_device() 1825 struct nvmet_port *nport = port->nport; in nvmet_rdma_destroy_port_queues() 1909 static int nvmet_rdma_add_port(struct nvmet_port *nport) in nvmet_rdma_add_port() 1969 static void nvmet_rdma_remove_port(struct nvmet_port *nport) in nvmet_rdma_remove_port() 1979 struct nvmet_port *nport, char *traddr) in nvmet_rdma_disc_port_addr()
|
H A D | tcp.c | 183 struct nvmet_port *nport; 1734 static int nvmet_tcp_add_port(struct nvmet_port *nport) in nvmet_tcp_add_port() 1823 static void nvmet_tcp_remove_port(struct nvmet_port *nport) in nvmet_tcp_remove_port() 1870 struct nvmet_port *nport, char *traddr) in nvmet_tcp_disc_port_addr()
|
H A D | fc.c | 120 struct nvmet_port *port; 1282 struct nvmet_port *port) in nvmet_fc_portentry_bind() 2864 nvmet_fc_add_port(struct nvmet_port *port) in nvmet_fc_add_port() 2911 nvmet_fc_remove_port(struct nvmet_port *port) in nvmet_fc_remove_port() 2924 nvmet_fc_discovery_chg(struct nvmet_port *port) in nvmet_fc_discovery_chg()
|