Home
last modified time | relevance | path

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

/drivers/block/
Dloop.c217 lo->lo_flags |= LO_FLAGS_DIRECT_IO; in __loop_update_dio()
219 lo->lo_flags &= ~LO_FLAGS_DIRECT_IO; in __loop_update_dio()
705 if (!(lo->lo_flags & LO_FLAGS_READ_ONLY)) in loop_change_fd()
732 if (lo->lo_flags & LO_FLAGS_PARTSCAN) in loop_change_fd()
797 int autoclear = (lo->lo_flags & LO_FLAGS_AUTOCLEAR); in loop_attr_autoclear_show()
804 int partscan = (lo->lo_flags & LO_FLAGS_PARTSCAN); in loop_attr_partscan_show()
811 int dio = (lo->lo_flags & LO_FLAGS_DIRECT_IO); in loop_attr_dio_show()
904 int lo_flags = 0; in loop_set_fd() local
929 lo_flags |= LO_FLAGS_READ_ONLY; in loop_set_fd()
944 set_device_ro(bdev, (lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_set_fd()
[all …]
Dloop.h34 int lo_flags; member
/drivers/staging/lustre/lustre/llite/
Dlloop.c123 int lo_flags; member
358 if (lo->lo_flags & LO_FLAGS_READ_ONLY) in loop_make_request()
478 int lo_flags = 0; in loop_set_fd() local
497 lo_flags |= LO_FLAGS_READ_ONLY; in loop_set_fd()
509 set_device_ro(bdev, (lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_set_fd()
513 lo->lo_flags = lo_flags; in loop_set_fd()
576 lo->lo_flags = 0; in loop_clr_fd()