Searched refs:n_devices (Results 1 – 5 of 5) sorted by relevance
42 unsigned int *n_devices, in count_objects() argument49 *n_devices = 0; in count_objects()53 (*n_devices)++; in count_objects()64 n_devices * sizeof(struct drbd_device_state_change) + in alloc_state_change()70 state_change->n_devices = n_devices; in alloc_state_change()76 for (n = 0; n < n_devices; n++) in alloc_state_change()87 unsigned int n_devices; in remember_old_state() local98 count_objects(resource, &n_devices, &n_connections); in remember_old_state()99 state_change = alloc_state_change(n_devices, n_connections, gfp); in remember_old_state()173 for (n = 0; n < state_change->n_devices; n++) { in remember_new_state()[all …]
35 unsigned int n_devices; member
4841 state_change->n_devices + in notifications_for_state_change()4842 state_change->n_devices * state_change->n_connections; in notifications_for_state_change()4878 if (n < state_change->n_devices) { in get_initial_state()4883 n -= state_change->n_devices; in get_initial_state()4884 if (n < state_change->n_devices * state_change->n_connections) { in get_initial_state()
1239 if (!args->n_devices) { in kfd_ioctl_map_memory_to_gpu()1243 if (args->n_success > args->n_devices) { in kfd_ioctl_map_memory_to_gpu()1255 args->n_devices * sizeof(*devices_arr)); in kfd_ioctl_map_memory_to_gpu()1282 for (i = args->n_success; i < args->n_devices; i++) { in kfd_ioctl_map_memory_to_gpu()1324 for (i = 0; i < args->n_devices; i++) { in kfd_ioctl_map_memory_to_gpu()1355 if (!args->n_devices) { in kfd_ioctl_unmap_memory_from_gpu()1359 if (args->n_success > args->n_devices) { in kfd_ioctl_unmap_memory_from_gpu()1371 args->n_devices * sizeof(*devices_arr)); in kfd_ioctl_unmap_memory_from_gpu()1391 for (i = args->n_success; i < args->n_devices; i++) { in kfd_ioctl_unmap_memory_from_gpu()1401 i, args->n_devices); in kfd_ioctl_unmap_memory_from_gpu()[all …]
419 __u32 n_devices; /* to KFD */ member430 __u32 n_devices; /* to KFD */ member
Completed in 24 milliseconds