Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/server/
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.6.21/fs/smb/client/
Dsmbdirect.h87 atomic_t receive_credits; member
Dsmbdirect.c347 atomic_set(&info->receive_credits, 0); in process_negotiation_response()
402 atomic_read(&info->receive_credits)) { in smbd_post_send_credits()
437 if (atomic_read(&info->receive_credits) < in smbd_post_send_credits()
511 atomic_dec(&info->receive_credits); in recv_done()
914 atomic_add(new_credits, &info->receive_credits); in smbd_post_send_iter()
975 atomic_sub(new_credits, &info->receive_credits); in smbd_post_send_iter()
Dcifs_debug.c403 atomic_read(&server->smbd_conn->receive_credits), in cifs_debug_data_proc_show()