/linux-master/drivers/staging/greybus/ |
H A D | vibrator.c | 113 static DEFINE_IDA(minors); 156 vib->minor = ida_alloc(&minors, GFP_KERNEL); 176 ida_free(&minors, vib->minor); 200 ida_free(&minors, vib->minor); 244 ida_destroy(&minors);
|
H A D | raw.c | 41 static DEFINE_IDA(minors); 184 minor = ida_alloc(&minors, GFP_KERNEL); 217 ida_free(&minors, minor); 238 ida_free(&minors, MINOR(raw->dev)); 376 ida_destroy(&minors);
|
/linux-master/sound/core/seq/ |
H A D | seq.c | 21 #include <sound/minors.h>
|
H A D | seq_virmidi.c | 32 #include <sound/minors.h>
|
/linux-master/sound/pci/hda/ |
H A D | hda_hwdep.c | 16 #include <sound/minors.h>
|
H A D | hda_sysfs.c | 21 #include <sound/minors.h>
|
/linux-master/sound/core/ |
H A D | info_oss.c | 12 #include <sound/minors.h>
|
H A D | sound_oss.c | 12 #include <sound/minors.h>
|
H A D | sound.c | 14 #include <sound/minors.h> 182 /* static minors for module auto loading */ 189 /* skip static minors still used for module auto loading */
|
H A D | hwdep.c | 16 #include <sound/minors.h>
|
/linux-master/drivers/s390/block/ |
H A D | dasd_genhd.c | 76 gdp->minors = 1 << DASD_PARTN_BITS;
|
/linux-master/block/ |
H A D | genhd.c | 420 * the number of minors numbers supported, and those will be used to 427 if (WARN_ON(!disk->minors)) 430 if (disk->minors > DISK_MAX_PARTS) { 433 disk->minors = DISK_MAX_PARTS; 436 disk->minors > MINORMASK + 1 || 437 disk->first_minor + disk->minors > MINORMASK + 1) 440 if (WARN_ON(disk->minors)) 909 return sprintf(buf, "%d\n", disk->minors);
|
H A D | early-lookup.c | 137 if (partno < disk->minors) {
|
/linux-master/sound/core/seq/oss/ |
H A D | seq_oss.c | 15 #include <sound/minors.h>
|
/linux-master/arch/m68k/emu/ |
H A D | nfblock.c | 131 dev->disk->minors = 16;
|
/linux-master/drivers/block/ |
H A D | z2ram.c | 327 disk->minors = 1;
|
H A D | xen-blkfront.c | 237 static unsigned long *minors; variable 458 old = minors; 459 memcpy(bitmap, minors, 461 minors = bitmap; 470 if (find_next_bit(minors, end, minor) >= end) { 471 bitmap_set(minors, minor, nr); 486 bitmap_clear(minors, minor, nr); 1155 gd->minors = nr_minors; 2487 xlbd_release_minors(info->gd->first_minor, info->gd->minors); 2640 kfree(minors); [all...] |
H A D | brd.c | 355 disk->minors = max_part;
|
/linux-master/drivers/net/wwan/ |
H A D | wwan_core.c | 23 /* Maximum number of minors in use */ 27 static DEFINE_IDA(minors); /* minors for WWAN port chardevs */ 358 ida_free(&minors, MINOR(port->dev.devt)); 459 minor = ida_alloc_range(&minors, 0, WWAN_MAX_MINORS - 1, GFP_KERNEL); 468 ida_free(&minors, minor);
|
/linux-master/drivers/spi/ |
H A D | spidev.c | 46 static DECLARE_BITMAP(minors, N_SPI_MINORS); 795 * Reusing minors is fine so long as udev or mdev is working. 798 minor = find_first_zero_bit(minors, N_SPI_MINORS); 812 set_bit(minor, minors); 840 clear_bit(MINOR(spidev->devt), minors);
|
/linux-master/drivers/usb/gadget/function/ |
H A D | f_printer.c | 56 static int major, minors; variable 1460 if (opts->minor >= minors) { 1530 minors = count; 1538 unregister_chrdev_region(MKDEV(major, 0), minors); 1539 major = minors = 0;
|
H A D | f_hid.c | 25 static int major, minors; variable 1344 minors = count; 1352 unregister_chrdev_region(MKDEV(major, 0), minors); 1353 major = minors = 0;
|
/linux-master/arch/xtensa/platforms/iss/ |
H A D | simdisk.c | 281 dev->gd->minors = SIMDISK_MINORS;
|
/linux-master/sound/drivers/opl3/ |
H A D | opl3_lib.c | 19 #include <sound/minors.h>
|
/linux-master/drivers/block/aoe/ |
H A D | aoeblk.c | 396 gd->minors = AOE_PARTITIONS;
|