Home
last modified time | relevance | path

Searched refs:p_err (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/kernel/tools/bpf/bpftool/
H A Dcommon.c71 void p_err(const char *fmt, ...) in p_err() function
159 p_err("can't mount tracefs: %s", err_str); in mount_tracefs()
173 p_err("mem alloc failed"); in open_obj_pinned()
180 p_err("bpf obj get (%s): %s", pname, in open_obj_pinned()
208 p_err("incorrect object type: %s", get_fd_type_name(type)); in open_obj_pinned_any()
225 p_err("mem alloc failed"); in mount_bpffs_for_pin()
237 p_err("no BPF file system found, not mounting it due to --nomount option"); in mount_bpffs_for_pin()
245 p_err("can't mount BPF file system to pin the object (%s): %s", in mount_bpffs_for_pin()
264 p_err("can't pin the object (%s): %s", name, strerror(errno)); in do_pin_fd()
311 p_err("can't read link type: %s", strerror(errno)); in get_fd_type()
[all …]
H A Dcgroup.c181 p_err("duplicated argument: %s", *argv); in do_show()
187 p_err("expected no more arguments, 'effective', got: '%s'?", in do_show()
195 p_err("can't open cgroup %s", path); in do_show()
201 p_err("can't query bpf programs attached to %s: %s", in do_show()
254 p_err("can't open cgroup %s: %s", fpath, strerror(errno)); in do_show_tree_fn()
260 p_err("can't query bpf programs attached to %s: %s", in do_show_tree_fn()
328 p_err("cgroup v2 isn't mounted"); in do_show_tree()
338 p_err("duplicated argument: %s", *argv); in do_show_tree()
344 p_err("expected no more arguments, 'effective', got: '%s'?", in do_show_tree()
361 p_err("can't iterate over %s: %s", cgroup_root, in do_show_tree()
[all …]
H A Dprog.c300 p_err("btf dump failed: %d", err); in show_prog_metadata()
325 p_err("jsonw alloc failed"); in show_prog_metadata()
338 p_err("btf dump failed: %d", err); in show_prog_metadata()
511 p_err("can't get prog info: %s", strerror(errno)); in show_prog()
531 p_err("mem alloc failed"); in do_show_subset()
582 p_err("can't get next program: %s%s", strerror(errno), in do_show()
592 p_err("can't get prog by id (%u): %s", in do_show()
636 p_err("error retrieving insn dump: kernel.kptr_restrict set?"); in prog_dump()
644 p_err("failed to get btf"); in prog_dump()
659 p_err("can't open file %s: %s", filepath, in prog_dump()
[all …]
H A Dmap.c330 p_err("error parsing byte: %s", argv[i]); in parse_bytes()
337 p_err("%s expected %d bytes got %d", name, n, i); in parse_bytes()
365 p_err("did not find %s", key ? "key" : "value"); in parse_elem()
372 p_err("duplicate key"); in parse_elem()
374 p_err("unnecessary key"); in parse_elem()
389 p_err("duplicate value"); in parse_elem()
391 p_err("unnecessary value"); in parse_elem()
401 p_err("value smaller than 4B for map in map?"); in parse_elem()
405 p_err("not enough value arguments for map in map"); in parse_elem()
419 p_err("value smaller than 4B for map of progs?"); in parse_elem()
[all …]
H A Dstruct_ops.c36 p_err("struct_ops requires kernel CONFIG_DEBUG_INFO_BTF=y"); in get_btf_vmlinux()
74 p_err("can't find bpf_map_info from btf_vmlinux"); in get_map_info_type_id()
111 p_err("mem alloc failed"); in map_info_alloc()
143 p_err("can't get next map: %s", strerror(errno)); in get_next_struct_ops_map()
151 p_err("can't get map by id (%u): %s", in get_next_struct_ops_map()
158 p_err("can't get map info: %s", strerror(errno)); in get_next_struct_ops_map()
222 p_err("no struct_ops found for %s", name); in do_search()
249 p_err("invalid id %s", id_str); in do_one_id()
256 p_err("can't get map by id (%lu): %s", id, strerror(errno)); in do_one_id()
268 p_err("can't get map info: %s", strerror(errno)); in do_one_id()
[all …]
H A Dbtf.c487 p_err("can't get prog info: %s", strerror(errno)); in do_dump()
497 p_err("can't parse %s as ID", *argv); in do_dump()
506 p_err("failed to load BTF from %s: %s", in do_dump()
513 p_err("unrecognized BTF source specifier: '%s'", src); in do_dump()
521 p_err("expecting value for 'format' option\n"); in do_dump()
530 p_err("unrecognized format specifier: '%s', possible values: raw, c", in do_dump()
537 p_err("unrecognized option: '%s'", *argv); in do_dump()
546 p_err("get btf by id (%u): %s", btf_id, strerror(err)); in do_dump()
551 p_err("can't find btf with ID (%u)", btf_id); in do_dump()
558 p_err("JSON output for C-syntax dump is not supported"); in do_dump()
[all …]
H A Dmain.c128 p_err("command '%s' is not supported in bootstrap mode", in cmd_select()
173 p_err("%s", msg); in detect_common_prefix()
216 p_err("too many arguments to command %d", cmd_nb); in make_args()
228 p_err("unterminated quoted string in command %d", in make_args()
281 p_err("too few parameters for batch"); in do_batch()
284 p_err("expected 'file', got: %s", *argv); in do_batch()
287 p_err("too many parameters for batch"); in do_batch()
297 p_err("Can't open file (%s): %s", *argv, strerror(errno)); in do_batch()
319 p_err("missing continuation line on command %d", in do_batch()
330 p_err("command %d is too long", lines); in do_batch()
[all …]
H A Diter.c33 p_err("incorrect map spec"); in do_pin()
50 p_err("can't open objfile %s", objfile); in do_pin()
56 p_err("can't load objfile %s", objfile); in do_pin()
62 p_err("can't find bpf program in objfile %s", objfile); in do_pin()
69 p_err("attach_iter failed for program %s", in do_pin()
80 p_err("pin_iter failed for program %s to path %s", in do_pin()
H A Dpids.c46 p_err("failed to re-alloc memory for ID %u, PID %d, COMM %s...", in add_ref()
62 p_err("failed to alloc memory for ID %u, PID %d, COMM %s...", in add_ref()
71 p_err("failed to alloc memory for ID %u, PID %d, COMM %s...", in add_ref()
103 p_err("failed to open PID iterator skeleton"); in build_obj_refs_table()
123 p_err("failed to attach PID iterator: %d", err); in build_obj_refs_table()
130 p_err("failed to create PID iterator session: %d", err); in build_obj_refs_table()
140 p_err("failed to read PID iterator output: %d", err); in build_obj_refs_table()
147 p_err("invalid PID iterator output format"); in build_obj_refs_table()
H A Dfeature.c798 p_err("failed to get capabilities for process: %s", in handle_perms()
813 p_err("bug: failed to retrieve %s status: %s", cap_name, in handle_perms()
841 p_err("missing %s, required for full feature probing; run as root or use 'unprivileged'", in handle_perms()
844p_err("missing %s%s%s%s%s%s%s%srequired for full feature probing; run as root or use 'unprivileged… in handle_perms()
860 p_err("bug: failed to clear capabilities: %s", strerror(errno)); in handle_perms()
865 p_err("failed to drop capabilities: %s", strerror(errno)); in handle_perms()
873 p_err("failed to clear storage object for capabilities: %s", in handle_perms()
885 p_err("full feature probing requires root privileges"); in handle_perms()
906 p_err("component to probe already specified"); in do_probe()
915 p_err("component to probe already specified"); in do_probe()
[all …]
H A Dgen.c133 p_err("Something is wrong for %s's variable #%d: need offset %d, already at %d.\n", in codegen_datasec_def()
140 p_err("Failed to determine alignment of variable '%s': %d", in codegen_datasec_def()
234 p_err("unrecognized character at pos %td in template '%s'", in codegen()
245 p_err("not enough tabs at pos %td in template '%s'", in codegen()
292 p_err("extra unknown arguments"); in do_skeleton()
297 p_err("failed to stat() %s: %s", file, strerror(errno)); in do_skeleton()
304 p_err("failed to open() %s: %s", file, strerror(errno)); in do_skeleton()
310 p_err("failed to mmap() %s: %s", file, strerror(errno)); in do_skeleton()
320 p_err("failed to open BPF object file: %s", err_buf); in do_skeleton()
328 p_err("ignoring unrecognized internal map '%s'...", in do_skeleton()
H A Dlink.c35 p_err("can't parse %s as ID", **argv); in link_parse_fd()
42 p_err("failed to get link with ID %d: %s", id, strerror(errno)); in link_parse_fd()
55 p_err("expected 'id' or 'pinned', got: '%s'?", **argv); in link_parse_fd()
108 p_err("can't get prog info: %s", strerror(errno)); in get_prog_info()
273 p_err("can't get link info: %s", in do_show_link()
326 p_err("can't get next link: %s%s", strerror(errno), in do_show()
335 p_err("can't get link by id (%u): %s", in do_show()
367 p_err("link specifier is invalid or missing\n"); in do_detach()
380 p_err("failed link detach: %s", strerror(-err)); in do_detach()
H A Dmap_perf_ring.c144 p_err("map is not a perf event array"); in do_event_pipe()
160 p_err("can't parse %s as CPU ID", *argv); in do_event_pipe()
171 p_err("can't parse %s as index", *argv); in do_event_pipe()
186 p_err("cpu and index must be specified together"); in do_event_pipe()
204 p_err("failed to create perf buffer: %s (%d)", in do_event_pipe()
219 p_err("perf buffer polling failed: %s (%d)", in do_event_pipe()
H A Dnet.c112 p_err("Netlink error reporting not supported"); in netlink_open()
494 p_err("can't open /proc/self/ns/net: %s", in query_flow_dissector()
510 p_err("can't query prog: %s", strerror(errno)); in query_flow_dissector()
529 p_err("invalid devname %s", **argv); in net_parse_dev()
533 p_err("expected 'dev', got: '%s'?", **argv); in net_parse_dev()
569 p_err("invalid net attach/detach type: %s", *argv); in do_attach()
588 p_err("expected 'overwrite', got: '%s'?", *argv); in do_attach()
599 p_err("interface %s attach failed: %s", in do_attach()
622 p_err("invalid net attach/detach type: %s", *argv); in do_detach()
637 p_err("interface %s detach failed: %s", in do_detach()
H A Dtracelog.c49 p_err("tracefs mount point name too long"); in find_tracefs_mnt_single()
141 p_err("could not open trace pipe: %s", strerror(errno)); in do_tracelog()
153 p_err("failed to read content from trace pipe: %s", in do_tracelog()
H A Dmain.h36 #define BAD_ARG() ({ p_err("what is '%s'?", *argv); -1; })
44 p_err("'%s' needs at least %d arguments, %d found", \
98 void __printf(1, 2) p_err(const char *fmt, ...);
214 p_err("No libbfd support"); in disasm_init()
H A Dperf.c34 p_err("perf_query_support: cannot open directory \"/\" (%s)", in has_perf_query_support()
53 p_err("perf_query_support: %s", strerror(errno)); in has_perf_query_support()
222 p_err("%s", strerror(errno)); in do_show()
H A Dcfg.c77 p_err("OOM when allocating FUNC node"); in cfg_append_func()
103 p_err("OOM when allocating BB node"); in func_append_bb()
120 p_err("OOM when allocating BB node"); in func_insert_dummy_bb()
263 p_err("OOM when allocating edge node"); in new_edge()
H A Djit_disasm.c115 p_err("No libbfd support for %s", arch); in disasm_print_insn()
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_api.c613 H264dErrCtx_t *p_err = &p_Dec->errctx; in h264d_parse() local
617 p_err->cur_err_flag = 0; in h264d_parse()
618 p_err->used_ref_flag = 0; in h264d_parse()
643 in_task->flags.used_for_ref = p_err->used_ref_flag; in h264d_parse()
645 && (p_err->dpb_err_flag | p_err->cur_err_flag)) ? 1 : 0; in h264d_parse()
H A Dh264d_init.c1510 H264dErrCtx_t *p_err = &p_Dec->errctx; in check_refer_picture_lists() local
1513 p_err->dpb_err_flag = 0; in check_refer_picture_lists()
1521 p_err->cur_err_flag |= check_ref_pic_list(currSlice, 0) ? 1 : 0; in check_refer_picture_lists()
1527p_err->cur_err_flag |= check_ref_dbp_err(p_Dec, p_Dec->refpic_info_b[0], active_l0) ? 1 : 0; in check_refer_picture_lists()
1529p_err->cur_err_flag |= check_ref_dbp_err(p_Dec, p_Dec->refpic_info_p, active_l0) ? 1 : 0; in check_refer_picture_lists()
1531 p_err->cur_err_flag, pps_refs, over_flag, active_l0); in check_refer_picture_lists()
1536 p_err->cur_err_flag |= check_ref_pic_list(currSlice, 1) ? 1 : 0; in check_refer_picture_lists()
1541p_err->cur_err_flag |= check_ref_dbp_err(p_Dec, p_Dec->refpic_info_b[1], active_l1) ? 1 : 0; in check_refer_picture_lists()
1543 p_err->cur_err_flag, pps_refs, over_flag, active_l1); in check_refer_picture_lists()
1548 p_err->cur_err_flag |= 1; in check_refer_picture_lists()
[all …]
H A Dh264d_dpb.c848 H264dErrCtx_t *p_err = &p_Vid->p_Dec->errctx; in write_picture() local
859 if (p_err->used_ref_flag) { in write_picture()
866 if ((p_err->i_slice_no < 2) && (p->poc < p_err->first_iframe_poc)) { in write_picture()
867 if (p_err->used_ref_flag && p_err->first_iframe_is_output) { in write_picture()
1371 H264dErrCtx_t *p_err = &p_Dpb->p_Vid->p_Dec->errctx; in scan_dpb_output() local
1372 RK_U32 is_i_frm = p_err->i_slice_no < 2 && p_Dpb->last_output_poc == INT_MIN; in scan_dpb_output()
1393 p_err->first_iframe_is_output = fs->is_output; in scan_dpb_output()
1652 H264dErrCtx_t *p_err = &p_Dpb->p_Vid->p_Dec->errctx; in idr_memory_management() local
1673 p_err->i_slice_no = 1; in idr_memory_management()