Home
last modified time | relevance | path

Searched refs:TRANSPORT_LUNFLAGS_READ_ONLY (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/drivers/target/
Dtarget_core_device.c77 TRANSPORT_LUNFLAGS_READ_ONLY) { in transport_get_lun_for_cmd()
338 deve->lun_flags &= ~TRANSPORT_LUNFLAGS_READ_ONLY; in core_update_device_list_access()
342 deve->lun_flags |= TRANSPORT_LUNFLAGS_READ_ONLY; in core_update_device_list_access()
417 deve->lun_flags &= ~TRANSPORT_LUNFLAGS_READ_ONLY; in core_update_device_list_for_node()
421 deve->lun_flags |= TRANSPORT_LUNFLAGS_READ_ONLY; in core_update_device_list_for_node()
1321 lun_access = TRANSPORT_LUNFLAGS_READ_ONLY; in core_dev_add_lun()
1496 if ((lun->lun_access & TRANSPORT_LUNFLAGS_READ_ONLY) && in core_dev_add_initiator_node_lun_acl()
1498 lun_access = TRANSPORT_LUNFLAGS_READ_ONLY; in core_dev_add_initiator_node_lun_acl()
Dtarget_core_cdb.c870 if ((SE_LUN(cmd)->lun_access & TRANSPORT_LUNFLAGS_READ_ONLY) || in target_emulate_modesense()
872 (cmd->se_deve->lun_flags & TRANSPORT_LUNFLAGS_READ_ONLY))) in target_emulate_modesense()
886 if ((SE_LUN(cmd)->lun_access & TRANSPORT_LUNFLAGS_READ_ONLY) || in target_emulate_modesense()
888 (cmd->se_deve->lun_flags & TRANSPORT_LUNFLAGS_READ_ONLY))) in target_emulate_modesense()
Dtarget_core_tpg.c176 lun_access = TRANSPORT_LUNFLAGS_READ_ONLY; in core_tpg_add_node_to_devs()
185 lun_access = TRANSPORT_LUNFLAGS_READ_ONLY; in core_tpg_add_node_to_devs()
602 u32 lun_access = TRANSPORT_LUNFLAGS_READ_ONLY; in core_tpg_setup_virtual_lun0()
Dtarget_core_fabric_configfs.c122 se_tpg)) ? TRANSPORT_LUNFLAGS_READ_ONLY : in target_fabric_mappedlun_link()
178 (deve->lun_flags & TRANSPORT_LUNFLAGS_READ_ONLY) ? in target_fabric_mappedlun_show_write_protect()
201 TRANSPORT_LUNFLAGS_READ_ONLY : in target_fabric_mappedlun_store_write_protect()
Dtarget_core_pscsi.c735 TRANSPORT_LUNFLAGS_READ_ONLY) { in pscsi_transport_complete()
/linux-2.6.39/include/target/
Dtarget_core_base.h137 TRANSPORT_LUNFLAGS_READ_ONLY = 0x02, enumerator