Home
last modified time | relevance | path

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

12

/Linux-v6.1/drivers/target/
Dtarget_core_internal.h63 struct se_dev_entry *core_get_se_deve_from_rtpi(struct se_node_acl *, u16);
65 void core_free_device_list_for_node(struct se_node_acl *,
67 void core_update_device_list_access(u64, bool, struct se_node_acl *);
68 struct se_dev_entry *target_nacl_find_deve(struct se_node_acl *, u64);
70 u64, bool, struct se_node_acl *, struct se_portal_group *);
72 struct se_node_acl *, struct se_portal_group *);
78 struct se_node_acl *, u64, int *);
102 int target_get_pr_transport_id_len(struct se_node_acl *nacl,
104 int target_get_pr_transport_id(struct se_node_acl *nacl,
123 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_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 …]
Dtarget_core_device.c52 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_cmd_lun()
148 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_tmr_lun()
196 deve = target_nacl_find_deve(se_sess->se_node_acl, cmd->orig_fe_lun); in target_lun_is_rdonly()
210 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi()
240 struct se_node_acl *nacl, in core_free_device_list_for_node()
254 struct se_node_acl *nacl) in core_update_device_list_access()
268 struct se_dev_entry *target_nacl_find_deve(struct se_node_acl *nacl, u64 mapped_lun) in target_nacl_find_deve()
307 target_luns_data_has_changed(struct se_node_acl *nacl, struct se_dev_entry *new, in target_luns_data_has_changed()
327 struct se_node_acl *nacl, in core_enable_device_list_for_node()
408 struct se_node_acl *nacl, in core_disable_device_list_for_node()
[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.c364 struct se_node_acl *se_nacl, in __transport_register_session()
427 struct se_node_acl *se_nacl, in transport_register_session()
461 sess->se_node_acl = core_tpg_check_initiator_node_acl(tpg, in target_setup_session()
463 if (!sess->se_node_acl) { in target_setup_session()
479 transport_register_session(tpg, sess->se_node_acl, sess, private); in target_setup_session()
491 if (!se_sess->se_node_acl) in target_show_dynamic_sessions()
493 if (!se_sess->se_node_acl->dynamic_node_acl) in target_show_dynamic_sessions()
495 if (strlen(se_sess->se_node_acl->initiatorname) + 1 + len > PAGE_SIZE) in target_show_dynamic_sessions()
499 se_sess->se_node_acl->initiatorname); in target_show_dynamic_sessions()
510 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);
/Linux-v6.1/include/target/
Dtarget_core_fabric.h77 void (*set_default_node_attributes)(struct se_node_acl *);
101 int (*fabric_init_nodeacl)(struct se_node_acl *, const char *);
141 struct se_node_acl *, struct se_session *, void *);
143 struct se_node_acl *, struct se_session *, void *);
146 void target_spc2_release(struct se_node_acl *nacl);
147 void target_put_nacl(struct se_node_acl *);
200 void core_allocate_nexus_loss_ua(struct se_node_acl *acl);
202 struct se_node_acl *core_tpg_get_initiator_node_acl(struct se_portal_group *tpg,
206 struct se_node_acl *core_tpg_check_initiator_node_acl(struct se_portal_group *,
208 int core_tpg_set_initiator_node_queue_depth(struct se_node_acl *, u32);
[all …]
Dtarget_core_base.h311 struct se_node_acl *tg_pt_gp_alua_nacl;
370 struct se_node_acl *pr_reg_nacl;
400 struct se_node_acl *pr_res_holder;
562 struct se_node_acl { struct
590 static inline struct se_node_acl *acl_to_nacl(struct config_item *item) in acl_to_nacl() argument
592 return container_of(to_config_group(item), struct se_node_acl, in acl_to_nacl()
596 static inline struct se_node_acl *attrib_to_nacl(struct config_item *item) in attrib_to_nacl()
598 return container_of(to_config_group(item), struct se_node_acl, in attrib_to_nacl()
602 static inline struct se_node_acl *auth_to_nacl(struct config_item *item) in auth_to_nacl()
604 return container_of(to_config_group(item), struct se_node_acl, in auth_to_nacl()
[all …]
/Linux-v6.1/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
/Linux-v6.1/drivers/target/iscsi/
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()
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()
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_tpg.h11 struct se_node_acl;
30 struct se_node_acl *);
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 …]
Discsi_target_nego.c104 struct se_node_acl *se_nacl; in iscsi_get_node_auth()
109 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_get_node_auth()
254 struct se_node_acl *se_nacl; in iscsi_target_check_first_request()
289 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_target_check_first_request()
820 struct se_node_acl *se_nacl; in iscsi_conn_auth_required()
831 se_nacl = conn->sess->se_sess->se_node_acl; in iscsi_conn_auth_required()
1116 struct se_node_acl *se_nacl; in iscsi_target_locate_portal()
1301 sess->se_sess->se_node_acl = core_tpg_check_initiator_node_acl( in iscsi_target_locate_portal()
1303 if (!sess->se_sess->se_node_acl) { in iscsi_target_locate_portal()
1312 se_nacl = sess->se_sess->se_node_acl; in iscsi_target_locate_portal()
/Linux-v6.1/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()
795 struct se_node_acl *se_nacl = sess->se_sess->se_node_acl; in tcm_qla2xxx_clear_nacl_from_fcport_map()
801 struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_clear_nacl_from_fcport_map()
837 static int tcm_qla2xxx_init_nodeacl(struct se_node_acl *se_nacl, in tcm_qla2xxx_init_nodeacl()
841 container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_init_nodeacl()
1136 struct se_node_acl *se_nacl; in tcm_qla2xxx_find_sess_by_s_id()
1158 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_find_sess_by_s_id()
1172 struct se_node_acl *new_se_nacl, in tcm_qla2xxx_set_sess_by_s_id()
1241 struct se_node_acl *se_nacl; in tcm_qla2xxx_find_sess_by_loop_id()
1262 nacl = container_of(se_nacl, struct tcm_qla2xxx_nacl, se_node_acl); in tcm_qla2xxx_find_sess_by_loop_id()
[all …]
/Linux-v6.1/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);
/Linux-v6.1/drivers/scsi/elx/efct/
Defct_lio.h178 struct se_node_acl se_node_acl; member

12