Home
last modified time | relevance | path

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

/linux/include/linux/
H A 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))
/linux/drivers/block/
H A Dbrd.c381 if ((1U << MINORBITS) % max_part != 0) in brd_check_and_reset_par()
H A Dvirtio_blk.c1455 minor_to_index(1 << MINORBITS) - 1, GFP_KERNEL); in virtblk_probe()
H A Dloop.c2267 if (max_loop > 1UL << (MINORBITS - part_shift)) { in loop_init()
H A Dxen-blkfront.c1107 if (minor >> MINORBITS) { in xlvbd_alloc_gendisk()
H A Dnbd.c2709 if (nbds_max > 1UL << (MINORBITS - part_shift)) in nbd_cleanup()
H A Dublk_drv.c54 #define UBLK_MINORS (1U << MINORBITS)
H A Drbd.c5402 minor_to_rbd_dev_id(1 << MINORBITS) - 1, in rbd_dev_create()
/linux/drivers/block/aoe/
H A Daoedev.c35 #define N_DEVS ((1U<<MINORBITS)/AOE_PARTITIONS)
/linux/drivers/android/
H A Dbinderfs.c40 #define BINDERFS_MAX_MINOR (1U << MINORBITS)
/linux/drivers/android/binder/
H A Drust_binderfs.c42 #define BINDERFS_MAX_MINOR (1U << MINORBITS)
/linux/drivers/gpu/drm/
H A Ddrm_drv.c141 #define DRM_EXTENDED_MINOR_LIMIT XA_LIMIT(192, (1 << MINORBITS) - 1)
/linux/drivers/s390/block/
H A Ddcssblk.c138 for (minor = 0; minor < (1<<MINORBITS); minor++) { in dcssblk_assign_free_minor()
H A Ddasd_int.h14 #define DASD_PER_MAJOR (1U << (MINORBITS - DASD_PARTN_BITS))
/linux/drivers/net/
H A Dtap.c39 #define TAP_NUM_DEVS (1U << MINORBITS)
/linux/block/
H A Dgenhd.c56 #define NR_EXT_DEVT (1 << MINORBITS)
/linux/drivers/net/wwan/
H A Dwwan_core.c29 #define WWAN_MAX_MINORS (1 << MINORBITS)
/linux/fs/
H A Dsuper.c1205 dev = ida_alloc_range(&unnamed_dev_ida, 1, (1 << MINORBITS) - 1, in filesystems_freeze_callback()
/linux/drivers/block/rnbd/
H A Drnbd-clt.c1428 (1 << (MINORBITS - RNBD_PART_BITS)) - 1, in init_dev()
/linux/drivers/vhost/
H A Dvdpa.c35 #define VHOST_VDPA_DEV_MAX (1U << MINORBITS)
/linux/drivers/vdpa/vdpa_user/
H A Dvduse_dev.c43 #define VDUSE_DEV_MAX (1U << MINORBITS)
/linux/drivers/nvme/host/
H A Dcore.c34 #define NVME_MINORS (1U << MINORBITS)