Lines Matching refs:tx_credits
274 atomic_set(&pn->tx_credits, 0); in pipe_rcv_status()
277 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status()
283 atomic_set(&pn->tx_credits, wake = 1); in pipe_rcv_status()
291 atomic_add(wake = hdr->data[3], &pn->tx_credits); in pipe_rcv_status()
373 atomic_set(&pn->tx_credits, 0); in pipe_do_rcv()
427 atomic_set(&pn->tx_credits, 1); in pipe_do_rcv()
541 atomic_set(&pn->tx_credits, 1); in pipe_start_flow_control()
862 atomic_set(&newpn->tx_credits, 0); in pep_sock_accept()
970 atomic_set(&pn->tx_credits, 0); in pep_init()
1092 !atomic_add_unless(&pn->tx_credits, -1, 0)) { in pipe_skb_send()
1110 atomic_inc(&pn->tx_credits); in pipe_skb_send()
1162 done = atomic_read(&pn->tx_credits); in pep_sendmsg()
1176 done = sk_wait_event(sk, &timeo, atomic_read(&pn->tx_credits), &wait); in pep_sendmsg()
1198 return atomic_read(&pn->tx_credits); in pep_writeable()