Lines Matching refs:linfo

83 	union bpf_iter_link_info linfo;  in do_read_map_iter_fd()  local
88 memset(&linfo, 0, sizeof(linfo)); in do_read_map_iter_fd()
89 linfo.map.map_fd = bpf_map__fd(map); in do_read_map_iter_fd()
90 opts.link_info = &linfo; in do_read_map_iter_fd()
91 opts.link_info_len = sizeof(linfo); in do_read_map_iter_fd()
186 union bpf_iter_link_info linfo; in check_bpf_link_info() local
192 memset(&linfo, 0, sizeof(linfo)); in check_bpf_link_info()
193 linfo.task.tid = getpid(); in check_bpf_link_info()
194 opts.link_info = &linfo; in check_bpf_link_info()
195 opts.link_info_len = sizeof(linfo); in check_bpf_link_info()
261 union bpf_iter_link_info linfo; in test_task_tid() local
264 memset(&linfo, 0, sizeof(linfo)); in test_task_tid()
265 linfo.task.tid = getpid(); in test_task_tid()
266 opts.link_info = &linfo; in test_task_tid()
267 opts.link_info_len = sizeof(linfo); in test_task_tid()
270 linfo.task.tid = 0; in test_task_tid()
271 linfo.task.pid = getpid(); in test_task_tid()
282 union bpf_iter_link_info linfo; in test_task_pid() local
284 memset(&linfo, 0, sizeof(linfo)); in test_task_pid()
285 linfo.task.pid = getpid(); in test_task_pid()
286 opts.link_info = &linfo; in test_task_pid()
287 opts.link_info_len = sizeof(linfo); in test_task_pid()
295 union bpf_iter_link_info linfo; in test_task_pidfd() local
302 memset(&linfo, 0, sizeof(linfo)); in test_task_pidfd()
303 linfo.task.pid_fd = pidfd; in test_task_pidfd()
304 opts.link_info = &linfo; in test_task_pidfd()
305 opts.link_info_len = sizeof(linfo); in test_task_pidfd()
348 union bpf_iter_link_info linfo; in test_task_file() local
363 memset(&linfo, 0, sizeof(linfo)); in test_task_file()
364 linfo.task.tid = getpid(); in test_task_file()
365 opts.link_info = &linfo; in test_task_file()
366 opts.link_info_len = sizeof(linfo); in test_task_file()
775 union bpf_iter_link_info linfo; in test_bpf_hash_map() local
796 memset(&linfo, 0, sizeof(linfo)); in test_bpf_hash_map()
797 linfo.map.map_fd = bpf_map__fd(skel->maps.hashmap2); in test_bpf_hash_map()
798 opts.link_info = &linfo; in test_bpf_hash_map()
799 opts.link_info_len = sizeof(linfo); in test_bpf_hash_map()
804 linfo.map.map_fd = bpf_map__fd(skel->maps.hashmap3); in test_bpf_hash_map()
826 linfo.map.map_fd = map_fd; in test_bpf_hash_map()
831 linfo.map.map_fd = map_fd; in test_bpf_hash_map()
868 union bpf_iter_link_info linfo; in test_bpf_percpu_hash_map() local
909 memset(&linfo, 0, sizeof(linfo)); in test_bpf_percpu_hash_map()
910 linfo.map.map_fd = map_fd; in test_bpf_percpu_hash_map()
911 opts.link_info = &linfo; in test_bpf_percpu_hash_map()
912 opts.link_info_len = sizeof(linfo); in test_bpf_percpu_hash_map()
950 union bpf_iter_link_info linfo; in test_bpf_array_map() local
974 memset(&linfo, 0, sizeof(linfo)); in test_bpf_array_map()
975 linfo.map.map_fd = map_fd; in test_bpf_array_map()
976 opts.link_info = &linfo; in test_bpf_array_map()
977 opts.link_info_len = sizeof(linfo); in test_bpf_array_map()
1043 union bpf_iter_link_info linfo; in test_bpf_percpu_array_map() local
1076 memset(&linfo, 0, sizeof(linfo)); in test_bpf_percpu_array_map()
1077 linfo.map.map_fd = map_fd; in test_bpf_percpu_array_map()
1078 opts.link_info = &linfo; in test_bpf_percpu_array_map()
1079 opts.link_info_len = sizeof(linfo); in test_bpf_percpu_array_map()
1114 union bpf_iter_link_info linfo; in test_bpf_sk_storage_delete() local
1134 memset(&linfo, 0, sizeof(linfo)); in test_bpf_sk_storage_delete()
1135 linfo.map.map_fd = map_fd; in test_bpf_sk_storage_delete()
1136 opts.link_info = &linfo; in test_bpf_sk_storage_delete()
1137 opts.link_info_len = sizeof(linfo); in test_bpf_sk_storage_delete()
1239 union bpf_iter_link_info linfo; in test_bpf_sk_storage_map() local
1265 memset(&linfo, 0, sizeof(linfo)); in test_bpf_sk_storage_map()
1266 linfo.map.map_fd = map_fd; in test_bpf_sk_storage_map()
1267 opts.link_info = &linfo; in test_bpf_sk_storage_map()
1268 opts.link_info_len = sizeof(linfo); in test_bpf_sk_storage_map()
1322 union bpf_iter_link_info linfo; in test_rdonly_buf_out_of_bound() local
1329 memset(&linfo, 0, sizeof(linfo)); in test_rdonly_buf_out_of_bound()
1330 linfo.map.map_fd = bpf_map__fd(skel->maps.hashmap1); in test_rdonly_buf_out_of_bound()
1331 opts.link_info = &linfo; in test_rdonly_buf_out_of_bound()
1332 opts.link_info_len = sizeof(linfo); in test_rdonly_buf_out_of_bound()
1480 union bpf_iter_link_info linfo; in test_task_vma() local
1482 memset(&linfo, 0, sizeof(linfo)); in test_task_vma()
1483 linfo.task.tid = getpid(); in test_task_vma()
1484 opts.link_info = &linfo; in test_task_vma()
1485 opts.link_info_len = sizeof(linfo); in test_task_vma()
1543 union bpf_iter_link_info linfo; in test_task_vma_offset() local
1545 memset(&linfo, 0, sizeof(linfo)); in test_task_vma_offset()
1546 linfo.task.pid = getpid(); in test_task_vma_offset()
1547 opts.link_info = &linfo; in test_task_vma_offset()
1548 opts.link_info_len = sizeof(linfo); in test_task_vma_offset()
1552 linfo.task.pid = 0; in test_task_vma_offset()
1553 linfo.task.tid = getpid(); in test_task_vma_offset()