Searched refs:MINORBITS (Results 1 – 22 of 22) sorted by relevance
7 #define MINORBITS 20 macro8 #define MINORMASK ((1U << MINORBITS) - 1)10 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))12 #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi))
381 if ((1U << MINORBITS) % max_part != 0) in brd_check_and_reset_par()
1455 minor_to_index(1 << MINORBITS) - 1, GFP_KERNEL); in virtblk_probe()
2267 if (max_loop > 1UL << (MINORBITS - part_shift)) { in loop_init()
1107 if (minor >> MINORBITS) { in xlvbd_alloc_gendisk()
2709 if (nbds_max > 1UL << (MINORBITS - part_shift)) in nbd_cleanup()
54 #define UBLK_MINORS (1U << MINORBITS)
5402 minor_to_rbd_dev_id(1 << MINORBITS) - 1, in rbd_dev_create()
35 #define N_DEVS ((1U<<MINORBITS)/AOE_PARTITIONS)
40 #define BINDERFS_MAX_MINOR (1U << MINORBITS)
42 #define BINDERFS_MAX_MINOR (1U << MINORBITS)
141 #define DRM_EXTENDED_MINOR_LIMIT XA_LIMIT(192, (1 << MINORBITS) - 1)
138 for (minor = 0; minor < (1<<MINORBITS); minor++) { in dcssblk_assign_free_minor()
14 #define DASD_PER_MAJOR (1U << (MINORBITS - DASD_PARTN_BITS))
39 #define TAP_NUM_DEVS (1U << MINORBITS)
56 #define NR_EXT_DEVT (1 << MINORBITS)
29 #define WWAN_MAX_MINORS (1 << MINORBITS)
1205 dev = ida_alloc_range(&unnamed_dev_ida, 1, (1 << MINORBITS) - 1, in filesystems_freeze_callback()
1428 (1 << (MINORBITS - RNBD_PART_BITS)) - 1, in init_dev()
35 #define VHOST_VDPA_DEV_MAX (1U << MINORBITS)
43 #define VDUSE_DEV_MAX (1U << MINORBITS)
34 #define NVME_MINORS (1U << MINORBITS)