Searched refs:token_mask (Results 1 – 9 of 9) sorted by relevance
47 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()
97 *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()
583 u16 token_mask; member
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
752 unsigned long token_mask = 0; in getoptions() local767 if (test_and_set_bit(token, &token_mask)) in getoptions()836 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()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()
638 u16 token_mask; member