Lines Matching refs:part_shift
140 static int part_shift; variable
1104 if (part_shift) in loop_configure()
1203 if (!part_shift) in __loop_clr_fd()
2068 if (!part_shift) in loop_add()
2077 disk->first_minor = i << part_shift; in loop_add()
2078 disk->minors = 1 << part_shift; in loop_add()
2127 int idx = MINOR(dev) >> part_shift; in loop_probe()
2241 part_shift = 0; in loop_init()
2243 part_shift = fls(max_part); in loop_init()
2253 max_part = (1UL << part_shift) - 1; in loop_init()
2256 if ((1UL << part_shift) > DISK_MAX_PARTS) { in loop_init()
2261 if (max_loop > 1UL << (MINORBITS - part_shift)) { in loop_init()