Home
last modified time | relevance | path

Searched refs:sizelimit (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/block/
Dloop.c144 static loff_t get_size(loff_t offset, loff_t sizelimit, struct file *file) in get_size() argument
156 if (sizelimit > 0 && sizelimit < loopsize) in get_size()
157 loopsize = sizelimit; in get_size()
230 figure_loop_size(struct loop_device *lo, loff_t offset, loff_t sizelimit) in figure_loop_size() argument
232 loff_t size = get_size(offset, sizelimit, lo->lo_backing_file); in figure_loop_size()
240 if (lo->lo_sizelimit != sizelimit) in figure_loop_size()
241 lo->lo_sizelimit = sizelimit; in figure_loop_size()
817 LOOP_ATTR_RO(sizelimit);
/Linux-v5.4/Documentation/ABI/testing/
Dsysfs-block-loop25 What: /sys/block/loopX/loop/sizelimit