Home
last modified time | relevance | path

Searched refs:cnt (Results 1 – 6 of 6) sorted by relevance

/scripts/kconfig/
Dconf.c121 int cnt, def; in randomize_choice_values() local
134 cnt = 0; in randomize_choice_values()
136 cnt++; in randomize_choice_values()
142 def = rand() % cnt; in randomize_choice_values()
144 cnt = 0; in randomize_choice_values()
146 if (def == cnt++) { in randomize_choice_values()
174 int i, cnt; in conf_set_all_new_symbols() local
248 cnt = rand() % 100; in conf_set_all_new_symbols()
250 if (cnt < pty) in conf_set_all_new_symbols()
252 else if (cnt < pty + ptm) in conf_set_all_new_symbols()
[all …]
Dsymbol.c911 int i, cnt, size; in sym_re_search() local
915 cnt = size = 0; in sym_re_search()
927 if (cnt >= size) { in sym_re_search()
939 sym_match_arr[cnt].so = match[0].rm_so; in sym_re_search()
940 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search()
941 sym_match_arr[cnt++].sym = sym; in sym_re_search()
944 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); in sym_re_search()
945 sym_arr = malloc((cnt+1) * sizeof(struct symbol *)); in sym_re_search()
948 for (i = 0; i < cnt; i++) in sym_re_search()
950 sym_arr[cnt] = NULL; in sym_re_search()
/scripts/
Drecordmcount.c103 size_t cnt = count; in uwrite() local
126 cnt = file_end - file_ptr; in uwrite()
128 cnt = 0; in uwrite()
133 if (cnt) in uwrite()
134 memcpy(file_ptr, buf, cnt); in uwrite()
136 if (cnt < count) in uwrite()
137 memcpy(file_append + idx, buf + cnt, count - cnt); in uwrite()
271 int cnt = 1; in make_nop_arm() local
279 cnt = 2; in make_nop_arm()
284 cnt = 3; in make_nop_arm()
[all …]
Dcheckpatch.pl2005 my ($linenr, $cnt) = @_;
2008 $cnt++;
2011 while ($cnt) {
2014 $cnt--;
2032 my ($linenr, $cnt, $here) = @_;
2035 for (my $n = 0; $n < $cnt; $n++) {
2725 my $cnt = $realcnt;
2726 for (my $ln = $linenr + 1; $cnt > 0; $ln++) {
2729 $cnt--;
5526 my $cnt = statement_rawlines($if_stat);
[all …]
/scripts/mod/
Dfile2alias.c575 int i, byte_shift, cnt = 0; in do_acpi_entry() local
578 sprintf(&alias[cnt], "acpi*:"); in do_acpi_entry()
579 cnt = 6; in do_acpi_entry()
584 sprintf(&alias[cnt], "%02x", in do_acpi_entry()
587 sprintf(&alias[cnt], "??"); in do_acpi_entry()
588 cnt += 2; in do_acpi_entry()
590 sprintf(&alias[cnt], ":*"); in do_acpi_entry()
/scripts/dtc/
Dchecks.c1781 int cnt = 0; in check_graph_child_address() local
1794 cnt++; in check_graph_child_address()
1797 if (cnt == 1 && node->addr_cells != -1) in check_graph_child_address()