Home
last modified time | relevance | path

Searched refs:se_node_acl (Results 1 – 25 of 41) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/target/
Dtarget_core_internal.h62 struct se_dev_entry *core_get_se_deve_from_rtpi(struct se_node_acl *, u16);
64 void core_free_device_list_for_node(struct se_node_acl *,
66 void core_update_device_list_access(u64, bool, struct se_node_acl *);
67 struct se_dev_entry *target_nacl_find_deve(struct se_node_acl *, u64);
69 u64, bool, struct se_node_acl *, struct se_portal_group *);
71 struct se_node_acl *, struct se_portal_group *);
77 struct se_node_acl *, u64, int *);
100 int target_get_pr_transport_id_len(struct se_node_acl *nacl,
102 int target_get_pr_transport_id(struct se_node_acl *nacl,
121 struct se_node_acl *__core_tpg_get_initiator_node_acl(struct se_portal_group *tpg,
[all …]
Dtarget_core_tpg.c39 struct se_node_acl *__core_tpg_get_initiator_node_acl( in __core_tpg_get_initiator_node_acl()
43 struct se_node_acl *acl; in __core_tpg_get_initiator_node_acl()
57 struct se_node_acl *core_tpg_get_initiator_node_acl( in core_tpg_get_initiator_node_acl()
61 struct se_node_acl *acl; in core_tpg_get_initiator_node_acl()
84 struct se_node_acl *nacl) in core_allocate_nexus_loss_ua()
104 struct se_node_acl *acl, in core_tpg_add_node_to_devs()
157 struct se_node_acl *acl, u32 queue_depth) in target_set_nacl_queue_depth()
169 static struct se_node_acl *target_alloc_node_acl(struct se_portal_group *tpg, in target_alloc_node_acl()
172 struct se_node_acl *acl; in target_alloc_node_acl()
204 static void target_add_node_acl(struct se_node_acl *acl) in target_add_node_acl()
[all …]
Dtarget_core_fabric_lib.c36 struct se_node_acl *nacl, in sas_get_pr_transport_id()
53 struct se_node_acl *se_nacl, in fc_get_pr_transport_id()
85 struct se_node_acl *nacl, in sbp_get_pr_transport_id()
101 struct se_node_acl *nacl, in srp_get_pr_transport_id()
129 struct se_node_acl *se_nacl, in iscsi_get_pr_transport_id()
217 struct se_node_acl *se_nacl, in iscsi_get_pr_transport_id_len()
345 int target_get_pr_transport_id_len(struct se_node_acl *nacl, in target_get_pr_transport_id_len()
368 int target_get_pr_transport_id(struct se_node_acl *nacl, in target_get_pr_transport_id()
Dtarget_core_pr.c38 struct se_node_acl *dest_node_acl;
67 static void __core_scsi3_complete_pro_release(struct se_device *, struct se_node_acl *,
104 if (dev->reservation_holder->se_node_acl != sess->se_node_acl) in target_scsi2_reservation_check()
116 struct se_node_acl *, struct se_session *);
127 pr_reg = core_scsi3_locate_pr_reg(cmd->se_dev, se_sess->se_node_acl, in target_check_scsi2_reservation_conflict()
220 if (dev->reservation_holder->se_node_acl != sess->se_node_acl) in target_scsi2_reservation_release()
232 sess->se_node_acl->initiatorname); in target_scsi2_reservation_release()
271 dev->reservation_holder->se_node_acl != sess->se_node_acl) { in target_scsi2_reservation_reserve()
276 dev->reservation_holder->se_node_acl->initiatorname); in target_scsi2_reservation_reserve()
280 sess->se_node_acl->initiatorname); in target_scsi2_reservation_reserve()
[all …]
Dtarget_core_ua.c30 struct se_node_acl *nacl; in target_scsi3_ua_check()
35 nacl = sess->se_node_acl; in target_scsi3_ua_check()
156 void target_ua_allocate_lun(struct se_node_acl *nacl, in target_ua_allocate_lun()
199 struct se_node_acl *nacl; in core_scsi3_ua_for_check_condition()
208 nacl = sess->se_node_acl; in core_scsi3_ua_for_check_condition()
273 struct se_node_acl *nacl; in core_scsi3_ua_clear_for_request_sense()
280 nacl = sess->se_node_acl; in core_scsi3_ua_clear_for_request_sense()
Dtarget_core_device.c52 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_cmd_lun()
151 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_tmr_lun()
199 deve = target_nacl_find_deve(se_sess->se_node_acl, cmd->orig_fe_lun); in target_lun_is_rdonly()
213 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi()
243 struct se_node_acl *nacl, in core_free_device_list_for_node()
260 struct se_node_acl *nacl) in core_update_device_list_access()
274 struct se_dev_entry *target_nacl_find_deve(struct se_node_acl *nacl, u64 mapped_lun) in target_nacl_find_deve()
294 target_luns_data_has_changed(struct se_node_acl *nacl, struct se_dev_entry *new, in target_luns_data_has_changed()
314 struct se_node_acl *nacl, in core_enable_device_list_for_node()
396 struct se_node_acl *nacl, in core_disable_device_list_for_node()
[all …]
Dtarget_core_stat.c858 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_inst_show()
881 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_show()
903 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_port_show()
925 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_indx_show()
945 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_or_port_show()
965 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_intr_name_show()
985 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_map_indx_show()
1005 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_att_count_show()
1025 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_num_cmds_show()
1046 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_read_mbytes_show()
[all …]
Dtarget_core_pr.h70 struct se_node_acl *, u64);
72 struct se_node_acl *);
Dtarget_core_fabric_configfs.c163 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_show()
181 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_store()
268 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun()
269 struct se_node_acl, acl_group); in target_fabric_make_mappedlun()
340 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_nacl_base_release()
341 struct se_node_acl, acl_group); in target_fabric_nacl_base_release()
379 struct se_node_acl *se_nacl; in target_fabric_make_nodeacl()
424 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_drop_nodeacl()
425 struct se_node_acl, acl_group); in target_fabric_drop_nodeacl()
Dtarget_core_transport.c346 struct se_node_acl *se_nacl, in __transport_register_session()
409 struct se_node_acl *se_nacl, in transport_register_session()
443 sess->se_node_acl = core_tpg_check_initiator_node_acl(tpg, in target_setup_session()
445 if (!sess->se_node_acl) { in target_setup_session()
461 transport_register_session(tpg, sess->se_node_acl, sess, private); in target_setup_session()
473 if (!se_sess->se_node_acl) in target_show_dynamic_sessions()
475 if (!se_sess->se_node_acl->dynamic_node_acl) in target_show_dynamic_sessions()
477 if (strlen(se_sess->se_node_acl->initiatorname) + 1 + len > PAGE_SIZE) in target_show_dynamic_sessions()
481 se_sess->se_node_acl->initiatorname); in target_show_dynamic_sessions()
492 struct se_node_acl *nacl = container_of(kref, in target_complete_nacl()
[all …]
Dtarget_core_ua.h38 extern void target_ua_allocate_lun(struct se_node_acl *, u32, u8, u8);
Dtarget_core_xcopy.c87 struct se_node_acl *nacl; in target_xcopy_locate_se_dev_e4()
98 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4()
412 static struct se_node_acl xcopy_pt_nacl;
492 memset(&xcopy_pt_nacl, 0, sizeof(struct se_node_acl)); in target_xcopy_setup_pt()
504 xcopy_pt_sess.se_node_acl = &xcopy_pt_nacl; in target_xcopy_setup_pt()
/kernel/linux/linux-5.10/include/target/
Dtarget_core_fabric.h77 void (*set_default_node_attributes)(struct se_node_acl *);
100 int (*fabric_init_nodeacl)(struct se_node_acl *, const char *);
140 struct se_node_acl *, struct se_session *, void *);
142 struct se_node_acl *, struct se_session *, void *);
145 void target_spc2_release(struct se_node_acl *nacl);
146 void target_put_nacl(struct se_node_acl *);
192 void core_allocate_nexus_loss_ua(struct se_node_acl *acl);
194 struct se_node_acl *core_tpg_get_initiator_node_acl(struct se_portal_group *tpg,
198 struct se_node_acl *core_tpg_check_initiator_node_acl(struct se_portal_group *,
200 int core_tpg_set_initiator_node_queue_depth(struct se_node_acl *, u32);
[all …]
Dtarget_core_base.h307 struct se_node_acl *tg_pt_gp_alua_nacl;
365 struct se_node_acl *pr_reg_nacl;
395 struct se_node_acl *pr_res_holder;
553 struct se_node_acl { struct
581 static inline struct se_node_acl *acl_to_nacl(struct config_item *item) in acl_to_nacl() argument
583 return container_of(to_config_group(item), struct se_node_acl, in acl_to_nacl()
587 static inline struct se_node_acl *attrib_to_nacl(struct config_item *item) in attrib_to_nacl()
589 return container_of(to_config_group(item), struct se_node_acl, in attrib_to_nacl()
593 static inline struct se_node_acl *auth_to_nacl(struct config_item *item) in auth_to_nacl()
595 return container_of(to_config_group(item), struct se_node_acl, in auth_to_nacl()
[all …]
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
Dtfc_conf.c126 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_port_name_show()
128 struct ft_node_acl, se_node_acl); in ft_nacl_port_name_show()
136 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_port_name_store()
138 struct ft_node_acl, se_node_acl); in ft_nacl_port_name_store()
146 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_node_name_show()
148 struct ft_node_acl, se_node_acl); in ft_nacl_node_name_show()
156 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_node_name_store()
158 struct ft_node_acl, se_node_acl); in ft_nacl_node_name_store()
175 struct se_node_acl *se_nacl = acl_to_nacl(item); in ft_nacl_tag_store()
202 static int ft_init_nodeacl(struct se_node_acl *nacl, const char *name) in ft_init_nodeacl()
[all …]
Dtcm_fc.h74 struct se_node_acl se_node_acl; member
/kernel/linux/linux-5.10/drivers/target/iscsi/
Discsi_target_stat.c592 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn; in iscsi_stat_sess_inst_show()
602 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_node_show()
623 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_indx_show()
645 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_cmd_pdus_show()
667 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_rsp_pdus_show()
689 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_txdata_octs_show()
711 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_rxdata_octs_show()
733 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_conn_digest_errors_show()
755 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_conn_timeout_errors_show()
Discsi_target_nodeattrib.c22 struct se_node_acl *se_nacl = &nacl->se_node_acl; in iscsit_na_get_initiatorname()
101 struct se_node_acl *se_nacl = &a->nacl->se_node_acl; in iscsit_na_nopin_timeout()
Discsi_target_device.c22 struct se_node_acl *se_nacl; in iscsit_determine_maxcmdsn()
33 se_nacl = sess->se_sess->se_node_acl; in iscsit_determine_maxcmdsn()
Discsi_target_configfs.c284 struct se_node_acl *se_nacl = attrib_to_nacl(item); \
286 se_node_acl); \
294 struct se_node_acl *se_nacl = attrib_to_nacl(item); \
296 se_node_acl); \
380 struct se_node_acl *nacl = auth_to_nacl(item); \
382 struct iscsi_node_acl, se_node_acl), page); \
387 struct se_node_acl *nacl = auth_to_nacl(item); \
389 struct iscsi_node_acl, se_node_acl), page, count); \
420 struct se_node_acl *nacl = auth_to_nacl(item); \
422 struct iscsi_node_acl, se_node_acl), page); \
[all …]
Discsi_target_tpg.h11 struct se_node_acl;
30 struct se_node_acl *);
Discsi_target_nego.c110 struct se_node_acl *se_nacl; in iscsi_handle_authentication()
116 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_handle_authentication()
123 se_node_acl); in iscsi_handle_authentication()
137 se_node_acl); in iscsi_handle_authentication()
263 struct se_node_acl *se_nacl; in iscsi_target_check_first_request()
298 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_target_check_first_request()
1074 struct se_node_acl *se_nacl; in iscsi_target_locate_portal()
1261 sess->se_sess->se_node_acl = core_tpg_check_initiator_node_acl( in iscsi_target_locate_portal()
1263 if (!sess->se_sess->se_node_acl) { in iscsi_target_locate_portal()
1272 se_nacl = sess->se_sess->se_node_acl; in iscsi_target_locate_portal()
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
Dtcm_qla2xxx.h16 struct se_node_acl se_node_acl; member
54 struct se_node_acl *se_nacl;
Dtcm_qla2xxx.c424 static void tcm_qla2xxx_set_default_node_attrs(struct se_node_acl *nacl) in tcm_qla2xxx_set_default_node_attrs()
780 struct se_node_acl *se_nacl = sess->se_sess->se_node_acl; in tcm_qla2xxx_clear_nacl_from_fcport_map()
786 struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_clear_nacl_from_fcport_map()
822 static int tcm_qla2xxx_init_nodeacl(struct se_node_acl *se_nacl, in tcm_qla2xxx_init_nodeacl()
826 container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_init_nodeacl()
1171 struct se_node_acl *se_nacl; in tcm_qla2xxx_find_sess_by_s_id()
1193 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_find_sess_by_s_id()
1207 struct se_node_acl *new_se_nacl, in tcm_qla2xxx_set_sess_by_s_id()
1276 struct se_node_acl *se_nacl; in tcm_qla2xxx_find_sess_by_loop_id()
1297 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_find_sess_by_loop_id()
[all …]
/kernel/linux/linux-5.10/include/trace/events/
Dtarget.h146 __string( initiator, cmd->se_sess->se_node_acl->initiatorname )
157 __assign_str(initiator, cmd->se_sess->se_node_acl->initiatorname);
186 __string(initiator, cmd->se_sess->se_node_acl->initiatorname)
201 __assign_str(initiator, cmd->se_sess->se_node_acl->initiatorname);

12