Searched refs:drbd_read_state (Results 1 – 6 of 6) sorted by relevance
51 D, ({ union drbd_state __ns; __ns = drbd_read_state(D); __ns.T = (S); __ns; })53 D, ({ union drbd_state __ns; __ns = drbd_read_state(D); __ns.T1 = (S1); \56 D, ({ union drbd_state __ns; __ns = drbd_read_state(D); __ns.T1 = (S1); \
267 ns = apply_mask_val(drbd_read_state(device), mask, val); in drbd_change_state()301 os = drbd_read_state(device); in _req_st_cond()347 os = drbd_read_state(device); in drbd_req_state()383 ns = apply_mask_val(drbd_read_state(device), mask, val); in drbd_req_state()987 os = drbd_read_state(device); in __drbd_set_state()1694 os = drbd_read_state(device); in conn_is_valid_transition()1755 os = drbd_read_state(device); in conn_set_state()
867 os = drbd_read_state(device); in drbd_resync_finished()1703 ns = drbd_read_state(device); in drbd_start_resync()1715 ns = drbd_read_state(device); in drbd_start_resync()
1710 static inline union drbd_state drbd_read_state(struct drbd_device *device) in drbd_read_state() function
4056 os = ns = drbd_read_state(device); in receive_state()4161 if (os.i != drbd_read_state(device).i) in receive_state()4183 ns = drbd_read_state(device); in receive_state()
1797 os = drbd_read_state(device); in drbd_adm_attach()