bpf_map_lookup_elem 26 kernel/bpf/helpers.c BPF_CALL_2(bpf_map_lookup_elem, struct bpf_map *, map, void *, key) bpf_map_lookup_elem 33 kernel/bpf/helpers.c .func = bpf_map_lookup_elem, bpf_map_lookup_elem 196 samples/bpf/cookie_uid_helper_example.c res = bpf_map_lookup_elem(map_fd, &curN, &curEntry); bpf_map_lookup_elem 236 samples/bpf/cookie_uid_helper_example.c res = bpf_map_lookup_elem(map_fd, &cookie, &dataEntry); bpf_map_lookup_elem 255 samples/bpf/cookie_uid_helper_example.c res = bpf_map_lookup_elem(map_fd, &cookie, &dataEntry); bpf_map_lookup_elem 116 samples/bpf/cpustat_kern.c cts = bpf_map_lookup_elem(&my_map, &key); bpf_map_lookup_elem 121 samples/bpf/cpustat_kern.c cstate = bpf_map_lookup_elem(&my_map, &key); bpf_map_lookup_elem 126 samples/bpf/cpustat_kern.c pts = bpf_map_lookup_elem(&my_map, &key); bpf_map_lookup_elem 131 samples/bpf/cpustat_kern.c pstate = bpf_map_lookup_elem(&my_map, &key); bpf_map_lookup_elem 176 samples/bpf/cpustat_kern.c val = bpf_map_lookup_elem(&pstate_duration, &key); bpf_map_lookup_elem 199 samples/bpf/cpustat_kern.c val = bpf_map_lookup_elem(&cstate_duration, &key); bpf_map_lookup_elem 221 samples/bpf/cpustat_kern.c pts = bpf_map_lookup_elem(&my_map, &key); bpf_map_lookup_elem 226 samples/bpf/cpustat_kern.c pstate = bpf_map_lookup_elem(&my_map, &key); bpf_map_lookup_elem 231 samples/bpf/cpustat_kern.c cstate = bpf_map_lookup_elem(&my_map, &key); bpf_map_lookup_elem 273 samples/bpf/cpustat_kern.c val = bpf_map_lookup_elem(&pstate_duration, &key); bpf_map_lookup_elem 86 samples/bpf/cpustat_user.c bpf_map_lookup_elem(cstate_fd, &key, &value); bpf_map_lookup_elem 92 samples/bpf/cpustat_user.c bpf_map_lookup_elem(pstate_fd, &key, &value); bpf_map_lookup_elem 100 samples/bpf/fds_example.c ret = bpf_map_lookup_elem(fd, &key, &value); bpf_map_lookup_elem 216 samples/bpf/hbm.c bpf_map_lookup_elem(map_fd, &key, &qstats); bpf_map_lookup_elem 245 samples/bpf/hbm.c bpf_map_lookup_elem(map_fd, &key, &qstats); bpf_map_lookup_elem 299 samples/bpf/hbm.c if (stats_flag && bpf_map_lookup_elem(map_fd, &key, &qstats)) { bpf_map_lookup_elem 71 samples/bpf/hbm_edt_kern.c qsp = bpf_map_lookup_elem(&queue_stats, &queue_index); bpf_map_lookup_elem 75 samples/bpf/hbm_out_kern.c qsp = bpf_map_lookup_elem(&queue_stats, &queue_index); bpf_map_lookup_elem 85 samples/bpf/ibumad_kern.c val = bpf_map_lookup_elem(&read_count, &class); bpf_map_lookup_elem 88 samples/bpf/ibumad_kern.c val = bpf_map_lookup_elem(&read_count, &class); bpf_map_lookup_elem 105 samples/bpf/ibumad_kern.c val = bpf_map_lookup_elem(&read_count, &class); bpf_map_lookup_elem 108 samples/bpf/ibumad_kern.c val = bpf_map_lookup_elem(&read_count, &class); bpf_map_lookup_elem 125 samples/bpf/ibumad_kern.c val = bpf_map_lookup_elem(&write_count, &class); bpf_map_lookup_elem 128 samples/bpf/ibumad_kern.c val = bpf_map_lookup_elem(&write_count, &class); bpf_map_lookup_elem 36 samples/bpf/ibumad_user.c if (bpf_map_lookup_elem(fd, &key, &value)) { bpf_map_lookup_elem 32 samples/bpf/lathist_kern.c u64 *ts = bpf_map_lookup_elem(&my_map, &cpu); bpf_map_lookup_elem 79 samples/bpf/lathist_kern.c ts = bpf_map_lookup_elem(&my_map, &cpu); bpf_map_lookup_elem 90 samples/bpf/lathist_kern.c val = bpf_map_lookup_elem(&my_lat, &key); bpf_map_lookup_elem 73 samples/bpf/lathist_user.c bpf_map_lookup_elem(fd, &key, &value); bpf_map_lookup_elem 73 samples/bpf/lwt_len_hist_kern.c value = bpf_map_lookup_elem(&lwt_len_hist_map, &key); bpf_map_lookup_elem 51 samples/bpf/lwt_len_hist_user.c bpf_map_lookup_elem(map_fd, &next_key, values); bpf_map_lookup_elem 106 samples/bpf/map_perf_test_kern.c value = bpf_map_lookup_elem(&hash_map, &key); bpf_map_lookup_elem 121 samples/bpf/map_perf_test_kern.c value = bpf_map_lookup_elem(&percpu_hash_map, &key); bpf_map_lookup_elem 135 samples/bpf/map_perf_test_kern.c value = bpf_map_lookup_elem(&hash_map_alloc, &key); bpf_map_lookup_elem 149 samples/bpf/map_perf_test_kern.c value = bpf_map_lookup_elem(&percpu_hash_map_alloc, &key); bpf_map_lookup_elem 204 samples/bpf/map_perf_test_kern.c nolocal_lru_map = bpf_map_lookup_elem(&array_of_lru_hashs, bpf_map_lookup_elem 220 samples/bpf/map_perf_test_kern.c bpf_map_lookup_elem(&lru_hash_lookup_map, &key); bpf_map_lookup_elem 251 samples/bpf/map_perf_test_kern.c bpf_map_lookup_elem(&lpm_trie_map_alloc, &key); bpf_map_lookup_elem 264 samples/bpf/map_perf_test_kern.c value = bpf_map_lookup_elem(&hash_map, &key); bpf_map_lookup_elem 277 samples/bpf/map_perf_test_kern.c value = bpf_map_lookup_elem(&array_map, &key); bpf_map_lookup_elem 87 samples/bpf/offwaketime_kern.c woke = bpf_map_lookup_elem(&wokeby, &pid); bpf_map_lookup_elem 94 samples/bpf/offwaketime_kern.c val = bpf_map_lookup_elem(&counts, &key); bpf_map_lookup_elem 97 samples/bpf/offwaketime_kern.c val = bpf_map_lookup_elem(&counts, &key); bpf_map_lookup_elem 137 samples/bpf/offwaketime_kern.c tsp = bpf_map_lookup_elem(&start, &pid); bpf_map_lookup_elem 55 samples/bpf/offwaketime_user.c if (bpf_map_lookup_elem(map_fd[3], &key->tret, ip) != 0) { bpf_map_lookup_elem 62 samples/bpf/offwaketime_user.c if (bpf_map_lookup_elem(map_fd[3], &key->wret, ip) != 0) { bpf_map_lookup_elem 84 samples/bpf/offwaketime_user.c bpf_map_lookup_elem(fd, &next_key, &value); bpf_map_lookup_elem 29 samples/bpf/sampleip_kern.c value = bpf_map_lookup_elem(&ip_map, &ip); bpf_map_lookup_elem 97 samples/bpf/sampleip_user.c bpf_map_lookup_elem(fd, &next_key, &value); bpf_map_lookup_elem 80 samples/bpf/sock_example.c assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); bpf_map_lookup_elem 83 samples/bpf/sock_example.c assert(bpf_map_lookup_elem(map_fd, &key, &udp_cnt) == 0); bpf_map_lookup_elem 86 samples/bpf/sock_example.c assert(bpf_map_lookup_elem(map_fd, &key, &icmp_cnt) == 0); bpf_map_lookup_elem 23 samples/bpf/sockex1_kern.c value = bpf_map_lookup_elem(&my_map, &index); bpf_map_lookup_elem 40 samples/bpf/sockex1_user.c assert(bpf_map_lookup_elem(map_fd, &key, &tcp_cnt) == 0); bpf_map_lookup_elem 43 samples/bpf/sockex1_user.c assert(bpf_map_lookup_elem(map_fd, &key, &udp_cnt) == 0); bpf_map_lookup_elem 46 samples/bpf/sockex1_user.c assert(bpf_map_lookup_elem(map_fd, &key, &icmp_cnt) == 0); bpf_map_lookup_elem 210 samples/bpf/sockex2_kern.c value = bpf_map_lookup_elem(&hash_map, &key); bpf_map_lookup_elem 48 samples/bpf/sockex2_user.c bpf_map_lookup_elem(map_fd, &next_key, &value); bpf_map_lookup_elem 106 samples/bpf/sockex3_kern.c return bpf_map_lookup_elem(&percpu_map, &key); bpf_map_lookup_elem 127 samples/bpf/sockex3_kern.c value = bpf_map_lookup_elem(&hash_map, &key); bpf_map_lookup_elem 51 samples/bpf/sockex3_user.c err = bpf_map_lookup_elem(PROG_ARRAY_FD, &key, &id); bpf_map_lookup_elem 73 samples/bpf/sockex3_user.c bpf_map_lookup_elem(map_fd[2], &next_key, &value); bpf_map_lookup_elem 39 samples/bpf/spintest_kern.c val = bpf_map_lookup_elem(&my_map, &v); \ bpf_map_lookup_elem 37 samples/bpf/spintest_user.c bpf_map_lookup_elem(map_fd[0], &next_key, &value); bpf_map_lookup_elem 40 samples/bpf/syscall_tp_kern.c value = bpf_map_lookup_elem(map, &key); bpf_map_lookup_elem 35 samples/bpf/syscall_tp_user.c if (bpf_map_lookup_elem(map_id, &key, &val) != 0) { bpf_map_lookup_elem 72 samples/bpf/tc_l2_redirect_kern.c ifindex = bpf_map_lookup_elem(&tun_iface, &key); bpf_map_lookup_elem 123 samples/bpf/tc_l2_redirect_kern.c ifindex = bpf_map_lookup_elem(&tun_iface, &key); bpf_map_lookup_elem 162 samples/bpf/tc_l2_redirect_kern.c ifindex = bpf_map_lookup_elem(&tun_iface, &key); bpf_map_lookup_elem 116 samples/bpf/test_cgrp2_attach.c assert(bpf_map_lookup_elem(map_fd, &key, &pkt_cnt) == 0); bpf_map_lookup_elem 119 samples/bpf/test_cgrp2_attach.c assert(bpf_map_lookup_elem(map_fd, &key, &byte_cnt) == 0); bpf_map_lookup_elem 49 samples/bpf/test_current_task_under_cgroup_user.c bpf_map_lookup_elem(map_fd[1], &idx, &remote_pid); bpf_map_lookup_elem 66 samples/bpf/test_current_task_under_cgroup_user.c bpf_map_lookup_elem(map_fd[1], &idx, &remote_pid); bpf_map_lookup_elem 136 samples/bpf/test_lru_dist.c if (!bpf_map_lookup_elem(lru->map_fd, &key, &node)) { bpf_map_lookup_elem 287 samples/bpf/test_lru_dist.c if (!bpf_map_lookup_elem(lru_map_fd, &key, &value)) bpf_map_lookup_elem 366 samples/bpf/test_lru_dist.c bpf_map_lookup_elem(map_fd, &start_key, value); bpf_map_lookup_elem 372 samples/bpf/test_lru_dist.c if (bpf_map_lookup_elem(map_fd, &key, value)) { bpf_map_lookup_elem 413 samples/bpf/test_lru_dist.c if (bpf_map_lookup_elem(map_fd, &key, value)) bpf_map_lookup_elem 450 samples/bpf/test_lru_dist.c bpf_map_lookup_elem(map_fd, &key, value); bpf_map_lookup_elem 460 samples/bpf/test_lru_dist.c if (bpf_map_lookup_elem(map_fd, &key, value)) bpf_map_lookup_elem 77 samples/bpf/test_map_in_map_kern.c result = bpf_map_lookup_elem(inner_map, &port); bpf_map_lookup_elem 88 samples/bpf/test_map_in_map_kern.c result = bpf_map_lookup_elem(&port_a, &port); bpf_map_lookup_elem 99 samples/bpf/test_map_in_map_kern.c result = bpf_map_lookup_elem(&port_h, &port); bpf_map_lookup_elem 151 samples/bpf/test_map_in_map_kern.c inner_map = bpf_map_lookup_elem(outer_map, &port_key); bpf_map_lookup_elem 41 samples/bpf/test_map_in_map_user.c ret = bpf_map_lookup_elem(map_in_map_fd, &key, &id); bpf_map_lookup_elem 93 samples/bpf/test_map_in_map_user.c ret = bpf_map_lookup_elem(REG_RESULT_H, &result_key, &result); bpf_map_lookup_elem 96 samples/bpf/test_map_in_map_user.c ret = bpf_map_lookup_elem(INLINE_RESULT_H, &result_key, bpf_map_lookup_elem 42 samples/bpf/test_probe_write_user_kern.c mapped_addr = bpf_map_lookup_elem(&dnat_map, &orig_addr); bpf_map_lookup_elem 71 samples/bpf/trace_event_kern.c val = bpf_map_lookup_elem(&counts, &key); bpf_map_lookup_elem 68 samples/bpf/trace_event_user.c if (bpf_map_lookup_elem(map_fd[1], &key->kernstack, ip) != 0) { bpf_map_lookup_elem 75 samples/bpf/trace_event_user.c if (bpf_map_lookup_elem(map_fd[1], &key->userstack, ip) != 0) { bpf_map_lookup_elem 109 samples/bpf/trace_event_user.c bpf_map_lookup_elem(fd, &next_key, &value); bpf_map_lookup_elem 35 samples/bpf/tracex2_kern.c value = bpf_map_lookup_elem(&my_map, &loc); bpf_map_lookup_elem 92 samples/bpf/tracex2_kern.c value = bpf_map_lookup_elem(&my_hist_map, &key); bpf_map_lookup_elem 58 samples/bpf/tracex2_user.c bpf_map_lookup_elem(fd, &next_key, values); bpf_map_lookup_elem 149 samples/bpf/tracex2_user.c bpf_map_lookup_elem(map_fd[0], &next_key, &value); bpf_map_lookup_elem 58 samples/bpf/tracex3_kern.c value = bpf_map_lookup_elem(&my_map, &rq); bpf_map_lookup_elem 82 samples/bpf/tracex3_kern.c value = bpf_map_lookup_elem(&lat_map, &index); bpf_map_lookup_elem 88 samples/bpf/tracex3_user.c bpf_map_lookup_elem(fd, &key, values); bpf_map_lookup_elem 40 samples/bpf/tracex4_user.c bpf_map_lookup_elem(map_fd[0], &next_key, &v); bpf_map_lookup_elem 37 samples/bpf/tracex6_kern.c val = bpf_map_lookup_elem(&values, &key); bpf_map_lookup_elem 57 samples/bpf/tracex6_kern.c val = bpf_map_lookup_elem(&values2, &key); bpf_map_lookup_elem 47 samples/bpf/tracex6_user.c if (bpf_map_lookup_elem(map_fd[1], &cpu, &value)) { bpf_map_lookup_elem 55 samples/bpf/tracex6_user.c if (bpf_map_lookup_elem(map_fd[2], &cpu, &value2)) { bpf_map_lookup_elem 86 samples/bpf/xdp1_kern.c value = bpf_map_lookup_elem(&rxcnt, &ipproto); bpf_map_lookup_elem 58 samples/bpf/xdp1_user.c assert(bpf_map_lookup_elem(map_fd, &key, values) == 0); bpf_map_lookup_elem 102 samples/bpf/xdp2_kern.c value = bpf_map_lookup_elem(&rxcnt, &ipproto); bpf_map_lookup_elem 40 samples/bpf/xdp_adjust_tail_kern.c icmp_count = bpf_map_lookup_elem(&icmpcnt, &key); bpf_map_lookup_elem 62 samples/bpf/xdp_adjust_tail_user.c assert(bpf_map_lookup_elem(map_fd, &key, &value) == 0); bpf_map_lookup_elem 130 samples/bpf/xdp_fwd_kern.c if (!bpf_map_lookup_elem(&xdp_tx_ports, &fib_params.ifindex)) bpf_map_lookup_elem 54 samples/bpf/xdp_monitor_kern.c cnt = bpf_map_lookup_elem(&redirect_err_cnt, &key); bpf_map_lookup_elem 115 samples/bpf/xdp_monitor_kern.c cnt = bpf_map_lookup_elem(&exception_cnt, &key); bpf_map_lookup_elem 168 samples/bpf/xdp_monitor_kern.c rec = bpf_map_lookup_elem(&cpumap_enqueue_cnt, &to_cpu); bpf_map_lookup_elem 200 samples/bpf/xdp_monitor_kern.c rec = bpf_map_lookup_elem(&cpumap_kthread_cnt, &key); bpf_map_lookup_elem 241 samples/bpf/xdp_monitor_kern.c rec = bpf_map_lookup_elem(&devmap_xmit_cnt, &key); bpf_map_lookup_elem 159 samples/bpf/xdp_monitor_user.c if ((bpf_map_lookup_elem(fd, &key, values)) != 0) { bpf_map_lookup_elem 193 samples/bpf/xdp_monitor_user.c if ((bpf_map_lookup_elem(fd, &key, values)) != 0) { bpf_map_lookup_elem 211 samples/bpf/xdp_redirect_cpu_kern.c cpu_selected = bpf_map_lookup_elem(&cpus_available, &key); bpf_map_lookup_elem 217 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&rx_cnt, &key); bpf_map_lookup_elem 243 samples/bpf/xdp_redirect_cpu_kern.c cpu_selected = bpf_map_lookup_elem(&cpus_available, &key); bpf_map_lookup_elem 253 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&rx_cnt, &key); bpf_map_lookup_elem 289 samples/bpf/xdp_redirect_cpu_kern.c cpu_max = bpf_map_lookup_elem(&cpus_count, &key0); bpf_map_lookup_elem 293 samples/bpf/xdp_redirect_cpu_kern.c cpu_iterator = bpf_map_lookup_elem(&cpus_iterator, &key0); bpf_map_lookup_elem 302 samples/bpf/xdp_redirect_cpu_kern.c cpu_selected = bpf_map_lookup_elem(&cpus_available, &cpu_idx); bpf_map_lookup_elem 308 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&rx_cnt, &key0); bpf_map_lookup_elem 337 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&rx_cnt, &key); bpf_map_lookup_elem 376 samples/bpf/xdp_redirect_cpu_kern.c cpu_lookup = bpf_map_lookup_elem(&cpus_available, &cpu_idx); bpf_map_lookup_elem 406 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&rx_cnt, &key); bpf_map_lookup_elem 452 samples/bpf/xdp_redirect_cpu_kern.c cpu_lookup = bpf_map_lookup_elem(&cpus_available, &cpu_idx); bpf_map_lookup_elem 527 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&rx_cnt, &key); bpf_map_lookup_elem 532 samples/bpf/xdp_redirect_cpu_kern.c cpu_max = bpf_map_lookup_elem(&cpus_count, &key); bpf_map_lookup_elem 555 samples/bpf/xdp_redirect_cpu_kern.c cpu_lookup = bpf_map_lookup_elem(&cpus_available, &cpu_idx); bpf_map_lookup_elem 601 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&redirect_err_cnt, &key); bpf_map_lookup_elem 643 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&exception_cnt, &key); bpf_map_lookup_elem 673 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&cpumap_enqueue_cnt, &to_cpu); bpf_map_lookup_elem 710 samples/bpf/xdp_redirect_cpu_kern.c rec = bpf_map_lookup_elem(&cpumap_kthread_cnt, &key); bpf_map_lookup_elem 186 samples/bpf/xdp_redirect_cpu_user.c if ((bpf_map_lookup_elem(fd, &key, values)) != 0) { bpf_map_lookup_elem 525 samples/bpf/xdp_redirect_cpu_user.c ret = bpf_map_lookup_elem(cpus_count_map_fd, &key, &curr_cpus_count); bpf_map_lookup_elem 71 samples/bpf/xdp_redirect_kern.c ifindex = bpf_map_lookup_elem(&tx_port, &port); bpf_map_lookup_elem 75 samples/bpf/xdp_redirect_kern.c value = bpf_map_lookup_elem(&rxcnt, &key); bpf_map_lookup_elem 75 samples/bpf/xdp_redirect_map_kern.c value = bpf_map_lookup_elem(&rxcnt, &key); bpf_map_lookup_elem 76 samples/bpf/xdp_redirect_map_user.c assert(bpf_map_lookup_elem(rxcnt_map_fd, &key, values) == 0); bpf_map_lookup_elem 76 samples/bpf/xdp_redirect_user.c assert(bpf_map_lookup_elem(rxcnt_map_fd, &key, values) == 0); bpf_map_lookup_elem 145 samples/bpf/xdp_router_ipv4_kern.c direct_entry = bpf_map_lookup_elem(&exact_match, &dest_ip); bpf_map_lookup_elem 158 samples/bpf/xdp_router_ipv4_kern.c prefix_value = bpf_map_lookup_elem(&lpm_map, &key4); bpf_map_lookup_elem 164 samples/bpf/xdp_router_ipv4_kern.c dest_mac = bpf_map_lookup_elem(&arp_table, &dest_ip); bpf_map_lookup_elem 169 samples/bpf/xdp_router_ipv4_kern.c dest_mac = bpf_map_lookup_elem(&arp_table, &dest_ip); bpf_map_lookup_elem 178 samples/bpf/xdp_router_ipv4_kern.c value = bpf_map_lookup_elem(&rxcnt, &ipproto); bpf_map_lookup_elem 225 samples/bpf/xdp_router_ipv4_user.c if (bpf_map_lookup_elem(arp_table_map_fd, bpf_map_lookup_elem 245 samples/bpf/xdp_router_ipv4_user.c if (bpf_map_lookup_elem(lpm_map_fd, prefix_key, bpf_map_lookup_elem 420 samples/bpf/xdp_router_ipv4_user.c if (bpf_map_lookup_elem(exact_match_map_fd, bpf_map_lookup_elem 574 samples/bpf/xdp_router_ipv4_user.c assert(bpf_map_lookup_elem(rxcnt_map_fd, bpf_map_lookup_elem 85 samples/bpf/xdp_rxq_info_kern.c rec = bpf_map_lookup_elem(&stats_global_map, &key); bpf_map_lookup_elem 95 samples/bpf/xdp_rxq_info_kern.c config = bpf_map_lookup_elem(&config_map, &key); bpf_map_lookup_elem 112 samples/bpf/xdp_rxq_info_kern.c rxq_rec = bpf_map_lookup_elem(&rx_queue_index_map, &key); bpf_map_lookup_elem 271 samples/bpf/xdp_rxq_info_user.c if ((bpf_map_lookup_elem(fd, &key, values)) != 0) { bpf_map_lookup_elem 40 samples/bpf/xdp_tx_iptunnel_kern.c rxcnt_count = bpf_map_lookup_elem(&rxcnt, &protocol); bpf_map_lookup_elem 105 samples/bpf/xdp_tx_iptunnel_kern.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); bpf_map_lookup_elem 177 samples/bpf/xdp_tx_iptunnel_kern.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); bpf_map_lookup_elem 68 samples/bpf/xdp_tx_iptunnel_user.c assert(bpf_map_lookup_elem(rxcnt_map_fd, &proto, bpf_map_lookup_elem 716 tools/bpf/bpftool/map.c if (!bpf_map_lookup_elem(fd, key, value)) { bpf_map_lookup_elem 983 tools/bpf/bpftool/map.c err = bpf_map_lookup_elem(fd, key, value); bpf_map_lookup_elem 115 tools/lib/bpf/bpf.h LIBBPF_API int bpf_map_lookup_elem(int fd, const void *key, void *value); bpf_map_lookup_elem 87 tools/perf/examples/bpf/augmented_raw_syscalls.c return bpf_map_lookup_elem(&augmented_args_tmp, &key); bpf_map_lookup_elem 46 tools/perf/include/bpf/bpf.h static void *(*bpf_map_lookup_elem)(struct bpf_map *map, void *key) = (void *)BPF_FUNC_map_lookup_elem; bpf_map_lookup_elem 18 tools/perf/include/bpf/pid_filter.h return bpf_map_lookup_elem(pids, &pid) != NULL; bpf_map_lookup_elem 15 tools/perf/tests/bpf-script-example.c static void *(*bpf_map_lookup_elem)(void *map, void *key) = bpf_map_lookup_elem 39 tools/perf/tests/bpf-script-example.c int *flag = bpf_map_lookup_elem(&flip_table, &ind); bpf_map_lookup_elem 15 tools/perf/tests/bpf-script-test-relocation.c static void *(*bpf_map_lookup_elem)(void *map, void *key) = bpf_map_lookup_elem 53 tools/perf/util/bpf_map.c if (!bpf_map_lookup_elem(fd, key, value)) { bpf_map_lookup_elem 25 tools/testing/selftests/bpf/bpf_helpers.h static void *(*bpf_map_lookup_elem)(void *map, const void *key) = bpf_map_lookup_elem 130 tools/testing/selftests/bpf/get_cgroup_id_user.c err = bpf_map_lookup_elem(cgidmap_fd, &key, &kcgid); bpf_map_lookup_elem 120 tools/testing/selftests/bpf/prog_tests/attach_probe.c err = bpf_map_lookup_elem(results_map_fd, &kprobe_idx, &res); bpf_map_lookup_elem 128 tools/testing/selftests/bpf/prog_tests/attach_probe.c err = bpf_map_lookup_elem(results_map_fd, &kretprobe_idx, &res); bpf_map_lookup_elem 139 tools/testing/selftests/bpf/prog_tests/attach_probe.c err = bpf_map_lookup_elem(results_map_fd, &uprobe_idx, &res); bpf_map_lookup_elem 147 tools/testing/selftests/bpf/prog_tests/attach_probe.c err = bpf_map_lookup_elem(results_map_fd, &uretprobe_idx, &res); bpf_map_lookup_elem 229 tools/testing/selftests/bpf/prog_tests/bpf_obj_id.c err = bpf_map_lookup_elem(map_fd, &array_key, &array_value); bpf_map_lookup_elem 356 tools/testing/selftests/bpf/prog_tests/core_reloc.c err = bpf_map_lookup_elem(bpf_map__fd(data_map), &zero, &data); bpf_map_lookup_elem 516 tools/testing/selftests/bpf/prog_tests/flow_dissector.c err = bpf_map_lookup_elem(keys_fd, &key, &flow_keys); bpf_map_lookup_elem 32 tools/testing/selftests/bpf/prog_tests/global_data.c err = bpf_map_lookup_elem(map_fd, &tests[i].key, &num); bpf_map_lookup_elem 61 tools/testing/selftests/bpf/prog_tests/global_data.c err = bpf_map_lookup_elem(map_fd, &tests[i].key, str); bpf_map_lookup_elem 95 tools/testing/selftests/bpf/prog_tests/global_data.c err = bpf_map_lookup_elem(map_fd, &tests[i].key, &val); bpf_map_lookup_elem 68 tools/testing/selftests/bpf/prog_tests/l4lb_all.c bpf_map_lookup_elem(map_fd, &stats_key, stats); bpf_map_lookup_elem 90 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id.c err = bpf_map_lookup_elem(stackmap_fd, &key, id_offs); bpf_map_lookup_elem 125 tools/testing/selftests/bpf/prog_tests/stacktrace_build_id_nmi.c err = bpf_map_lookup_elem(stackmap_fd, &key, id_offs); bpf_map_lookup_elem 52 tools/testing/selftests/bpf/prog_tests/tcp_rtt.c if (CHECK_FAIL(bpf_map_lookup_elem(map_fd, &client_fd, &val) < 0)) { bpf_map_lookup_elem 69 tools/testing/selftests/bpf/prog_tests/xdp_noinline.c bpf_map_lookup_elem(map_fd, &stats_key, stats); bpf_map_lookup_elem 28 tools/testing/selftests/bpf/progs/get_cgroup_id_kern.c expected_pid = bpf_map_lookup_elem(&pidmap, &key); bpf_map_lookup_elem 32 tools/testing/selftests/bpf/progs/get_cgroup_id_kern.c val = bpf_map_lookup_elem(&cg_ids, &key); bpf_map_lookup_elem 159 tools/testing/selftests/bpf/progs/pyperf.h PidData* pidData = bpf_map_lookup_elem(&pidmap, &pid); bpf_map_lookup_elem 164 tools/testing/selftests/bpf/progs/pyperf.h Event* event = bpf_map_lookup_elem(&eventmap, &zero); bpf_map_lookup_elem 211 tools/testing/selftests/bpf/progs/pyperf.h int32_t* symbol_counter = bpf_map_lookup_elem(&symbolmap, &sym); bpf_map_lookup_elem 223 tools/testing/selftests/bpf/progs/pyperf.h int32_t *symbol_id = bpf_map_lookup_elem(&symbolmap, &sym); bpf_map_lookup_elem 226 tools/testing/selftests/bpf/progs/pyperf.h symbol_id = bpf_map_lookup_elem(&symbolmap, &sym); bpf_map_lookup_elem 242 tools/testing/selftests/bpf/progs/pyperf.h Stats* stats = bpf_map_lookup_elem(&statsmap, &zero); bpf_map_lookup_elem 26 tools/testing/selftests/bpf/progs/sample_map_ret0.c value = bpf_map_lookup_elem(&htab, &key); bpf_map_lookup_elem 29 tools/testing/selftests/bpf/progs/sample_map_ret0.c value = bpf_map_lookup_elem(&array, &key64); bpf_map_lookup_elem 451 tools/testing/selftests/bpf/progs/strobemeta.h cfg = bpf_map_lookup_elem(&strobemeta_cfgs, &pid); bpf_map_lookup_elem 504 tools/testing/selftests/bpf/progs/strobemeta.h sample = bpf_map_lookup_elem(&sample_heap, &zero); bpf_map_lookup_elem 36 tools/testing/selftests/bpf/progs/test_btf_haskv.c counts = bpf_map_lookup_elem(&btf_map, &key); bpf_map_lookup_elem 44 tools/testing/selftests/bpf/progs/test_btf_newkv.c counts = bpf_map_lookup_elem(&btf_map, &key); bpf_map_lookup_elem 51 tools/testing/selftests/bpf/progs/test_btf_newkv.c counts = bpf_map_lookup_elem(&btf_map_legacy, &key); bpf_map_lookup_elem 34 tools/testing/selftests/bpf/progs/test_btf_nokv.c counts = bpf_map_lookup_elem(&btf_map, &key); bpf_map_lookup_elem 65 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c data = bpf_map_lookup_elem(&stackdata_map, &key); bpf_map_lookup_elem 82 tools/testing/selftests/bpf/progs/test_get_stack_rawtp.c raw_data = bpf_map_lookup_elem(&rawdata_map, &key); bpf_map_lookup_elem 226 tools/testing/selftests/bpf/progs/test_l4lb.c real_pos = bpf_map_lookup_elem(&ch_rings, &key); bpf_map_lookup_elem 230 tools/testing/selftests/bpf/progs/test_l4lb.c *real = bpf_map_lookup_elem(&reals, &key); bpf_map_lookup_elem 413 tools/testing/selftests/bpf/progs/test_l4lb.c vip_info = bpf_map_lookup_elem(&vip_map, &vip); bpf_map_lookup_elem 416 tools/testing/selftests/bpf/progs/test_l4lb.c vip_info = bpf_map_lookup_elem(&vip_map, &vip); bpf_map_lookup_elem 429 tools/testing/selftests/bpf/progs/test_l4lb.c cval = bpf_map_lookup_elem(&ctl_array, &v6_intf_pos); bpf_map_lookup_elem 436 tools/testing/selftests/bpf/progs/test_l4lb.c cval = bpf_map_lookup_elem(&ctl_array, &v4_intf_pos); bpf_map_lookup_elem 443 tools/testing/selftests/bpf/progs/test_l4lb.c data_stats = bpf_map_lookup_elem(&stats, &vip_num); bpf_map_lookup_elem 226 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c real_pos = bpf_map_lookup_elem(&ch_rings, &key); bpf_map_lookup_elem 230 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c *real = bpf_map_lookup_elem(&reals, &key); bpf_map_lookup_elem 413 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c vip_info = bpf_map_lookup_elem(&vip_map, &vip); bpf_map_lookup_elem 416 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c vip_info = bpf_map_lookup_elem(&vip_map, &vip); bpf_map_lookup_elem 429 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c cval = bpf_map_lookup_elem(&ctl_array, &v6_intf_pos); bpf_map_lookup_elem 436 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c cval = bpf_map_lookup_elem(&ctl_array, &v4_intf_pos); bpf_map_lookup_elem 443 tools/testing/selftests/bpf/progs/test_l4lb_noinline.c data_stats = bpf_map_lookup_elem(&stats, &vip_num); bpf_map_lookup_elem 34 tools/testing/selftests/bpf/progs/test_map_in_map.c map = bpf_map_lookup_elem(&mim_array, &key); bpf_map_lookup_elem 39 tools/testing/selftests/bpf/progs/test_map_in_map.c value_p = bpf_map_lookup_elem(map, &key); bpf_map_lookup_elem 43 tools/testing/selftests/bpf/progs/test_map_in_map.c map = bpf_map_lookup_elem(&mim_hash, &key); bpf_map_lookup_elem 41 tools/testing/selftests/bpf/progs/test_map_lock.c val = bpf_map_lookup_elem(&hash_map, &key); bpf_map_lookup_elem 51 tools/testing/selftests/bpf/progs/test_map_lock.c q = bpf_map_lookup_elem(&array_map, &key); bpf_map_lookup_elem 29 tools/testing/selftests/bpf/progs/test_obj_id.c value = bpf_map_lookup_elem(&test_map_id, &key); bpf_map_lookup_elem 151 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c reuseport_array = bpf_map_lookup_elem(&outer_map, &index_zero); bpf_map_lookup_elem 156 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c index_ovr = bpf_map_lookup_elem(&tmp_index_ovr_map, &index_zero); bpf_map_lookup_elem 175 tools/testing/selftests/bpf/progs/test_select_reuseport_kern.c result_cnt = bpf_map_lookup_elem(&result_map, &result); bpf_map_lookup_elem 28 tools/testing/selftests/bpf/progs/test_send_signal_kern.c status_val = bpf_map_lookup_elem(&status_map, &key); bpf_map_lookup_elem 32 tools/testing/selftests/bpf/progs/test_send_signal_kern.c info_val = bpf_map_lookup_elem(&info_map, &key); bpf_map_lookup_elem 165 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c srv_sa6 = bpf_map_lookup_elem(&addr_map, &srv_idx); bpf_map_lookup_elem 166 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c cli_sa6 = bpf_map_lookup_elem(&addr_map, &cli_idx); bpf_map_lookup_elem 177 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c sk_ret = bpf_map_lookup_elem(&sock_result_map, &result_idx); bpf_map_lookup_elem 178 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c tp_ret = bpf_map_lookup_elem(&tcp_sock_result_map, &result_idx); bpf_map_lookup_elem 229 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c srv_sa6 = bpf_map_lookup_elem(&addr_map, &srv_idx); bpf_map_lookup_elem 244 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c sk_ret = bpf_map_lookup_elem(&sock_result_map, &result_idx); bpf_map_lookup_elem 245 tools/testing/selftests/bpf/progs/test_sock_fields_kern.c tp_ret = bpf_map_lookup_elem(&tcp_sock_result_map, &result_idx); bpf_map_lookup_elem 59 tools/testing/selftests/bpf/progs/test_spin_lock.c val = bpf_map_lookup_elem(&hmap, &key); bpf_map_lookup_elem 62 tools/testing/selftests/bpf/progs/test_spin_lock.c val = bpf_map_lookup_elem(&hmap, &key); bpf_map_lookup_elem 79 tools/testing/selftests/bpf/progs/test_spin_lock.c q = bpf_map_lookup_elem(&vqueue, &key); bpf_map_lookup_elem 58 tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c value_p = bpf_map_lookup_elem(&control_map, &key); bpf_map_lookup_elem 66 tools/testing/selftests/bpf/progs/test_stacktrace_build_id.c stack_p = bpf_map_lookup_elem(&stack_amap, &key); bpf_map_lookup_elem 60 tools/testing/selftests/bpf/progs/test_stacktrace_map.c value_p = bpf_map_lookup_elem(&control_map, &key); bpf_map_lookup_elem 68 tools/testing/selftests/bpf/progs/test_stacktrace_map.c stack_p = bpf_map_lookup_elem(&stack_amap, &key); bpf_map_lookup_elem 30 tools/testing/selftests/bpf/progs/test_tc_edt.c uint64_t *last_tstamp = bpf_map_lookup_elem(&flow_map, &key); bpf_map_lookup_elem 36 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c gp = bpf_map_lookup_elem(&global_map, &key); bpf_map_lookup_elem 81 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c gp = bpf_map_lookup_elem(&global_map, &key); bpf_map_lookup_elem 121 tools/testing/selftests/bpf/progs/test_tcpbpf_kern.c gp = bpf_map_lookup_elem(&global_map, &key); bpf_map_lookup_elem 76 tools/testing/selftests/bpf/progs/test_tcpnotify_kern.c gp = bpf_map_lookup_elem(&global_map, &key); bpf_map_lookup_elem 43 tools/testing/selftests/bpf/progs/test_xdp.c rxcnt_count = bpf_map_lookup_elem(&rxcnt, &protocol); bpf_map_lookup_elem 108 tools/testing/selftests/bpf/progs/test_xdp.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); bpf_map_lookup_elem 178 tools/testing/selftests/bpf/progs/test_xdp.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); bpf_map_lookup_elem 39 tools/testing/selftests/bpf/progs/test_xdp_loop.c rxcnt_count = bpf_map_lookup_elem(&rxcnt, &protocol); bpf_map_lookup_elem 104 tools/testing/selftests/bpf/progs/test_xdp_loop.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); bpf_map_lookup_elem 174 tools/testing/selftests/bpf/progs/test_xdp_loop.c tnl = bpf_map_lookup_elem(&vip2tnl, &vip); bpf_map_lookup_elem 569 tools/testing/selftests/bpf/progs/test_xdp_noinline.c real_pos = bpf_map_lookup_elem(&ch_rings, &key); bpf_map_lookup_elem 573 tools/testing/selftests/bpf/progs/test_xdp_noinline.c *real = bpf_map_lookup_elem(&reals, &key); bpf_map_lookup_elem 579 tools/testing/selftests/bpf/progs/test_xdp_noinline.c bpf_map_lookup_elem(&stats, &conn_rate_key); bpf_map_lookup_elem 610 tools/testing/selftests/bpf/progs/test_xdp_noinline.c dst_lru = bpf_map_lookup_elem(lru_map, &pckt->flow); bpf_map_lookup_elem 620 tools/testing/selftests/bpf/progs/test_xdp_noinline.c *real = bpf_map_lookup_elem(&reals, &key); bpf_map_lookup_elem 737 tools/testing/selftests/bpf/progs/test_xdp_noinline.c vip_info = bpf_map_lookup_elem(&vip_map, &vip); bpf_map_lookup_elem 740 tools/testing/selftests/bpf/progs/test_xdp_noinline.c vip_info = bpf_map_lookup_elem(&vip_map, &vip); bpf_map_lookup_elem 748 tools/testing/selftests/bpf/progs/test_xdp_noinline.c data_stats = bpf_map_lookup_elem(&stats, &stats_key); bpf_map_lookup_elem 761 tools/testing/selftests/bpf/progs/test_xdp_noinline.c bpf_map_lookup_elem(&stats, &lru_stats_key); bpf_map_lookup_elem 775 tools/testing/selftests/bpf/progs/test_xdp_noinline.c cval = bpf_map_lookup_elem(&ctl_array, &mac_addr_pos); bpf_map_lookup_elem 786 tools/testing/selftests/bpf/progs/test_xdp_noinline.c data_stats = bpf_map_lookup_elem(&stats, &vip_num); bpf_map_lookup_elem 115 tools/testing/selftests/bpf/progs/xdping_kern.c pinginfo = bpf_map_lookup_elem(&ping_map, &raddr); bpf_map_lookup_elem 363 tools/testing/selftests/bpf/test_cgroup_attach.c assert(bpf_map_lookup_elem(map_fd, &key, &value) == 0); bpf_map_lookup_elem 400 tools/testing/selftests/bpf/test_cgroup_attach.c assert(bpf_map_lookup_elem(map_fd, &key, &value) == 0); bpf_map_lookup_elem 416 tools/testing/selftests/bpf/test_cgroup_attach.c assert(bpf_map_lookup_elem(map_fd, &key, &value) == 0); bpf_map_lookup_elem 427 tools/testing/selftests/bpf/test_cgroup_attach.c assert(bpf_map_lookup_elem(map_fd, &key, &value) == 0); bpf_map_lookup_elem 105 tools/testing/selftests/bpf/test_cgroup_storage.c if (bpf_map_lookup_elem(map_fd, &key, &value)) { bpf_map_lookup_elem 124 tools/testing/selftests/bpf/test_cgroup_storage.c if (bpf_map_lookup_elem(map_fd, &key, &value)) { bpf_map_lookup_elem 147 tools/testing/selftests/bpf/test_cgroup_storage.c if (bpf_map_lookup_elem(map_fd, &key, &value)) { bpf_map_lookup_elem 162 tools/testing/selftests/bpf/test_cgroup_storage.c if (bpf_map_lookup_elem(percpu_map_fd, &key, percpu_value)) { bpf_map_lookup_elem 264 tools/testing/selftests/bpf/test_lpm_map.c r = bpf_map_lookup_elem(map, key, value); bpf_map_lookup_elem 301 tools/testing/selftests/bpf/test_lpm_map.c r = bpf_map_lookup_elem(map, key, value); bpf_map_lookup_elem 392 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd_ipv4, key_ipv4, &value) == 0); bpf_map_lookup_elem 396 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd_ipv4, key_ipv4, &value) == 0); bpf_map_lookup_elem 400 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd_ipv6, key_ipv6, &value) == 0); bpf_map_lookup_elem 404 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd_ipv6, key_ipv6, &value) == 0); bpf_map_lookup_elem 409 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd_ipv4, key_ipv4, &value) == -1 && bpf_map_lookup_elem 413 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd_ipv4, key_ipv4, &value) == -1 && bpf_map_lookup_elem 417 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd_ipv6, key_ipv6, &value) == -1 && bpf_map_lookup_elem 474 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd, key, &value) == -1 && bpf_map_lookup_elem 490 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd, key, &value) == 0); bpf_map_lookup_elem 500 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd, key, &value) == 0); bpf_map_lookup_elem 510 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd, key, &value) == 0); bpf_map_lookup_elem 520 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd, key, &value) == 0); bpf_map_lookup_elem 530 tools/testing/selftests/bpf/test_lpm_map.c assert(bpf_map_lookup_elem(map_fd, key, &value) == -1 && bpf_map_lookup_elem 727 tools/testing/selftests/bpf/test_lpm_map.c ret = bpf_map_lookup_elem(info->map_fd, key_p, &value); bpf_map_lookup_elem 96 tools/testing/selftests/bpf/test_lru_map.c assert(!bpf_map_lookup_elem(mfd, &zero, value)); bpf_map_lookup_elem 111 tools/testing/selftests/bpf/test_lru_map.c assert(!bpf_map_lookup_elem(map1, &next_key, value1)); bpf_map_lookup_elem 112 tools/testing/selftests/bpf/test_lru_map.c ret = bpf_map_lookup_elem(map0, &next_key, value0); bpf_map_lookup_elem 200 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 214 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 231 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 387 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 568 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(map_fd, &last_key, value) == -1 && bpf_map_lookup_elem 725 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 739 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 753 tools/testing/selftests/bpf/test_lru_map.c assert(!bpf_map_lookup_elem(lru_map_fd, &key, value)); bpf_map_lookup_elem 763 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 819 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 835 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 842 tools/testing/selftests/bpf/test_lru_map.c assert(!bpf_map_lookup_elem(lru_map_fd, &key, value)); bpf_map_lookup_elem 859 tools/testing/selftests/bpf/test_lru_map.c assert(bpf_map_lookup_elem(lru_map_fd, &key, value) == -1 && bpf_map_lookup_elem 65 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == 0 && value == 1234); bpf_map_lookup_elem 69 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == -1 && errno == ENOENT); bpf_map_lookup_elem 184 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, value) == 0 && bpf_map_lookup_elem 189 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, value) == -1 && errno == ENOENT); bpf_map_lookup_elem 222 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &next_key, value) == 0); bpf_map_lookup_elem 285 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == 0); bpf_map_lookup_elem 293 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == 0); bpf_map_lookup_elem 304 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == 0); bpf_map_lookup_elem 367 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == 0 && value == 1234); bpf_map_lookup_elem 371 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == 0 && value == 0); bpf_map_lookup_elem 381 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == -1 && errno == ENOENT); bpf_map_lookup_elem 425 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, values) == 0 && bpf_map_lookup_elem 430 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, values) == 0 && bpf_map_lookup_elem 440 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, values) == -1 && errno == ENOENT); bpf_map_lookup_elem 487 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, values) == 0); bpf_map_lookup_elem 562 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, NULL, &val) == 0 && val == vals[0]); bpf_map_lookup_elem 620 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, NULL, &val) == 0 && val == vals[i - 1]); bpf_map_lookup_elem 1267 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == 0 && value == 0); bpf_map_lookup_elem 1269 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == -1 && errno == ENOENT); bpf_map_lookup_elem 1377 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == 0 && bpf_map_lookup_elem 1410 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == -1 && errno == ENOENT); bpf_map_lookup_elem 1432 tools/testing/selftests/bpf/test_maps.c assert(bpf_map_lookup_elem(fd, &key, &value) == -1 && errno == EPERM); bpf_map_lookup_elem 1549 tools/testing/selftests/bpf/test_maps.c err = bpf_map_lookup_elem(map_fd, &bad_index, &map_cookie); bpf_map_lookup_elem 1555 tools/testing/selftests/bpf/test_maps.c err = bpf_map_lookup_elem(map_fd, &index3, &map_cookie); bpf_map_lookup_elem 1642 tools/testing/selftests/bpf/test_maps.c err = bpf_map_lookup_elem(map_fd, &index3, &map_cookie); bpf_map_lookup_elem 1651 tools/testing/selftests/bpf/test_maps.c err = bpf_map_lookup_elem(map_fd, &index3, &map_cookie); bpf_map_lookup_elem 1681 tools/testing/selftests/bpf/test_maps.c err = bpf_map_lookup_elem(map_fd, &index3, &map_cookie); bpf_map_lookup_elem 112 tools/testing/selftests/bpf/test_netcnt.c if (bpf_map_lookup_elem(map_fd, &key, &netcnt)) { bpf_map_lookup_elem 117 tools/testing/selftests/bpf/test_netcnt.c if (bpf_map_lookup_elem(percpu_map_fd, &key, &percpu_netcnt[0])) { bpf_map_lookup_elem 225 tools/testing/selftests/bpf/test_progs.c err = bpf_map_lookup_elem(map2_fd, &key, val_buf); bpf_map_lookup_elem 230 tools/testing/selftests/bpf/test_progs.c err = bpf_map_lookup_elem(map2_fd, &next_key, val_buf); bpf_map_lookup_elem 253 tools/testing/selftests/bpf/test_progs.c err = bpf_map_lookup_elem(smap_fd, next_key_p, val_buf1); bpf_map_lookup_elem 256 tools/testing/selftests/bpf/test_progs.c err = bpf_map_lookup_elem(amap_fd, next_key_p, val_buf2); bpf_map_lookup_elem 222 tools/testing/selftests/bpf/test_select_reuseport.c err = bpf_map_lookup_elem(linum_map, &index_zero, &linum); bpf_map_lookup_elem 243 tools/testing/selftests/bpf/test_select_reuseport.c err = bpf_map_lookup_elem(data_check_map, &index_zero, &result); bpf_map_lookup_elem 312 tools/testing/selftests/bpf/test_select_reuseport.c err = bpf_map_lookup_elem(result_map, &i, &results[i]); bpf_map_lookup_elem 503 tools/testing/selftests/bpf/test_select_reuseport.c err = bpf_map_lookup_elem(tmp_index_ovr_map, &index_zero, bpf_map_lookup_elem 547 tools/testing/selftests/bpf/test_select_reuseport.c err = bpf_map_lookup_elem(result_map, &i, &tmp); bpf_map_lookup_elem 560 tools/testing/selftests/bpf/test_select_reuseport.c err = bpf_map_lookup_elem(result_map, &i, &tmp); bpf_map_lookup_elem 133 tools/testing/selftests/bpf/test_skb_cgroup_id_user.c if (bpf_map_lookup_elem(map_fd, &level, &actual_ids[level])) { bpf_map_lookup_elem 129 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(linum_map_fd, &egress_linum_idx, bpf_map_lookup_elem 134 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(linum_map_fd, &ingress_linum_idx, bpf_map_lookup_elem 139 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(sk_map_fd, &egress_srv_idx, &srv_sk); bpf_map_lookup_elem 142 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(tp_map_fd, &egress_srv_idx, &srv_tp); bpf_map_lookup_elem 146 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(sk_map_fd, &egress_cli_idx, &cli_sk); bpf_map_lookup_elem 149 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(tp_map_fd, &egress_cli_idx, &cli_tp); bpf_map_lookup_elem 153 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(sk_map_fd, &ingress_listen_idx, &listen_sk); bpf_map_lookup_elem 156 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(tp_map_fd, &ingress_listen_idx, &listen_tp); bpf_map_lookup_elem 254 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(sk_pkt_out_cnt_fd, &accept_fd, &pkt_out_cnt); bpf_map_lookup_elem 256 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(sk_pkt_out_cnt10_fd, &accept_fd, bpf_map_lookup_elem 273 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(sk_pkt_out_cnt_fd, &cli_fd, &pkt_out_cnt); bpf_map_lookup_elem 275 tools/testing/selftests/bpf/test_sock_fields.c err = bpf_map_lookup_elem(sk_pkt_out_cnt10_fd, &cli_fd, bpf_map_lookup_elem 108 tools/testing/selftests/bpf/test_socket_cookie.c err = bpf_map_lookup_elem(map_fd, &client_fd, &val); bpf_map_lookup_elem 107 tools/testing/selftests/bpf/test_sockmap_kern.h f = bpf_map_lookup_elem(&sock_skb_opts, &zero); bpf_map_lookup_elem 180 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); bpf_map_lookup_elem 183 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); bpf_map_lookup_elem 186 tools/testing/selftests/bpf/test_sockmap_kern.h start = bpf_map_lookup_elem(&sock_bytes, &zero); bpf_map_lookup_elem 187 tools/testing/selftests/bpf/test_sockmap_kern.h end = bpf_map_lookup_elem(&sock_bytes, &one); bpf_map_lookup_elem 190 tools/testing/selftests/bpf/test_sockmap_kern.h start_push = bpf_map_lookup_elem(&sock_bytes, &two); bpf_map_lookup_elem 191 tools/testing/selftests/bpf/test_sockmap_kern.h end_push = bpf_map_lookup_elem(&sock_bytes, &three); bpf_map_lookup_elem 194 tools/testing/selftests/bpf/test_sockmap_kern.h start_pop = bpf_map_lookup_elem(&sock_bytes, &four); bpf_map_lookup_elem 195 tools/testing/selftests/bpf/test_sockmap_kern.h pop = bpf_map_lookup_elem(&sock_bytes, &five); bpf_map_lookup_elem 209 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); bpf_map_lookup_elem 212 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); bpf_map_lookup_elem 216 tools/testing/selftests/bpf/test_sockmap_kern.h start = bpf_map_lookup_elem(&sock_bytes, &zero); bpf_map_lookup_elem 217 tools/testing/selftests/bpf/test_sockmap_kern.h end = bpf_map_lookup_elem(&sock_bytes, &one); bpf_map_lookup_elem 232 tools/testing/selftests/bpf/test_sockmap_kern.h start_push = bpf_map_lookup_elem(&sock_bytes, &two); bpf_map_lookup_elem 233 tools/testing/selftests/bpf/test_sockmap_kern.h end_push = bpf_map_lookup_elem(&sock_bytes, &three); bpf_map_lookup_elem 247 tools/testing/selftests/bpf/test_sockmap_kern.h start_pop = bpf_map_lookup_elem(&sock_bytes, &four); bpf_map_lookup_elem 248 tools/testing/selftests/bpf/test_sockmap_kern.h pop = bpf_map_lookup_elem(&sock_bytes, &five); bpf_map_lookup_elem 274 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); bpf_map_lookup_elem 277 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); bpf_map_lookup_elem 281 tools/testing/selftests/bpf/test_sockmap_kern.h start = bpf_map_lookup_elem(&sock_bytes, &zero); bpf_map_lookup_elem 282 tools/testing/selftests/bpf/test_sockmap_kern.h end = bpf_map_lookup_elem(&sock_bytes, &one); bpf_map_lookup_elem 286 tools/testing/selftests/bpf/test_sockmap_kern.h start_push = bpf_map_lookup_elem(&sock_bytes, &two); bpf_map_lookup_elem 287 tools/testing/selftests/bpf/test_sockmap_kern.h end_push = bpf_map_lookup_elem(&sock_bytes, &three); bpf_map_lookup_elem 291 tools/testing/selftests/bpf/test_sockmap_kern.h start_pop = bpf_map_lookup_elem(&sock_bytes, &four); bpf_map_lookup_elem 292 tools/testing/selftests/bpf/test_sockmap_kern.h pop = bpf_map_lookup_elem(&sock_bytes, &five); bpf_map_lookup_elem 296 tools/testing/selftests/bpf/test_sockmap_kern.h f = bpf_map_lookup_elem(&sock_redir_flags, &zero); bpf_map_lookup_elem 318 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); bpf_map_lookup_elem 321 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); bpf_map_lookup_elem 326 tools/testing/selftests/bpf/test_sockmap_kern.h start = bpf_map_lookup_elem(&sock_bytes, &zero); bpf_map_lookup_elem 327 tools/testing/selftests/bpf/test_sockmap_kern.h end = bpf_map_lookup_elem(&sock_bytes, &one); bpf_map_lookup_elem 340 tools/testing/selftests/bpf/test_sockmap_kern.h start_push = bpf_map_lookup_elem(&sock_bytes, &two); bpf_map_lookup_elem 341 tools/testing/selftests/bpf/test_sockmap_kern.h end_push = bpf_map_lookup_elem(&sock_bytes, &three); bpf_map_lookup_elem 355 tools/testing/selftests/bpf/test_sockmap_kern.h start_pop = bpf_map_lookup_elem(&sock_bytes, &four); bpf_map_lookup_elem 356 tools/testing/selftests/bpf/test_sockmap_kern.h pop = bpf_map_lookup_elem(&sock_bytes, &five); bpf_map_lookup_elem 371 tools/testing/selftests/bpf/test_sockmap_kern.h f = bpf_map_lookup_elem(&sock_redir_flags, &zero); bpf_map_lookup_elem 394 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); bpf_map_lookup_elem 411 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); bpf_map_lookup_elem 428 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_apply_bytes, &zero); bpf_map_lookup_elem 431 tools/testing/selftests/bpf/test_sockmap_kern.h bytes = bpf_map_lookup_elem(&sock_cork_bytes, &zero); bpf_map_lookup_elem 434 tools/testing/selftests/bpf/test_sockmap_kern.h start = bpf_map_lookup_elem(&sock_bytes, &zero); bpf_map_lookup_elem 435 tools/testing/selftests/bpf/test_sockmap_kern.h end = bpf_map_lookup_elem(&sock_bytes, &one); bpf_map_lookup_elem 438 tools/testing/selftests/bpf/test_sockmap_kern.h start_push = bpf_map_lookup_elem(&sock_bytes, &two); bpf_map_lookup_elem 439 tools/testing/selftests/bpf/test_sockmap_kern.h end_push = bpf_map_lookup_elem(&sock_bytes, &three); bpf_map_lookup_elem 442 tools/testing/selftests/bpf/test_sockmap_kern.h start_pop = bpf_map_lookup_elem(&sock_bytes, &four); bpf_map_lookup_elem 443 tools/testing/selftests/bpf/test_sockmap_kern.h pop = bpf_map_lookup_elem(&sock_bytes, &five); bpf_map_lookup_elem 155 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c if (bpf_map_lookup_elem(results_fd, &key, &value) < 0) { bpf_map_lookup_elem 165 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c if (bpf_map_lookup_elem(results_fd, &key_gen, &value_gen) < 0) { bpf_map_lookup_elem 177 tools/testing/selftests/bpf/test_tcp_check_syncookie_user.c if (bpf_map_lookup_elem(results_fd, &key_mss, &value_mss) < 0) { bpf_map_lookup_elem 64 tools/testing/selftests/bpf/test_tcpbpf_user.c rv = bpf_map_lookup_elem(sock_map_fd, &key, &res); bpf_map_lookup_elem 69 tools/testing/selftests/bpf/test_tcpbpf_user.c rv = bpf_map_lookup_elem(sock_map_fd, &key, &res); bpf_map_lookup_elem 137 tools/testing/selftests/bpf/test_tcpbpf_user.c rv = bpf_map_lookup_elem(map_fd, &key, &g); bpf_map_lookup_elem 145 tools/testing/selftests/bpf/test_tcpnotify_user.c rv = bpf_map_lookup_elem(bpf_map__fd(global_map), &key, &g); bpf_map_lookup_elem 47 tools/testing/selftests/bpf/xdping.c if (bpf_map_lookup_elem(fd, &raddr, &pinginfo)) {