Home
last modified time | relevance | path

Searched refs:num_devs (Results 1 – 20 of 20) sorted by relevance

/Linux-v5.15/fs/crypto/
Dinline_crypt.c25 int num_devs; member
36 static void fscrypt_get_devices(struct super_block *sb, int num_devs, in fscrypt_get_devices() argument
39 if (num_devs == 1) in fscrypt_get_devices()
72 int num_devs; in fscrypt_select_encryption_impl() local
108 num_devs = fscrypt_get_num_devices(sb); in fscrypt_select_encryption_impl()
109 devs = kmalloc_array(num_devs, sizeof(*devs), GFP_KERNEL); in fscrypt_select_encryption_impl()
112 fscrypt_get_devices(sb, num_devs, devs); in fscrypt_select_encryption_impl()
114 for (i = 0; i < num_devs; i++) { in fscrypt_select_encryption_impl()
133 int num_devs = fscrypt_get_num_devices(sb); in fscrypt_prepare_inline_crypt_key() local
139 blk_key = kzalloc(struct_size(blk_key, devs, num_devs), GFP_KERNEL); in fscrypt_prepare_inline_crypt_key()
[all …]
/Linux-v5.15/Documentation/admin-guide/device-mapper/
Dstriped.rst38 my $num_devs = @ARGV;
42 if (!$num_devs) {
47 for ($i = 1; $i < $num_devs; $i++) {
53 $stripe_dev_size = $min_dev_size * $num_devs;
54 $stripe_dev_size -= $stripe_dev_size % ($chunk_size * $num_devs);
56 $table = "0 $stripe_dev_size striped $num_devs $chunk_size";
57 for ($i = 0; $i < $num_devs; $i++) {
/Linux-v5.15/drivers/mtd/
Dmtdconcat.c638 int num_devs, /* number of subdevices */ in mtd_concat_create() argument
650 for (i = 0; i < num_devs; i++) in mtd_concat_create()
655 size = SIZEOF_STRUCT_MTD_CONCAT(num_devs); in mtd_concat_create()
675 for (i = 0; i < num_devs; i++) in mtd_concat_create()
706 for (i = 1; i < num_devs; i++) { in mtd_concat_create()
758 concat->num_subdev = num_devs; in mtd_concat_create()
777 for (i = 0; i < num_devs; i++) { in mtd_concat_create()
843 for (i = 0; i < num_devs; i++) { in mtd_concat_create()
/Linux-v5.15/drivers/xen/xen-pciback/
Dxenbus.c366 int num_devs; in xen_pcibk_reconfigure() local
381 &num_devs); in xen_pcibk_reconfigure()
390 for (i = 0; i < num_devs; i++) { in xen_pcibk_reconfigure()
567 int i, num_devs; in xen_pcibk_setup_backend() local
582 &num_devs); in xen_pcibk_setup_backend()
591 for (i = 0; i < num_devs; i++) { in xen_pcibk_setup_backend()
/Linux-v5.15/drivers/pwm/
Dpwm-sti.c480 u32 num_devs; in sti_pwm_probe_dt() local
483 ret = of_property_read_u32(np, "st,pwm-num-chan", &num_devs); in sti_pwm_probe_dt()
485 cdata->pwm_num_devs = num_devs; in sti_pwm_probe_dt()
487 ret = of_property_read_u32(np, "st,capture-num-chan", &num_devs); in sti_pwm_probe_dt()
489 cdata->cpt_num_devs = num_devs; in sti_pwm_probe_dt()
/Linux-v5.15/include/linux/mtd/
Dconcat.h14 int num_devs, /* number of subdevices */
/Linux-v5.15/sound/pci/
Dvia82xx_modem.c233 unsigned int num_devs; member
487 for (i = 0; i < chip->num_devs; i++) { in snd_via82xx_interrupt()
835 chip->num_devs = 2; in snd_via686_pcm_new()
1022 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_suspend()
1038 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_resume()
1057 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_free()
1145 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_probe()
Dvia82xx.c366 unsigned int num_devs; member
634 for (i = 0; i < chip->num_devs; i++) { in snd_via686_interrupt()
675 for (i = 0; i < chip->num_devs; i++) { in snd_via8233_interrupt()
1431 chip->num_devs = 7; in snd_via8233_pcm_new()
1499 chip->num_devs = 3; in snd_via8233a_pcm_new()
1558 chip->num_devs = 2; in snd_via686_pcm_new()
2252 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_suspend()
2287 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_resume()
2306 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_free()
2556 for (i = 0; i < chip->num_devs; i++) in snd_via82xx_probe()
/Linux-v5.15/arch/arm/include/asm/hardware/
Dscoop.h59 int num_devs; member
/Linux-v5.15/drivers/net/hamradio/
Ddmascc.c174 int num_devs; member
318 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
323 if (j >= 0 && j < hw[h].num_devs && in dmascc_init()
331 for (i = 0; i < hw[h].num_devs; i++) { in dmascc_init()
338 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
357 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
381 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
396 for (i = 0; i < hw[h].num_devs; i++) in dmascc_init()
/Linux-v5.15/drivers/pcmcia/
Dpxa2xx_sharpsl.c228 sharpsl_pcmcia_ops.nr = platform_scoop_config->num_devs; in sharpsl_pcmcia_init()
/Linux-v5.15/arch/arm/mach-pxa/
Dpoodle.c154 .num_devs = 1,
Dspitz.c264 .num_devs = 2,
272 spitz_pcmcia_config.num_devs = 1; in spitz_pcmcia_init()
Dcorgi.c185 .num_devs = 1,
Dtosa.c236 .num_devs = 2,
/Linux-v5.15/drivers/pci/
Dxen-pcifront.c1014 int i, num_devs; in pcifront_detach_devices() local
1024 &num_devs); in pcifront_detach_devices()
1034 for (i = 0; i < num_devs; i++) { in pcifront_detach_devices()
/Linux-v5.15/arch/arm/mach-sa1100/
Dcollie.c88 .num_devs = 1,
/Linux-v5.15/drivers/net/ethernet/marvell/octeontx2/af/
Drvu.c2901 int dev, num_devs; in rvu_flr_init() local
2918 num_devs = rvu->hw->total_pfs + pci_sriov_get_totalvfs(rvu->pdev); in rvu_flr_init()
2919 rvu->flr_wrk = devm_kcalloc(rvu->dev, num_devs, in rvu_flr_init()
2926 for (dev = 0; dev < num_devs; dev++) { in rvu_flr_init()
/Linux-v5.15/fs/nfs/
Dpnfs.h235 unsigned int num_devs; member
/Linux-v5.15/fs/btrfs/
Dblock-group.c3697 u64 num_devs; in check_system_chunk() local
3710 num_devs = get_profile_num_devs(fs_info, type); in check_system_chunk()
3713 thresh = btrfs_calc_metadata_size(fs_info, num_devs) + in check_system_chunk()