Home
last modified time | relevance | path

Searched refs:n_devices (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/block/drbd/
H A Ddrbd_state.c42 unsigned int *n_devices, in count_objects() argument
49 *n_devices = 0; in count_objects()
53 (*n_devices)++; in count_objects()
58 static struct drbd_state_change *alloc_state_change(unsigned int n_devices, unsigned int n_connecti… in alloc_state_change() argument
64 n_devices * sizeof(struct drbd_device_state_change) + in alloc_state_change()
66 n_devices * n_connections * sizeof(struct drbd_peer_device_state_change); in alloc_state_change()
70 state_change->n_devices = n_devices; in alloc_state_change()
73 state_change->connections = (void *)&state_change->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() local
[all …]
H A Ddrbd_state_change.h35 unsigned int n_devices; member
/linux/include/uapi/linux/
H A Dkfd_ioctl.h470 __u32 n_devices; /* to KFD */ member
481 __u32 n_devices; /* to KFD */ member