Home
last modified time | relevance | path

Searched refs:rx_credits (Results 1 – 10 of 10) sorted by relevance

/kernel/linux/linux-5.10/net/phonet/
Dpep.c239 pn->rx_credits = 1; in pipe_grant_credits()
242 if ((pn->rx_credits + CREDITS_THR) > CREDITS_MAX) in pipe_grant_credits()
245 CREDITS_MAX - pn->rx_credits, in pipe_grant_credits()
247 pn->rx_credits = CREDITS_MAX; in pipe_grant_credits()
399 if (pn->rx_credits == 0) { in pipe_do_rcv()
404 pn->rx_credits--; in pipe_do_rcv()
438 pn->rx_credits = 0; in pipe_do_rcv()
569 if (pn->rx_credits == 0) { in pipe_handler_do_rcv()
574 pn->rx_credits--; in pipe_handler_do_rcv()
864 newpn->rx_credits = 0; in pep_sock_accept()
[all …]
/kernel/linux/linux-5.10/include/net/phonet/
Dpep.h29 u8 rx_credits; member
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/
Dcore.c296 d->rx_credits = RFCOMM_DEFAULT_CREDITS; in rfcomm_dlc_clear_state()
1723 d->rx_credits--; in rfcomm_recv_data()
1830 d, d->state, d->cfc, d->rx_credits, d->tx_credits); in rfcomm_process_tx()
1840 d->rx_credits <= (d->cfc >> 2)) { in rfcomm_process_tx()
1841 rfcomm_send_credits(d->session, d->addr, d->cfc - d->rx_credits); in rfcomm_process_tx()
1842 d->rx_credits = d->cfc; in rfcomm_process_tx()
2195 d->rx_credits, d->tx_credits); in rfcomm_dlc_debugfs_show()
/kernel/linux/linux-5.10/include/net/bluetooth/
Drfcomm.h192 uint rx_credits; member
Dl2cap.h583 __u16 rx_credits; member
/kernel/linux/linux-5.10/drivers/target/iscsi/cxgbit/
Dcxgbit.h224 u32 rx_credits; member
Dcxgbit_cm.c1069 RX_CREDITS_V(csk->rx_credits); in cxgbit_rx_data_ack()
1074 csk->rx_credits = 0; in cxgbit_rx_data_ack()
1650 csk->rx_credits = (csk->rcv_win - (RCV_BUFSIZ_M << 10)); in cxgbit_pass_establish()
Dcxgbit_target.c1552 csk->rx_credits += lro_cb->pdu_totallen; in cxgbit_rx_lro_skb()
1554 if (csk->rx_credits >= (csk->rcv_win / 4)) in cxgbit_rx_lro_skb()
/kernel/linux/linux-5.10/net/bluetooth/
Dl2cap_core.c567 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_le_flowctl_init()
579 chan->rx_credits = (chan->imtu / chan->mps) + 1; in l2cap_ecred_init()
771 rsp.credits = cpu_to_le16(chan->rx_credits); in l2cap_chan_le_connect_reject()
1407 req.credits = cpu_to_le16(chan->rx_credits); in l2cap_le_connect()
1474 data.pdu.req.credits = cpu_to_le16(chan->rx_credits); in l2cap_ecred_connect()
3954 rsp.credits = cpu_to_le16(chan->rx_credits); in __l2cap_le_connect_rsp_defer()
3978 pdu.rsp.credits = cpu_to_le16(chan->rx_credits); in __l2cap_ecred_conn_rsp_defer()
5879 credits = chan->rx_credits; in l2cap_le_connect_req()
6086 pdu.rsp.credits = cpu_to_le16(chan->rx_credits); in l2cap_ecred_conn_req()
7484 if (chan->rx_credits >= return_credits) in l2cap_chan_le_send_credits()
[all …]
Dl2cap_sock.c1796 chan->rx_credits = pchan->rx_credits; in l2cap_sock_init()