Searched refs:token_mask (Results 1 – 7 of 7) sorted by relevance
46 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()
40 unsigned long token_mask = 0; in keyctl_pkey_params_parse() local51 if (__test_and_set_bit(token, &token_mask)) in keyctl_pkey_params_parse()
393 &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()
128 u16 token_mask; member
741 unsigned long token_mask = 0; in getoptions() local759 if (test_and_set_bit(token, &token_mask)) in getoptions()828 if (test_bit(Opt_policydigest, &token_mask)) in getoptions()
351 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()
641 u16 token_mask; member