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()65 n_connections * sizeof(struct drbd_connection_state_change) + in alloc_state_change()71 state_change->n_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() 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()181 for (n = 0; n < state_change->n_connections; n++) { in remember_new_state()[all …]
36 unsigned int n_connections; member
4850 state_change->n_connections + in notifications_for_state_change()4852 state_change->n_devices * state_change->n_connections; in notifications_for_state_change()4882 if (n < state_change->n_connections) { in get_initial_state()4887 n -= state_change->n_connections; in get_initial_state()4894 if (n < state_change->n_devices * state_change->n_connections) { in get_initial_state()