Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/mptcp/
Dtoken.c47 static unsigned int token_mask __read_mostly;
51 return &token_hash[token & token_mask]; in token_bucket()
223 if (get_nulls_value(pos) != (token & token_mask)) in mptcp_token_exists()
270 if (get_nulls_value(pos) != (token & token_mask)) in mptcp_token_get_sock()
301 for (slot = *s_slot; slot <= token_mask; *s_num = 0, slot++) { in mptcp_token_iter_next()
400 &token_mask, in mptcp_token_init()
403 for (i = 0; i < token_mask + 1; ++i) { in mptcp_token_init()
/kernel/linux/linux-5.10/drivers/infiniband/hw/hns/
Dhns_roce_cmd.c97 *context = &hr_dev->cmd.context[token & hr_dev->cmd.token_mask]; in hns_roce_cmd_event()
121 context->token += cmd->token_mask + 1; in __hns_roce_cmd_mbox_wait()
251 hr_cmd->token_mask = CMD_TOKEN_MASK; in hns_roce_cmd_use_events()
Dhns_roce_device.h583 u16 token_mask; member
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/security/keys/trusted-keys/
Dtrusted_tpm1.c752 unsigned long token_mask = 0; in getoptions() local
767 if (test_and_set_bit(token, &token_mask)) in getoptions()
836 if (test_bit(Opt_policydigest, &token_mask)) in getoptions()
/kernel/linux/linux-5.10/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()
2653 for (priv->cmd.token_mask = 1; in mlx4_cmd_use_events()
2654 priv->cmd.token_mask < priv->cmd.max_cmds; in mlx4_cmd_use_events()
2655 priv->cmd.token_mask <<= 1) in mlx4_cmd_use_events()
2657 --priv->cmd.token_mask; in mlx4_cmd_use_events()
Dmlx4.h638 u16 token_mask; member