Searched refs:sb_state (Results 1 – 14 of 14) sorted by relevance
124 *(int *)data = (so->so_rcv.sb_state & SS_RCVATMARK) != 0; in soo_ioctl()152 if ((so->so_rcv.sb_state & SS_CANTRCVMORE) == 0 || in soo_stat()156 if ((so->so_snd.sb_state & SS_CANTSENDMORE) == 0) in soo_stat()
686 so->so_snd.sb_state |= SS_ISSENDING; in sosend()719 so->so_snd.sb_state &= ~SS_ISSENDING; in sosend()752 so->so_snd.sb_state &= ~SS_ISSENDING; in sosend()774 so->so_snd.sb_state &= ~SS_ISSENDING; in sosend()1153 so->so_rcv.sb_state &= ~SS_RCVATMARK; in soreceive()1698 sosp->so_snd.sb_state |= SS_ISSENDING; in somove()1840 rcvstate = so->so_rcv.sb_state; in somove()1841 so->so_rcv.sb_state &= ~SS_RCVATMARK; in somove()1846 so->so_rcv.sb_state |= SS_RCVATMARK; in somove()1872 if (sosp->so_snd.sb_state & in somove()[all …]
147 so->so_rcv.sb_state |= SS_CANTRCVMORE; in soisdisconnecting() 151 so->so_snd.sb_state |= SS_CANTSENDMORE; in soisdisconnecting() 165 so->so_rcv.sb_state |= SS_CANTRCVMORE; in soisdisconnected() 169 so->so_snd.sb_state |= SS_CANTSENDMORE; in soisdisconnected() 331 so->so_snd.sb_state |= SS_CANTSENDMORE; in socantsendmore() 343 so->so_rcv.sb_state |= SS_CANTRCVMORE; in socantrcvmore()
291 if (head->so_rcv.sb_state & SS_CANTRCVMORE) in doaccept()298 if (head->so_rcv.sb_state & SS_CANTRCVMORE) { in doaccept()
1489 kf->so_state = so->so_state | so->so_snd.sb_state | in fill_file() 1490 so->so_rcv.sb_state; in fill_file()
526 if (so->so_snd.sb_state & SS_CANTSENDMORE) { in uipc_send()
105 short sb_state; /* [m] socket state on sockbuf */ member301 ((so)->so_snd.sb_state & SS_ISSENDING)310 return (so->so_rcv.sb_state & SS_CANTRCVMORE) || so->so_qlen || in soreadable()322 (so->so_snd.sb_state & SS_CANTSENDMORE) || so->so_error); in sowriteable()
183 wso->so_snd.sb_state |= SS_CANTSENDMORE; in fifo_open()196 wso->so_snd.sb_state &= ~SS_CANTSENDMORE; in fifo_open()213 rso->so_rcv.sb_state &= ~SS_CANTRCVMORE; in fifo_open()538 if (so->so_rcv.sb_state & SS_CANTRCVMORE) { in filt_fiforead()572 if (so->so_snd.sb_state & SS_CANTSENDMORE) { in filt_fifowrite()
177 if (ISSET(READ_ONCE(inp->inp_socket->so_rcv.sb_state), in rip_input() 245 if (!ISSET(inp->inp_socket->so_rcv.sb_state, SS_CANTRCVMORE)) in rip_sbappend()
335 if (so->so_rcv.sb_state & SS_CANTRCVMORE) in tcp_flush_queue()1041 if (so->so_rcv.sb_state & SS_CANTRCVMORE) in tcp_input()1795 if (so->so_rcv.sb_state & SS_CANTRCVMORE) { in tcp_input()1902 so->so_rcv.sb_state |= SS_RCVATMARK; in tcp_input()1945 if (so->so_rcv.sb_state & SS_CANTRCVMORE) in tcp_input()
766 if (so->so_snd.sb_state & SS_CANTSENDMORE) in tcp_shutdown()911 (so->so_rcv.sb_state & SS_RCVATMARK) == 0) || in tcp_rcvoob()
420 if (inp->inp_socket->so_rcv.sb_state & SS_CANTRCVMORE) in udp_input()
193 if (ISSET(READ_ONCE(inp->inp_socket->so_rcv.sb_state), in rip6_input() 291 if (!ISSET(inp->inp_socket->so_rcv.sb_state, SS_CANTRCVMORE)) in rip6_input()
470 (so->so_rcv.sb_state & SS_CANTRCVMORE)) in rtm_senddesync()536 (so->so_rcv.sb_state & SS_CANTRCVMORE)) in route_input()