Home
last modified time | relevance | path

Searched refs:prog_id (Results 1 – 25 of 28) sorted by relevance

12

/external/iproute2/ip/
Diplink_xdp.c87 __u32 prog_id = 0; in xdp_dump_json() local
92 prog_id = rta_getattr_u32(tb[IFLA_XDP_PROG_ID]); in xdp_dump_json()
96 if (prog_id) in xdp_dump_json()
97 bpf_dump_prog_info(NULL, prog_id); in xdp_dump_json()
104 __u32 prog_id = 0; in xdp_dump() local
129 prog_id = rta_getattr_u32(tb[IFLA_XDP_PROG_ID]); in xdp_dump()
131 if (prog_id && !link) in xdp_dump()
132 fprintf(fp, "/id:%u", prog_id); in xdp_dump()
137 if (prog_id) { in xdp_dump()
139 bpf_dump_prog_info(fp, prog_id); in xdp_dump()
/external/bcc/tests/python/
Dtest_brb.c9 u32 prog_id; member
14 u32 prog_id; member
70 meta.prog_id = meta.rx_port_id = 0; in pem()
72 meta.prog_id = skb->cb[0]; in pem()
76 if (!meta.prog_id) { in pem()
84 skb->cb[0] = dest_p->prog_id; in pem()
86 jump.call(skb, dest_p->prog_id); in pem()
210 skb->cb[0] = dest_p->prog_id; in br_common()
212 jump.call(skb, dest_p->prog_id); in br_common()
/external/linux-kselftest/tools/testing/selftests/bpf/prog_tests/
Dtask_fd_query_rawtp.c8 __u32 len, prog_id, fd_type; in test_task_fd_query_rawtp() local
24 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp()
38 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp()
50 err = bpf_task_fd_query(getpid(), efd, 0, 0, &len, &prog_id, in test_task_fd_query_rawtp()
62 err = bpf_task_fd_query(getpid(), efd, 0, buf, &len, &prog_id, in test_task_fd_query_rawtp()
Dtask_fd_query_tp.c11 __u32 len, prog_id, fd_type; in test_task_fd_query_tp_core() local
54 err = bpf_task_fd_query(getpid(), pmu_fd, 0, buf, &len, &prog_id, in test_task_fd_query_tp_core()
/external/linux-kselftest/tools/testing/selftests/bpf/
Dtest_skb_cgroup_id_user.c80 int get_map_fd_by_prog_id(int prog_id) in get_map_fd_by_prog_id() argument
88 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_map_fd_by_prog_id()
90 log_err("Failed to get fd by prog id %d", prog_id); in get_map_fd_by_prog_id()
116 int check_ancestor_cgroup_ids(int prog_id) in check_ancestor_cgroup_ids() argument
128 map_fd = get_map_fd_by_prog_id(prog_id); in check_ancestor_cgroup_ids()
Dtest_tcp_check_syncookie_user.c81 static int get_map_fd_by_prog_id(int prog_id, bool *xdp) in get_map_fd_by_prog_id() argument
89 prog_fd = bpf_prog_get_fd_by_id(prog_id); in get_map_fd_by_prog_id()
91 log_err("Failed to get fd by prog id %d", prog_id); in get_map_fd_by_prog_id()
/external/virglrenderer/src/
Dvrend_blitter.c107 static bool link_and_check(GLuint prog_id) in link_and_check() argument
111 glLinkProgram(prog_id); in link_and_check()
112 glGetProgramiv(prog_id, GL_LINK_STATUS, &lret); in link_and_check()
116 glGetProgramInfoLog(prog_id, 65536, &len, infolog); in link_and_check()
119 glDeleteProgram(prog_id); in link_and_check()
680 static void vrend_set_vertex_param(GLuint prog_id) in vrend_set_vertex_param() argument
684 pos_loc = glGetAttribLocation(prog_id, "arg0"); in vrend_set_vertex_param()
685 tc_loc = glGetAttribLocation(prog_id, "arg1"); in vrend_set_vertex_param()
706 GLuint prog_id; in vrend_renderer_blit_gl() local
731 prog_id = glCreateProgram(); in vrend_renderer_blit_gl()
[all …]
Dvrend_renderer.c1319 int prog_id, in set_stream_out_varyings() argument
1370 glTransformFeedbackVaryings(prog_id, n_outputs, in set_stream_out_varyings()
1534 GLuint prog_id; in add_cs_shader_program() local
1536 prog_id = glCreateProgram(); in add_cs_shader_program()
1537 glAttachShader(prog_id, cs->id); in add_cs_shader_program()
1538 glLinkProgram(prog_id); in add_cs_shader_program()
1540 glGetProgramiv(prog_id, GL_LINK_STATUS, &lret); in add_cs_shader_program()
1544 glGetProgramInfoLog(prog_id, 65536, &len, infolog); in add_cs_shader_program()
1549 glDeleteProgram(prog_id); in add_cs_shader_program()
1556 sprog->id = prog_id; in add_cs_shader_program()
[all …]
/external/bcc/introspection/
Dbps.c178 static int print_one_prog(uint32_t prog_id) in print_one_prog() argument
189 prog_fd = bpf_prog_get_fd_by_id(prog_id); in print_one_prog()
192 fprintf(stderr, "BID:%u not found\n", prog_id); in print_one_prog()
207 nr_map_ids, prog_id); in print_one_prog()
219 prog_id, strerror(errno), errno); in print_one_prog()
/external/strace/tests/
Dbpf.c823 .prog_id = 0xdeadbeef
825 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, prog_id),
830 .prog_id = 0xbadc0ded,
838 .prog_id = 0xbadc0ded,
/external/strace/tests-m32/
Dbpf.c823 .prog_id = 0xdeadbeef
825 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, prog_id),
830 .prog_id = 0xbadc0ded,
838 .prog_id = 0xbadc0ded,
/external/strace/tests-mx32/
Dbpf.c823 .prog_id = 0xdeadbeef
825 .size = offsetofend(struct BPF_PROG_GET_FD_BY_ID_struct, prog_id),
830 .prog_id = 0xbadc0ded,
838 .prog_id = 0xbadc0ded,
/external/strace/
Dbpf_attr_check.c422 static_assert(SoM(struct BPF_PROG_GET_FD_BY_ID_struct, prog_id) == SoM(union bpf_attr, prog_id),
424 …_assert(offsetof(struct BPF_PROG_GET_FD_BY_ID_struct, prog_id) == offsetof(union bpf_attr, prog_id
Dbpf_attr.h196 uint32_t prog_id; member
Dbpf.c401 PRINT_FIELD_U("{", attr, prog_id); in BEGIN_BPF_CMD_DECODER()
Dconfig.h.in1540 /* Define to 1 if `prog_id' is a member of `union bpf_attr'. */
/external/ltp/include/lapi/
Dbpf.h265 uint32_t prog_id; member
311 uint32_t prog_id; /* output: prod_id */ member
/external/strace/m4/
Dbpf_attr.m459 union bpf_attr.prog_id,
/external/bcc/src/cc/compat/linux/
Dbpf.h402 __u32 prog_id; member
448 __u32 prog_id; /* output: prod_id */ member
/external/bcc/src/cc/includes/compat/linux/
Dbpf.h402 __u32 prog_id; member
448 __u32 prog_id; /* output: prod_id */ member
/external/kernel-headers/original/uapi/linux/
Dbpf.h617 __u32 prog_id; member
664 __u32 prog_id; /* output: prod_id */ member
4616 __u32 prog_id; member
/external/iproute2/include/uapi/linux/
Dbpf.h242 __u32 prog_id; member
/external/bcc/src/cc/
Dlibbpf.c1507 attr.prog_id = id; in bpf_prog_get_fd_by_id()
/external/mesa3d/src/gallium/drivers/iris/
Diris_program.c50 #define BRW_KEY_INIT(gen, prog_id) \ argument
51 .base.program_string_id = prog_id, \
/external/iproute2/lib/
Dbpf.c160 attr.prog_id = id; in bpf_prog_fd_by_id()

12