Home
last modified time | relevance | path

Searched refs:bpf_flags (Results 1 – 4 of 4) sorted by relevance

/linux/net/sched/
H A Dcls_bpf.c487 u32 bpf_flags = nla_get_u32(tb[TCA_BPF_FLAGS]); in cls_bpf_change() local
489 if (bpf_flags & ~TCA_BPF_FLAG_ACT_DIRECT) { in cls_bpf_change()
494 have_exts = bpf_flags & TCA_BPF_FLAG_ACT_DIRECT; in cls_bpf_change()
598 u32 bpf_flags = 0; in cls_bpf_dump() local
627 bpf_flags |= TCA_BPF_FLAG_ACT_DIRECT; in cls_bpf_dump()
628 if (bpf_flags && nla_put_u32(skb, TCA_BPF_FLAGS, bpf_flags)) in cls_bpf_dump()
/linux/fs/
H A Dbinfmt_misc.c396 bprm->bpf_flags = 0; in DEFINE_FREE()
493 u64 bpf_flags; in entry_invocation_flags() local
498 bpf_flags = bprm->bpf_flags; in entry_invocation_flags()
500 bprm->bpf_flags = 0; in entry_invocation_flags()
502 if (bpf_flags & BPF_BINPRM_PRESERVE_ARGV0) in entry_invocation_flags()
504 if (bpf_flags & BPF_BINPRM_EXECFD) in entry_invocation_flags()
506 if (bpf_flags & BPF_BINPRM_CREDENTIALS) in entry_invocation_flags()
508 if (bpf_flags & BPF_BINPRM_TRANSPARENT) in entry_invocation_flags()
510 if (bpf_flags & BPF_BINPRM_LOADER) in entry_invocation_flags()
H A Dbinfmt_misc_bpf.c300 bprm->bpf_flags = flags; in bpf_binprm_set_flags()
/linux/tools/lib/bpf/
H A Dnetlink.c736 __u32 protocol, bpf_flags, handle, priority, parent, prog_id, flags; in bpf_tc_attach() local
791 bpf_flags = TCA_BPF_FLAG_ACT_DIRECT; in bpf_tc_attach()
792 ret = nlattr_add(&req, TCA_BPF_FLAGS, &bpf_flags, sizeof(bpf_flags)); in bpf_tc_attach()