Home
last modified time | relevance | path

Searched refs:OPTS_SET (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/lib/bpf/
Dnetlink.c465 OPTS_SET(opts, prog_id, xdp_id.info.prog_id); in bpf_xdp_query()
466 OPTS_SET(opts, drv_prog_id, xdp_id.info.drv_prog_id); in bpf_xdp_query()
467 OPTS_SET(opts, hw_prog_id, xdp_id.info.hw_prog_id); in bpf_xdp_query()
468 OPTS_SET(opts, skb_prog_id, xdp_id.info.skb_prog_id); in bpf_xdp_query()
469 OPTS_SET(opts, attach_mode, xdp_id.info.attach_mode); in bpf_xdp_query()
499 OPTS_SET(opts, feature_flags, md.flags); in bpf_xdp_query()
500 OPTS_SET(opts, xdp_zc_max_segs, md.xdp_zc_max_segs); in bpf_xdp_query()
673 OPTS_SET(info->opts, prog_id, libbpf_nla_getattr_u32(tbb[TCA_BPF_ID])); in __get_tc_info()
674 OPTS_SET(info->opts, handle, tc->tcm_handle); in __get_tc_info()
675 OPTS_SET(info->opts, priority, TC_H_MAJ(tc->tcm_info) >> 16); in __get_tc_info()
Dbpf.c322 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
363 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
378 OPTS_SET(opts, log_true_size, attr.log_true_size); in bpf_prog_load()
952 OPTS_SET(opts, attach_flags, attr.query.attach_flags); in bpf_prog_query_opts()
953 OPTS_SET(opts, revision, attr.query.revision); in bpf_prog_query_opts()
954 OPTS_SET(opts, count, attr.query.count); in bpf_prog_query_opts()
1005 OPTS_SET(opts, data_size_out, attr.test.data_size_out); in bpf_prog_test_run_opts()
1006 OPTS_SET(opts, ctx_size_out, attr.test.ctx_size_out); in bpf_prog_test_run_opts()
1007 OPTS_SET(opts, duration, attr.test.duration); in bpf_prog_test_run_opts()
1008 OPTS_SET(opts, retval, attr.test.retval); in bpf_prog_test_run_opts()
[all …]
Dlibbpf_internal.h324 #define OPTS_SET(opts, field, value) \ macro