Home
last modified time | relevance | path

Searched refs:ntokens (Results 1 – 2 of 2) sorted by relevance

/drivers/cpufreq/
Dcpufreq_interactive.c650 int ntokens = 1; in get_tokenized_data() local
656 ntokens++; in get_tokenized_data()
658 if (!(ntokens & 0x1)) in get_tokenized_data()
661 tokenized_data = kmalloc(ntokens * sizeof(unsigned int), GFP_KERNEL); in get_tokenized_data()
669 while (i < ntokens) { in get_tokenized_data()
679 if (i != ntokens) in get_tokenized_data()
682 *num_tokens = ntokens; in get_tokenized_data()
714 int ntokens; in store_target_loads() local
718 new_target_loads = get_tokenized_data(buf, &ntokens); in store_target_loads()
726 tunables->ntarget_loads = ntokens; in store_target_loads()
[all …]
/drivers/staging/lustre/lnet/lnet/
Dconfig.c639 int ntokens = 0; in lnet_parse_route() local
658 if (ntokens < (got_hops ? 3 : 2)) in lnet_parse_route()
663 ntokens++; in lnet_parse_route()
672 if (ntokens == 1) { in lnet_parse_route()
674 } else if (ntokens == 2 && in lnet_parse_route()
705 if (ntokens == 1) { in lnet_parse_route()
832 int ntokens = 0; in lnet_match_network_tokens() local
859 if (ntokens++ == 0) { in lnet_match_network_tokens()