Searched defs:tconn (Results 1 – 7 of 7) sorted by relevance
/drivers/block/drbd/ |
D | drbd_receiver.c | 491 static int drbd_recv(struct drbd_tconn *tconn, void *buf, size_t size) in drbd_recv() 524 static int drbd_recv_all(struct drbd_tconn *tconn, void *buf, size_t size) in drbd_recv_all() 537 static int drbd_recv_all_warn(struct drbd_tconn *tconn, void *buf, size_t size) in drbd_recv_all_warn() 566 static struct socket *drbd_try_connect(struct drbd_tconn *tconn) in drbd_try_connect() 655 struct drbd_tconn *tconn; member 673 static int prepare_listen_socket(struct drbd_tconn *tconn, struct accept_wait_data *ad) in prepare_listen_socket() 744 static struct socket *drbd_wait_for_connect(struct drbd_tconn *tconn, struct accept_wait_data *ad) in drbd_wait_for_connect() 783 static int send_first_packet(struct drbd_tconn *tconn, struct drbd_socket *sock, in send_first_packet() 791 static int receive_first_packet(struct drbd_tconn *tconn, struct socket *sock) in receive_first_packet() 866 static int conn_connect(struct drbd_tconn *tconn) in conn_connect() [all …]
|
D | drbd_state.c | 66 bool conn_all_vols_unconf(struct drbd_tconn *tconn) in conn_all_vols_unconf() 105 enum drbd_role conn_highest_role(struct drbd_tconn *tconn) in conn_highest_role() 119 enum drbd_role conn_highest_peer(struct drbd_tconn *tconn) in conn_highest_peer() 133 enum drbd_disk_state conn_highest_disk(struct drbd_tconn *tconn) in conn_highest_disk() 147 enum drbd_disk_state conn_lowest_disk(struct drbd_tconn *tconn) in conn_lowest_disk() 161 enum drbd_disk_state conn_highest_pdsk(struct drbd_tconn *tconn) in conn_highest_pdsk() 175 enum drbd_conns conn_lowest_conn(struct drbd_tconn *tconn) in conn_lowest_conn() 189 static bool no_peer_wf_report_params(struct drbd_tconn *tconn) in no_peer_wf_report_params() 485 static void conn_pr_state_change(struct drbd_tconn *tconn, union drbd_state os, union drbd_state ns, in conn_pr_state_change() 597 is_valid_soft_transition(union drbd_state os, union drbd_state ns, struct drbd_tconn *tconn) in is_valid_soft_transition() [all …]
|
D | drbd_main.c | 194 void tl_release(struct drbd_tconn *tconn, unsigned int barrier_nr, in tl_release() 278 void _tl_restart(struct drbd_tconn *tconn, enum drbd_req_event what) in _tl_restart() 286 void tl_restart(struct drbd_tconn *tconn, enum drbd_req_event what) in tl_restart() 301 void tl_clear(struct drbd_tconn *tconn) in tl_clear() 312 struct drbd_tconn *tconn = mdev->tconn; in tl_abort_disk_io() local 329 struct drbd_tconn *tconn = thi->tconn; in drbd_thread_setup() local 373 static void drbd_thread_init(struct drbd_tconn *tconn, struct drbd_thread *thi, in drbd_thread_init() 386 struct drbd_tconn *tconn = thi->tconn; in drbd_thread_start() local 481 static struct drbd_thread *drbd_task_to_thread(struct drbd_tconn *tconn, struct task_struct *task) in drbd_task_to_thread() 491 char *drbd_task_to_thread_name(struct drbd_tconn *tconn, struct task_struct *task) in drbd_task_to_thread_name() [all …]
|
D | drbd_nl.c | 106 struct drbd_tconn *tconn; member 288 static void setup_khelper_env(struct drbd_tconn *tconn, char **envp) in setup_khelper_env() 325 struct drbd_tconn *tconn = mdev->tconn; in drbd_khelper() local 365 int conn_khelper(struct drbd_tconn *tconn, char *cmd) in conn_khelper() 399 static enum drbd_fencing_p highest_fencing_policy(struct drbd_tconn *tconn) in highest_fencing_policy() 418 bool conn_try_outdate_peer(struct drbd_tconn *tconn) in conn_try_outdate_peer() 504 struct drbd_tconn *tconn = (struct drbd_tconn *)data; in _try_outdate_peer_async() local 512 void conn_try_outdate_peer_async(struct drbd_tconn *tconn) in conn_try_outdate_peer_async() 1094 static void conn_reconfig_start(struct drbd_tconn *tconn) in conn_reconfig_start() 1101 static void conn_reconfig_done(struct drbd_tconn *tconn) in conn_reconfig_done() [all …]
|
D | drbd_req.c | 166 static void wake_all_senders(struct drbd_tconn *tconn) { in wake_all_senders() 171 void start_new_tl_epoch(struct drbd_tconn *tconn) in start_new_tl_epoch() 863 struct drbd_tconn *tconn = mdev->tconn; in maybe_pull_ahead() local 1320 struct drbd_request *find_oldest_request(struct drbd_tconn *tconn) in find_oldest_request() 1335 struct drbd_tconn *tconn = mdev->tconn; in request_timer_fn() local
|
D | drbd_worker.c | 802 struct drbd_tconn *tconn = mdev->tconn; in ping_peer() local 1276 int drbd_send_barrier(struct drbd_tconn *tconn) in drbd_send_barrier() 1305 static void re_init_if_first_write(struct drbd_tconn *tconn, unsigned int epoch) in re_init_if_first_write() 1314 static void maybe_send_barrier(struct drbd_tconn *tconn, unsigned int epoch) in maybe_send_barrier() 1330 struct drbd_tconn *tconn = mdev->tconn; in w_send_out_of_sync() local 1360 struct drbd_tconn *tconn = mdev->tconn; in w_send_dblock() local 1388 struct drbd_tconn *tconn = mdev->tconn; in w_send_read_req() local 1886 struct drbd_tconn *tconn = thi->tconn; in drbd_worker() local
|
D | drbd_int.h | 520 struct drbd_tconn *tconn; member 540 struct drbd_tconn *tconn; member 582 struct drbd_tconn *tconn; member 906 struct drbd_tconn *tconn; member 1061 static inline struct drbd_conf *vnr_to_mdev(struct drbd_tconn *tconn, int vnr) in vnr_to_mdev() 1907 static inline void wake_asender(struct drbd_tconn *tconn) in wake_asender() 1913 static inline void request_ping(struct drbd_tconn *tconn) in request_ping() 2221 struct drbd_tconn *tconn = mdev->tconn; in drbd_suspended() local
|