num_devices       221 arch/powerpc/platforms/pseries/msi.c 	int num_devices;
num_devices       240 arch/powerpc/platforms/pseries/msi.c 		counts->num_devices++;
num_devices       299 arch/powerpc/platforms/pseries/msi.c 	if (counts.num_devices == 0) {
num_devices       305 arch/powerpc/platforms/pseries/msi.c 	counts.quota = total / counts.num_devices;
num_devices       316 arch/powerpc/platforms/pseries/msi.c 	counts.spare += total % counts.num_devices;
num_devices        66 arch/s390/include/asm/ccwgroup.h 			int num_devices, const char *buf);
num_devices      2855 drivers/block/pktcdvd.c 	ctrl_cmd->num_devices = MAX_WRITERS;
num_devices        47 drivers/block/zram/zram_drv.c static unsigned int num_devices = 1;
num_devices      2113 drivers/block/zram/zram_drv.c 	while (num_devices != 0) {
num_devices      2119 drivers/block/zram/zram_drv.c 		num_devices--;
num_devices      2137 drivers/block/zram/zram_drv.c module_param(num_devices, uint, 0);
num_devices      2138 drivers/block/zram/zram_drv.c MODULE_PARM_DESC(num_devices, "Number of pre-created zram devices");
num_devices        36 drivers/crypto/cavium/nitrox/nitrox_main.c static unsigned int num_devices;
num_devices       259 drivers/crypto/cavium/nitrox/nitrox_main.c 	ndev->idx = num_devices++;
num_devices       275 drivers/crypto/cavium/nitrox/nitrox_main.c 	num_devices--;
num_devices       377 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	uint32_t num_devices = 0;
num_devices       379 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	adf_devmgr_get_num_dev(&num_devices);
num_devices       380 drivers/crypto/qat/qat_common/adf_ctl_drv.c 	if (copy_to_user((void __user *)arg, &num_devices, sizeof(num_devices)))
num_devices        55 drivers/crypto/qat/qat_common/adf_dev_mgr.c static uint32_t num_devices;
num_devices       122 drivers/crypto/qat/qat_common/adf_dev_mgr.c 			num_devices--;
num_devices       189 drivers/crypto/qat/qat_common/adf_dev_mgr.c 	if (num_devices == ADF_MAX_DEVICES) {
num_devices       218 drivers/crypto/qat/qat_common/adf_dev_mgr.c 		num_devices++;
num_devices       262 drivers/crypto/qat/qat_common/adf_dev_mgr.c 		num_devices++;
num_devices       297 drivers/crypto/qat/qat_common/adf_dev_mgr.c 		num_devices--;
num_devices       412 drivers/crypto/qat/qat_common/adf_dev_mgr.c 	*num = num_devices - adf_get_num_dettached_vfs();
num_devices        15 drivers/crypto/virtio/virtio_crypto_mgr.c static uint32_t num_devices;
num_devices        38 drivers/crypto/virtio/virtio_crypto_mgr.c 	if (num_devices == VIRTIO_CRYPTO_MAX_DEVICES) {
num_devices        56 drivers/crypto/virtio/virtio_crypto_mgr.c 	vcrypto_dev->dev_id = num_devices++;
num_devices        80 drivers/crypto/virtio/virtio_crypto_mgr.c 	num_devices--;
num_devices       837 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 		sys_props.num_devices++;
num_devices      1025 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 	atomic_set(&topology_crat_proximity_domain, sys_props.num_devices-1);
num_devices      1387 drivers/gpu/drm/amd/amdkfd/kfd_topology.c 			sys_props.num_devices--;
num_devices       181 drivers/gpu/drm/amd/amdkfd/kfd_topology.h 	uint32_t		num_devices;     /* Number of H-NUMA nodes */
num_devices       733 drivers/i2c/busses/i2c-ocores.c 		for (i = 0; i < pdata->num_devices; i++)
num_devices       806 drivers/i2c/busses/i2c-xiic.c 		for (i = 0; i < pdata->num_devices; i++)
num_devices      1944 drivers/md/dm-raid.c 	__le32 num_devices;	/* Number of devices in this raid set. (Max 64) */
num_devices      2126 drivers/md/dm-raid.c 	sb->num_devices = cpu_to_le32(mddev->raid_disks);
num_devices      2245 drivers/md/dm-raid.c 	mddev->raid_disks = le32_to_cpu(sb->num_devices);
num_devices      1386 drivers/md/dm-table.c 	unsigned *num_devices = data;
num_devices      1388 drivers/md/dm-table.c 	(*num_devices)++;
num_devices      1402 drivers/md/dm-table.c 	unsigned i, num_devices;
num_devices      1410 drivers/md/dm-table.c 		num_devices = 0;
num_devices      1411 drivers/md/dm-table.c 		ti->type->iterate_devices(ti, count_device, &num_devices);
num_devices      1412 drivers/md/dm-table.c 		if (num_devices)
num_devices        69 drivers/mfd/timberdale.c 	.num_devices = ARRAY_SIZE(timberdale_i2c_board_info)
num_devices        77 drivers/mfd/timberdale.c 	.num_devices = ARRAY_SIZE(timberdale_i2c_board_info)
num_devices       730 drivers/mfd/timberdale.c 		timberdale_xspi_platform_data.num_devices =
num_devices       736 drivers/mfd/timberdale.c 		timberdale_xspi_platform_data.num_devices =
num_devices        81 drivers/mfd/tqmx86.c 	.num_devices = ARRAY_SIZE(tqmx86_i2c_devices),
num_devices       304 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2.c 	mfa2_file->dev_count = be16_to_cpu(pd->num_devices);
num_devices        25 drivers/net/ethernet/mellanox/mlxfw/mlxfw_mfa2_format.h 	__be16 num_devices;
num_devices       320 drivers/s390/cio/ccwgroup.c 			int num_devices, const char *buf)
num_devices       326 drivers/s390/cio/ccwgroup.c 	if (num_devices < 1)
num_devices       329 drivers/s390/cio/ccwgroup.c 	gdev = kzalloc(struct_size(gdev, cdev, num_devices), GFP_KERNEL);
num_devices       337 drivers/s390/cio/ccwgroup.c 	gdev->count = num_devices;
num_devices       343 drivers/s390/cio/ccwgroup.c 	for (i = 0; i < num_devices && buf; i++) {
num_devices       370 drivers/s390/cio/ccwgroup.c 	if (i < num_devices) {
num_devices       375 drivers/s390/cio/ccwgroup.c 	if (i == num_devices && buf && strlen(buf) > 0) {
num_devices       406 drivers/s390/cio/ccwgroup.c 	for (i = 0; i < num_devices; i++)
num_devices        66 drivers/scsi/sym53c8xx_2/sym_nvram.h 	u_char	num_devices;	/* 0x10 */
num_devices       746 drivers/siox/siox-core.c 	while (smaster->num_devices) {
num_devices       752 drivers/siox/siox-core.c 		smaster->num_devices--;
num_devices       792 drivers/siox/siox-core.c 		     smaster->busno, smaster->num_devices);
num_devices       817 drivers/siox/siox-core.c 	smaster->num_devices++;
num_devices       853 drivers/siox/siox-core.c 	if (!smaster->num_devices) {
num_devices       860 drivers/siox/siox-core.c 	smaster->num_devices--;
num_devices       865 drivers/siox/siox-core.c 	if (!smaster->num_devices)
num_devices        25 drivers/siox/siox.h 	unsigned int num_devices;
num_devices       493 drivers/spi/spi-xilinx.c 		for (i = 0; i < pdata->num_devices; i++)
num_devices        99 drivers/tee/optee/device.c 	u32 shm_size = 0, idx, num_devices = 0;
num_devices       144 drivers/tee/optee/device.c 	num_devices = shm_size / sizeof(uuid_t);
num_devices       146 drivers/tee/optee/device.c 	for (idx = 0; idx < num_devices; idx++) {
num_devices        55 fs/btrfs/block-group.c 	u64 num_devices = fs_info->fs_devices->rw_devices;
num_devices        77 fs/btrfs/block-group.c 		if (num_devices >= btrfs_raid_array[raid_type].devs_min)
num_devices      1984 fs/btrfs/block-group.c 	u64 num_devices;
num_devices      1995 fs/btrfs/block-group.c 	num_devices = fs_info->fs_devices->rw_devices;
num_devices      2000 fs/btrfs/block-group.c 	if (num_devices == 1) {
num_devices       200 fs/btrfs/ctree.h 	__le64 num_devices;
num_devices       238 fs/btrfs/ctree.h 	__le64 num_devices;
num_devices      2025 fs/btrfs/ctree.h 		   num_devices, 64);
num_devices      2147 fs/btrfs/ctree.h 			 num_devices, 64);
num_devices       262 fs/btrfs/dev-replace.c 	fs_info->fs_devices->num_devices++;
num_devices      2165 fs/btrfs/disk-io.c 				      min_t(u64, fs_devices->num_devices,
num_devices       490 fs/btrfs/ioctl.c 	u64 num_devices = 0;
num_devices       513 fs/btrfs/ioctl.c 			num_devices++;
num_devices       520 fs/btrfs/ioctl.c 	if (!num_devices)
num_devices      3159 fs/btrfs/ioctl.c 	fi_args->num_devices = fs_devices->num_devices;
num_devices      2210 fs/btrfs/super.c 		ret = !(device->fs_devices->num_devices ==
num_devices       761 fs/btrfs/volumes.c 			fs_devices->num_devices--;
num_devices       766 fs/btrfs/volumes.c 			if (fs_devices->num_devices == 0)
num_devices       771 fs/btrfs/volumes.c 		if (fs_devices->num_devices == 0) {
num_devices      1047 fs/btrfs/volumes.c 		fs_devices->num_devices++;
num_devices      1199 fs/btrfs/volumes.c 		fs_devices->num_devices++;
num_devices      1262 fs/btrfs/volumes.c 		fs_devices->num_devices--;
num_devices      2046 fs/btrfs/volumes.c 		u64 num_devices)
num_devices      2064 fs/btrfs/volumes.c 		if (num_devices < btrfs_raid_array[i].devs_min) {
num_devices      2123 fs/btrfs/volumes.c 	u64 num_devices = fs_info->fs_devices->num_devices;
num_devices      2127 fs/btrfs/volumes.c 		ASSERT(num_devices > 1);
num_devices      2128 fs/btrfs/volumes.c 		num_devices--;
num_devices      2132 fs/btrfs/volumes.c 	return num_devices;
num_devices      2141 fs/btrfs/volumes.c 	u64 num_devices;
num_devices      2146 fs/btrfs/volumes.c 	num_devices = btrfs_num_devices(fs_info);
num_devices      2148 fs/btrfs/volumes.c 	ret = btrfs_check_raid_min_devices(fs_info, num_devices - 1);
num_devices      2226 fs/btrfs/volumes.c 	cur_devices->num_devices--;
num_devices      2243 fs/btrfs/volumes.c 	num_devices = btrfs_super_num_devices(fs_info->super_copy) - 1;
num_devices      2244 fs/btrfs/volumes.c 	btrfs_set_super_num_devices(fs_info->super_copy, num_devices);
num_devices      2303 fs/btrfs/volumes.c 	fs_devices->num_devices--;
num_devices      2329 fs/btrfs/volumes.c 	if (!fs_devices->num_devices) {
num_devices      2366 fs/btrfs/volumes.c 	fs_devices->num_devices--;
num_devices      2499 fs/btrfs/volumes.c 	fs_devices->num_devices = 0;
num_devices      2688 fs/btrfs/volumes.c 	fs_devices->num_devices++;
num_devices      2782 fs/btrfs/volumes.c 	fs_info->fs_devices->num_devices--;
num_devices      4082 fs/btrfs/volumes.c 	u64 num_devices;
num_devices      4118 fs/btrfs/volumes.c 	num_devices = fs_info->fs_devices->rw_devices;
num_devices      4127 fs/btrfs/volumes.c 		if (num_devices >= btrfs_raid_array[i].devs_min)
num_devices      6675 fs/btrfs/volumes.c 	fs_devices->num_devices++;
num_devices      7024 fs/btrfs/volumes.c 			device->fs_devices->num_devices--;
num_devices      7025 fs/btrfs/volumes.c 			fs_devices->num_devices++;
num_devices       227 fs/btrfs/volumes.h 	u64 num_devices;
num_devices        17 include/linux/platform_data/i2c-ocores.h 	u8 num_devices; /* number of devices in the devices list */
num_devices        27 include/linux/platform_data/i2c-xiic.h 	u8				num_devices;
num_devices        17 include/linux/spi/xilinx_spi.h 	u8 num_devices;
num_devices       229 include/uapi/linux/btrfs.h 	__u64 num_devices;			/* out */
num_devices       101 include/uapi/linux/pktcdvd.h 	__u32 num_devices;			/* out: Largest device index + 1 */
num_devices       385 sound/pci/hda/hda_codec.c 	int ret, num_devices;
num_devices       392 sound/pci/hda/hda_codec.c 	num_devices = snd_hda_get_num_devices(codec, nid) + 1;
num_devices       397 sound/pci/hda/hda_codec.c 	if (num_devices == 1)
num_devices       403 sound/pci/hda/hda_codec.c 	if (num_devices <= dev_id)
num_devices       480 sound/xen/xen_snd_front_cfg.c 	int ret, num_devices, i;
num_devices       484 sound/xen/xen_snd_front_cfg.c 	num_devices = 0;
num_devices       486 sound/xen/xen_snd_front_cfg.c 		snprintf(node, sizeof(node), "%d", num_devices);
num_devices       490 sound/xen/xen_snd_front_cfg.c 		num_devices++;
num_devices       491 sound/xen/xen_snd_front_cfg.c 	} while (num_devices < SNDRV_PCM_DEVICES);
num_devices       493 sound/xen/xen_snd_front_cfg.c 	if (!num_devices) {
num_devices       504 sound/xen/xen_snd_front_cfg.c 			devm_kcalloc(&front_info->xb_dev->dev, num_devices,
num_devices       510 sound/xen/xen_snd_front_cfg.c 	for (i = 0; i < num_devices; i++) {
num_devices       516 sound/xen/xen_snd_front_cfg.c 	cfg->num_pcm_instances = num_devices;