Searched refs:peer_state (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/block/drbd/
H A Ddrbd_receiver.c4035 union drbd_state os, ns, peer_state; receive_state() local
4045 peer_state.i = be32_to_cpu(p->state); receive_state()
4047 real_peer_disk = peer_state.disk; receive_state()
4048 if (peer_state.disk == D_NEGOTIATING) { receive_state()
4079 if (peer_state.conn > C_CONNECTED && receive_state()
4080 peer_state.conn < C_SYNC_SOURCE) receive_state()
4083 /* if peer_state changes to connected at the same time, receive_state()
4087 peer_state.conn == C_CONNECTED) { receive_state()
4096 peer_state.conn == C_CONNECTED && real_peer_disk == D_UP_TO_DATE) { receive_state()
4108 os.conn == C_CONNECTED && peer_state.conn > C_SYNC_SOURCE) receive_state()
4114 if (peer_state.conn == C_AHEAD) receive_state()
4117 if (device->p_uuid && peer_state.disk >= D_NEGOTIATING && receive_state()
4126 (peer_state.disk == D_NEGOTIATING || receive_state()
4134 (peer_state.conn >= C_STARTING_SYNC_S && receive_state()
4135 peer_state.conn <= C_WF_BITMAP_T)); receive_state()
4138 ns.conn = drbd_sync_handshake(peer_device, peer_state.role, real_peer_disk); receive_state()
4145 } else if (peer_state.disk == D_NEGOTIATING) { receive_state()
4147 peer_state.disk = D_DISKLESS; receive_state()
4163 ns.peer = peer_state.role; receive_state()
4165 ns.peer_isp = (peer_state.aftr_isp | peer_state.user_isp); receive_state()
4191 if (ns.conn > C_CONNECTED && peer_state.conn <= C_CONNECTED && receive_state()
4192 peer_state.disk != D_NEGOTIATING ) { receive_state()
/linux-4.1.27/net/sctp/
H A Dassociola.c577 const int peer_state) sctp_assoc_add_peer()
590 asoc, &addr->sa, peer_state); sctp_assoc_add_peer()
697 peer->state = peer_state; sctp_assoc_add_peer()
574 sctp_assoc_add_peer(struct sctp_association *asoc, const union sctp_addr *addr, const gfp_t gfp, const int peer_state) sctp_assoc_add_peer() argument
/linux-4.1.27/include/net/sctp/
H A Dstructs.h1882 const int peer_state);

Completed in 188 milliseconds