Searched refs:MINORBITS (Results 1 – 6 of 6) 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))
49 #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */
31 #define NR_EXT_DEVT (1 << MINORBITS)449 for (i = 0; i < MINORBITS / 2; i++) { in blk_mangle_minor()451 int high = minor & (1 << (MINORBITS - 1 - i)); in blk_mangle_minor()452 int distance = MINORBITS - 1 - 2 * i; in blk_mangle_minor()
14 #define DASD_PER_MAJOR (1U << (MINORBITS - DASD_PARTN_BITS))
136 for (minor = 0; minor < (1<<MINORBITS); minor++) { in dcssblk_assign_free_minor()
1005 dev = ida_alloc_range(&unnamed_dev_ida, 1, (1 << MINORBITS) - 1, in get_anon_bdev()