/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_internal.h | 68 int core_enable_device_list_for_node(struct se_lun *, struct se_lun_acl *, 76 struct se_lun_acl *core_dev_init_initiator_node_lun_acl(struct se_portal_group *, 79 struct se_lun_acl *, struct se_lun *lun, bool); 81 struct se_lun_acl *); 83 struct se_lun_acl *lacl); 161 void target_stat_setup_mappedlun_default_groups(struct se_lun_acl *);
|
H A D | target_core_stat.c | 847 static struct se_lun_acl *auth_to_lacl(struct config_item *item) in auth_to_lacl() 851 return container_of(lgrps, struct se_lun_acl, ml_stat_grps); in auth_to_lacl() 857 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_inst_show() 880 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_dev_show() 902 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_port_show() 924 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_indx_show() 944 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_dev_or_port_show() 964 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_intr_name_show() 984 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_map_indx_show() 1004 struct se_lun_acl *lac in target_stat_auth_att_count_show() [all...] |
H A D | target_core_fabric_configfs.c | 71 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_link() 72 struct se_lun_acl, se_lun_group); in target_fabric_mappedlun_link() 145 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_unlink() 146 struct se_lun_acl, se_lun_group); in target_fabric_mappedlun_unlink() 153 static struct se_lun_acl *item_to_lun_acl(struct config_item *item) in item_to_lun_acl() 155 return container_of(to_config_group(item), struct se_lun_acl, in item_to_lun_acl() 162 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_show() 180 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_store() 214 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_mappedlun_release() 215 struct se_lun_acl, se_lun_grou in target_fabric_mappedlun_release() [all...] |
H A D | target_core_device.c | 311 struct se_lun_acl *lun_acl, in core_enable_device_list_for_node() 351 if (orig->se_lun_acl != NULL) { in core_enable_device_list_for_node() 353 " se_lun_acl->se_lun_group reference for %s" in core_enable_device_list_for_node() 362 rcu_assign_pointer(new->se_lun_acl, lun_acl); in core_enable_device_list_for_node() 381 rcu_assign_pointer(new->se_lun_acl, lun_acl); in core_enable_device_list_for_node() 413 * deve->se_lun_acl will be NULL for demo-mode created LUNs in core_disable_device_list_for_node() 415 * struct se_lun_acl, but we remove deve->lun_link from in core_disable_device_list_for_node() 441 rcu_assign_pointer(orig->se_lun_acl, NULL); in core_disable_device_list_for_node() 600 struct se_lun_acl *core_dev_init_initiator_node_lun_acl( in core_dev_init_initiator_node_lun_acl() 606 struct se_lun_acl *lac in core_dev_init_initiator_node_lun_acl() [all...] |
H A D | target_core_pr.c | 702 struct se_lun_acl *lacl_tmp; in __core_scsi3_alloc_registration() 738 if (!deve_tmp->se_lun_acl) in __core_scsi3_alloc_registration() 741 lacl_tmp = rcu_dereference_check(deve_tmp->se_lun_acl, in __core_scsi3_alloc_registration() 1444 struct se_lun_acl *lun_acl; in core_scsi3_lunacl_depend_item() 1449 lun_acl = rcu_dereference_check(se_deve->se_lun_acl, in core_scsi3_lunacl_depend_item() 1459 struct se_lun_acl *lun_acl; in core_scsi3_lunacl_undepend_item() 1464 lun_acl = rcu_dereference_check(se_deve->se_lun_acl, in core_scsi3_lunacl_undepend_item()
|
H A D | target_core_alua.c | 940 struct se_lun_acl *lacl; in core_alua_queue_state_change_ua() 965 lacl = rcu_dereference_check(se_deve->se_lun_acl, in core_alua_queue_state_change_ua() 985 * se_deve->se_lun_acl pointer may be NULL for a in core_alua_queue_state_change_ua()
|
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_internal.h | 68 int core_enable_device_list_for_node(struct se_lun *, struct se_lun_acl *, 76 struct se_lun_acl *core_dev_init_initiator_node_lun_acl(struct se_portal_group *, 79 struct se_lun_acl *, struct se_lun *lun, bool); 81 struct se_lun_acl *); 83 struct se_lun_acl *lacl); 162 void target_stat_setup_mappedlun_default_groups(struct se_lun_acl *);
|
H A D | target_core_stat.c | 844 static struct se_lun_acl *auth_to_lacl(struct config_item *item) in auth_to_lacl() 848 return container_of(lgrps, struct se_lun_acl, ml_stat_grps); in auth_to_lacl() 854 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_inst_show() 877 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_dev_show() 898 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_port_show() 920 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_indx_show() 940 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_dev_or_port_show() 960 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_intr_name_show() 980 struct se_lun_acl *lacl = auth_to_lacl(item); in target_stat_auth_map_indx_show() 1000 struct se_lun_acl *lac in target_stat_auth_att_count_show() [all...] |
H A D | target_core_fabric_configfs.c | 72 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_link() 73 struct se_lun_acl, se_lun_group); in target_fabric_mappedlun_link() 146 struct se_lun_acl *lacl = container_of(to_config_group(lun_acl_ci), in target_fabric_mappedlun_unlink() 147 struct se_lun_acl, se_lun_group); in target_fabric_mappedlun_unlink() 154 static struct se_lun_acl *item_to_lun_acl(struct config_item *item) in item_to_lun_acl() 156 return container_of(to_config_group(item), struct se_lun_acl, in item_to_lun_acl() 163 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_show() 181 struct se_lun_acl *lacl = item_to_lun_acl(item); in target_fabric_mappedlun_write_protect_store() 215 struct se_lun_acl *lacl = container_of(to_config_group(item), in target_fabric_mappedlun_release() 216 struct se_lun_acl, se_lun_grou in target_fabric_mappedlun_release() [all...] |
H A D | target_core_device.c | 319 struct se_lun_acl *lun_acl, in core_enable_device_list_for_node() 358 if (orig->se_lun_acl != NULL) { in core_enable_device_list_for_node() 360 " se_lun_acl->se_lun_group reference for %s" in core_enable_device_list_for_node() 369 new->se_lun_acl = lun_acl; in core_enable_device_list_for_node() 388 new->se_lun_acl = lun_acl; in core_enable_device_list_for_node() 420 * deve->se_lun_acl will be NULL for demo-mode created LUNs in core_disable_device_list_for_node() 422 * struct se_lun_acl, but we remove deve->lun_link from in core_disable_device_list_for_node() 560 struct se_lun_acl *core_dev_init_initiator_node_lun_acl( in core_dev_init_initiator_node_lun_acl() 566 struct se_lun_acl *lacl; in core_dev_init_initiator_node_lun_acl() 574 lacl = kzalloc(sizeof(struct se_lun_acl), GFP_KERNE in core_dev_init_initiator_node_lun_acl() [all...] |
H A D | target_core_pr.c | 703 struct se_lun_acl *lacl_tmp; in __core_scsi3_alloc_registration() 739 if (!deve_tmp->se_lun_acl) in __core_scsi3_alloc_registration() 742 lacl_tmp = deve_tmp->se_lun_acl; in __core_scsi3_alloc_registration() 1441 if (!se_deve->se_lun_acl) in core_scsi3_lunacl_depend_item() 1444 return target_depend_item(&se_deve->se_lun_acl->se_lun_group.cg_item); in core_scsi3_lunacl_depend_item() 1452 if (!se_deve->se_lun_acl) { in core_scsi3_lunacl_undepend_item() 1457 target_undepend_item(&se_deve->se_lun_acl->se_lun_group.cg_item); in core_scsi3_lunacl_undepend_item()
|
H A D | target_core_alua.c | 915 struct se_lun_acl *lacl; in core_alua_queue_state_change_ua() 940 lacl = se_deve->se_lun_acl; in core_alua_queue_state_change_ua() 959 * se_deve->se_lun_acl pointer may be NULL for a in core_alua_queue_state_change_ua()
|
/kernel/linux/linux-5.10/include/target/ |
H A D | target_core_base.h | 643 struct se_lun_acl { struct 663 struct se_lun_acl __rcu *se_lun_acl; member
|
/kernel/linux/linux-6.6/include/target/ |
H A D | target_core_base.h | 655 struct se_lun_acl { struct 675 struct se_lun_acl *se_lun_acl; member
|