Home
last modified time | relevance | path

Searched refs:max_devices (Results 1 – 8 of 8) 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");
1876 rc = alloc_chrdev_region(&switchtec_devt, 0, max_devices, in switchtec_init()
1897 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_init()
1907 unregister_chrdev_region(switchtec_devt, max_devices); in switchtec_exit()
/linux/fs/f2fs/
H A Dsuper.c4706 unsigned int max_devices = MAX_DEVICES; in f2fs_scan_devices() local
4715 max_devices = 1; in f2fs_scan_devices()
4723 array_size(max_devices, in f2fs_scan_devices()
4738 for (i = 0; i < max_devices; i++) { in f2fs_scan_devices()
4739 if (max_devices == 1) { in f2fs_scan_devices()
4752 if (max_devices > 1) { in f2fs_scan_devices()
4794 if (max_devices == 1) in f2fs_scan_devices()
/linux/drivers/mmc/core/
H A Dblock.c99 static int max_devices; variable
2549 devidx = ida_alloc_max(&mmc_blk_ida, max_devices - 1, GFP_KERNEL); in mmc_blk_alloc_req()
2941 devidx = ida_alloc_max(&mmc_rpmb_ida, max_devices - 1, GFP_KERNEL); in mmc_blk_alloc_rpmb_part()
3415 max_devices = min(MAX_DEVICES, (1 << MINORBITS) / perdev_minors); in mmc_blk_init()
/linux/net/ceph/
H A Dosdmap.c465 c->max_devices = ceph_decode_32(p); in crush_decode()