Lines Matching refs:loop_dev
82 static struct loop_device *loop_dev; variable
391 struct loop_device *lo = &loop_dev[MINOR(bh->b_dev)]; in loop_end_io_transfer()
473 lo = &loop_dev[MINOR(rbh->b_rdev)]; in loop_make_request()
876 lo = &loop_dev[dev]; in lo_ioctl()
932 lo = &loop_dev[dev]; in lo_open()
960 lo = &loop_dev[dev]; in lo_release()
1000 for (lo = &loop_dev[0]; lo < &loop_dev[max_loop]; lo++) { in loop_unregister_transfer()
1032 loop_dev = kmalloc(max_loop * sizeof(struct loop_device), GFP_KERNEL); in loop_init()
1033 if (!loop_dev) in loop_init()
1047 struct loop_device *lo = &loop_dev[i]; in loop_init()
1075 kfree(loop_dev); in loop_init()
1087 kfree(loop_dev); in loop_exit()