Lines Matching refs:token_count
158 u_int32_t token_count; member
1462 new_registration->token_count = registration->token_count; in netagent_handle_update_inner()
2147 if (registration->token_count >= NETAGENT_MAX_TOKEN_COUNT) { in netagent_handle_add_token_setopt()
2164 registration->token_count++; in netagent_handle_add_token_setopt()
2216 registration->token_count = 0; in netagent_handle_flush_tokens_setopt()
2227 uint32_t token_count = 0; in netagent_handle_token_count_getopt() local
2243 const size_t expected_length = header_offset + sizeof(token_count); in netagent_handle_token_count_getopt()
2267 token_count = registration->token_count; in netagent_handle_token_count_getopt()
2271 memcpy(buffer + header_offset, &token_count, sizeof(token_count)); in netagent_handle_token_count_getopt()
2272 *buffer_length = (header_offset + sizeof(token_count)); in netagent_handle_token_count_getopt()
3133 if (registration->token_count > 0) { in netagent_acquire_token()
3134 registration->token_count--; in netagent_acquire_token()
3136 if (registration->token_count < registration->token_low_water) { in netagent_acquire_token()