bpf_attach_type
enum bpf_attach_type type);
to_cgroup_bpf_attach_type(enum bpf_attach_type attach_type)
to_netns_bpf_attach_type(enum bpf_attach_type attach_type)
enum bpf_attach_type saved_dst_attach_type;
enum bpf_attach_type expected_attach_type; /* For some prog types */
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type);
enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type);
enum bpf_attach_type attach_type, bool sleepable);
enum bpf_attach_type attach_type);
enum bpf_attach_type expected_attach_type;
struct bpf_prog *prog, enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type, bool sleepable)
enum bpf_attach_type attach_type)
enum bpf_attach_type atype = prog->expected_attach_type;
struct bpf_cgroup_link *link, enum bpf_attach_type type,
enum bpf_attach_type type, u64 revision)
enum bpf_attach_type type = attr->query.attach_type;
bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id)
bpf_cgroup_atype_find(enum bpf_attach_type attach_type, u32 attach_btf_id)
enum bpf_attach_type type,
enum bpf_attach_type attach_type)
enum bpf_attach_type type, u32 flags, u32 id_or_fd,
enum bpf_attach_type type,
enum bpf_attach_type type)
enum bpf_attach_type type;
enum bpf_attach_type expected_attach_type,
enum bpf_attach_type attach_type, bool sleepable)
enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type)
attach_type_to_prog_type(enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type)
static bool is_cgroup_prog_type(enum bpf_prog_type ptype, enum bpf_attach_type atype,
enum bpf_attach_type attach_type)
enum bpf_attach_type eatype = prog->expected_attach_type;
enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type)
enum bpf_attach_type eatype = env->prog->expected_attach_type;
enum bpf_attach_type eatype = prog->expected_attach_type;
enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type;
static int show_bpf_prog(int id, enum bpf_attach_type attach_type,
static int count_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type)
static int show_effective_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
static int show_attached_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
static int show_bpf_progs(int cgroup_fd, enum bpf_attach_type type,
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type;
static enum bpf_attach_type parse_attach_type(const char *str)
enum bpf_attach_type type;
const char *bpf_attach_type_input_str(enum bpf_attach_type t)
const char *bpf_attach_type_input_str(enum bpf_attach_type t);
const enum bpf_attach_type loc)
enum bpf_attach_type *attach_type,
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type;
enum bpf_attach_type *expected_attach_type)
enum bpf_attach_type expected_attach_type;
static enum bpf_attach_type parse_attach_type(const char *str)
enum bpf_attach_type type;
int bpf_prog_query(int target_fd, enum bpf_attach_type type, __u32 query_flags,
int bpf_prog_attach(int prog_fd, int target_fd, enum bpf_attach_type type,
int bpf_prog_attach_opts(int prog_fd, int target, enum bpf_attach_type type,
int bpf_prog_detach_opts(int prog_fd, int target, enum bpf_attach_type type,
int bpf_prog_detach(int target_fd, enum bpf_attach_type type)
int bpf_prog_detach2(int prog_fd, int target_fd, enum bpf_attach_type type)
enum bpf_attach_type attach_type,
int bpf_prog_query_opts(int target, enum bpf_attach_type type,
enum bpf_attach_type type, unsigned int flags);
LIBBPF_API int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);
enum bpf_attach_type type);
enum bpf_attach_type type,
enum bpf_attach_type type,
enum bpf_attach_type attach_type,
LIBBPF_API int bpf_prog_query_opts(int target, enum bpf_attach_type type,
LIBBPF_API int bpf_prog_query(int target_fd, enum bpf_attach_type type,
enum bpf_attach_type expected_attach_type;
void bpf_gen__record_attach_target(struct bpf_gen *gen, const char *name, enum bpf_attach_type type);
enum bpf_attach_type type)
enum bpf_attach_type *expected_attach_type)
const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t)
void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type)
enum bpf_attach_type attach_type,
enum bpf_attach_type attach_type = prog->expected_attach_type;
enum bpf_attach_type *attach_type)
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
enum bpf_attach_type bpf_program__expected_attach_type(const struct bpf_program *prog)
enum bpf_attach_type type)
enum bpf_attach_type exp_attach_type,
enum bpf_attach_type exp_attach_type,
enum bpf_attach_type *expected_attach_type);
enum bpf_attach_type *attach_type);
enum bpf_attach_type attach_type);
LIBBPF_API const char *libbpf_bpf_attach_type_str(enum bpf_attach_type t);
LIBBPF_API enum bpf_attach_type
enum bpf_attach_type type);
void btf_get_kernel_prefix_kind(enum bpf_attach_type attach_type,
LIBBPF_API enum bpf_attach_type bpf_program__get_expected_attach_type(const struct bpf_program *prog);
enum bpf_attach_type attach_type)
enum bpf_attach_type prog_p_atype, prog_p2_atype;
enum bpf_attach_type prog_c_atype, prog_c2_atype, prog_p_atype, prog_p2_atype;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type attach_type = (enum bpf_attach_type)e->val;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type attach_type;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type, \
enum bpf_attach_type attach_type, \
enum bpf_attach_type attach_type,
enum bpf_attach_type attach_type;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type expected_attach_type)
enum bpf_attach_type attach_type;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type expected_attach_type)
static void test_sockmap_skb_verdict_attach(enum bpf_attach_type first,
enum bpf_attach_type second)
static void test_sockmap_progs_query(enum bpf_attach_type attach_type)
enum bpf_attach_type atype;
enum bpf_attach_type *attach_type,
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type;
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type expected_attach_type)
enum bpf_attach_type atype = test->attach_type;
enum bpf_attach_type attach_type;
static void test_xdp_devmap_tailcall(enum bpf_attach_type prog_dev,
enum bpf_attach_type prog_tail,
__weak int subprog_enum_untrusted(enum bpf_attach_type *p __arg_untrusted)
enum bpf_attach_type expected_attach_type;
enum bpf_attach_type *attach_type)
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type;
enum bpf_attach_type attach_type = 0;