MINORMASK 4358 drivers/block/drbd/drbd_nl.c if (dh->minor > MINORMASK) { MINORMASK 1631 drivers/block/drbd/drbd_worker.c if (o_minor < -1 || o_minor > MINORMASK) MINORMASK 988 drivers/block/sunvdc.c if ((vdev->dev_no << PARTITION_SHIFT) & ~(u64)MINORMASK) { MINORMASK 558 drivers/dax/super.c minor = ida_simple_get(&dax_minor_ida, 0, MINORMASK+1, GFP_KERNEL); MINORMASK 701 drivers/dax/super.c rc = alloc_chrdev_region(&dax_devt, 0, MINORMASK+1, "dax"); MINORMASK 711 drivers/dax/super.c unregister_chrdev_region(dax_devt, MINORMASK+1); MINORMASK 719 drivers/dax/super.c unregister_chrdev_region(dax_devt, MINORMASK+1); MINORMASK 346 drivers/fpga/dfl.c MINORMASK + 1); MINORMASK 357 drivers/fpga/dfl.c MINORMASK + 1, dfl_chrdevs[i].name); MINORMASK 47 drivers/i2c/i2c-dev.c #define I2C_MINORS (MINORMASK + 1) MINORMASK 681 drivers/md/md.c if (next_minor > MINORMASK) MINORMASK 5572 drivers/md/md.c devnum <= MINORMASK) MINORMASK 33 drivers/misc/mei/main.c #define MEI_MAX_DEVS MINORMASK MINORMASK 382 drivers/mtd/mtd_blkdevs.c if (new->devnum > (MINORMASK >> tr->part_bits) || MINORMASK 210 drivers/ptp/ptp_clock.c index = ida_simple_get(&ptp_clocks_map, 0, MINORMASK + 1, GFP_KERNEL); MINORMASK 376 drivers/ptp/ptp_clock.c unregister_chrdev_region(ptp_devt, MINORMASK + 1); MINORMASK 390 drivers/ptp/ptp_clock.c err = alloc_chrdev_region(&ptp_devt, 0, MINORMASK + 1, "ptp"); MINORMASK 27 drivers/rpmsg/rpmsg_char.c #define RPMSG_DEV_MAX (MINORMASK + 1) MINORMASK 916 drivers/scsi/cxlflash/main.c minor = bit & MINORMASK; MINORMASK 19 drivers/soc/qcom/rmtfs_mem.c #define QCOM_RMTFS_MEM_DEV_MAX (MINORMASK + 1) MINORMASK 273 drivers/vfio/vfio.c return idr_alloc(&vfio.group_idr, group, 0, MINORMASK + 1, GFP_KERNEL); MINORMASK 2206 drivers/vfio/vfio.c ret = alloc_chrdev_region(&vfio.group_devt, 0, MINORMASK + 1, "vfio"); MINORMASK 2211 drivers/vfio/vfio.c ret = cdev_add(&vfio.group_cdev, vfio.group_devt, MINORMASK + 1); MINORMASK 2223 drivers/vfio/vfio.c unregister_chrdev_region(vfio.group_devt, MINORMASK + 1); MINORMASK 2241 drivers/vfio/vfio.c unregister_chrdev_region(vfio.group_devt, MINORMASK + 1); MINORMASK 110 fs/char_dev.c if (minorct > MINORMASK + 1 - baseminor) { MINORMASK 112 fs/char_dev.c name, baseminor, baseminor + minorct - 1, 0, MINORMASK); MINORMASK 267 fs/cifs/inode.c le64_to_cpu(info->DevMinor) & MINORMASK); MINORMASK 273 fs/cifs/inode.c le64_to_cpu(info->DevMinor) & MINORMASK); MINORMASK 11 include/linux/kdev_t.h #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK)) MINORMASK 1448 samples/vfio-mdev/mbochs.c ret = alloc_chrdev_region(&mbochs_devt, 0, MINORMASK + 1, MBOCHS_NAME); MINORMASK 1454 samples/vfio-mdev/mbochs.c cdev_add(&mbochs_cdev, mbochs_devt, MINORMASK + 1); MINORMASK 1483 samples/vfio-mdev/mbochs.c unregister_chrdev_region(mbochs_devt, MINORMASK + 1); MINORMASK 1494 samples/vfio-mdev/mbochs.c unregister_chrdev_region(mbochs_devt, MINORMASK + 1); MINORMASK 755 samples/vfio-mdev/mdpy.c ret = alloc_chrdev_region(&mdpy_devt, 0, MINORMASK + 1, MDPY_NAME); MINORMASK 761 samples/vfio-mdev/mdpy.c cdev_add(&mdpy_cdev, mdpy_devt, MINORMASK + 1); MINORMASK 790 samples/vfio-mdev/mdpy.c unregister_chrdev_region(mdpy_devt, MINORMASK + 1); MINORMASK 801 samples/vfio-mdev/mdpy.c unregister_chrdev_region(mdpy_devt, MINORMASK + 1); MINORMASK 1419 samples/vfio-mdev/mtty.c ret = alloc_chrdev_region(&mtty_dev.vd_devt, 0, MINORMASK + 1, MINORMASK 1428 samples/vfio-mdev/mtty.c cdev_add(&mtty_dev.vd_cdev, mtty_dev.vd_devt, MINORMASK + 1); MINORMASK 1465 samples/vfio-mdev/mtty.c unregister_chrdev_region(mtty_dev.vd_devt, MINORMASK + 1); MINORMASK 1479 samples/vfio-mdev/mtty.c unregister_chrdev_region(mtty_dev.vd_devt, MINORMASK + 1); MINORMASK 31 tools/lib/traceevent/plugins/plugin_jbd2.c #define MINOR(dev) ((unsigned int) ((dev) & MINORMASK))