Searched refs:n_found (Results 1 – 2 of 2) sorted by relevance
92 int n_found = 0; in find_cmd_tbl() local108 n_found++; in find_cmd_tbl()187 int n_found = 0; in complete_subcmdv() local199 if (n_found >= maxv - 2) { in complete_subcmdv()200 cmdv[n_found++] = "..."; in complete_subcmdv()205 cmdv[n_found] = NULL; in complete_subcmdv()206 return n_found; in complete_subcmdv()241 if (n_found >= maxv - 2) { in complete_subcmdv()242 cmdv[n_found++] = "..."; in complete_subcmdv()249 cmdv[n_found] = NULL; in complete_subcmdv()[all …]
489 int len = 0, n_found = 0; in mtd_name_complete() local508 if (n_found >= maxv - 2) { in mtd_name_complete()509 cmdv[n_found++] = "..."; in mtd_name_complete()513 cmdv[n_found++] = mtd->name; in mtd_name_complete()516 cmdv[n_found] = NULL; in mtd_name_complete()518 return n_found; in mtd_name_complete()