Searched refs:receive_credits (Results 1 – 4 of 4) sorted by relevance
243 static inline bool is_receive_credit_post_required(int receive_credits, in is_receive_credit_post_required() argument246 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() local605 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() local810 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()
87 atomic_t receive_credits; member
347 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()
403 atomic_read(&server->smbd_conn->receive_credits), in cifs_debug_data_proc_show()