Home
last modified time | relevance | path

Searched refs:max_credits (Results 1 – 14 of 14) sorted by relevance

/Linux-v5.15/fs/ksmbd/
Dsmb2ops.c201 conn->max_credits = SMB2_MAX_CREDITS; in init_smb2_1_server()
219 conn->max_credits = SMB2_MAX_CREDITS; in init_smb3_0_server()
244 conn->max_credits = SMB2_MAX_CREDITS; in init_smb3_02_server()
269 conn->max_credits = SMB2_MAX_CREDITS; in init_smb3_11_server()
Dconnection.h65 unsigned short max_credits; member
Dsmb2misc.c330 } else if (credit_charge > conn->max_credits) { in smb2_validate_credit_charge()
Dsmb2pdu.c313 if (conn->total_credits > conn->max_credits) { in smb2_set_rsp_credits()
334 aux_max = conn->max_credits - credit_charge; in smb2_set_rsp_credits()
338 if (conn->max_credits - conn->total_credits < credits_granted) in smb2_set_rsp_credits()
339 credits_granted = conn->max_credits - in smb2_set_rsp_credits()
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_dcb_82598.c84 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82598() local
100 max_credits = max[i]; in ixgbe_dcb_config_tx_desc_arbiter_82598()
101 reg = max_credits << IXGBE_TDTQ2TCCR_MCL_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82598()
Dixgbe_dcb_82599.c85 u32 reg, max_credits; in ixgbe_dcb_config_tx_desc_arbiter_82599() local
96 max_credits = max[i]; in ixgbe_dcb_config_tx_desc_arbiter_82599()
97 reg = max_credits << IXGBE_RTTDT2C_MCL_SHIFT; in ixgbe_dcb_config_tx_desc_arbiter_82599()
/Linux-v5.15/fs/cifs/
Dfs_context.h254 unsigned int max_credits; /* smb3 max_credits 10 < credits < 60000 */ member
Dsess.c226 ctx.max_credits = ses->server->max_credits; in cifs_ses_add_channel()
Dconnect.c1468 if ((ctx->max_credits < 20) || (ctx->max_credits > 60000)) in cifs_get_tcp_session()
1469 tcp_ses->max_credits = SMB2_MAX_CREDITS_AVAILABLE; in cifs_get_tcp_session()
1471 tcp_ses->max_credits = ctx->max_credits; in cifs_get_tcp_session()
Dcifsfs.c650 if (tcon->ses->server->max_credits != SMB2_MAX_CREDITS_AVAILABLE) in cifs_show_options()
651 seq_printf(s, ",max_credits=%u", tcon->ses->server->max_credits); in cifs_show_options()
Dfs_context.c1029 ctx->max_credits = result.uint_32; in smb3_fs_context_parse_param()
Dcifsglob.h596 unsigned int max_credits; /* can override large 32000 default at mnt */ member
Dsmb2pdu.c97 if (server->credits >= server->max_credits) in smb2_hdr_assemble()
101 min_t(int, server->max_credits - in smb2_hdr_assemble()
/Linux-v5.15/net/bluetooth/
Dl2cap_core.c5879 u16 cid, credits, max_credits; in l2cap_le_credits() local
5894 max_credits = LE_FLOWCTL_MAX_CREDITS - chan->tx_credits; in l2cap_le_credits()
5895 if (credits > max_credits) { in l2cap_le_credits()