Home
last modified time | relevance | path

Searched refs:deve (Results 1 – 8 of 8) sorted by relevance

/drivers/target/
A Dtarget_core_ua.c28 struct se_dev_entry *deve; in target_scsi3_ua_check() local
41 if (!deve) { in target_scsi3_ua_check()
76 struct se_dev_entry *deve, in core_scsi3_ua_allocate() argument
124 &deve->ua_list); in core_scsi3_ua_allocate()
127 &deve->ua_list); in core_scsi3_ua_allocate()
135 &deve->ua_list); in core_scsi3_ua_allocate()
138 &deve->ua_list); in core_scsi3_ua_allocate()
141 &deve->ua_list); in core_scsi3_ua_allocate()
166 if (!deve) { in target_ua_allocate_lun()
214 if (!deve) { in core_scsi3_ua_for_check_condition()
[all …]
A Dtarget_core_stat.c883 if (!deve) { in target_stat_auth_inst_show()
905 if (!deve) { in target_stat_auth_dev_show()
927 if (!deve) { in target_stat_auth_port_show()
948 if (!deve) { in target_stat_auth_indx_show()
968 if (!deve) { in target_stat_auth_dev_or_port_show()
988 if (!deve) { in target_stat_auth_intr_name_show()
1008 if (!deve) { in target_stat_auth_map_indx_show()
1028 if (!deve) { in target_stat_auth_att_count_show()
1051 if (!deve) { in target_stat_auth_num_cmds_show()
1080 if (!deve) { in target_stat_auth_read_mbytes_show()
[all …]
A Dtarget_core_device.c57 if (deve) { in transport_lookup_cmd_lun()
77 se_lun = deve->se_lun; in transport_lookup_cmd_lun()
152 if (deve) { in transport_lookup_tmr_lun()
191 ret = deve && deve->lun_access_ro; in target_lun_is_rdonly()
213 lun = deve->se_lun; in core_get_se_deve_from_rtpi()
226 return deve; in core_get_se_deve_from_rtpi()
241 core_disable_device_list_for_node(deve->se_lun, deve, nacl, tpg); in core_free_device_list_for_node()
254 if (deve) in core_update_device_list_access()
268 return deve; in target_nacl_find_deve()
417 kfree(deve); in target_free_dev_entry()
[all …]
A Dtarget_core_fabric_configfs.c70 struct se_dev_entry *deve; in target_fabric_mappedlun_link() local
125 deve = target_nacl_find_deve(lacl->se_lun_nacl, lacl->mapped_lun); in target_fabric_mappedlun_link()
126 if (deve) in target_fabric_mappedlun_link()
127 lun_access_ro = deve->lun_access_ro; in target_fabric_mappedlun_link()
165 struct se_dev_entry *deve; in target_fabric_mappedlun_write_protect_show() local
169 deve = target_nacl_find_deve(se_nacl, lacl->mapped_lun); in target_fabric_mappedlun_write_protect_show()
170 if (deve) { in target_fabric_mappedlun_write_protect_show()
171 len = sprintf(page, "%d\n", deve->lun_access_ro); in target_fabric_mappedlun_write_protect_show()
A Dtarget_core_pr.c695 struct se_dev_entry *deve, in __core_scsi3_alloc_registration() argument
1054 struct se_dev_entry *deve; in __core_scsi3_add_registration() local
1103 deve = pr_reg_tmp->pr_reg_deve; in __core_scsi3_add_registration()
1104 if (deve) { in __core_scsi3_add_registration()
1106 core_scsi3_lunacl_undepend_item(deve); in __core_scsi3_add_registration()
1116 deve = pr_reg->pr_reg_deve; in __core_scsi3_add_registration()
1117 if (deve) { in __core_scsi3_add_registration()
1118 set_bit(DEF_PR_REG_ACTIVE, &deve->deve_flags); in __core_scsi3_add_registration()
1129 struct se_dev_entry *deve, in core_scsi3_alloc_registration() argument
1282 struct se_dev_entry *deve; in __core_scsi3_free_registration() local
[all …]
A Dtarget_core_tpg.c87 struct se_dev_entry *deve; in core_allocate_nexus_loss_ua() local
93 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) in core_allocate_nexus_loss_ua()
94 core_scsi3_ua_allocate(deve, 0x29, in core_allocate_nexus_loss_ua()
A Dtarget_core_xcopy.c74 struct se_dev_entry *deve; in target_xcopy_locate_se_dev_e4() local
88 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in target_xcopy_locate_se_dev_e4()
92 this_lun = deve->se_lun; in target_xcopy_locate_se_dev_e4()
A Dtarget_core_spc.c1239 struct se_dev_entry *deve; in spc_emulate_report_luns() local
1262 hlist_for_each_entry_rcu(deve, &nacl->lun_entry_hlist, link) { in spc_emulate_report_luns()
1272 int_to_scsilun(deve->mapped_lun, &slun); in spc_emulate_report_luns()

Completed in 35 milliseconds