Home
last modified time | relevance | path

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

/scripts/kconfig/
Dconf.c120 int cnt, def; in randomize_choice_values() local
133 cnt = 0; in randomize_choice_values()
135 cnt++; in randomize_choice_values()
141 def = rand() % cnt; in randomize_choice_values()
143 cnt = 0; in randomize_choice_values()
145 if (def == cnt++) { in randomize_choice_values()
175 int i, cnt; in conf_set_all_new_symbols() local
249 cnt = rand() % 100; in conf_set_all_new_symbols()
251 if (cnt < pty) in conf_set_all_new_symbols()
253 else if (cnt < pty + ptm) in conf_set_all_new_symbols()
[all …]
Dsymbol.c954 int i, cnt, size; in sym_re_search() local
958 cnt = size = 0; in sym_re_search()
970 if (cnt >= size) { in sym_re_search()
982 sym_match_arr[cnt].so = match[0].rm_so; in sym_re_search()
983 sym_match_arr[cnt].eo = match[0].rm_eo; in sym_re_search()
984 sym_match_arr[cnt++].sym = sym; in sym_re_search()
987 qsort(sym_match_arr, cnt, sizeof(struct sym_match), sym_rel_comp); in sym_re_search()
988 sym_arr = malloc((cnt+1) * sizeof(struct symbol *)); in sym_re_search()
991 for (i = 0; i < cnt; i++) in sym_re_search()
993 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.c564 int i, byte_shift, cnt = 0; in do_acpi_entry() local
567 sprintf(&alias[cnt], "acpi*:"); in do_acpi_entry()
568 cnt = 6; in do_acpi_entry()
573 sprintf(&alias[cnt], "%02x", in do_acpi_entry()
576 sprintf(&alias[cnt], "??"); in do_acpi_entry()
577 cnt += 2; in do_acpi_entry()
579 sprintf(&alias[cnt], ":*"); in do_acpi_entry()
/scripts/dtc/
Dchecks.c1684 int cnt = 0; in check_graph_child_address() local
1697 cnt++; in check_graph_child_address()
1700 if (cnt == 1 && node->addr_cells != -1) in check_graph_child_address()