Home
last modified time | relevance | path

Searched refs:nacl (Results 1 - 25 of 42) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/target/
H A Dtarget_core_fabric_lib.c36 struct se_node_acl *nacl, in sas_get_pr_transport_id()
43 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id()
85 struct se_node_acl *nacl, in sbp_get_pr_transport_id()
91 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id()
101 struct se_node_acl *nacl, in srp_get_pr_transport_id()
109 p = nacl->initiatorname; in srp_get_pr_transport_id()
345 int target_get_pr_transport_id_len(struct se_node_acl *nacl, in target_get_pr_transport_id_len() argument
348 switch (nacl->se_tpg->proto_id) { in target_get_pr_transport_id_len()
355 return iscsi_get_pr_transport_id_len(nacl, pr_reg, format_code); in target_get_pr_transport_id_len()
357 pr_err("Unknown proto_id: 0x%02x\n", nacl in target_get_pr_transport_id_len()
35 sas_get_pr_transport_id( struct se_node_acl *nacl, int *format_code, unsigned char *buf) sas_get_pr_transport_id() argument
84 sbp_get_pr_transport_id( struct se_node_acl *nacl, int *format_code, unsigned char *buf) sbp_get_pr_transport_id() argument
100 srp_get_pr_transport_id( struct se_node_acl *nacl, int *format_code, unsigned char *buf) srp_get_pr_transport_id() argument
368 target_get_pr_transport_id(struct se_node_acl *nacl, struct t10_pr_registration *pr_reg, int *format_code, unsigned char *buf) target_get_pr_transport_id() argument
[all...]
H A Dtarget_core_ua.c30 struct se_node_acl *nacl; in target_scsi3_ua_check() local
35 nacl = sess->se_node_acl; in target_scsi3_ua_check()
36 if (!nacl) in target_scsi3_ua_check()
40 deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in target_scsi3_ua_check()
156 void target_ua_allocate_lun(struct se_node_acl *nacl, in target_ua_allocate_lun() argument
161 if (!nacl) in target_ua_allocate_lun()
165 deve = target_nacl_find_deve(nacl, unpacked_lun); in target_ua_allocate_lun()
199 struct se_node_acl *nacl; in core_scsi3_ua_for_check_condition() local
208 nacl = sess->se_node_acl; in core_scsi3_ua_for_check_condition()
209 if (WARN_ON_ONCE(!nacl)) in core_scsi3_ua_for_check_condition()
273 struct se_node_acl *nacl; core_scsi3_ua_clear_for_request_sense() local
[all...]
H A Dtarget_core_device.c52 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_cmd_lun() local
57 deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun); in transport_lookup_cmd_lun()
105 nacl->initiatorname); in transport_lookup_cmd_lun()
151 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_tmr_lun() local
156 deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun); in transport_lookup_tmr_lun()
178 nacl->initiatorname); in transport_lookup_tmr_lun()
213 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi()
218 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi()
221 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in core_get_se_deve_from_rtpi()
243 struct se_node_acl *nacl, in core_free_device_list_for_node()
212 core_get_se_deve_from_rtpi( struct se_node_acl *nacl, u16 rtpi) core_get_se_deve_from_rtpi() argument
242 core_free_device_list_for_node( struct se_node_acl *nacl, struct se_portal_group *tpg) core_free_device_list_for_node() argument
257 core_update_device_list_access( u64 mapped_lun, bool lun_access_ro, struct se_node_acl *nacl) core_update_device_list_access() argument
274 target_nacl_find_deve(struct se_node_acl *nacl, u64 mapped_lun) target_nacl_find_deve() argument
294 target_luns_data_has_changed(struct se_node_acl *nacl, struct se_dev_entry *new, bool skip_new) target_luns_data_has_changed() argument
309 core_enable_device_list_for_node( struct se_lun *lun, struct se_lun_acl *lun_acl, u64 mapped_lun, bool lun_access_ro, struct se_node_acl *nacl, struct se_portal_group *tpg) core_enable_device_list_for_node() argument
393 core_disable_device_list_for_node( struct se_lun *lun, struct se_dev_entry *orig, struct se_node_acl *nacl, struct se_portal_group *tpg) core_disable_device_list_for_node() argument
455 struct se_node_acl *nacl; core_clear_lun_from_tpg() local
600 core_dev_init_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_node_acl *nacl, u64 mapped_lun, int *ret) core_dev_init_initiator_node_lun_acl() argument
633 struct se_node_acl *nacl = lacl->se_lun_nacl; core_dev_add_initiator_node_lun_acl() local
671 struct se_node_acl *nacl; core_dev_del_initiator_node_lun_acl() local
[all...]
H A Dtarget_core_stat.c858 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_inst_show() local
864 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
869 tpg = nacl->se_tpg; in target_stat_auth_inst_show()
881 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_show() local
887 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
903 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_port_show() local
909 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
914 tpg = nacl->se_tpg; in target_stat_auth_port_show()
925 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_indx_show() local
930 deve = target_nacl_find_deve(nacl, lac in target_stat_auth_indx_show()
945 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_dev_or_port_show() local
965 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_intr_name_show() local
985 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_map_indx_show() local
1005 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_att_count_show() local
1025 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_num_cmds_show() local
1046 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_read_mbytes_show() local
1067 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_write_mbytes_show() local
1088 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_hs_num_cmds_show() local
1108 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_creation_time_show() local
1129 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_row_status_show() local
1198 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_inst_show() local
1221 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_dev_show() local
1243 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_show() local
1265 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_indx_show() local
1289 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_auth_indx_show() local
1309 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_ident_show() local
[all...]
H A Dtarget_core_pr.c316 struct se_node_acl *nacl = se_sess->se_node_acl; in core_scsi3_pr_seq_non_holder() local
330 se_deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in core_scsi3_pr_seq_non_holder()
616 struct se_node_acl *nacl, in __core_scsi3_do_alloc_registration()
639 pr_reg->pr_reg_nacl = nacl; in __core_scsi3_do_alloc_registration()
652 pr_reg->pr_reg_deve = target_nacl_find_deve(nacl, mapped_lun); in __core_scsi3_do_alloc_registration()
656 nacl->initiatorname, mapped_lun); in __core_scsi3_do_alloc_registration()
691 struct se_node_acl *nacl, in __core_scsi3_alloc_registration()
704 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_alloc_registration()
711 pr_reg = __core_scsi3_do_alloc_registration(dev, nacl, lun, deve, mapped_lun, in __core_scsi3_alloc_registration()
748 if (nacl in __core_scsi3_alloc_registration()
614 __core_scsi3_do_alloc_registration( struct se_device *dev, struct se_node_acl *nacl, struct se_lun *lun, struct se_dev_entry *dest_deve, u64 mapped_lun, unsigned char *isid, u64 sa_res_key, int all_tg_pt, int aptpl) __core_scsi3_do_alloc_registration() argument
689 __core_scsi3_alloc_registration( struct se_device *dev, struct se_node_acl *nacl, struct se_lun *lun, struct se_dev_entry *deve, u64 mapped_lun, unsigned char *isid, u64 sa_res_key, int all_tg_pt, int aptpl) __core_scsi3_alloc_registration() argument
920 __core_scsi3_check_aptpl_registration( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun, u64 target_lun, struct se_node_acl *nacl, u64 mapped_lun) __core_scsi3_check_aptpl_registration() argument
1002 core_scsi3_check_aptpl_registration( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun, struct se_node_acl *nacl, u64 mapped_lun) core_scsi3_check_aptpl_registration() argument
1017 __core_scsi3_dump_registration( const struct target_core_fabric_ops *tfo, struct se_device *dev, struct se_node_acl *nacl, struct t10_pr_registration *pr_reg, enum register_type register_type) __core_scsi3_dump_registration() argument
1048 __core_scsi3_add_registration( struct se_device *dev, struct se_node_acl *nacl, struct t10_pr_registration *pr_reg, enum register_type register_type, int register_move) __core_scsi3_add_registration() argument
1129 core_scsi3_alloc_registration( struct se_device *dev, struct se_node_acl *nacl, struct se_lun *lun, struct se_dev_entry *deve, u64 mapped_lun, unsigned char *isid, u64 sa_res_key, int all_tg_pt, int aptpl, enum register_type register_type, int register_move) core_scsi3_alloc_registration() argument
1155 __core_scsi3_locate_pr_reg( struct se_device *dev, struct se_node_acl *nacl, unsigned char *isid) __core_scsi3_locate_pr_reg() argument
1200 core_scsi3_locate_pr_reg( struct se_device *dev, struct se_node_acl *nacl, struct se_session *sess) core_scsi3_locate_pr_reg() argument
1227 struct se_node_acl *nacl = pr_reg->pr_reg_nacl; core_scsi3_check_implicit_release() local
1285 struct se_node_acl *nacl = pr_reg->pr_reg_nacl; global() variable
1348 core_scsi3_free_pr_reg_from_nacl( struct se_device *dev, struct se_node_acl *nacl) core_scsi3_free_pr_reg_from_nacl() argument
1428 core_scsi3_nodeacl_depend_item(struct se_node_acl *nacl) core_scsi3_nodeacl_depend_item() argument
1435 core_scsi3_nodeacl_undepend_item(struct se_node_acl *nacl) core_scsi3_nodeacl_undepend_item() argument
2768 struct se_node_acl *nacl = pr_reg->pr_reg_nacl; __core_scsi3_complete_pro_preempt() local
[all...]
H A Dtarget_core_tpg.c84 struct se_node_acl *nacl) in core_allocate_nexus_loss_ua()
88 if (!nacl) in core_allocate_nexus_loss_ua()
92 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) in core_allocate_nexus_loss_ua()
282 void core_tpg_wait_for_nacl_pr_ref(struct se_node_acl *nacl) in core_tpg_wait_for_nacl_pr_ref() argument
284 while (atomic_read(&nacl->acl_pr_ref_count) != 0) in core_tpg_wait_for_nacl_pr_ref()
506 struct se_node_acl *nacl, *nacl_tmp; in core_tpg_deregister() local
525 list_for_each_entry_safe(nacl, nacl_tmp, &node_list, acl_list) { in core_tpg_deregister()
526 list_del_init(&nacl->acl_list); in core_tpg_deregister()
528 core_tpg_wait_for_nacl_pr_ref(nacl); in core_tpg_deregister()
529 core_free_device_list_for_node(nacl, se_tp in core_tpg_deregister()
83 core_allocate_nexus_loss_ua( struct se_node_acl *nacl) core_allocate_nexus_loss_ua() argument
[all...]
H A Dtarget_core_internal.h100 int target_get_pr_transport_id_len(struct se_node_acl *nacl,
102 int target_get_pr_transport_id(struct se_node_acl *nacl,
H A Dtarget_core_transport.c492 struct se_node_acl *nacl = container_of(kref, in target_complete_nacl() local
494 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl()
496 if (!nacl->dynamic_stop) { in target_complete_nacl()
497 complete(&nacl->acl_free_comp); in target_complete_nacl()
502 list_del_init(&nacl->acl_list); in target_complete_nacl()
505 core_tpg_wait_for_nacl_pr_ref(nacl); in target_complete_nacl()
506 core_free_device_list_for_node(nacl, se_tpg); in target_complete_nacl()
507 kfree(nacl); in target_complete_nacl()
510 void target_put_nacl(struct se_node_acl *nacl) in target_put_nacl() argument
512 kref_put(&nacl in target_put_nacl()
[all...]
/kernel/linux/linux-6.6/drivers/target/
H A Dtarget_core_fabric_lib.c36 struct se_node_acl *nacl, in sas_get_pr_transport_id()
43 ret = hex2bin(&buf[4], &nacl->initiatorname[4], 8); in sas_get_pr_transport_id()
85 struct se_node_acl *nacl, in sbp_get_pr_transport_id()
91 ret = hex2bin(&buf[8], nacl->initiatorname, 8); in sbp_get_pr_transport_id()
101 struct se_node_acl *nacl, in srp_get_pr_transport_id()
109 p = nacl->initiatorname; in srp_get_pr_transport_id()
345 int target_get_pr_transport_id_len(struct se_node_acl *nacl, in target_get_pr_transport_id_len() argument
348 switch (nacl->se_tpg->proto_id) { in target_get_pr_transport_id_len()
355 return iscsi_get_pr_transport_id_len(nacl, pr_reg, format_code); in target_get_pr_transport_id_len()
357 pr_err("Unknown proto_id: 0x%02x\n", nacl in target_get_pr_transport_id_len()
35 sas_get_pr_transport_id( struct se_node_acl *nacl, int *format_code, unsigned char *buf) sas_get_pr_transport_id() argument
84 sbp_get_pr_transport_id( struct se_node_acl *nacl, int *format_code, unsigned char *buf) sbp_get_pr_transport_id() argument
100 srp_get_pr_transport_id( struct se_node_acl *nacl, int *format_code, unsigned char *buf) srp_get_pr_transport_id() argument
368 target_get_pr_transport_id(struct se_node_acl *nacl, struct t10_pr_registration *pr_reg, int *format_code, unsigned char *buf) target_get_pr_transport_id() argument
[all...]
H A Dtarget_core_ua.c30 struct se_node_acl *nacl; in target_scsi3_ua_check() local
35 nacl = sess->se_node_acl; in target_scsi3_ua_check()
36 if (!nacl) in target_scsi3_ua_check()
40 deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in target_scsi3_ua_check()
156 void target_ua_allocate_lun(struct se_node_acl *nacl, in target_ua_allocate_lun() argument
161 if (!nacl) in target_ua_allocate_lun()
165 deve = target_nacl_find_deve(nacl, unpacked_lun); in target_ua_allocate_lun()
199 struct se_node_acl *nacl; in core_scsi3_ua_for_check_condition() local
208 nacl = sess->se_node_acl; in core_scsi3_ua_for_check_condition()
209 if (WARN_ON_ONCE(!nacl)) in core_scsi3_ua_for_check_condition()
273 struct se_node_acl *nacl; core_scsi3_ua_clear_for_request_sense() local
[all...]
H A Dtarget_core_device.c52 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_cmd_lun() local
57 deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun); in transport_lookup_cmd_lun()
104 nacl->initiatorname); in transport_lookup_cmd_lun()
148 struct se_node_acl *nacl = se_sess->se_node_acl; in transport_lookup_tmr_lun() local
152 deve = target_nacl_find_deve(nacl, se_cmd->orig_fe_lun); in transport_lookup_tmr_lun()
174 nacl->initiatorname); in transport_lookup_tmr_lun()
205 struct se_node_acl *nacl, in core_get_se_deve_from_rtpi()
210 struct se_portal_group *tpg = nacl->se_tpg; in core_get_se_deve_from_rtpi()
213 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in core_get_se_deve_from_rtpi()
235 struct se_node_acl *nacl, in core_free_device_list_for_node()
204 core_get_se_deve_from_rtpi( struct se_node_acl *nacl, u16 rtpi) core_get_se_deve_from_rtpi() argument
234 core_free_device_list_for_node( struct se_node_acl *nacl, struct se_portal_group *tpg) core_free_device_list_for_node() argument
246 core_update_device_list_access( u64 mapped_lun, bool lun_access_ro, struct se_node_acl *nacl) core_update_device_list_access() argument
263 target_nacl_find_deve(struct se_node_acl *nacl, u64 mapped_lun) target_nacl_find_deve() argument
302 target_luns_data_has_changed(struct se_node_acl *nacl, struct se_dev_entry *new, bool skip_new) target_luns_data_has_changed() argument
317 core_enable_device_list_for_node( struct se_lun *lun, struct se_lun_acl *lun_acl, u64 mapped_lun, bool lun_access_ro, struct se_node_acl *nacl, struct se_portal_group *tpg) core_enable_device_list_for_node() argument
400 core_disable_device_list_for_node( struct se_lun *lun, struct se_dev_entry *orig, struct se_node_acl *nacl, struct se_portal_group *tpg) core_disable_device_list_for_node() argument
459 struct se_node_acl *nacl; core_clear_lun_from_tpg() local
560 core_dev_init_initiator_node_lun_acl( struct se_portal_group *tpg, struct se_node_acl *nacl, u64 mapped_lun, int *ret) core_dev_init_initiator_node_lun_acl() argument
593 struct se_node_acl *nacl = lacl->se_lun_nacl; core_dev_add_initiator_node_lun_acl() local
631 struct se_node_acl *nacl; core_dev_del_initiator_node_lun_acl() local
[all...]
H A Dtarget_core_stat.c855 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_inst_show() local
861 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_inst_show()
866 tpg = nacl->se_tpg; in target_stat_auth_inst_show()
878 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_dev_show() local
883 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_dev_show()
899 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_port_show() local
905 deve = target_nacl_find_deve(nacl, lacl->mapped_lun); in target_stat_auth_port_show()
910 tpg = nacl->se_tpg; in target_stat_auth_port_show()
921 struct se_node_acl *nacl = lacl->se_lun_nacl; in target_stat_auth_indx_show() local
926 deve = target_nacl_find_deve(nacl, lac in target_stat_auth_indx_show()
941 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_dev_or_port_show() local
961 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_intr_name_show() local
981 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_map_indx_show() local
1001 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_att_count_show() local
1021 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_num_cmds_show() local
1042 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_read_mbytes_show() local
1063 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_write_mbytes_show() local
1084 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_hs_num_cmds_show() local
1104 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_creation_time_show() local
1125 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_auth_row_status_show() local
1194 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_inst_show() local
1217 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_dev_show() local
1238 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_show() local
1260 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_indx_show() local
1284 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_auth_indx_show() local
1304 struct se_node_acl *nacl = lacl->se_lun_nacl; target_stat_iport_port_ident_show() local
[all...]
H A Dtarget_core_pr.c316 struct se_node_acl *nacl = se_sess->se_node_acl; in core_scsi3_pr_seq_non_holder() local
330 se_deve = target_nacl_find_deve(nacl, cmd->orig_fe_lun); in core_scsi3_pr_seq_non_holder()
617 struct se_node_acl *nacl, in __core_scsi3_do_alloc_registration()
640 pr_reg->pr_reg_nacl = nacl; in __core_scsi3_do_alloc_registration()
653 pr_reg->pr_reg_deve = target_nacl_find_deve(nacl, mapped_lun); in __core_scsi3_do_alloc_registration()
657 nacl->initiatorname, mapped_lun); in __core_scsi3_do_alloc_registration()
692 struct se_node_acl *nacl, in __core_scsi3_alloc_registration()
705 const struct target_core_fabric_ops *tfo = nacl->se_tpg->se_tpg_tfo; in __core_scsi3_alloc_registration()
712 pr_reg = __core_scsi3_do_alloc_registration(dev, nacl, lun, deve, mapped_lun, in __core_scsi3_alloc_registration()
748 if (nacl in __core_scsi3_alloc_registration()
615 __core_scsi3_do_alloc_registration( struct se_device *dev, struct se_node_acl *nacl, struct se_lun *lun, struct se_dev_entry *dest_deve, u64 mapped_lun, unsigned char *isid, u64 sa_res_key, int all_tg_pt, int aptpl) __core_scsi3_do_alloc_registration() argument
690 __core_scsi3_alloc_registration( struct se_device *dev, struct se_node_acl *nacl, struct se_lun *lun, struct se_dev_entry *deve, u64 mapped_lun, unsigned char *isid, u64 sa_res_key, int all_tg_pt, int aptpl) __core_scsi3_alloc_registration() argument
918 __core_scsi3_check_aptpl_registration( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun, u64 target_lun, struct se_node_acl *nacl, u64 mapped_lun) __core_scsi3_check_aptpl_registration() argument
998 core_scsi3_check_aptpl_registration( struct se_device *dev, struct se_portal_group *tpg, struct se_lun *lun, struct se_node_acl *nacl, u64 mapped_lun) core_scsi3_check_aptpl_registration() argument
1013 __core_scsi3_dump_registration( const struct target_core_fabric_ops *tfo, struct se_device *dev, struct se_node_acl *nacl, struct t10_pr_registration *pr_reg, enum register_type register_type) __core_scsi3_dump_registration() argument
1043 __core_scsi3_add_registration( struct se_device *dev, struct se_node_acl *nacl, struct t10_pr_registration *pr_reg, enum register_type register_type, int register_move) __core_scsi3_add_registration() argument
1124 core_scsi3_alloc_registration( struct se_device *dev, struct se_node_acl *nacl, struct se_lun *lun, struct se_dev_entry *deve, u64 mapped_lun, unsigned char *isid, u64 sa_res_key, int all_tg_pt, int aptpl, enum register_type register_type, int register_move) core_scsi3_alloc_registration() argument
1150 __core_scsi3_locate_pr_reg( struct se_device *dev, struct se_node_acl *nacl, unsigned char *isid) __core_scsi3_locate_pr_reg() argument
1195 core_scsi3_locate_pr_reg( struct se_device *dev, struct se_node_acl *nacl, struct se_session *sess) core_scsi3_locate_pr_reg() argument
1222 struct se_node_acl *nacl = pr_reg->pr_reg_nacl; core_scsi3_check_implicit_release() local
1280 struct se_node_acl *nacl = pr_reg->pr_reg_nacl; global() variable
1342 core_scsi3_free_pr_reg_from_nacl( struct se_device *dev, struct se_node_acl *nacl) core_scsi3_free_pr_reg_from_nacl() argument
1422 core_scsi3_nodeacl_depend_item(struct se_node_acl *nacl) core_scsi3_nodeacl_depend_item() argument
1429 core_scsi3_nodeacl_undepend_item(struct se_node_acl *nacl) core_scsi3_nodeacl_undepend_item() argument
2748 struct se_node_acl *nacl = pr_reg->pr_reg_nacl; __core_scsi3_complete_pro_preempt() local
[all...]
H A Dtarget_core_tpg.c85 struct se_node_acl *nacl) in core_allocate_nexus_loss_ua()
89 if (!nacl) in core_allocate_nexus_loss_ua()
93 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) in core_allocate_nexus_loss_ua()
283 void core_tpg_wait_for_nacl_pr_ref(struct se_node_acl *nacl) in core_tpg_wait_for_nacl_pr_ref() argument
285 while (atomic_read(&nacl->acl_pr_ref_count) != 0) in core_tpg_wait_for_nacl_pr_ref()
569 struct se_node_acl *nacl, *nacl_tmp; in core_tpg_deregister() local
588 list_for_each_entry_safe(nacl, nacl_tmp, &node_list, acl_list) { in core_tpg_deregister()
589 list_del_init(&nacl->acl_list); in core_tpg_deregister()
591 core_tpg_wait_for_nacl_pr_ref(nacl); in core_tpg_deregister()
592 core_free_device_list_for_node(nacl, se_tp in core_tpg_deregister()
84 core_allocate_nexus_loss_ua( struct se_node_acl *nacl) core_allocate_nexus_loss_ua() argument
[all...]
H A Dtarget_core_internal.h101 int target_get_pr_transport_id_len(struct se_node_acl *nacl,
103 int target_get_pr_transport_id(struct se_node_acl *nacl,
H A Dtarget_core_transport.c542 struct se_node_acl *nacl = container_of(kref, in target_complete_nacl() local
544 struct se_portal_group *se_tpg = nacl->se_tpg; in target_complete_nacl()
546 if (!nacl->dynamic_stop) { in target_complete_nacl()
547 complete(&nacl->acl_free_comp); in target_complete_nacl()
552 list_del_init(&nacl->acl_list); in target_complete_nacl()
555 core_tpg_wait_for_nacl_pr_ref(nacl); in target_complete_nacl()
556 core_free_device_list_for_node(nacl, se_tpg); in target_complete_nacl()
557 kfree(nacl); in target_complete_nacl()
560 void target_put_nacl(struct se_node_acl *nacl) in target_put_nacl() argument
562 kref_put(&nacl in target_put_nacl()
[all...]
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c424 static void tcm_qla2xxx_set_default_node_attrs(struct se_node_acl *nacl) in tcm_qla2xxx_set_default_node_attrs() argument
785 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, in tcm_qla2xxx_clear_nacl_from_fcport_map() local
789 pr_debug("fc_rport domain: port_id 0x%06x\n", nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
791 node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
794 * The nacl no longer matches what we think it should be. in tcm_qla2xxx_clear_nacl_from_fcport_map()
799 btree_insert32(&lport->lport_fcport_map, nacl->nport_id, in tcm_qla2xxx_clear_nacl_from_fcport_map()
804 se_nacl, nacl->nport_wwnn, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
814 tcm_qla2xxx_clear_sess_lookup(lport, nacl, sess); in tcm_qla2xxx_clear_nacl_from_fcport_map()
825 struct tcm_qla2xxx_nacl *nacl in tcm_qla2xxx_init_nodeacl() local
1172 struct tcm_qla2xxx_nacl *nacl; tcm_qla2xxx_find_sess_by_s_id() local
1205 tcm_qla2xxx_set_sess_by_s_id( struct tcm_qla2xxx_lport *lport, struct se_node_acl *new_se_nacl, struct tcm_qla2xxx_nacl *nacl, struct se_session *se_sess, struct fc_port *fc_port, be_id_t s_id) tcm_qla2xxx_set_sess_by_s_id() argument
1277 struct tcm_qla2xxx_nacl *nacl; tcm_qla2xxx_find_sess_by_loop_id() local
1310 tcm_qla2xxx_set_sess_by_loop_id( struct tcm_qla2xxx_lport *lport, struct se_node_acl *new_se_nacl, struct tcm_qla2xxx_nacl *nacl, struct se_session *se_sess, struct fc_port *fc_port, uint16_t loop_id) tcm_qla2xxx_set_sess_by_loop_id() argument
1374 tcm_qla2xxx_clear_sess_lookup(struct tcm_qla2xxx_lport *lport, struct tcm_qla2xxx_nacl *nacl, struct fc_port *sess) tcm_qla2xxx_clear_sess_lookup() argument
1421 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_session_cb() local
1500 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_update_sess() local
[all...]
/kernel/linux/linux-6.6/drivers/scsi/qla2xxx/
H A Dtcm_qla2xxx.c790 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, in tcm_qla2xxx_clear_nacl_from_fcport_map() local
794 pr_debug("fc_rport domain: port_id 0x%06x\n", nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
796 node = btree_remove32(&lport->lport_fcport_map, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
799 * The nacl no longer matches what we think it should be. in tcm_qla2xxx_clear_nacl_from_fcport_map()
804 btree_insert32(&lport->lport_fcport_map, nacl->nport_id, in tcm_qla2xxx_clear_nacl_from_fcport_map()
809 se_nacl, nacl->nport_wwnn, nacl->nport_id); in tcm_qla2xxx_clear_nacl_from_fcport_map()
819 tcm_qla2xxx_clear_sess_lookup(lport, nacl, sess); in tcm_qla2xxx_clear_nacl_from_fcport_map()
830 struct tcm_qla2xxx_nacl *nacl = in tcm_qla2xxx_init_nodeacl() local
837 nacl in tcm_qla2xxx_init_nodeacl()
1127 struct tcm_qla2xxx_nacl *nacl; tcm_qla2xxx_find_sess_by_s_id() local
1160 tcm_qla2xxx_set_sess_by_s_id( struct tcm_qla2xxx_lport *lport, struct se_node_acl *new_se_nacl, struct tcm_qla2xxx_nacl *nacl, struct se_session *se_sess, struct fc_port *fc_port, be_id_t s_id) tcm_qla2xxx_set_sess_by_s_id() argument
1232 struct tcm_qla2xxx_nacl *nacl; tcm_qla2xxx_find_sess_by_loop_id() local
1265 tcm_qla2xxx_set_sess_by_loop_id( struct tcm_qla2xxx_lport *lport, struct se_node_acl *new_se_nacl, struct tcm_qla2xxx_nacl *nacl, struct se_session *se_sess, struct fc_port *fc_port, uint16_t loop_id) tcm_qla2xxx_set_sess_by_loop_id() argument
1329 tcm_qla2xxx_clear_sess_lookup(struct tcm_qla2xxx_lport *lport, struct tcm_qla2xxx_nacl *nacl, struct fc_port *sess) tcm_qla2xxx_clear_sess_lookup() argument
1374 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_session_cb() local
1453 struct tcm_qla2xxx_nacl *nacl = container_of(se_nacl, tcm_qla2xxx_update_sess() local
[all...]
/kernel/linux/linux-6.6/drivers/target/iscsi/
H A Discsi_target_configfs.c284 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); \
285 return sysfs_emit(page, "%u\n", nacl->node_attrib.name); \
292 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); \
299 ret = iscsit_na_##name(nacl, val); \
321 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); in iscsi_nacl_attrib_authentication_show() local
323 return sysfs_emit(page, "%d\n", nacl->node_attrib.authentication); in iscsi_nacl_attrib_authentication_show()
330 struct iscsi_node_acl *nacl = to_iscsi_nacl(se_nacl); in iscsi_nacl_attrib_authentication_store() local
340 nacl->node_attrib.authentication = val; in iscsi_nacl_attrib_authentication_store()
366 struct iscsi_node_acl *nacl, \
369 struct iscsi_node_auth *auth = &nacl
[all...]
H A Discsi_target_nodeattrib.c20 struct iscsi_node_acl *nacl) in iscsit_na_get_initiatorname()
22 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()
19 iscsit_na_get_initiatorname( struct iscsi_node_acl *nacl) iscsit_na_get_initiatorname() argument
H A Discsi_target_nego.c104 struct iscsi_node_acl *nacl; in iscsi_get_node_auth() local
121 nacl = to_iscsi_nacl(se_nacl); in iscsi_get_node_auth()
123 return &nacl->node_auth; in iscsi_get_node_auth()
813 struct iscsi_node_acl *nacl; in iscsi_conn_auth_required() local
840 nacl = to_iscsi_nacl(se_nacl); in iscsi_conn_auth_required()
841 if (nacl->node_attrib.authentication == NA_AUTHENTICATION_INHERITED) in iscsi_conn_auth_required()
844 return nacl->node_attrib.authentication; in iscsi_conn_auth_required()
/kernel/linux/linux-5.10/drivers/target/iscsi/
H A Discsi_target_configfs.c285 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \
288 return sprintf(page, "%u\n", nacl->node_attrib.name); \
295 struct iscsi_node_acl *nacl = container_of(se_nacl, struct iscsi_node_acl, \
303 ret = iscsit_na_##name(nacl, val); \
339 struct iscsi_node_acl *nacl, \
342 struct iscsi_node_auth *auth = &nacl->node_auth; \
350 struct iscsi_node_acl *nacl, \
354 struct iscsi_node_auth *auth = &nacl->node_auth; \
380 struct se_node_acl *nacl = auth_to_nacl(item); \
381 return __iscsi_nacl_auth_##name##_show(container_of(nacl, \
[all...]
H A Discsi_target_nodeattrib.c20 struct iscsi_node_acl *nacl) in iscsit_na_get_initiatorname()
22 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()
19 iscsit_na_get_initiatorname( struct iscsi_node_acl *nacl) iscsit_na_get_initiatorname() argument
/kernel/linux/linux-5.10/include/target/
H A Dtarget_core_fabric.h145 void target_spc2_release(struct se_node_acl *nacl);
/kernel/linux/linux-5.10/drivers/target/tcm_fc/
H A Dtfc_conf.c202 static int ft_init_nodeacl(struct se_node_acl *nacl, const char *name) in ft_init_nodeacl() argument
205 container_of(nacl, struct ft_node_acl, se_node_acl); in ft_init_nodeacl()

Completed in 28 milliseconds

12