Home | History | Annotate | Download | only in lib

Lines Matching defs:argv

287 static int bpf_ops_parse(int argc, char **argv, struct sock_filter *bpf_ops,
297 if (bpf_parse_string(argv[0], from_file, &bpf_len, &bpf_string,
822 char **argv;
824 argv = cfg->argv;
828 (matches(*argv, "bytecode") == 0 ||
829 strcmp(*argv, "bc") == 0)) {
832 (matches(*argv, "bytecode-file") == 0 ||
833 strcmp(*argv, "bcf") == 0)) {
836 (matches(*argv, "object-file") == 0 ||
837 strcmp(*argv, "obj") == 0)) {
840 (matches(*argv, "object-pinned") == 0 ||
841 matches(*argv, "pinned") == 0 ||
842 matches(*argv, "fd") == 0)) {
845 fprintf(stderr, "What mode is \"%s\"?\n", *argv);
852 file = *argv;
856 if (argc > 0 && matches(*argv, "type") == 0) {
862 if (!matches(*argv,
871 *argv);
881 if (argc > 0 && matches(*argv, "section") == 0) {
883 section = *argv;
890 matches(*argv, "export") == 0) {
892 uds_name = *argv;
897 if (argc > 0 && matches(*argv, "verbose") == 0) {
906 ret = bpf_ops_parse(argc, argv, cfg->ops, *mode == CBPF_FILE);
918 cfg->argv = argv;
968 int bpf_graft_map(const char *map_path, uint32_t *key, int argc, char **argv)
982 .argv = argv,