Lines Matching refs:token_count
158 u_int32_t token_count; member
1464 new_registration->token_count = registration->token_count; in netagent_handle_update_inner()
2149 if (registration->token_count >= NETAGENT_MAX_TOKEN_COUNT) { in netagent_handle_add_token_setopt()
2166 registration->token_count++; in netagent_handle_add_token_setopt()
2218 registration->token_count = 0; in netagent_handle_flush_tokens_setopt()
2229 uint32_t token_count = 0; in netagent_handle_token_count_getopt() local
2245 const size_t expected_length = header_offset + sizeof(token_count); in netagent_handle_token_count_getopt()
2269 token_count = registration->token_count; in netagent_handle_token_count_getopt()
2273 memcpy(buffer + header_offset, &token_count, sizeof(token_count)); in netagent_handle_token_count_getopt()
2274 *buffer_length = (header_offset + sizeof(token_count)); in netagent_handle_token_count_getopt()
3135 if (registration->token_count > 0) { in netagent_acquire_token()
3136 registration->token_count--; in netagent_acquire_token()
3138 if (registration->token_count < registration->token_low_water) { in netagent_acquire_token()