Home
last modified time | relevance | path

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

12

/linux/drivers/target/
H A 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 *);
101 int target_get_pr_transport_id_len(struct se_node_acl *nacl,
103 int target_get_pr_transport_id(struct se_node_acl *nacl,
122 struct se_node_acl *__core_tpg_get_initiator_node_acl(struct se_portal_group *tpg,
[all …]
H A Dtarget_core_tpg.c40 struct se_node_acl *__core_tpg_get_initiator_node_acl( in __core_tpg_get_initiator_node_acl()
44 struct se_node_acl *acl; in __core_tpg_get_initiator_node_acl()
58 struct se_node_acl *core_tpg_get_initiator_node_acl( in core_tpg_get_initiator_node_acl()
62 struct se_node_acl *acl; in core_tpg_get_initiator_node_acl()
85 struct se_node_acl *nacl) in core_allocate_nexus_loss_ua()
105 struct se_node_acl *acl, in core_tpg_add_node_to_devs()
158 struct se_node_acl *acl, u32 queue_depth) in target_set_nacl_queue_depth()
170 static struct se_node_acl *target_alloc_node_acl(struct se_portal_group *tpg, in target_alloc_node_acl()
173 struct se_node_acl *acl; in target_alloc_node_acl()
205 static void target_add_node_acl(struct se_node_acl *acl) in target_add_node_acl()
[all …]
H A 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()
H A 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 …]
H A 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()
H A Dtarget_core_device.c51 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_cmd_lun()
147 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_tmr_lun()
190 deve = target_nacl_find_deve(se_sess->se_node_acl, cmd->orig_fe_lun); in target_lun_is_rdonly()
204 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi()
234 struct se_node_acl *nacl, in core_free_device_list_for_node()
248 struct se_node_acl *nacl) in core_update_device_list_access()
262 struct se_dev_entry *target_nacl_find_deve(struct se_node_acl *nacl, u64 mapped_lun) in target_nacl_find_deve()
301 target_luns_data_has_changed(struct se_node_acl *nacl, struct se_dev_entry *new, in target_luns_data_has_changed()
321 struct se_node_acl *nacl, in core_enable_device_list_for_node()
402 struct se_node_acl *nacl, in core_disable_device_list_for_node()
[all …]
H A Dtarget_core_stat.c855 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_inst_show()
878 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_show()
899 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_port_show()
921 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_indx_show()
941 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_or_port_show()
961 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_intr_name_show()
981 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_map_indx_show()
1001 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_att_count_show()
1021 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_num_cmds_show()
1042 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_read_mbytes_show()
[all …]
H A Dtarget_core_pr.h70 struct se_node_acl *, u64);
72 struct se_node_acl *);
H A Dtarget_core_fabric_configfs.c164 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_show()
182 struct se_node_acl *se_nacl = lacl->se_lun_nacl; in target_fabric_mappedlun_write_protect_store()
269 struct se_node_acl *se_nacl = container_of(group, in target_fabric_make_mappedlun()
270 struct se_node_acl, acl_group); in target_fabric_make_mappedlun()
341 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_nacl_base_release()
342 struct se_node_acl, acl_group); in target_fabric_nacl_base_release()
380 struct se_node_acl *se_nacl; in target_fabric_make_nodeacl()
425 struct se_node_acl *se_nacl = container_of(to_config_group(item), in target_fabric_drop_nodeacl()
426 struct se_node_acl, acl_group); in target_fabric_drop_nodeacl()
H A Dtarget_core_transport.c382 struct se_node_acl *se_nacl, in __transport_register_session()
445 struct se_node_acl *se_nacl, in transport_register_session()
487 sess->se_node_acl = core_tpg_check_initiator_node_acl(tpg, in target_setup_session()
489 if (!sess->se_node_acl) { in target_setup_session()
503 transport_register_session(tpg, sess->se_node_acl, sess, private); in target_setup_session()
523 if (!se_sess->se_node_acl) in target_show_dynamic_sessions()
525 if (!se_sess->se_node_acl->dynamic_node_acl) in target_show_dynamic_sessions()
527 if (strlen(se_sess->se_node_acl->initiatorname) + 1 + len > PAGE_SIZE) in target_show_dynamic_sessions()
531 se_sess->se_node_acl->initiatorname); in target_show_dynamic_sessions()
542 struct se_node_acl *nacl = container_of(kref, in target_complete_nacl()
[all …]
H A Dtarget_core_xcopy.c75 struct se_node_acl *nacl; in target_xcopy_locate_se_dev_e4()
86 nacl = sess->se_node_acl; in target_xcopy_locate_se_dev_e4()
399 static struct se_node_acl xcopy_pt_nacl;
477 memset(&xcopy_pt_nacl, 0, sizeof(struct se_node_acl)); in target_xcopy_setup_pt()
487 xcopy_pt_sess.se_node_acl = &xcopy_pt_nacl; in target_xcopy_setup_pt()
H A Dtarget_core_ua.h38 extern void target_ua_allocate_lun(struct se_node_acl *, u32, u8, u8);
/linux/include/target/
H A Dtarget_core_fabric.h77 void (*set_default_node_attributes)(struct se_node_acl *);
101 int (*fabric_init_nodeacl)(struct se_node_acl *, const char *);
155 struct se_node_acl *, struct se_session *, void *);
157 struct se_node_acl *, struct se_session *, void *);
160 void target_spc2_release(struct se_node_acl *nacl);
161 void target_put_nacl(struct se_node_acl *);
212 void core_allocate_nexus_loss_ua(struct se_node_acl *acl);
214 struct se_node_acl *core_tpg_get_initiator_node_acl(struct se_portal_group *tpg,
218 struct se_node_acl *core_tpg_check_initiator_node_acl(struct se_portal_group *,
220 int core_tpg_set_initiator_node_queue_depth(struct se_node_acl *, u32);
[all …]
H A Dtarget_core_base.h322 struct se_node_acl *tg_pt_gp_alua_nacl;
381 struct se_node_acl *pr_reg_nacl;
411 struct se_node_acl *pr_res_holder;
574 struct se_node_acl { struct
602 static inline struct se_node_acl *acl_to_nacl(struct config_item *item) in acl_to_nacl() argument
604 return container_of(to_config_group(item), struct se_node_acl, in acl_to_nacl()
608 static inline struct se_node_acl *attrib_to_nacl(struct config_item *item) in attrib_to_nacl()
610 return container_of(to_config_group(item), struct se_node_acl, in attrib_to_nacl()
614 static inline struct se_node_acl *auth_to_nacl(struct config_item *item) in auth_to_nacl()
616 return container_of(to_config_group(item), struct se_node_acl, in auth_to_nacl()
[all …]
/linux/drivers/target/tcm_fc/
H A 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 …]
H A Dtcm_fc.h74 struct se_node_acl se_node_acl; member
/linux/drivers/target/iscsi/
H A Discsi_target_stat.c591 struct se_wwn *wwn = acl->se_node_acl.se_tpg->se_tpg_wwn; in iscsi_stat_sess_inst_show()
601 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_node_show()
622 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_indx_show()
644 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_cmd_pdus_show()
666 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_rsp_pdus_show()
688 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_txdata_octs_show()
710 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_rxdata_octs_show()
732 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_conn_digest_errors_show()
754 struct se_node_acl *se_nacl = &acl->se_node_acl; in iscsi_stat_sess_conn_timeout_errors_show()
H A Discsi_target_nodeattrib.c22 struct se_node_acl *se_nacl = &nacl->se_node_acl; in iscsit_na_get_initiatorname()
102 struct se_node_acl *se_nacl = &a->nacl->se_node_acl; in iscsit_na_nopin_timeout()
H A 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()
H A Discsi_target_configfs.c283 struct se_node_acl *se_nacl = attrib_to_nacl(item); \
291 struct se_node_acl *se_nacl = attrib_to_nacl(item); \
320 struct se_node_acl *se_nacl = attrib_to_nacl(item); in iscsi_nacl_attrib_authentication_show()
329 struct se_node_acl *se_nacl = attrib_to_nacl(item); in iscsi_nacl_attrib_authentication_store()
407 struct se_node_acl *nacl = auth_to_nacl(item); \
413 struct se_node_acl *nacl = auth_to_nacl(item); \
446 struct se_node_acl *nacl = auth_to_nacl(item); \
471 struct se_node_acl *se_nacl = param_to_nacl(item); \
526 struct se_node_acl *se_nacl = acl_to_nacl(item); in lio_target_nacl_info_show()
650 struct se_node_acl *se_nacl = acl_to_nacl(item); in lio_target_nacl_cmdsn_depth_store()
[all …]
H A Discsi_target_nego.c105 struct se_node_acl *se_nacl; in iscsi_get_node_auth()
110 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_get_node_auth()
255 struct se_node_acl *se_nacl; in iscsi_target_check_first_request()
290 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_target_check_first_request()
814 struct se_node_acl *se_nacl; in iscsi_conn_auth_required()
825 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_conn_auth_required()
1117 struct se_node_acl *se_nacl; in iscsi_target_locate_portal()
1287 sess->se_sess->se_node_acl = core_tpg_check_initiator_node_acl( in iscsi_target_locate_portal()
1289 if (!sess->se_sess->se_node_acl) { in iscsi_target_locate_portal()
1298 se_nacl = sess->se_sess->se_node_acl; in iscsi_target_locate_portal()
/linux/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.h16 struct se_node_acl se_node_acl; member
54 struct se_node_acl *se_nacl;
H A Dtcm_qla2xxx.c785 struct se_node_acl *se_nacl = sess->se_sess->se_node_acl; in tcm_qla2xxx_clear_nacl_from_fcport_map()
791 struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_clear_nacl_from_fcport_map()
827 static int tcm_qla2xxx_init_nodeacl(struct se_node_acl *se_nacl, in tcm_qla2xxx_init_nodeacl()
831 container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_init_nodeacl()
1126 struct se_node_acl *se_nacl; in tcm_qla2xxx_find_sess_by_s_id()
1148 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_find_sess_by_s_id()
1162 struct se_node_acl *new_se_nacl, in tcm_qla2xxx_set_sess_by_s_id()
1231 struct se_node_acl *se_nacl; in tcm_qla2xxx_find_sess_by_loop_id()
1252 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_find_sess_by_loop_id()
1267 struct se_node_acl *new_se_nacl, in tcm_qla2xxx_set_sess_by_loop_id()
[all …]
/linux/include/trace/events/
H A Dtarget.h146 __string( initiator, cmd->se_sess->se_node_acl->initiatorname )
186 __string(initiator, cmd->se_sess->se_node_acl->initiatorname)
/linux/drivers/scsi/elx/efct/
H A Defct_lio.h178 struct se_node_acl se_node_acl; member

12