Home
last modified time | relevance | path

Searched refs:receive_credits (Results 1 – 4 of 4) sorted by relevance

/linux-6.1.9/fs/ksmbd/
Dtransport_rdma.c243 static inline bool is_receive_credit_post_required(int receive_credits, in is_receive_credit_post_required() argument
246 return receive_credits <= (smb_direct_receive_credit_max >> 3) && in is_receive_credit_post_required()
247 avail_recvmsg_count >= (receive_credits >> 2); in is_receive_credit_post_required()
577 int avail_recvmsg_count, receive_credits; in recv_done() local
605 receive_credits = --(t->recv_credits); in recv_done()
612 receive_credits = --(t->recv_credits); in recv_done()
629 if (is_receive_credit_post_required(receive_credits, avail_recvmsg_count)) in recv_done()
805 int receive_credits, credits = 0; in smb_direct_post_recv_credits() local
810 receive_credits = t->recv_credits; in smb_direct_post_recv_credits()
813 if (receive_credits < t->recv_credit_target) { in smb_direct_post_recv_credits()
/linux-6.1.9/fs/cifs/
Dsmbdirect.h87 atomic_t receive_credits; member
Dsmbdirect.c342 atomic_set(&info->receive_credits, 0); in process_negotiation_response()
397 atomic_read(&info->receive_credits)) { in smbd_post_send_credits()
432 if (atomic_read(&info->receive_credits) < in smbd_post_send_credits()
506 atomic_dec(&info->receive_credits); in recv_done()
885 atomic_add(new_credits, &info->receive_credits); in smbd_post_send_sgl()
964 atomic_sub(new_credits, &info->receive_credits); in smbd_post_send_sgl()
Dcifs_debug.c330 atomic_read(&server->smbd_conn->receive_credits), in cifs_debug_data_proc_show()