Lines Matching refs:size
169 * We support direct I/O only if lo_offset is aligned with the logical I/O size
170 * of backing device, and the logical block size of loop is bigger than that of
226 * loop_set_size() - sets device size and notifies userspace
227 * @lo: struct loop_device to set the size for
228 * @size: new size of the loop device
230 * Callers must validate that the size passed into this function fits into
233 static void loop_set_size(struct loop_device *lo, loff_t size)
235 if (!set_capacity_and_notify(lo->lo_disk, size))
561 * new backing store is the same size and type as the old backing store.
599 /* size of the new backing store needs to be the same */
999 loff_t size;
1083 /* In case of direct I/O, match underlying block size */
1097 size = get_loop_size(lo, file);
1098 loop_set_size(lo, size);
1452 loff_t size;
1457 size = get_loop_size(lo, lo->lo_backing_file);
1458 loop_set_size(lo, size);