Home
last modified time | relevance | path

Searched refs:lun_flags (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/drivers/target/
Dtarget_core_device.c89 (deve->lun_flags & TRANSPORT_LUNFLAGS_READ_ONLY)) { in transport_lookup_cmd_lun()
202 ret = (deve && deve->lun_flags & TRANSPORT_LUNFLAGS_READ_ONLY); in target_lun_is_rdonly()
270 deve->lun_flags &= ~TRANSPORT_LUNFLAGS_READ_ONLY; in core_update_device_list_access()
271 deve->lun_flags |= TRANSPORT_LUNFLAGS_READ_WRITE; in core_update_device_list_access()
273 deve->lun_flags &= ~TRANSPORT_LUNFLAGS_READ_WRITE; in core_update_device_list_access()
274 deve->lun_flags |= TRANSPORT_LUNFLAGS_READ_ONLY; in core_update_device_list_access()
344 new->lun_flags |= TRANSPORT_LUNFLAGS_READ_WRITE; in core_enable_device_list_for_node()
346 new->lun_flags |= TRANSPORT_LUNFLAGS_READ_ONLY; in core_enable_device_list_for_node()
436 orig->lun_flags = 0; in core_disable_device_list_for_node()
Dtarget_core_fabric_configfs.c125 lun_access = deve->lun_flags; in target_fabric_mappedlun_link()
171 (deve->lun_flags & TRANSPORT_LUNFLAGS_READ_ONLY) ? 1 : 0); in target_fabric_mappedlun_write_protect_show()
/linux-4.4.14/include/target/
Dtarget_core_base.h640 u32 lun_flags; member