alloc_chrdev_region 138 arch/sh/boards/mach-landisk/gio.c if ((error = alloc_chrdev_region(&dev, 0, DEVCOUNT, "gio")) < 0) { alloc_chrdev_region 494 block/bsg.c ret = alloc_chrdev_region(&devid, 0, BSG_MAX_DEVS, "bsg"); alloc_chrdev_region 782 drivers/android/binderfs.c ret = alloc_chrdev_region(&binderfs_dev, 0, BINDERFS_MAX_MINOR, alloc_chrdev_region 305 drivers/char/bsr.c ret = alloc_chrdev_region(&bsr_dev, 0, BSR_MAX_DEVS, "bsr"); alloc_chrdev_region 310 drivers/char/pc8736x_gpio.c rc = alloc_chrdev_region(&devid, 0, PC8736X_GPIO_CT, DEVNAME); alloc_chrdev_region 333 drivers/char/pcmcia/scr24x_cs.c ret = alloc_chrdev_region(&scr24x_devt, 0, SCR24X_DEVS, "scr24x"); alloc_chrdev_region 102 drivers/char/scx200_gpio.c rc = alloc_chrdev_region(&devid, 0, MAX_PINS, "scx200_gpio"); alloc_chrdev_region 529 drivers/char/tpm/tpm-interface.c rc = alloc_chrdev_region(&tpm_devt, 0, 2*TPM_NUM_DEVICES, "tpm"); alloc_chrdev_region 1811 drivers/char/xillybus/xillybus_core.c rc = alloc_chrdev_region(&dev, 0, /* minor start */ alloc_chrdev_region 95 drivers/crypto/qat/qat_common/adf_ctl_drv.c if (alloc_chrdev_region(&dev_id, 0, 1, DEVICE_NAME)) { alloc_chrdev_region 701 drivers/dax/super.c rc = alloc_chrdev_region(&dax_devt, 0, MINORMASK+1, "dax"); alloc_chrdev_region 356 drivers/fpga/dfl.c ret = alloc_chrdev_region(&dfl_chrdevs[i].devt, 0, alloc_chrdev_region 1370 drivers/fsi/fsi-core.c rc = alloc_chrdev_region(&fsi_base_dev, 0, FSI_CHAR_MAX_DEVICES, "fsi"); alloc_chrdev_region 384 drivers/gnss/core.c ret = alloc_chrdev_region(&gnss_first, 0, GNSS_MINORS, "gnss"); alloc_chrdev_region 4943 drivers/gpio/gpiolib.c ret = alloc_chrdev_region(&gpio_devt, 0, GPIO_DEV_MAX, "gpiochip"); alloc_chrdev_region 419 drivers/hid/hid-roccat.c retval = alloc_chrdev_region(&dev_id, ROCCAT_FIRST_MINOR, alloc_chrdev_region 581 drivers/hid/hidraw.c result = alloc_chrdev_region(&dev_id, HIDRAW_FIRST_MINOR, alloc_chrdev_region 692 drivers/hsi/clients/hsi_char.c ret = alloc_chrdev_region(&hsc_dev, hsc_baseminor, alloc_chrdev_region 274 drivers/iio/industrialio-core.c ret = alloc_chrdev_region(&iio_devt, 0, IIO_DEV_MAX, "iio"); alloc_chrdev_region 1428 drivers/infiniband/core/user_mad.c ret = alloc_chrdev_region(&dynamic_umad_dev, 0, alloc_chrdev_region 1438 drivers/infiniband/core/uverbs_main.c ret = alloc_chrdev_region(&dynamic_uverbs_dev, 0, alloc_chrdev_region 142 drivers/infiniband/hw/hfi1/device.c ret = alloc_chrdev_region(&hfi1_dev, 0, HFI1_NMINORS, DRIVER_NAME); alloc_chrdev_region 2323 drivers/infiniband/hw/qib/qib_file_ops.c ret = alloc_chrdev_region(&qib_dev, 0, QIB_NMINORS, QIB_DRV_NAME); alloc_chrdev_region 452 drivers/media/cec/cec-core.c int ret = alloc_chrdev_region(&cec_dev_t, 0, CEC_NUM_DEVICES, CEC_NAME); alloc_chrdev_region 300 drivers/media/mc/mc-devnode.c ret = alloc_chrdev_region(&media_dev_t, 0, MEDIA_NUM_DEVICES, alloc_chrdev_region 821 drivers/media/rc/lirc_dev.c retval = alloc_chrdev_region(&lirc_base_dev, 0, RC_DEV_MAX, alloc_chrdev_region 673 drivers/misc/cxl/file.c if ((rc = alloc_chrdev_region(&cxl_dev, 0, CXL_NUM_MINORS, "cxl"))) { alloc_chrdev_region 1273 drivers/misc/genwqe/card_dev.c rc = alloc_chrdev_region(&cd->devnum_genwqe, 0, alloc_chrdev_region 459 drivers/misc/habanalabs/habanalabs_drv.c rc = alloc_chrdev_region(&dev, 0, HL_MAX_MINORS, HL_NAME); alloc_chrdev_region 890 drivers/misc/hpilo.c error = alloc_chrdev_region(&dev, 0, MAX_OPEN, ILO_NAME); alloc_chrdev_region 1018 drivers/misc/mei/main.c ret = alloc_chrdev_region(&mei_devt, 0, MEI_MAX_DEVS, "mei"); alloc_chrdev_region 594 drivers/misc/ocxl/file.c rc = alloc_chrdev_region(&ocxl_dev, 0, OCXL_NUM_MINORS, "ocxl"); alloc_chrdev_region 522 drivers/misc/phantom.c retval = alloc_chrdev_region(&dev, 0, PHANTOM_MAX_MINORS, "phantom"); alloc_chrdev_region 3021 drivers/mmc/core/block.c res = alloc_chrdev_region(&mmc_rpmb_devt, 0, MAX_DEVICES, "rpmb"); alloc_chrdev_region 451 drivers/mtd/ubi/build.c err = alloc_chrdev_region(&dev, 0, ubi->vtbl_slots + 1, ubi->ubi_name); alloc_chrdev_region 1339 drivers/net/tap.c err = alloc_chrdev_region(tap_major, 0, TAP_NUM_DEVS, device_name); alloc_chrdev_region 4261 drivers/nvme/host/core.c result = alloc_chrdev_region(&nvme_chr_devt, 0, NVME_MINORS, "nvme"); alloc_chrdev_region 1534 drivers/pci/switch/switchtec.c rc = alloc_chrdev_region(&switchtec_devt, 0, max_devices, alloc_chrdev_region 544 drivers/platform/chrome/wilco_ec/event.c ret = alloc_chrdev_region(&dev_num, 0, EVENT_MAX_DEV, EVENT_DEV_NAME); alloc_chrdev_region 435 drivers/platform/chrome/wilco_ec/telemetry.c ret = alloc_chrdev_region(&dev_num, 0, TELEM_MAX_DEV, TELEM_DEV_NAME); alloc_chrdev_region 466 drivers/pps/pps.c err = alloc_chrdev_region(&pps_devt, 0, PPS_MAX_SOURCES, "pps"); alloc_chrdev_region 390 drivers/ptp/ptp_clock.c err = alloc_chrdev_region(&ptp_devt, 0, MINORMASK + 1, "ptp"); alloc_chrdev_region 2608 drivers/rapidio/devices/rio_mport_cdev.c ret = alloc_chrdev_region(&dev_number, 0, RIO_MAX_MPORTS, DRV_NAME); alloc_chrdev_region 2307 drivers/rapidio/rio_cm.c ret = alloc_chrdev_region(&dev_number, 0, 1, DRV_NAME); alloc_chrdev_region 554 drivers/rpmsg/rpmsg_char.c ret = alloc_chrdev_region(&rpmsg_major, 0, RPMSG_DEV_MAX, "rpmsg"); alloc_chrdev_region 469 drivers/rtc/dev.c err = alloc_chrdev_region(&rtc_devt, 0, RTC_DEV_MAX, "rtc"); alloc_chrdev_region 295 drivers/s390/char/hmcdrv_dev.c rc = alloc_chrdev_region(&hmcdrv_dev_no, 0, 1, HMCDRV_DEV_NAME); alloc_chrdev_region 486 drivers/s390/char/tape_char.c if (alloc_chrdev_region(&dev, 0, 256, "tape") != 0) alloc_chrdev_region 860 drivers/s390/char/vmlogrdr.c rc = alloc_chrdev_region(&dev, 0, MAXMINOR, "vmlogrdr"); alloc_chrdev_region 1028 drivers/s390/char/vmur.c rc = alloc_chrdev_region(&dev, 0, NUM_MINORS, "vmur"); alloc_chrdev_region 1792 drivers/s390/crypto/zcrypt_api.c rc = alloc_chrdev_region(&zcrypt_devt, alloc_chrdev_region 320 drivers/sbus/char/oradax.c if (alloc_chrdev_region(&first, 0, 1, DAX_NAME) < 0) { alloc_chrdev_region 3898 drivers/scsi/cxlflash/main.c rc = alloc_chrdev_region(&devno, 0, CXLFLASH_MAX_ADAPTERS, "cxlflash"); alloc_chrdev_region 5867 drivers/scsi/pmcraid.c error = alloc_chrdev_region(&dev, 0, alloc_chrdev_region 307 drivers/soc/qcom/rmtfs_mem.c ret = alloc_chrdev_region(&qcom_rmtfs_mem_major, 0, alloc_chrdev_region 814 drivers/staging/android/vsoc.c result = alloc_chrdev_region(&devt, 0, vsoc_dev.layout->region_count, alloc_chrdev_region 999 drivers/staging/axis-fifo/axis-fifo.c rc = alloc_chrdev_region(&fifo->devt, 0, 1, DRIVER_NAME); alloc_chrdev_region 325 drivers/staging/fieldbus/dev_core.c err = alloc_chrdev_region(&fieldbus_devt, 0, alloc_chrdev_region 409 drivers/staging/greybus/authentication.c ret = alloc_chrdev_region(&cap_dev_num, 0, NUM_MINORS, alloc_chrdev_region 703 drivers/staging/greybus/fw-management.c ret = alloc_chrdev_region(&fw_mgmt_dev_num, 0, NUM_MINORS, alloc_chrdev_region 349 drivers/staging/greybus/raw.c retval = alloc_chrdev_region(&dev, 0, NUM_MINORS, "gb_raw"); alloc_chrdev_region 521 drivers/staging/most/cdev/cdev.c err = alloc_chrdev_region(&comp.devno, 0, CHRDEV_REGION_SIZE, "cdev"); alloc_chrdev_region 1342 drivers/staging/pi433/pi433_if.c status = alloc_chrdev_region(&pi433_dev, 0, N_PI433_MINORS, "pi433"); alloc_chrdev_region 3287 drivers/staging/vc04_services/interface/vchiq_arm/vchiq_arm.c ret = alloc_chrdev_region(&vchiq_devid, 0, 1, DEVICE_NAME); alloc_chrdev_region 1087 drivers/tee/tee_core.c rc = alloc_chrdev_region(&tee_devt, 0, TEE_NUM_DEVICES, "tee"); alloc_chrdev_region 3320 drivers/tty/tty_io.c error = alloc_chrdev_region(&dev, driver->minor_start, alloc_chrdev_region 835 drivers/uio/uio.c result = alloc_chrdev_region(&uio_dev, 0, UIO_MAX_DEVICES, name); alloc_chrdev_region 1148 drivers/usb/gadget/function/f_hid.c status = alloc_chrdev_region(&dev, 0, count, "hidg"); alloc_chrdev_region 1476 drivers/usb/gadget/function/f_printer.c status = alloc_chrdev_region(&devt, 0, count, "USB printer gadget"); alloc_chrdev_region 1384 drivers/usb/mon/mon_bin.c rc = alloc_chrdev_region(&mon_bin_dev0, 0, MON_BIN_MAX_MINOR, "usbmon"); alloc_chrdev_region 2206 drivers/vfio/vfio.c ret = alloc_chrdev_region(&vfio.group_devt, 0, MINORMASK + 1, "vfio"); alloc_chrdev_region 1142 drivers/watchdog/watchdog_dev.c err = alloc_chrdev_region(&watchdog_devt, 0, MAX_DOGS, "watchdog"); alloc_chrdev_region 673 fs/char_dev.c EXPORT_SYMBOL(alloc_chrdev_region); alloc_chrdev_region 348 fs/fuse/cuse.c rc = alloc_chrdev_region(&devt, MINOR(devt), 1, devinfo.name); alloc_chrdev_region 2671 include/linux/fs.h extern int alloc_chrdev_region(dev_t *, unsigned, unsigned, const char *); alloc_chrdev_region 1448 samples/vfio-mdev/mbochs.c ret = alloc_chrdev_region(&mbochs_devt, 0, MINORMASK + 1, MBOCHS_NAME); alloc_chrdev_region 755 samples/vfio-mdev/mdpy.c ret = alloc_chrdev_region(&mdpy_devt, 0, MINORMASK + 1, MDPY_NAME); alloc_chrdev_region 1419 samples/vfio-mdev/mtty.c ret = alloc_chrdev_region(&mtty_dev.vd_devt, 0, MINORMASK + 1,