Home
last modified time | relevance | path

Searched refs:MINORBITS (Results 1 – 6 of 6) sorted by relevance

/linux-4.19.296/include/linux/
Dkdev_t.h7 #define MINORBITS 20 macro
8 #define MINORMASK ((1U << MINORBITS) - 1)
10 #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))
12 #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi))
Dtty.h49 #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */
/linux-4.19.296/block/
Dgenhd.c31 #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()
/linux-4.19.296/drivers/s390/block/
Ddasd_int.h14 #define DASD_PER_MAJOR (1U << (MINORBITS - DASD_PARTN_BITS))
Ddcssblk.c136 for (minor = 0; minor < (1<<MINORBITS); minor++) { in dcssblk_assign_free_minor()
/linux-4.19.296/fs/
Dsuper.c1005 dev = ida_alloc_range(&unnamed_dev_ida, 1, (1 << MINORBITS) - 1, in get_anon_bdev()