Searched refs:loop_device (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-5.10/drivers/block/ |
H A D | loop.h | 29 struct loop_device { struct 35 int (*transfer)(struct loop_device *, int cmd, 46 int (*ioctl)(struct loop_device *, int cmd, 80 int (*transfer)(struct loop_device *lo, int cmd, 84 int (*init)(struct loop_device *, const struct loop_info64 *); 86 int (*release)(struct loop_device *); 87 int (*ioctl)(struct loop_device *, int cmd, unsigned long arg);
|
H A D | loop.c | 92 static int transfer_xor(struct loop_device *lo, int cmd, in transfer_xor() 121 static int xor_init(struct loop_device *lo, const struct loop_info64 *info) in xor_init() 165 static loff_t get_loop_size(struct loop_device *lo, struct file *file) in get_loop_size() 170 static void __loop_update_dio(struct loop_device *lo, bool dio) in __loop_update_dio() 233 * @lo: struct loop_device to set the size for 239 static void loop_set_size(struct loop_device *lo, loff_t size) in loop_set_size() 250 lo_do_transfer(struct loop_device *lo, int cmd, in lo_do_transfer() 289 static int lo_write_simple(struct loop_device *lo, struct request *rq, in lo_write_simple() 311 static int lo_write_transfer(struct loop_device *lo, struct request *rq, in lo_write_transfer() 341 static int lo_read_simple(struct loop_device *l [all...] |
H A D | cryptoloop.c | 28 cryptoloop_init(struct loop_device *lo, const struct loop_info64 *info) in cryptoloop_init() 95 cryptoloop_transfer(struct loop_device *lo, int cmd, in cryptoloop_transfer() 158 cryptoloop_ioctl(struct loop_device *lo, int cmd, unsigned long arg) in cryptoloop_ioctl() 164 cryptoloop_release(struct loop_device *lo) in cryptoloop_release()
|
/kernel/linux/linux-6.6/drivers/block/ |
H A D | loop.c | 50 struct loop_device { struct 102 * @lo: struct loop_device 103 * @global: true if @lo is about to bind another "struct loop_device", false otherwise 107 * Since loop_validate_file() traverses on other "struct loop_device" if 111 static int loop_global_lock_killable(struct loop_device *lo, bool global) in loop_global_lock_killable() 129 * @lo: struct loop_device 130 * @global: true if @lo was about to bind another "struct loop_device", false otherwise 132 static void loop_global_unlock(struct loop_device *lo, bool global) in loop_global_unlock() 163 static loff_t get_loop_size(struct loop_device *lo, struct file *file) in get_loop_size() 173 static bool lo_bdev_can_use_dio(struct loop_device *l [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | ima_setup.sh | 44 local loop_device=$(losetup -a | grep ${mount_img:?} | cut -d ":" -f1) 46 mkfs.ext2 "${loop_device:?}" 47 mount "${loop_device}" "${mount_dir}" 50 local mount_uuid="$(blkid ${loop_device} | sed 's/.*UUID="\([^"]*\)".*/\1/')"
|
Completed in 6 milliseconds