Searched refs:drbd_state (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/drivers/block/drbd/ |
D | drbd_state.h | 38 ({ union drbd_state mask; mask.i = 0; mask.T = T##_MASK; mask; }), \ 39 ({ union drbd_state val; val.i = 0; val.T = (S); val; }) 41 ({ union drbd_state mask; mask.i = 0; mask.T1 = T1##_MASK; \ 43 ({ union drbd_state val; val.i = 0; val.T1 = (S1); \ 46 ({ union drbd_state mask; mask.i = 0; mask.T1 = T1##_MASK; \ 48 ({ union drbd_state val; val.i = 0; val.T1 = (S1); \ 52 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); \ 117 union drbd_state mask, [all …]
|
D | drbd_state.c | 25 union drbd_state os; 26 union drbd_state ns; 280 static void after_state_ch(struct drbd_device *device, union drbd_state os, 281 union drbd_state ns, enum chg_state_flags flags, 283 static enum drbd_state_rv is_valid_state(struct drbd_device *, union drbd_state); 284 static enum drbd_state_rv is_valid_soft_transition(union drbd_state, union drbd_state, struct drbd_… 285 static enum drbd_state_rv is_valid_transition(union drbd_state os, union drbd_state ns); 286 static union drbd_state sanitize_state(struct drbd_device *device, union drbd_state os, 287 union drbd_state ns, enum sanitize_state_warnings *warn); 289 static inline bool is_susp(union drbd_state s) in is_susp() [all …]
|
D | Makefile | 5 drbd-y += drbd_interval.o drbd_state.o
|
D | drbd_int.h | 856 union drbd_state new_state_tmp; 1093 extern int drbd_send_state(struct drbd_peer_device *, union drbd_state s); 1669 union drbd_state os; 1670 union drbd_state ns; 1725 static inline union drbd_state drbd_read_state(struct drbd_device *device) in drbd_read_state() 1728 union drbd_state rv; in drbd_read_state() 1983 extern int drbd_send_state_req(struct drbd_peer_device *, union drbd_state, union drbd_state); 1984 extern int conn_send_state_req(struct drbd_connection *, union drbd_state, union drbd_state);
|
D | drbd_nl.c | 474 union drbd_state mask = { }; in conn_try_outdate_peer() 475 union drbd_state val = { }; in conn_try_outdate_peer() 497 (union drbd_state) { { .susp_fen = 1 } }, in conn_try_outdate_peer() 498 (union drbd_state) { { .susp_fen = 0 } }, in conn_try_outdate_peer() 625 union drbd_state mask, val; in drbd_set_role() 1805 union drbd_state ns, os; in drbd_adm_attach() 3061 union drbd_state mask, union drbd_state val) in drbd_adm_simple_request_state()
|
D | drbd_main.c | 1021 int drbd_send_state(struct drbd_peer_device *peer_device, union drbd_state state) in drbd_send_state() 1034 …d_send_state_req(struct drbd_peer_device *peer_device, union drbd_state mask, union drbd_state val) in drbd_send_state_req() 1048 int conn_send_state_req(struct drbd_connection *connection, union drbd_state mask, union drbd_state… in conn_send_state_req()
|
D | drbd_receiver.c | 4356 static union drbd_state convert_state(union drbd_state ps) in convert_state() 4358 union drbd_state ms; in convert_state() 4388 union drbd_state mask, val; in receive_req_state() 4419 union drbd_state mask, val; in receive_req_conn_state() 4445 union drbd_state os, ns, peer_state; in receive_state()
|
D | drbd_worker.c | 858 union drbd_state os, ns; in drbd_resync_finished() 1736 union drbd_state ns; in drbd_start_resync()
|
/Linux-v5.4/include/linux/ |
D | drbd.h | 245 union drbd_state { union
|