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); \
243 ns = apply_mask_val(drbd_read_state(mdev), mask, val); in drbd_change_state()277 os = drbd_read_state(mdev); in _req_st_cond()323 os = drbd_read_state(mdev); in drbd_req_state()359 ns = apply_mask_val(drbd_read_state(mdev), mask, val); in drbd_req_state()947 os = drbd_read_state(mdev); in __drbd_set_state()1639 os = drbd_read_state(mdev); in conn_is_valid_transition()1700 os = drbd_read_state(mdev); in conn_set_state()
857 os = drbd_read_state(mdev); in drbd_resync_finished()1673 ns = drbd_read_state(mdev); in drbd_start_resync()1685 ns = drbd_read_state(mdev); in drbd_start_resync()
3848 os = ns = drbd_read_state(mdev); in receive_state()3953 if (os.i != drbd_read_state(mdev).i) in receive_state()3975 ns = drbd_read_state(mdev); in receive_state()
1693 static inline union drbd_state drbd_read_state(struct drbd_conf *mdev) in drbd_read_state() function
1639 os = drbd_read_state(mdev); in drbd_adm_attach()