Home
last modified time | relevance | path

Searched refs:loop_device (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/block/
Dloop.h29 struct loop_device { struct
35 int (*transfer)(struct loop_device *, int cmd, argument
46 int (*ioctl)(struct loop_device *, int cmd, argument
80 int (*transfer)(struct loop_device *lo, int cmd, argument
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);
Dloop.c92 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()
230 figure_loop_size(struct loop_device *lo, loff_t offset, loff_t sizelimit) in figure_loop_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 *lo, struct request *rq, in lo_read_simple()
370 static int lo_read_transfer(struct loop_device *lo, struct request *rq, in lo_read_transfer()
[all …]
Dcryptoloop.c28 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()