Home
last modified time | relevance | path

Searched refs:av (Results 1 – 20 of 20) sorted by relevance

/u-boot/drivers/mtd/ubi/
A Dattach.c272 return av; in add_volume()
282 if (!av) in add_volume()
285 av->highest_lnum = av->leb_count = 0; in add_volume()
300 return av; in add_volume()
465 if (IS_ERR(av)) in ubi_add_to_av()
614 return av; in ubi_find_av()
644 kfree(av); in ubi_remove_av()
1159 kfree(av); in destroy_av()
1529 if (av->vol_id < 0 || av->highest_lnum < 0 || in self_check_ai()
1530 av->leb_count < 0 || av->vol_type < 0 || av->used_ebs < 0 || in self_check_ai()
[all …]
A Dvtbl.c595 av = ubi_find_av(ai, i);
596 if (!av || !av->leb_count) {
608 if (av->leb_count != av->used_ebs) {
614 av->vol_id, av->used_ebs - av->leb_count);
700 ubi_dump_av(av);
741 if (av)
749 if (!av)
760 ubi_remove_av(ai, av);
761 } else if (av) {
799 if (!av) {
[all …]
A Dfastmap.c208 if (!av) in add_vol()
211 av->highest_lnum = av->leb_count = av->used_ebs = 0; in add_vol()
212 av->vol_id = vol_id; in add_vol()
215 av->compat = 0; in add_vol()
217 av->root = RB_ROOT; in add_vol()
227 return av; in add_vol()
261 av->leb_count++; in assign_aeb_to_av()
356 av->leb_count++; in update_vol()
404 av = tmp_av; in process_pool_aeb()
438 av->leb_count--; in unmap_peb()
[all …]
A Ddebug.c163 void ubi_dump_av(const struct ubi_ainf_volume *av) in ubi_dump_av() argument
166 pr_err("\tvol_id %d\n", av->vol_id); in ubi_dump_av()
167 pr_err("\thighest_lnum %d\n", av->highest_lnum); in ubi_dump_av()
168 pr_err("\tleb_count %d\n", av->leb_count); in ubi_dump_av()
169 pr_err("\tcompat %d\n", av->compat); in ubi_dump_av()
170 pr_err("\tvol_type %d\n", av->vol_type); in ubi_dump_av()
171 pr_err("\tused_ebs %d\n", av->used_ebs); in ubi_dump_av()
172 pr_err("\tlast_data_size %d\n", av->last_data_size); in ubi_dump_av()
173 pr_err("\tdata_pad %d\n", av->data_pad); in ubi_dump_av()
A Deba.c1298 struct ubi_ainf_volume *av; in self_check_eba() local
1337 av = ubi_find_av(ai_scan, idx2vol_id(ubi, i)); in self_check_eba()
1338 if (!av) in self_check_eba()
1341 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) in self_check_eba()
1344 av = ubi_find_av(ai_fastmap, idx2vol_id(ubi, i)); in self_check_eba()
1345 if (!av) in self_check_eba()
1348 ubi_rb_for_each_entry(rb, aeb, &av->root, u.rb) in self_check_eba()
1390 struct ubi_ainf_volume *av; in ubi_eba_init() local
1421 av = ubi_find_av(ai, idx2vol_id(ubi, i)); in ubi_eba_init()
1422 if (!av) in ubi_eba_init()
[all …]
A Ddebug.h59 void ubi_dump_av(const struct ubi_ainf_volume *av);
A Dubi.h793 void ubi_remove_av(struct ubi_attach_info *ai, struct ubi_ainf_volume *av);
1012 static inline void ubi_move_aeb_to_list(struct ubi_ainf_volume *av, in ubi_move_aeb_to_list() argument
1016 rb_erase(&aeb->u.rb, &av->root); in ubi_move_aeb_to_list()
A Dwl.c1533 struct ubi_ainf_volume *av; local
1593 ubi_rb_for_each_entry(rb1, av, &ai->volumes, rb) {
1594 ubi_rb_for_each_entry(rb2, aeb, &av->root, u.rb) {
/u-boot/cmd/
A Dsha1sum.c19 char * const *av; in do_sha1sum() local
24 av = argv + 1; in do_sha1sum()
27 if (strcmp(*av, "-v") == 0) { in do_sha1sum()
29 av++; in do_sha1sum()
34 return hash_command("sha1", flags, cmdtp, flag, ac, av); in do_sha1sum()
A Dmd5sum.c84 char * const *av; in do_md5sum() local
90 av = argv + 1; in do_md5sum()
92 if (strcmp(*av, "-v") == 0) { in do_md5sum()
94 av++; in do_md5sum()
100 addr = simple_strtoul(*av++, NULL, 16); in do_md5sum()
101 len = simple_strtoul(*av++, NULL, 16); in do_md5sum()
114 store_result(output, *av); in do_md5sum()
116 char *verify_str = *av++; in do_md5sum()
A Dmem.c1252 char * const *av; in do_mem_crc() local
1257 av = argv + 1; in do_mem_crc()
1260 if (strcmp(*av, "-v") == 0) { in do_mem_crc()
1262 av++; in do_mem_crc()
1267 return hash_command("crc32", flags, cmdtp, flag, ac, av); in do_mem_crc()
/u-boot/tools/gdb/
A Dgdbcont.c20 main(int ac, char **av) in main() argument
24 if ((pname = strrchr(av[0], '/')) == NULL) in main()
25 pname = av[0]; in main()
29 while ((c = getopt(ac, av, "b:p:v")) != EOF) in main()
A Dgdbsend.c24 main(int ac, char **av) in main() argument
30 if ((pname = strrchr(av[0], '/')) == NULL) in main()
31 pname = av[0]; in main()
35 while ((c = getopt(ac, av, "a:b:cp:v")) != EOF) in main()
74 ifn = av[optind++]; in main()
/u-boot/scripts/kconfig/
A Dconf.c493 int main(int ac, char **av) in main() argument
495 const char *progname = av[0]; in main()
503 while ((opt = getopt_long(ac, av, "s", long_opts, NULL)) != -1) { in main()
563 fprintf(stderr, "%s: Kconfig file missing\n", av[0]); in main()
567 name = av[optind]; in main()
A Dgconf.c1444 int main(int ac, char *av[]) in main() argument
1452 gtk_init(&ac, &av); in main()
1462 else if (av[0][0] == '/') in main()
1463 glade_file = g_strconcat(av[0], ".glade", NULL); in main()
1465 glade_file = g_strconcat(g_get_current_dir(), "/", av[0], ".glade", NULL); in main()
1468 if (ac > 1 && av[1][0] == '-') { in main()
1469 switch (av[1][1]) { in main()
1478 printf("%s [-s] <config>\n", av[0]); in main()
1481 name = av[2]; in main()
1483 name = av[1]; in main()
A Dmconf.c1002 int main(int ac, char **av) in main() argument
1009 if (ac > 1 && strcmp(av[1], "-s") == 0) { in main()
1013 av++; in main()
1015 conf_parse(av[1]); in main()
A Dnconf.c1475 int main(int ac, char **av) in main() argument
1480 if (ac > 1 && strcmp(av[1], "-s") == 0) { in main()
1483 av++; in main()
1485 conf_parse(av[1]); in main()
A Dqconf.cc1823 int main(int ac, char** av) in main() argument
1828 progname = av[0]; in main()
1829 configApp = new QApplication(ac, av); in main()
1830 if (ac > 1 && av[1][0] == '-') { in main()
1831 switch (av[1][1]) { in main()
1839 name = av[2]; in main()
1841 name = av[1]; in main()
/u-boot/examples/standalone/
A Dsched.c85 int sched (int ac, char *av[]) in sched() argument
91 app_startup(av); in sched()
/u-boot/common/
A Ddlmalloc.src1230 * `av': An array of chunks serving as bin headers for consolidated

Completed in 51 milliseconds