Home
last modified time | relevance | path

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

/linux/net/sched/
H A Dcls_bpf.c507 u32 bpf_flags = nla_get_u32(tb[TCA_BPF_FLAGS]); in cls_bpf_change()
509 if (bpf_flags & ~TCA_BPF_FLAG_ACT_DIRECT) { in cls_bpf_change()
514 have_exts = bpf_flags & TCA_BPF_FLAG_ACT_DIRECT; in cls_bpf_change()
618 u32 bpf_flags = 0; in cls_bpf_dump()
647 bpf_flags |= TCA_BPF_FLAG_ACT_DIRECT; in cls_bpf_bind_class()
648 if (bpf_flags && nla_put_u32(skb, TCA_BPF_FLAGS, bpf_flags)) in cls_bpf_bind_class()
487 u32 bpf_flags = nla_get_u32(tb[TCA_BPF_FLAGS]); cls_bpf_change() local
598 u32 bpf_flags = 0; cls_bpf_dump() local
/linux/fs/
H A Dbinfmt_misc.c403 bprm->bpf_flags = 0; in DEFINE_FREE()
500 u64 bpf_flags; in entry_invocation_flags() local
505 bpf_flags = bprm->bpf_flags; in entry_invocation_flags()
507 bprm->bpf_flags = 0; in entry_invocation_flags()
509 if (bpf_flags & BPF_BINPRM_PRESERVE_ARGV0) in entry_invocation_flags()
511 if (bpf_flags & BPF_BINPRM_EXECFD) in entry_invocation_flags()
513 if (bpf_flags & BPF_BINPRM_CREDENTIALS) in entry_invocation_flags()
515 if (bpf_flags & BPF_BINPRM_TRANSPARENT) in entry_invocation_flags()
517 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/include/linux/
H A Dbinfmts.h22 u64 bpf_flags; /* enum bpf_binprm_flags from a bpf handler */ member
/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()