Home
last modified time | relevance | path

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

/linux-6.6.21/fs/smb/server/
Dsmb2ops.c22 .max_credits = SMB2_MAX_CREDITS,
48 .max_credits = SMB2_MAX_CREDITS,
75 .max_credits = SMB2_MAX_CREDITS,
102 .max_credits = SMB2_MAX_CREDITS,
319 smb21_server_values.max_credits = sz; in init_smb2_max_credits()
320 smb30_server_values.max_credits = sz; in init_smb2_max_credits()
321 smb302_server_values.max_credits = sz; in init_smb2_max_credits()
322 smb311_server_values.max_credits = sz; in init_smb2_max_credits()
Dsmb2misc.c332 } else if (credit_charge > conn->vals->max_credits) { in smb2_validate_credit_charge()
Dsmb_common.h354 __u32 max_credits; member
Dsmb2pdu.c324 if (conn->total_credits > conn->vals->max_credits) { in smb2_set_rsp_credits()
352 aux_max = conn->vals->max_credits - conn->total_credits; in smb2_set_rsp_credits()
/linux-6.6.21/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-6.6.21/fs/smb/client/
Dfs_context.h263 unsigned int max_credits; /* smb3 max_credits 10 < credits < 60000 */ member
Dsmb2pdu.c114 if (server->credits >= server->max_credits) in smb2_hdr_assemble()
118 min_t(int, server->max_credits - in smb2_hdr_assemble()
1467 if (server->credits >= server->max_credits) in SMB2_sess_alloc_buffer()
1471 min_t(int, server->max_credits - in SMB2_sess_alloc_buffer()
2066 if (server->credits >= server->max_credits) in SMB2_tcon()
2070 min_t(int, server->max_credits - in SMB2_tcon()
4469 if (server->credits >= server->max_credits) in smb2_async_readv()
4473 min_t(int, server->max_credits - in smb2_async_readv()
4790 if (server->credits >= server->max_credits) in smb2_async_writev()
4794 min_t(int, server->max_credits - in smb2_async_writev()
Dconnect.c1808 if ((ctx->max_credits < 20) || (ctx->max_credits > 60000)) in cifs_get_tcp_session()
1809 tcp_ses->max_credits = SMB2_MAX_CREDITS_AVAILABLE; in cifs_get_tcp_session()
1811 tcp_ses->max_credits = ctx->max_credits; in cifs_get_tcp_session()
Dcifsfs.c687 if (tcon->ses->server->max_credits != SMB2_MAX_CREDITS_AVAILABLE) in cifs_show_options()
688 seq_printf(s, ",max_credits=%u", tcon->ses->server->max_credits); in cifs_show_options()
Dsess.c597 ctx->max_credits = ses->server->max_credits; in cifs_ses_add_channel()
Dfs_context.c1167 ctx->max_credits = result.uint_32; in smb3_fs_context_parse_param()
Dcifsglob.h678 unsigned int max_credits; /* can override large 32000 default at mnt */ member
Dsmb2ops.c37 if (server->credits > server->max_credits) in change_conf()
38 server->credits = server->max_credits; in change_conf()
/linux-6.6.21/net/bluetooth/
Dl2cap_core.c5957 u16 cid, credits, max_credits; in l2cap_le_credits() local
5972 max_credits = LE_FLOWCTL_MAX_CREDITS - chan->tx_credits; in l2cap_le_credits()
5973 if (credits > max_credits) { in l2cap_le_credits()