Home
last modified time | relevance | path

Searched refs:lun_access_ro (Results 1 – 4 of 4) sorted by relevance

/drivers/target/
Dtarget_core_tpg.c108 bool lun_access_ro = true; in core_tpg_add_node_to_devs() local
124 lun_access_ro = false; in core_tpg_add_node_to_devs()
131 lun_access_ro = true; in core_tpg_add_node_to_devs()
133 lun_access_ro = false; in core_tpg_add_node_to_devs()
140 lun_access_ro ? "READ-ONLY" : "READ-WRITE"); in core_tpg_add_node_to_devs()
143 lun_access_ro, acl, tpg); in core_tpg_add_node_to_devs()
571 bool lun_access_ro, in core_tpg_add_lun() argument
599 lun->lun_access_ro = true; in core_tpg_add_lun()
601 lun->lun_access_ro = lun_access_ro; in core_tpg_add_lun()
Dtarget_core_device.c81 deve->lun_access_ro) { in transport_lookup_cmd_lun()
195 ret = deve && deve->lun_access_ro; in target_lun_is_rdonly()
254 bool lun_access_ro, in core_update_device_list_access() argument
262 deve->lun_access_ro = lun_access_ro; in core_update_device_list_access()
308 bool lun_access_ro, in core_enable_device_list_for_node() argument
328 new->lun_access_ro = lun_access_ro; in core_enable_device_list_for_node()
425 orig->lun_access_ro = false; in core_disable_device_list_for_node()
626 bool lun_access_ro) in core_dev_add_initiator_node_lun_acl() argument
638 if (lun->lun_access_ro) in core_dev_add_initiator_node_lun_acl()
639 lun_access_ro = true; in core_dev_add_initiator_node_lun_acl()
[all …]
Dtarget_core_fabric_configfs.c75 bool lun_access_ro; in target_fabric_mappedlun_link() local
126 lun_access_ro = deve->lun_access_ro; in target_fabric_mappedlun_link()
128 lun_access_ro = in target_fabric_mappedlun_link()
138 return core_dev_add_initiator_node_lun_acl(se_tpg, lacl, lun, lun_access_ro); in target_fabric_mappedlun_link()
170 len = sprintf(page, "%d\n", deve->lun_access_ro); in target_fabric_mappedlun_write_protect_show()
Dtarget_core_spc.c1015 if (cmd->se_lun->lun_access_ro || target_lun_is_rdonly(cmd)) in spc_emulate_modesense()