Home
last modified time | relevance | path

Searched refs:drbd_read_state (Results 1 – 6 of 6) sorted by relevance

/linux/drivers/block/drbd/
H A Ddrbd_state.h52 D, ({ union drbd_state __ns; __ns = drbd_read_state(D); __ns.T = (S); __ns; })
54 D, ({ union drbd_state __ns; __ns = drbd_read_state(D); __ns.T1 = (S1); \
57 D, ({ union drbd_state __ns; __ns = drbd_read_state(D); __ns.T1 = (S1); \
H A Ddrbd_state.c497 ns = apply_mask_val(drbd_read_state(device), mask, val); in drbd_change_state()
531 os = drbd_read_state(device); in _req_st_cond()
580 os = drbd_read_state(device); in drbd_req_state()
616 ns = apply_mask_val(drbd_read_state(device), mask, val); in drbd_req_state()
1274 os = drbd_read_state(device); in _drbd_set_state()
2171 os = drbd_read_state(device); in conn_is_valid_transition()
2232 os = drbd_read_state(device); in conn_set_state()
H A Ddrbd_worker.c902 os = drbd_read_state(device); in drbd_resync_finished()
1810 ns = drbd_read_state(device); in drbd_start_resync()
1822 ns = drbd_read_state(device); in drbd_start_resync()
H A Ddrbd_int.h1623 static inline union drbd_state drbd_read_state(struct drbd_device *device) in drbd_read_state() function
H A Ddrbd_receiver.c4423 os = ns = drbd_read_state(device); in receive_state()
4547 if (os.i != drbd_read_state(device).i) in receive_state()
4569 ns = drbd_read_state(device); in receive_state()
H A Ddrbd_nl.c2045 os = drbd_read_state(device); in drbd_adm_attach()