Home
last modified time | relevance | path

Searched refs:is_bpf (Results 1 – 3 of 3) sorted by relevance

/OK3568_Linux_fs/kernel/net/sched/
H A Dact_bpf.c290 bool is_bpf, is_ebpf; in tcf_bpf_init() local
334 is_bpf = tb[TCA_ACT_BPF_OPS_LEN] && tb[TCA_ACT_BPF_OPS]; in tcf_bpf_init()
337 if ((!is_bpf && !is_ebpf) || (is_bpf && is_ebpf)) { in tcf_bpf_init()
344 ret = is_bpf ? tcf_bpf_init_from_ops(tb, &cfg) : in tcf_bpf_init()
H A Dcls_bpf.c413 bool is_bpf, is_ebpf, have_exts = false; in cls_bpf_set_parms() local
417 is_bpf = tb[TCA_BPF_OPS_LEN] && tb[TCA_BPF_OPS]; in cls_bpf_set_parms()
419 if ((!is_bpf && !is_ebpf) || (is_bpf && is_ebpf)) in cls_bpf_set_parms()
445 ret = is_bpf ? cls_bpf_prog_from_ops(tb, prog) : in cls_bpf_set_parms()
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Dinsane.bbclass356 is_bpf = (oe.qa.elf_machine_to_string(elf.machine()) == "BPF")
357 if not ((machine == elf.machine()) or is_32 or is_bpf):
360 elif not ((bits == elf.abiSize()) or is_32 or is_bpf):
363 elif not ((littleendian == elf.isLittleEndian()) or is_bpf):