Home
last modified time | relevance | path

Searched refs:attr_sz (Results 1 - 3 of 3) sorted by relevance

/third_party/libbpf/src/
H A Dbpf.c108 const size_t attr_sz = offsetofend(union bpf_attr, attach_btf_obj_fd); in probe_memcg_account() local
118 memset(&attr, 0, attr_sz); in probe_memcg_account()
124 prog_fd = sys_bpf_fd(BPF_PROG_LOAD, &attr, attr_sz); in probe_memcg_account()
172 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); in bpf_map_create() local
178 memset(&attr, 0, attr_sz); in bpf_map_create()
201 fd = sys_bpf_fd(BPF_MAP_CREATE, &attr, attr_sz); in bpf_map_create()
235 const size_t attr_sz = offsetofend(union bpf_attr, log_true_size); in bpf_prog_load() local
255 memset(&attr, 0, attr_sz); in bpf_prog_load()
314 fd = sys_bpf_prog_load(&attr, attr_sz, attempts); in bpf_prog_load()
355 fd = sys_bpf_prog_load(&attr, attr_sz, attempt in bpf_prog_load()
383 const size_t attr_sz = offsetofend(union bpf_attr, flags); bpf_map_update_elem() local
399 const size_t attr_sz = offsetofend(union bpf_attr, flags); bpf_map_lookup_elem() local
414 const size_t attr_sz = offsetofend(union bpf_attr, flags); bpf_map_lookup_elem_flags() local
430 const size_t attr_sz = offsetofend(union bpf_attr, flags); bpf_map_lookup_and_delete_elem() local
445 const size_t attr_sz = offsetofend(union bpf_attr, flags); bpf_map_lookup_and_delete_elem_flags() local
461 const size_t attr_sz = offsetofend(union bpf_attr, flags); bpf_map_delete_elem() local
475 const size_t attr_sz = offsetofend(union bpf_attr, flags); bpf_map_delete_elem_flags() local
490 const size_t attr_sz = offsetofend(union bpf_attr, next_key); bpf_map_get_next_key() local
505 const size_t attr_sz = offsetofend(union bpf_attr, map_fd); bpf_map_freeze() local
521 const size_t attr_sz = offsetofend(union bpf_attr, batch); bpf_map_batch_common() local
577 const size_t attr_sz = offsetofend(union bpf_attr, path_fd); bpf_obj_pin_opts() local
606 const size_t attr_sz = offsetofend(union bpf_attr, path_fd); bpf_obj_get_opts() local
635 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); bpf_prog_attach_opts() local
673 const size_t attr_sz = offsetofend(union bpf_attr, expected_revision); bpf_prog_detach_opts() local
721 const size_t attr_sz = offsetofend(union bpf_attr, link_create); bpf_link_create() local
871 const size_t attr_sz = offsetofend(union bpf_attr, link_detach); bpf_link_detach() local
885 const size_t attr_sz = offsetofend(union bpf_attr, link_update); bpf_link_update() local
910 const size_t attr_sz = offsetofend(union bpf_attr, iter_create); bpf_iter_create() local
924 const size_t attr_sz = offsetofend(union bpf_attr, query); bpf_prog_query_opts() local
971 const size_t attr_sz = offsetofend(union bpf_attr, test); bpf_prog_test_run_opts() local
1006 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); bpf_obj_get_next_id() local
1043 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); bpf_prog_get_fd_by_id_opts() local
1066 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); bpf_map_get_fd_by_id_opts() local
1089 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); bpf_btf_get_fd_by_id_opts() local
1112 const size_t attr_sz = offsetofend(union bpf_attr, open_flags); bpf_link_get_fd_by_id_opts() local
1134 const size_t attr_sz = offsetofend(union bpf_attr, info); bpf_obj_get_info_by_fd() local
1171 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint); bpf_raw_tracepoint_open() local
1185 const size_t attr_sz = offsetofend(union bpf_attr, btf_log_true_size); bpf_btf_load() local
1237 const size_t attr_sz = offsetofend(union bpf_attr, task_fd_query); bpf_task_fd_query() local
1261 const size_t attr_sz = offsetofend(union bpf_attr, enable_stats); bpf_enable_stats() local
1275 const size_t attr_sz = offsetofend(union bpf_attr, prog_bind_map); bpf_prog_bind_map() local
[all...]
H A Dskel_internal.h225 const size_t attr_sz = offsetofend(union bpf_attr, map_extra); in skel_map_create() local
228 memset(&attr, 0, attr_sz); in skel_map_create()
236 return skel_sys_bpf(BPF_MAP_CREATE, &attr, attr_sz); in skel_map_create()
242 const size_t attr_sz = offsetofend(union bpf_attr, flags); in skel_map_update_elem() local
245 memset(&attr, 0, attr_sz); in skel_map_update_elem()
251 return skel_sys_bpf(BPF_MAP_UPDATE_ELEM, &attr, attr_sz); in skel_map_update_elem()
256 const size_t attr_sz = offsetofend(union bpf_attr, flags); in skel_map_delete_elem() local
259 memset(&attr, 0, attr_sz); in skel_map_delete_elem()
263 return skel_sys_bpf(BPF_MAP_DELETE_ELEM, &attr, attr_sz); in skel_map_delete_elem()
268 const size_t attr_sz in skel_map_get_fd_by_id() local
279 const size_t attr_sz = offsetofend(union bpf_attr, raw_tracepoint.prog_fd); skel_raw_tracepoint_open() local
292 const size_t attr_sz = offsetofend(union bpf_attr, link_create.iter_info_len); skel_link_create() local
[all...]
H A Dlibbpf.c4953 const size_t attr_sz = offsetofend(union bpf_attr, prog_name); local
4961 memset(&attr, 0, attr_sz);
4969 ret = sys_bpf_prog_load(&attr, attr_sz, PROG_LOAD_ATTEMPTS);
10710 const size_t attr_sz = sizeof(struct perf_event_attr); local
10718 memset(&attr, 0, attr_sz);
10740 attr.size = attr_sz;
10862 const size_t attr_sz = sizeof(struct perf_event_attr); local
10883 memset(&attr, 0, attr_sz);
10884 attr.size = attr_sz;
11526 const size_t attr_sz local
12150 const size_t attr_sz = sizeof(struct perf_event_attr); global() local
12949 const size_t attr_sz = sizeof(struct perf_event_attr); global() local
[all...]

Completed in 20 milliseconds