MINORBITS 47 arch/x86/kernel/cpu/resctrl/pseudo_lock.c static unsigned long pseudo_lock_minor_avail = GENMASK(MINORBITS, 0); MINORBITS 117 arch/x86/kernel/cpu/resctrl/pseudo_lock.c first_bit = find_first_bit(&pseudo_lock_minor_avail, MINORBITS); MINORBITS 119 arch/x86/kernel/cpu/resctrl/pseudo_lock.c if (first_bit == MINORBITS) MINORBITS 32 block/genhd.c #define NR_EXT_DEVT (1 << MINORBITS) MINORBITS 460 block/genhd.c for (i = 0; i < MINORBITS / 2; i++) { MINORBITS 462 block/genhd.c int high = minor & (1 << (MINORBITS - 1 - i)); MINORBITS 463 block/genhd.c int distance = MINORBITS - 1 - 2 * i; MINORBITS 43 drivers/android/binderfs.c #define BINDERFS_MAX_MINOR (1U << MINORBITS) MINORBITS 35 drivers/block/aoe/aoedev.c #define N_DEVS ((1U<<MINORBITS)/AOE_PARTITIONS) MINORBITS 482 drivers/block/brd.c if ((1U << MINORBITS) % max_part != 0) MINORBITS 535 drivers/block/brd.c blk_register_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS, MINORBITS 559 drivers/block/brd.c blk_unregister_region(MKDEV(RAMDISK_MAJOR, 0), 1UL << MINORBITS); MINORBITS 2265 drivers/block/loop.c if (max_loop > 1UL << (MINORBITS - part_shift)) { MINORBITS 2283 drivers/block/loop.c range = 1UL << MINORBITS; MINORBITS 2326 drivers/block/loop.c range = max_loop ? max_loop << part_shift : 1UL << MINORBITS; MINORBITS 2379 drivers/block/nbd.c if (nbds_max > 1UL << (MINORBITS - part_shift)) MINORBITS 5603 drivers/block/rbd.c minor_to_rbd_dev_id(1 << MINORBITS), MINORBITS 812 drivers/block/virtio_blk.c err = ida_simple_get(&vd_index_ida, 0, minor_to_index(1 << MINORBITS), MINORBITS 1128 drivers/block/xen-blkfront.c if (minor >> MINORBITS) { MINORBITS 1029 drivers/firewire/core-device.c minor = idr_alloc(&fw_device_idr, device, 0, 1 << MINORBITS, MINORBITS 58 drivers/md/bcache/super.c #define BCACHE_DEVICE_IDX_MAX ((1U << MINORBITS)/BCACHE_MINORS) MINORBITS 1843 drivers/md/dm.c if (minor >= (1 << MINORBITS)) MINORBITS 1865 drivers/md/dm.c r = idr_alloc(&_minor_idr, MINOR_ALLOCED, 0, 1 << MINORBITS, GFP_NOWAIT); MINORBITS 2316 drivers/md/dm.c if (MAJOR(dev) != _major || minor >= (1 << MINORBITS)) MINORBITS 9337 drivers/md/md.c blk_register_region(MKDEV(mdp_major, 0), 1UL<<MINORBITS, THIS_MODULE, MINORBITS 9605 drivers/md/md.c blk_unregister_region(MKDEV(mdp_major,0), 1U << MINORBITS); MINORBITS 3030 drivers/mmc/core/block.c max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); MINORBITS 1177 drivers/mtd/mtdchar.c ret = __register_chrdev(MTD_CHAR_MAJOR, 0, 1 << MINORBITS, MINORBITS 1190 drivers/mtd/mtdchar.c __unregister_chrdev(MTD_CHAR_MAJOR, 0, 1 << MINORBITS, "mtd"); MINORBITS 102 drivers/net/tap.c #define TAP_NUM_DEVS (1U << MINORBITS) MINORBITS 32 drivers/nvme/host/core.c #define NVME_MINORS (1U << MINORBITS) MINORBITS 14 drivers/s390/block/dasd_int.h #define DASD_PER_MAJOR (1U << (MINORBITS - DASD_PARTN_BITS)) MINORBITS 137 drivers/s390/block/dcssblk.c for (minor = 0; minor < (1<<MINORBITS); minor++) { MINORBITS 17 drivers/staging/kpc2000/kpc_dma/kpc_dma_driver.c #define KPC_DMA_NUM_MINORS BIT(MINORBITS) MINORBITS 48 drivers/staging/pi433/pi433_if.c #define N_PI433_MINORS BIT(MINORBITS) /*32*/ /* ... up to 256 */ MINORBITS 28 drivers/uio/uio.c #define UIO_MAX_DEVICES (1U << MINORBITS) MINORBITS 1081 fs/super.c dev = ida_alloc_range(&unnamed_dev_ida, 1, (1 << MINORBITS) - 1, MINORBITS 8 include/linux/kdev_t.h #define MINORMASK ((1U << MINORBITS) - 1) MINORBITS 10 include/linux/kdev_t.h #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS)) MINORBITS 12 include/linux/kdev_t.h #define MKDEV(ma,mi) (((ma) << MINORBITS) | (mi)) MINORBITS 49 include/linux/tty.h #define NR_UNIX98_PTY_MAX (1 << MINORBITS) /* Absolute limit */ MINORBITS 28 tools/lib/traceevent/plugins/plugin_jbd2.c #define MINORMASK ((1U << MINORBITS) - 1) MINORBITS 30 tools/lib/traceevent/plugins/plugin_jbd2.c #define MAJOR(dev) ((unsigned int) ((dev) >> MINORBITS))