Lines Matching refs:loop

2  *  linux/drivers/block/loop.c
27 * Maximum number of loop devices now dynamic via max_loop module parameter.
30 * Maximum number of loop devices when compiled-in now selectable by passing
39 * Support up to 256 loop devices
66 #include <linux/loop.h>
217 * __do_lo_send_write - helper for writing data to a loop device
233 printk(KERN_ERR "loop: Write error at byte offset %llu, length %i.\n",
241 * do_lo_send_direct_write - helper for writing data to a loop device
258 * do_lo_send_write - helper for writing data to a loop device
273 printk(KERN_ERR "loop: Transfer error at byte offset %llu, "
311 printk(KERN_ERR "loop: Failed to allocate temporary page for write.\n");
340 printk(KERN_ERR "loop: transfer error block %ld\n",
521 * worker thread that handles reads/writes to file backed loop devices,
522 * to avoid blocking in our make_request_fn. it also does loop decrypting
523 * on reads for block backed loop, as that is too heavy to do from
530 * done with the loop.
579 * Helper to flush the IOs in loop, but keeping loop thread running
583 /* loop not yet configured, no running thread, nothing to flush */
620 * This can only work if the loop device is used read-only, and if the
634 /* the loop device has to be read-only */
679 /* loop sysfs attributes */
762 .name = "loop",
899 lo->lo_thread = kthread_create(loop_thread, lo, "loop%d",
1345 * Transfer 32-bit compatibility structure in userspace to 64-bit loop info
1378 * Transfer 64-bit loop info to 32-bit compatibility structure in userspace
1515 * In autoclear mode, stop the loop thread
1550 MODULE_PARM_DESC(max_loop, "Maximum number of loop devices");
1552 MODULE_PARM_DESC(max_part, "Maximum number of partitions per loop device");
1645 * extended minor space, the main loop device numbers will continue
1646 * to match the loop minors, regardless of the number of partitions
1650 * all loop devices. The minors for the main loop devices will be
1671 sprintf(disk->disk_name, "loop%d", i);
1807 .name = "loop-control",
1812 MODULE_ALIAS("devname:loop-control");
1849 * create CONFIG_BLK_DEV_LOOP_MIN_COUNT loop devices at module
1851 * /dev/loop-control interface, or be instantiated by accessing
1862 if (register_blkdev(LOOP_MAJOR, "loop"))
1874 printk(KERN_INFO "loop: module loaded\n");
1897 unregister_blkdev(LOOP_MAJOR, "loop");