Searched refs:lo_flags (Results 1 – 3 of 3) sorted by relevance
217 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() local929 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 …]
34 int lo_flags; member
123 int lo_flags; member358 if (lo->lo_flags & LO_FLAGS_READ_ONLY) in loop_make_request()478 int lo_flags = 0; in loop_set_fd() local497 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()