Searched refs:n_connections (Results 1 – 3 of 3) sorted by relevance
43 unsigned int *n_connections) in count_objects() argument50 *n_connections = 0; in count_objects()55 (*n_connections)++; in count_objects()58 …rbd_state_change *alloc_state_change(unsigned int n_devices, unsigned int n_connections, gfp_t gfp) in alloc_state_change() argument65 n_connections * sizeof(struct drbd_connection_state_change) + in alloc_state_change()66 n_devices * n_connections * sizeof(struct drbd_peer_device_state_change); in alloc_state_change()71 state_change->n_connections = n_connections; in alloc_state_change()74 state_change->peer_devices = (void *)&state_change->connections[n_connections]; in alloc_state_change()78 for (n = 0; n < n_connections; n++) in alloc_state_change()89 unsigned int n_connections; in remember_old_state() local[all …]
36 unsigned int n_connections; member
4906 state_change->n_connections + in notifications_for_state_change()4908 state_change->n_devices * state_change->n_connections; in notifications_for_state_change()4938 if (n < state_change->n_connections) { in get_initial_state()4943 n -= state_change->n_connections; in get_initial_state()4950 if (n < state_change->n_devices * state_change->n_connections) { in get_initial_state()