Lines Matching refs:opt_tbl
817 struct bpf_cfg_in *cfg, const bool *opt_tbl) in bpf_parse() argument
827 if (opt_tbl[CBPF_BYTECODE] && in bpf_parse()
831 } else if (opt_tbl[CBPF_FILE] && in bpf_parse()
835 } else if (opt_tbl[EBPF_OBJECT] && in bpf_parse()
839 } else if (opt_tbl[EBPF_PINNED] && in bpf_parse()
925 const bool *opt_tbl) in bpf_parse_opt_tbl() argument
933 ret = bpf_parse(&type, &mode, cfg, opt_tbl); in bpf_parse_opt_tbl()
953 bool opt_tbl[BPF_MODE_MAX] = {}; in bpf_parse_common() local
956 opt_tbl[CBPF_BYTECODE] = true; in bpf_parse_common()
957 opt_tbl[CBPF_FILE] = true; in bpf_parse_common()
961 opt_tbl[EBPF_OBJECT] = true; in bpf_parse_common()
962 opt_tbl[EBPF_PINNED] = true; in bpf_parse_common()
965 return bpf_parse_opt_tbl(type, cfg, ops, nl, opt_tbl); in bpf_parse_common()
971 const bool opt_tbl[BPF_MODE_MAX] = { in bpf_graft_map() local
989 prog_fd = bpf_parse(&type, &mode, &cfg, opt_tbl); in bpf_graft_map()