Home
last modified time | relevance | path

Searched refs:max_devices (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/scsi/
H A Dhptiop.h187 __le32 max_devices; member
307 u32 max_devices; member
H A Dhptiop.c466 config->max_devices = info->max_devices; in iop_get_config_mvfrey()
1026 (scp->device->id > hba->max_devices) || in hptiop_queuecommand_lck()
1027 ((scp->device->id == (hba->max_devices-1)) && scp->device->lun)) { in hptiop_queuecommand_lck()
1366 hba->max_devices = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
1391 host->max_id = le32_to_cpu(iop_config.max_devices); in hptiop_probe()
/linux/include/linux/crush/
H A Dcrush.h245 __s32 max_devices; member
/linux/net/ceph/crush/
H A Dmapper.c523 if (item >= map->max_devices) { in crush_choose_firstn()
733 if (item >= map->max_devices) { in crush_choose_indep()
948 curstep->arg1 < map->max_devices) || in crush_do_rule()
/linux/drivers/pci/switch/
H A Dswitchtec.c24 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");
1877 rc = alloc_chrdev_region(&switchtec_devt, 0, max_devices, in switchtec_init()
1898 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_init()
1908 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_exit()
/linux/include/sound/
H A Dhda_codec.h364 u8 *dev_list, int max_devices);
/linux/fs/f2fs/
H A Dsuper.c4607 unsigned int max_devices = MAX_DEVICES; in f2fs_scan_devices() local
4616 max_devices = 1; in f2fs_scan_devices()
4624 array_size(max_devices, in f2fs_scan_devices()
4637 for (i = 0; i < max_devices; i++) { in f2fs_scan_devices()
4638 if (max_devices == 1) { in f2fs_scan_devices()
4651 if (max_devices > 1) { in f2fs_scan_devices()
4691 if (max_devices == 1) in f2fs_scan_devices()
/linux/drivers/mmc/core/
H A Dblock.c137 static int max_devices; variable
2591 devidx = ida_alloc_max(&mmc_blk_ida, max_devices - 1, GFP_KERNEL); in mmc_blk_alloc_req()
2994 devidx = ida_alloc_max(&mmc_rpmb_ida, max_devices - 1, GFP_KERNEL); in mmc_blk_alloc_rpmb_part()
3467 max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); in mmc_blk_init()
/linux/sound/hda/common/
H A Dcodec.c321 * @max_devices: max. number of devices to store
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/net/ceph/
H A Dosdmap.c465 c->max_devices = ceph_decode_32(p); in crush_decode()