Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/block/
Dloop.c220 lo->lo_flags |= LO_FLAGS_DIRECT_IO; in __loop_update_dio()
223 lo->lo_flags &= ~LO_FLAGS_DIRECT_IO; in __loop_update_dio()
701 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()
910 int lo_flags = 0; in loop_set_fd() local
935 lo_flags |= LO_FLAGS_READ_ONLY; in loop_set_fd()
947 set_device_ro(bdev, (lo_flags & LO_FLAGS_READ_ONLY) != 0); in loop_set_fd()
[all …]
Dloop.h34 int lo_flags; member
/Linux-v4.19/include/uapi/linux/
Dloop.h40 int lo_flags; /* ioctl r/o */ member
56 __u32 lo_flags; /* ioctl r/o */ member