Home
last modified time | relevance | path

Searched refs:xlated_prog_len (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/tools/testing/selftests/bpf/prog_tests/
Dbpf_obj_id.c112 prog_infos[i].xlated_prog_len = sizeof(xlated_insns); in serial_test_bpf_obj_id()
131 !prog_infos[i].xlated_prog_len || in serial_test_bpf_obj_id()
149 prog_infos[i].xlated_prog_len, in serial_test_bpf_obj_id()
Dtp_attach_query.c45 prog_info.xlated_prog_len = 0; in serial_test_tp_attach_query()
/linux-6.1.9/tools/testing/selftests/bpf/
Dtest_verifier.c1239 __u32 xlated_prog_len; in get_xlated_program() local
1247 xlated_prog_len = info.xlated_prog_len; in get_xlated_program()
1248 if (xlated_prog_len % buf_element_size) { in get_xlated_program()
1250 xlated_prog_len, buf_element_size); in get_xlated_program()
1254 *cnt = xlated_prog_len / buf_element_size; in get_xlated_program()
1262 info.xlated_prog_len = xlated_prog_len; in get_xlated_program()
/linux-6.1.9/tools/bpf/bpftool/
Dprog.c98 holder.xlated_prog_len = info->xlated_prog_len; in prep_prog_info()
99 needed += info->xlated_prog_len; in prep_prog_info()
135 ptr += holder.xlated_prog_len; in prep_prog_info()
462 jsonw_uint_field(json_wtr, "bytes_xlated", info->xlated_prog_len); in print_prog_json()
544 printf("\txlated %uB", info->xlated_prog_len); in print_prog_plain()
719 if (info->xlated_prog_len == 0 || !info->xlated_prog_insns) { in prog_dump()
724 member_len = info->xlated_prog_len; in prog_dump()
/linux-6.1.9/tools/perf/util/
Dbpf-utils.c31 offsetof(struct bpf_prog_info, xlated_prog_len),
/linux-6.1.9/kernel/bpf/
Dsyscall.c3954 info.xlated_prog_len = 0; in bpf_prog_get_info_by_fd()
3963 ulen = info.xlated_prog_len; in bpf_prog_get_info_by_fd()
3964 info.xlated_prog_len = bpf_prog_insn_size(prog); in bpf_prog_get_info_by_fd()
3965 if (info.xlated_prog_len && ulen) { in bpf_prog_get_info_by_fd()
3977 ulen = min_t(u32, info.xlated_prog_len, ulen); in bpf_prog_get_info_by_fd()
/linux-6.1.9/tools/include/uapi/linux/
Dbpf.h6170 __u32 xlated_prog_len; member
/linux-6.1.9/include/uapi/linux/
Dbpf.h6170 __u32 xlated_prog_len; member