Searched refs:drbd_state_change (Results 1 – 3 of 3) sorted by relevance
33 struct drbd_state_change { struct43 extern struct drbd_state_change *remember_old_state(struct drbd_resource *, gfp_t); argument44 extern void copy_old_to_new_state_change(struct drbd_state_change *);45 extern void forget_state_change(struct drbd_state_change *);
29 struct drbd_state_change *state_change;58 static struct drbd_state_change *alloc_state_change(unsigned int n_devices, unsigned int n_connecti… in alloc_state_change()60 struct drbd_state_change *state_change; in alloc_state_change()63 size = sizeof(struct drbd_state_change) + in alloc_state_change()83 struct drbd_state_change *remember_old_state(struct drbd_resource *resource, gfp_t gfp) in remember_old_state()85 struct drbd_state_change *state_change; in remember_old_state()155 static void remember_new_state(struct drbd_state_change *state_change) in remember_new_state()211 void copy_old_to_new_state_change(struct drbd_state_change *state_change) in copy_old_to_new_state_change()254 void forget_state_change(struct drbd_state_change *state_change) in forget_state_change()282 struct drbd_state_change *);[all …]
4840 struct drbd_state_change *state_change = in free_state_changes()4841 list_first_entry(list, struct drbd_state_change, list); in free_state_changes()4847 static unsigned int notifications_for_state_change(struct drbd_state_change *state_change) in notifications_for_state_change()4857 struct drbd_state_change *state_change = (struct drbd_state_change *)cb->args[0]; in get_initial_state()4902 struct drbd_state_change *next_state_change = in get_initial_state()4904 struct drbd_state_change, list); in get_initial_state()4925 struct drbd_state_change *state_change = in drbd_adm_get_initial_state()4926 (struct drbd_state_change *)cb->args[0]; in drbd_adm_get_initial_state()4938 struct drbd_state_change *state_change; in drbd_adm_get_initial_state()4954 struct drbd_state_change *state_change = in drbd_adm_get_initial_state()[all …]