Lines Matching refs:nb_fds
634 int nb_fds, i; in do_show_subset() local
642 nb_fds = map_parse_fds(&argc, &argv, &fds); in do_show_subset()
643 if (nb_fds < 1) in do_show_subset()
646 if (json_output && nb_fds > 1) in do_show_subset()
648 for (i = 0; i < nb_fds; i++) { in do_show_subset()
653 for (; i < nb_fds; i++) in do_show_subset()
665 if (json_output && nb_fds > 1) in do_show_subset()
768 static int maps_have_btf(int *fds, int nb_fds) in maps_have_btf() argument
774 for (i = 0; i < nb_fds; i++) { in maps_have_btf()
899 int nb_fds, i = 0; in do_dump() local
912 nb_fds = map_parse_fds(&argc, &argv, &fds); in do_dump()
913 if (nb_fds < 1) in do_dump()
921 do_plain_btf = maps_have_btf(fds, nb_fds); in do_dump()
933 if (wtr && nb_fds > 1) in do_dump()
935 for (i = 0; i < nb_fds; i++) { in do_dump()
940 err = map_dump(fds[i], &info, wtr, nb_fds > 1); in do_dump()
941 if (!wtr && i != nb_fds - 1) in do_dump()
948 if (wtr && nb_fds > 1) in do_dump()
954 for (; i < nb_fds; i++) in do_dump()