Searched refs:sizelimit (Results 1 – 2 of 2) sorted by relevance
144 static loff_t get_size(loff_t offset, loff_t sizelimit, struct file *file) in get_size() argument156 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() argument232 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);
25 What: /sys/block/loopX/loop/sizelimit