/external/iproute2/ip/ |
D | iplink_xdp.c | 87 __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/ |
D | test_brb.c | 9 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/ |
D | task_fd_query_rawtp.c | 8 __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()
|
D | task_fd_query_tp.c | 11 __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/ |
D | test_skb_cgroup_id_user.c | 80 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()
|
D | test_tcp_check_syncookie_user.c | 81 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/ |
D | vrend_blitter.c | 107 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 …]
|
D | vrend_renderer.c | 1319 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/ |
D | bps.c | 178 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/ |
D | bpf.c | 823 .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/ |
D | bpf.c | 823 .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/ |
D | bpf.c | 823 .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/ |
D | bpf_attr_check.c | 422 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…
|
D | bpf_attr.h | 196 uint32_t prog_id; member
|
D | bpf.c | 401 PRINT_FIELD_U("{", attr, prog_id); in BEGIN_BPF_CMD_DECODER()
|
D | config.h.in | 1540 /* Define to 1 if `prog_id' is a member of `union bpf_attr'. */
|
/external/ltp/include/lapi/ |
D | bpf.h | 265 uint32_t prog_id; member 311 uint32_t prog_id; /* output: prod_id */ member
|
/external/strace/m4/ |
D | bpf_attr.m4 | 59 union bpf_attr.prog_id,
|
/external/bcc/src/cc/compat/linux/ |
D | bpf.h | 402 __u32 prog_id; member 448 __u32 prog_id; /* output: prod_id */ member
|
/external/bcc/src/cc/includes/compat/linux/ |
D | bpf.h | 402 __u32 prog_id; member 448 __u32 prog_id; /* output: prod_id */ member
|
/external/kernel-headers/original/uapi/linux/ |
D | bpf.h | 617 __u32 prog_id; member 664 __u32 prog_id; /* output: prod_id */ member 4616 __u32 prog_id; member
|
/external/iproute2/include/uapi/linux/ |
D | bpf.h | 242 __u32 prog_id; member
|
/external/bcc/src/cc/ |
D | libbpf.c | 1507 attr.prog_id = id; in bpf_prog_get_fd_by_id()
|
/external/mesa3d/src/gallium/drivers/iris/ |
D | iris_program.c | 50 #define BRW_KEY_INIT(gen, prog_id) \ argument 51 .base.program_string_id = prog_id, \
|
/external/iproute2/lib/ |
D | bpf.c | 160 attr.prog_id = id; in bpf_prog_fd_by_id()
|