Home
last modified time | relevance | path

Searched defs:prog_cnt (Results 1 – 25 of 29) sorted by relevance

12

/linux-6.6.21/tools/testing/selftests/bpf/prog_tests/
Dhelper_restricted.c8 int prog_i = 0, prog_cnt; in test_helper_restricted() local
Dcgroup_attach_autodetach.c26 __u32 duration = 0, prog_cnt = 4, attach_flags; in serial_test_cgroup_attach_autodetach() local
Dcgroup_attach_multi.c79 __u32 prog_ids[4], prog_cnt = 0, attach_flags, saved_prog_id; in serial_test_cgroup_attach_multi() local
Dcgroup_link.c41 __u32 prog_ids[ARRAY_SIZE(cgs)], prog_cnt = 0, attach_flags, prog_id; in serial_test_cgroup_link() local
Dfexit_bpf2bpf.c12 static int check_data_map(struct bpf_object *obj, int prog_cnt, bool reset) in check_data_map()
58 int prog_cnt, in test_fexit_bpf2bpf_common()
Dunpriv_bpf_disabled.c158 __u32 prog_cnt = 3; in test_unpriv_bpf_disabled_negative() local
Dflow_dissector_reattach.c24 __u32 prog_cnt = ARRAY_SIZE(prog_ids); in query_attached_prog_id() local
Dsockmap_basic.c321 __u32 prog_cnt = 3; in test_sockmap_progs_query() local
Dsk_lookup.c521 __u32 prog_cnt = 3; in query_lookup_prog() local
/linux-6.6.21/tools/testing/selftests/bpf/
Dtest_dev_cgroup.c28 __u32 prog_cnt; in main() local
Dtest_lirc_mode2_user.c55 u32 prog_ids[10], prog_flags[10], prog_cnt; in main() local
Dveristat.c1027 int err = 0, prog_cnt = 0; in process_obj() local
/linux-6.6.21/samples/bpf/
Dtest_cgrp2_sock2.c35 int cg_fd, err, ret = EXIT_FAILURE, filter_id = 0, prog_cnt = 0; in main() local
/linux-6.6.21/include/linux/
Dhid_bpf.h125 u8 prog_cnt; member
/linux-6.6.21/tools/bpf/bpftool/
Dgen.c863 codegen_progs_skeleton(struct bpf_object *obj, size_t prog_cnt, bool populate_links) in codegen_progs_skeleton()
909 size_t map_cnt = 0, prog_cnt = 0, file_sz, mmap_sz; in do_skeleton() local
1281 size_t i, len, file_sz, map_cnt = 0, prog_cnt = 0, mmap_sz, var_cnt = 0, var_idx = 0; in do_subskeleton() local
Dcgroup.c171 __u32 prog_cnt = 0; in count_attached_bpf_progs() local
Dnet.c576 __u32 prog_cnt; in query_flow_dissector() local
/linux-6.6.21/kernel/bpf/
Dnet_namespace.c253 u32 prog_cnt = 0, flags = 0; in __netns_bpf_prog_query() local
Dcore.c2403 struct bpf_prog_array *bpf_prog_array_alloc(u32 prog_cnt, gfp_t flags) in bpf_prog_array_alloc()
2649 u32 *prog_cnt) in bpf_prog_array_copy_info()
/linux-6.6.21/tools/lib/bpf/
Dlibbpf.h1559 int prog_cnt; member
1587 int prog_cnt; member
Dbpf.h560 __u32 prog_cnt; member
Dbpf.c935 __u32 *attach_flags, __u32 *prog_ids, __u32 *prog_cnt) in bpf_prog_query()
/linux-6.6.21/net/core/
Dsock_map.c1512 u32 prog_cnt = 0, flags = 0, ufd = attr->target_fd; in sock_map_bpf_prog_query() local
/linux-6.6.21/include/uapi/linux/
Dperf_event.h537 __u32 prog_cnt; member
/linux-6.6.21/tools/include/uapi/linux/
Dperf_event.h537 __u32 prog_cnt; member

12