n_devices        4915 drivers/block/drbd/drbd_nl.c 	       state_change->n_devices +
n_devices        4916 drivers/block/drbd/drbd_nl.c 	       state_change->n_devices * state_change->n_connections;
n_devices        4951 drivers/block/drbd/drbd_nl.c 	if (n < state_change->n_devices) {
n_devices        4956 drivers/block/drbd/drbd_nl.c 	n -= state_change->n_devices;
n_devices        4957 drivers/block/drbd/drbd_nl.c 	if (n < state_change->n_devices * state_change->n_connections) {
n_devices          42 drivers/block/drbd/drbd_state.c 			  unsigned int *n_devices,
n_devices          49 drivers/block/drbd/drbd_state.c 	*n_devices = 0;
n_devices          53 drivers/block/drbd/drbd_state.c 		(*n_devices)++;
n_devices          58 drivers/block/drbd/drbd_state.c static struct drbd_state_change *alloc_state_change(unsigned int n_devices, unsigned int n_connections, gfp_t gfp)
n_devices          64 drivers/block/drbd/drbd_state.c 	       n_devices * sizeof(struct drbd_device_state_change) +
n_devices          66 drivers/block/drbd/drbd_state.c 	       n_devices * n_connections * sizeof(struct drbd_peer_device_state_change);
n_devices          70 drivers/block/drbd/drbd_state.c 	state_change->n_devices = n_devices;
n_devices          73 drivers/block/drbd/drbd_state.c 	state_change->connections = (void *)&state_change->devices[n_devices];
n_devices          76 drivers/block/drbd/drbd_state.c 	for (n = 0; n < n_devices; n++)
n_devices          87 drivers/block/drbd/drbd_state.c 	unsigned int n_devices;
n_devices          98 drivers/block/drbd/drbd_state.c 	count_objects(resource, &n_devices, &n_connections);
n_devices          99 drivers/block/drbd/drbd_state.c 	state_change = alloc_state_change(n_devices, n_connections, gfp);
n_devices         173 drivers/block/drbd/drbd_state.c 	for (n = 0; n < state_change->n_devices; n++) {
n_devices         192 drivers/block/drbd/drbd_state.c 	for (n = 0; n < state_change->n_devices * state_change->n_connections; n++) {
n_devices         232 drivers/block/drbd/drbd_state.c 	for (n_device = 0; n_device < state_change->n_devices; n_device++) {
n_devices         239 drivers/block/drbd/drbd_state.c 	n_peer_devices = state_change->n_devices * state_change->n_connections;
n_devices         263 drivers/block/drbd/drbd_state.c 	for (n = 0; n < state_change->n_devices; n++) {
n_devices        1642 drivers/block/drbd/drbd_state.c 	for (n_device = 0; n_device < state_change->n_devices; n_device++) {
n_devices        1651 drivers/block/drbd/drbd_state.c 	n_peer_devices = state_change->n_devices * state_change->n_connections;
n_devices          35 drivers/block/drbd/drbd_state_change.h 	unsigned int n_devices;
n_devices        1388 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	if (!args->n_devices) {
n_devices        1392 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	if (args->n_success > args->n_devices) {
n_devices        1397 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr),
n_devices        1404 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 			     args->n_devices * sizeof(*devices_arr));
n_devices        1425 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	for (i = args->n_success; i < args->n_devices; i++) {
n_devices        1443 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 			       i, args->n_devices);
n_devices        1458 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	for (i = 0; i < args->n_devices; i++) {
n_devices        1497 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	if (!args->n_devices) {
n_devices        1501 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	if (args->n_success > args->n_devices) {
n_devices        1506 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	devices_arr = kmalloc_array(args->n_devices, sizeof(*devices_arr),
n_devices        1513 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 			     args->n_devices * sizeof(*devices_arr));
n_devices        1534 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 	for (i = args->n_success; i < args->n_devices; i++) {
n_devices        1550 drivers/gpu/drm/amd/amdkfd/kfd_chardev.c 			       i, args->n_devices);
n_devices          80 drivers/staging/wusbcore/host/whci/debug.c 	for (d = 0; d < whc->n_devices; d++) {
n_devices         259 drivers/staging/wusbcore/host/whci/hcd.c 	if (whc->n_devices > USB_MAXCHILDREN) {
n_devices         261 drivers/staging/wusbcore/host/whci/hcd.c 			 whc->n_devices);
n_devices         264 drivers/staging/wusbcore/host/whci/hcd.c 		wusbhc->ports_max = whc->n_devices;
n_devices          31 drivers/staging/wusbcore/host/whci/init.c 	for (d = 0; d < whc->n_devices; d++)
n_devices          93 drivers/staging/wusbcore/host/whci/init.c 	whc->n_devices = WHCSPARAMS_TO_N_DEVICES(whcsparams);
n_devices          98 drivers/staging/wusbcore/host/whci/init.c 		whc->n_devices, whc->n_keys, whc->n_mmc_ies);
n_devices         135 drivers/staging/wusbcore/host/whci/init.c 					 sizeof(struct di_buf_entry) * whc->n_devices,
n_devices         155 drivers/staging/wusbcore/host/whci/init.c 		dma_free_coherent(&whc->umc->dev, sizeof(struct di_buf_entry) * whc->n_devices,
n_devices          29 drivers/staging/wusbcore/host/whci/whcd.h 	u8 n_devices;
n_devices         199 drivers/staging/wusbcore/host/whci/wusb.c 	ret = whc_set_key(whc, whc->n_devices, tkid, gtk, key_size, true);
n_devices         398 include/uapi/linux/kfd_ioctl.h 	__u32 n_devices;		/* to KFD */
n_devices         409 include/uapi/linux/kfd_ioctl.h 	__u32 n_devices;		/* to KFD */