Home
last modified time | relevance | path

Searched refs:token_mask (Results 1 – 7 of 7) sorted by relevance

/linux-6.6.21/net/mptcp/
Dtoken.c46 static unsigned int token_mask __read_mostly;
50 return &token_hash[token & token_mask]; in token_bucket()
226 if (get_nulls_value(pos) != (token & token_mask)) in mptcp_token_exists()
273 if (get_nulls_value(pos) != (token & token_mask)) in mptcp_token_get_sock()
304 for (slot = *s_slot; slot <= token_mask; *s_num = 0, slot++) { in mptcp_token_iter_next()
406 &token_mask, in mptcp_token_init()
409 for (i = 0; i < token_mask + 1; ++i) { in mptcp_token_init()
/linux-6.6.21/security/keys/
Dkeyctl_pkey.c40 unsigned long token_mask = 0; in keyctl_pkey_params_parse() local
51 if (__test_and_set_bit(token, &token_mask)) in keyctl_pkey_params_parse()
/linux-6.6.21/drivers/infiniband/hw/mthca/
Dmthca_cmd.c393 &dev->cmd.context[token & dev->cmd.token_mask]; in mthca_cmd_event()
423 context->token += dev->cmd.token_mask + 1; in mthca_cmd_wait()
579 for (dev->cmd.token_mask = 1; in mthca_cmd_use_events()
580 dev->cmd.token_mask < dev->cmd.max_cmds; in mthca_cmd_use_events()
581 dev->cmd.token_mask <<= 1) in mthca_cmd_use_events()
583 --dev->cmd.token_mask; in mthca_cmd_use_events()
Dmthca_dev.h128 u16 token_mask; member
/linux-6.6.21/security/keys/trusted-keys/
Dtrusted_tpm1.c741 unsigned long token_mask = 0; in getoptions() local
759 if (test_and_set_bit(token, &token_mask)) in getoptions()
828 if (test_bit(Opt_policydigest, &token_mask)) in getoptions()
/linux-6.6.21/drivers/net/ethernet/mellanox/mlx4/
Dcmd.c351 context->token += cmd->token_mask + 1; in mlx4_comm_cmd_wait()
664 &priv->cmd.context[token & priv->cmd.token_mask]; in mlx4_cmd_event()
691 context->token += cmd->token_mask + 1; in mlx4_cmd_wait()
2651 for (priv->cmd.token_mask = 1; in mlx4_cmd_use_events()
2652 priv->cmd.token_mask < priv->cmd.max_cmds; in mlx4_cmd_use_events()
2653 priv->cmd.token_mask <<= 1) in mlx4_cmd_use_events()
2655 --priv->cmd.token_mask; in mlx4_cmd_use_events()
Dmlx4.h641 u16 token_mask; member