Searched refs:lun_access_ro (Results 1 – 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/target/ |
D | target_core_tpg.c | 108 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()
|
D | target_core_device.c | 81 deve->lun_access_ro) { in transport_lookup_cmd_lun() 200 ret = deve && deve->lun_access_ro; in target_lun_is_rdonly() 259 bool lun_access_ro, in core_update_device_list_access() argument 267 deve->lun_access_ro = lun_access_ro; in core_update_device_list_access() 313 bool lun_access_ro, in core_enable_device_list_for_node() argument 333 new->lun_access_ro = lun_access_ro; in core_enable_device_list_for_node() 430 orig->lun_access_ro = false; in core_disable_device_list_for_node() 631 bool lun_access_ro) in core_dev_add_initiator_node_lun_acl() argument 643 if (lun->lun_access_ro) in core_dev_add_initiator_node_lun_acl() 644 lun_access_ro = true; in core_dev_add_initiator_node_lun_acl() [all …]
|
D | target_core_fabric_configfs.c | 75 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()
|
D | target_core_spc.c | 1015 if (cmd->se_lun->lun_access_ro || target_lun_is_rdonly(cmd)) in spc_emulate_modesense()
|
/kernel/linux/linux-5.10/include/target/ |
D | target_core_base.h | 655 bool lun_access_ro; member 728 bool lun_access_ro; member
|