| /Linux-v5.4/drivers/android/ |
| D | binderfs.c | 278 int max_devices; in binderfs_parse_mount_opts() local 286 if (match_int(&args[0], &max_devices) || in binderfs_parse_mount_opts() 287 (max_devices < 0 || in binderfs_parse_mount_opts() 288 (max_devices > BINDERFS_MAX_MINOR))) in binderfs_parse_mount_opts() 291 opts->max = max_devices; in binderfs_parse_mount_opts()
|
| /Linux-v5.4/drivers/scsi/ |
| D | hptiop.h | 187 __le32 max_devices; member 307 u32 max_devices; member
|
| D | hptiop.c | 466 config->max_devices = info->max_devices; in iop_get_config_mvfrey() 1031 (scp->device->id > hba->max_devices) || in hptiop_queuecommand_lck() 1032 ((scp->device->id == (hba->max_devices-1)) && scp->device->lun)) { in hptiop_queuecommand_lck() 1371 hba->max_devices = le32_to_cpu(iop_config.max_devices); in hptiop_probe() 1396 host->max_id = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
|
| /Linux-v5.4/samples/vfio-mdev/ |
| D | mdpy.c | 46 static int max_devices = 4; variable 47 module_param_named(count, max_devices, int, 0444); 236 if (mdpy_count >= max_devices) in mdpy_create() 687 return sprintf(buf, "%d\n", max_devices - mdpy_count); in available_instances_show()
|
| /Linux-v5.4/include/linux/crush/ |
| D | crush.h | 245 __s32 max_devices; member
|
| /Linux-v5.4/drivers/pci/switch/ |
| D | switchtec.c | 24 static int max_devices = 16; variable 25 module_param(max_devices, int, 0644); 26 MODULE_PARM_DESC(max_devices, "max number of switchtec device instances"); 1534 rc = alloc_chrdev_region(&switchtec_devt, 0, max_devices, in switchtec_init() 1557 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_init() 1567 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_exit()
|
| /Linux-v5.4/net/ceph/crush/ |
| D | mapper.c | 519 if (item >= map->max_devices) { in crush_choose_firstn() 730 if (item >= map->max_devices) { in crush_choose_indep() 946 curstep->arg1 < map->max_devices) || in crush_do_rule()
|
| /Linux-v5.4/fs/f2fs/ |
| D | super.c | 3030 unsigned int max_devices = MAX_DEVICES; in f2fs_scan_devices() local 3037 max_devices = 1; in f2fs_scan_devices() 3045 array_size(max_devices, in f2fs_scan_devices() 3051 for (i = 0; i < max_devices; i++) { in f2fs_scan_devices() 3056 if (max_devices == 1) { in f2fs_scan_devices() 3098 if (max_devices == 1) in f2fs_scan_devices()
|
| /Linux-v5.4/include/sound/ |
| D | hda_codec.h | 352 u8 *dev_list, int max_devices);
|
| /Linux-v5.4/drivers/mmc/core/ |
| D | block.c | 92 static int max_devices; variable 2292 devidx = ida_simple_get(&mmc_blk_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_req() 2551 devidx = ida_simple_get(&mmc_rpmb_ida, 0, max_devices, GFP_KERNEL); in mmc_blk_alloc_rpmb_part() 3066 max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); in mmc_blk_init()
|
| /Linux-v5.4/drivers/scsi/pm8001/ |
| D | pm8001_ctl.c | 200 static DEVICE_ATTR(max_devices, S_IRUGO, pm8001_ctl_max_devices_show, NULL);
|
| /Linux-v5.4/drivers/usb/misc/ |
| D | ftdi-elan.c | 2574 int max_devices = 0; in ftdi_elan_setupOHCI() local 2614 if (devices > max_devices) { in ftdi_elan_setupOHCI() 2615 max_devices = devices; in ftdi_elan_setupOHCI()
|
| /Linux-v5.4/sound/pci/hda/ |
| D | hda_codec.c | 327 u8 *dev_list, int max_devices) in snd_hda_get_devices() argument 337 dev_len = dev_len < max_devices ? dev_len : max_devices; in snd_hda_get_devices()
|
| /Linux-v5.4/net/ceph/ |
| D | osdmap.c | 374 c->max_devices = ceph_decode_32(p); in crush_decode()
|