/kernel/linux/linux-5.10/include/linux/ |
D | genhd.h | 173 int minors; /* maximum number of minors, =1 for member 234 return disk->minors; in disk_max_parts() 342 extern struct gendisk *__alloc_disk_node(int minors, int node_id); 355 #define alloc_disk_node(minors, node_id) \ argument 361 __name = "(gendisk_completion)"#minors"("#node_id")"; \ 363 __disk = __alloc_disk_node(minors, node_id); \ 371 #define alloc_disk(minors) alloc_disk_node(minors, NUMA_NO_NODE) argument
|
/kernel/linux/linux-5.10/drivers/staging/greybus/ |
D | vibrator.c | 114 static DEFINE_IDA(minors); 157 vib->minor = ida_simple_get(&minors, 0, 0, GFP_KERNEL); in gb_vibrator_probe() 177 ida_simple_remove(&minors, vib->minor); in gb_vibrator_probe() 201 ida_simple_remove(&minors, vib->minor); in gb_vibrator_disconnect() 245 ida_destroy(&minors); in gb_vibrator_exit()
|
D | raw.c | 38 static DEFINE_IDA(minors); 181 minor = ida_simple_get(&minors, 0, 0, GFP_KERNEL); in gb_raw_probe() 214 ida_simple_remove(&minors, minor); in gb_raw_probe() 235 ida_simple_remove(&minors, MINOR(raw->dev)); in gb_raw_disconnect() 375 ida_destroy(&minors); in raw_exit()
|
/kernel/linux/linux-5.10/drivers/mmc/core/ |
D | Kconfig | 48 int "Number of minors per block device" 53 Number of minors per block device. One is needed for every 56 Number of total MMC minors available is 256, so your number
|
/kernel/linux/linux-5.10/block/ |
D | genhd.c | 580 if (part->partno < disk->minors) { in blk_alloc_devt() 798 WARN_ON(disk->minors && !(disk->major || disk->first_minor)); in __device_add_disk() 799 WARN_ON(!disk->minors && in __device_add_disk() 831 blk_register_region(disk_devt(disk), disk->minors, NULL, in __device_add_disk() 944 blk_unregister_region(disk_devt(disk), disk->minors); in del_gendisk() 1250 return sprintf(buf, "%d\n", disk->minors); in disk_range_show() 1703 if (partno < disk->minors) { in blk_lookup_devt() 1723 struct gendisk *__alloc_disk_node(int minors, int node_id) in __alloc_disk_node() argument 1728 if (minors > DISK_MAX_PARTS) { in __alloc_disk_node() 1732 minors = DISK_MAX_PARTS; in __alloc_disk_node() [all …]
|
/kernel/linux/linux-5.10/drivers/spi/ |
D | spidev.c | 47 static DECLARE_BITMAP(minors, N_SPI_MINORS); 773 minor = find_first_zero_bit(minors, N_SPI_MINORS); in spidev_probe() 787 set_bit(minor, minors); in spidev_probe() 815 clear_bit(MINOR(spidev->devt), minors); in spidev_remove()
|
/kernel/linux/linux-5.10/Documentation/arm/sa1100/ |
D | serial_uart.rst | 14 > serial devices", so you will have a range of minors on those majors (the
|
/kernel/linux/linux-5.10/drivers/block/ |
D | xen-blkfront.c | 235 static unsigned long *minors; variable 458 old = minors; in xlbd_reserve_minors() 459 memcpy(bitmap, minors, in xlbd_reserve_minors() 461 minors = bitmap; in xlbd_reserve_minors() 470 if (find_next_bit(minors, end, minor) >= end) { in xlbd_reserve_minors() 471 bitmap_set(minors, minor, nr); in xlbd_reserve_minors() 486 bitmap_clear(minors, minor, nr); in xlbd_release_minors() 1237 nr_minors = info->gd->minors; in xlvbd_release_gendisk() 2852 kfree(minors); in xlblk_exit()
|
/kernel/linux/linux-5.10/Documentation/input/ |
D | input.rst | 105 There are two ranges of minors: 64 through 95 is the static legacy 107 evdev nodes are created with minors starting with 256. 167 And so on up to js31 in legacy range, and additional nodes with minors
|
/kernel/linux/linux-5.10/drivers/usb/gadget/function/ |
D | f_printer.c | 54 static int major, minors; variable 1460 if (opts->minor >= minors) { in gprinter_alloc() 1535 minors = count; in gprinter_setup() 1543 unregister_chrdev_region(MKDEV(major, 0), minors); in gprinter_cleanup() 1544 major = minors = 0; in gprinter_cleanup()
|
D | f_hid.c | 25 static int major, minors; variable 1342 minors = count; in ghid_setup() 1350 unregister_chrdev_region(MKDEV(major, 0), minors); in ghid_cleanup() 1351 major = minors = 0; in ghid_cleanup()
|
/kernel/linux/linux-5.10/drivers/ide/ |
D | ide-gd.c | 397 g->minors = IDE_DISK_MINORS;
|
D | ide-probe.c | 951 disk->minors, NULL, exact_match, exact_lock, disk); in ide_register_region() 959 disk->minors); in ide_unregister_region()
|
D | ide-cd.c | 1821 g->minors = 1; in ide_cd_probe()
|
/kernel/linux/linux-5.10/drivers/cdrom/ |
D | gdrom.c | 720 gd.disk->minors = 1; in probe_gdrom_setupdisk()
|
/kernel/linux/linux-5.10/Documentation/scsi/ |
D | ChangeLog.sym53c8xx | 455 - Some other minors changes.
|
/kernel/linux/linux-5.10/Documentation/m68k/ |
D | kernel-options.rst | 118 knowledge that each disk uses 16 minors, and write "root=/dev/sde17"
|
/kernel/linux/linux-5.10/drivers/block/mtip32xx/ |
D | mtip32xx.c | 3614 dd->disk->minors = MTIP_MAX_MINORS; in mtip_block_initialize()
|
/kernel/linux/linux-5.10/Documentation/admin-guide/ |
D | devices.txt | 425 Each device type has 5 bits (32 minors). 1656 subdevice number. These subdevice minors are assigned
|
/kernel/linux/linux-5.10/arch/x86/ |
D | Kconfig | 1349 major 202 and minors 0 to 31 for /dev/cpu/0/msr to /dev/cpu/31/msr. 1358 with major 203 and minors 0 to 31 for /dev/cpu/0/cpuid to
|