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
/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/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/fs/f2fs/
H A Dsuper.c4752 unsigned int max_devices = MAX_DEVICES; in f2fs_scan_devices() local
4761 max_devices = 1; in f2fs_scan_devices()
4769 array_size(max_devices, in f2fs_scan_devices()
4784 for (i = 0; i < max_devices; i++) { in f2fs_scan_devices()
4785 if (max_devices == 1) { in f2fs_scan_devices()
4798 if (max_devices > 1) { in f2fs_scan_devices()
4840 if (max_devices == 1) in f2fs_scan_devices()
/linux/sound/hda/common/
H A Dcodec.c336 u8 *dev_list, unsigned int max_devices) in snd_hda_get_devices() argument
344 dev_len = min(parm + 1, max_devices); in snd_hda_get_devices()
/linux/net/ceph/
H A Dosdmap.c468 c->max_devices = ceph_decode_32(p); in crush_decode()