Lines Matching refs:loop_device

92 static int transfer_xor(struct loop_device *lo, int cmd,
121 static int xor_init(struct loop_device *lo, const struct loop_info64 *info)
165 static loff_t get_loop_size(struct loop_device *lo, struct file *file)
170 static void __loop_update_dio(struct loop_device *lo, bool dio)
233 * @lo: struct loop_device to set the size for
239 static void loop_set_size(struct loop_device *lo, loff_t size)
250 lo_do_transfer(struct loop_device *lo, int cmd,
289 static int lo_write_simple(struct loop_device *lo, struct request *rq,
311 static int lo_write_transfer(struct loop_device *lo, struct request *rq,
341 static int lo_read_simple(struct loop_device *lo, struct request *rq,
370 static int lo_read_transfer(struct loop_device *lo, struct request *rq,
420 static int lo_fallocate(struct loop_device *lo, struct request *rq, loff_t pos,
447 static int lo_req_flush(struct loop_device *lo, struct request *rq)
514 static int lo_rw_aio(struct loop_device *lo, struct loop_cmd *cmd,
586 static int do_req_filebacked(struct loop_device *lo, struct request *rq)
634 static inline void loop_update_dio(struct loop_device *lo)
640 static void loop_reread_partitions(struct loop_device *lo,
667 struct loop_device *l;
691 static int loop_change_fd(struct loop_device *lo, struct block_device *bdev,
758 ssize_t (*callback)(struct loop_device *, char *))
761 struct loop_device *lo = disk->private_data;
767 static ssize_t loop_attr_##_name##_show(struct loop_device *, char *); \
776 static ssize_t loop_attr_backing_file_show(struct loop_device *lo, char *buf)
798 static ssize_t loop_attr_offset_show(struct loop_device *lo, char *buf)
803 static ssize_t loop_attr_sizelimit_show(struct loop_device *lo, char *buf)
808 static ssize_t loop_attr_autoclear_show(struct loop_device *lo, char *buf)
815 static ssize_t loop_attr_partscan_show(struct loop_device *lo, char *buf)
822 static ssize_t loop_attr_dio_show(struct loop_device *lo, char *buf)
851 static void loop_sysfs_init(struct loop_device *lo)
857 static void loop_sysfs_exit(struct loop_device *lo)
864 static void loop_config_discard(struct loop_device *lo)
916 static void loop_unprepare_queue(struct loop_device *lo)
928 static int loop_prepare_queue(struct loop_device *lo)
939 static void loop_update_rotational(struct loop_device *lo)
958 loop_release_xfer(struct loop_device *lo)
974 loop_init_xfer(struct loop_device *lo, struct loop_func_table *xfer,
996 * @lo: struct loop_device to configure
1003 loop_set_status_from_info(struct loop_device *lo,
1063 static int loop_configure(struct loop_device *lo, fmode_t mode,
1198 static int __loop_clr_fd(struct loop_device *lo, bool release)
1313 static int loop_clr_fd(struct loop_device *lo)
1346 loop_set_status(struct loop_device *lo, const struct loop_info64 *info)
1430 loop_get_status(struct loop_device *lo, struct loop_info64 *info)
1526 loop_set_status_old(struct loop_device *lo, const struct loop_info __user *arg)
1538 loop_set_status64(struct loop_device *lo, const struct loop_info64 __user *arg)
1548 loop_get_status_old(struct loop_device *lo, struct loop_info __user *arg) {
1565 loop_get_status64(struct loop_device *lo, struct loop_info64 __user *arg) {
1578 static int loop_set_capacity(struct loop_device *lo)
1591 static int loop_set_dio(struct loop_device *lo, unsigned long arg)
1605 static int loop_set_block_size(struct loop_device *lo, unsigned long arg)
1643 static int lo_simple_ioctl(struct loop_device *lo, unsigned int cmd,
1671 struct loop_device *lo = bdev->bd_disk->private_data;
1822 loop_set_status_compat(struct loop_device *lo,
1835 loop_get_status_compat(struct loop_device *lo,
1852 struct loop_device *lo = bdev->bd_disk->private_data;
1887 struct loop_device *lo;
1907 struct loop_device *lo;
1971 struct loop_device *lo = ptr;
2002 struct loop_device *lo = rq->q->queuedata;
2037 struct loop_device *lo = rq->q->queuedata;
2081 static int loop_add(struct loop_device **l, int i)
2083 struct loop_device *lo;
2188 static void loop_remove(struct loop_device *lo)
2199 struct loop_device *lo = ptr;
2200 struct loop_device **l = data;
2209 static int loop_lookup(struct loop_device **l, int i)
2211 struct loop_device *lo;
2237 struct loop_device *lo;
2258 struct loop_device *lo;
2323 struct loop_device *lo;
2397 struct loop_device *lo = ptr;