Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/block/
Dloop.c221 lo->lo_flags |= LO_FLAGS_DIRECT_IO; in __loop_update_dio()
224 lo->lo_flags &= ~LO_FLAGS_DIRECT_IO; in __loop_update_dio()
693 if (!(lo->lo_flags & LO_FLAGS_READ_ONLY)) in loop_change_fd()
722 partscan = lo->lo_flags & LO_FLAGS_PARTSCAN; in loop_change_fd()
796 int autoclear = (lo->lo_flags & LO_FLAGS_AUTOCLEAR); in loop_attr_autoclear_show()
803 int partscan = (lo->lo_flags & LO_FLAGS_PARTSCAN); in loop_attr_partscan_show()
810 int dio = (lo->lo_flags & LO_FLAGS_DIRECT_IO); in loop_attr_dio_show()
928 int lo_flags = 0; in loop_set_fd() local
970 lo_flags |= LO_FLAGS_READ_ONLY; in loop_set_fd()
982 set_device_ro(bdev, (lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_set_fd()
[all …]
Dloop.h34 int lo_flags; member
/Linux-v5.4/include/uapi/linux/
Dloop.h40 int lo_flags; /* ioctl r/o */ member
56 __u32 lo_flags; /* ioctl r/o */ member