Home
last modified time | relevance | path

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

/openbmc/linux/drivers/block/drbd/
H A Ddrbd_state.c43 unsigned int *n_connections) in count_objects() argument
50 *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() local
98 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 …]
H A Ddrbd_state_change.h36 unsigned int n_connections; member
H A Ddrbd_nl.c4850 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()