Searched refs:pkt_out_cnt (Results 1 - 2 of 2) sorted by relevance
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sock_fields.c | 213 struct bpf_spinlock_cnt pkt_out_cnt = {}, pkt_out_cnt10 = {}; local 216 pkt_out_cnt.cnt = ~0; 218 err = bpf_map_lookup_elem(sk_pkt_out_cnt_fd, &accept_fd, &pkt_out_cnt); 228 CHECK(err || pkt_out_cnt.cnt < 0xeB9F + 2 || 231 "err:%d errno:%d pkt_out_cnt:%u pkt_out_cnt10:%u\n", 232 err, errno, pkt_out_cnt.cnt, pkt_out_cnt10.cnt); 234 pkt_out_cnt.cnt = ~0; 236 err = bpf_map_lookup_elem(sk_pkt_out_cnt_fd, &cli_fd, &pkt_out_cnt); 246 CHECK(err || pkt_out_cnt.cnt < 0xeB9F + 4 || 249 "err:%d errno:%d pkt_out_cnt 253 init_sk_storage(int sk_fd, __u32 pkt_out_cnt) argument [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_sock_fields.c | 125 struct bpf_spinlock_cnt *pkt_out_cnt, *pkt_out_cnt10; local 190 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, ktp, 0, 0); 194 pkt_out_cnt = bpf_sk_storage_get(&sk_pkt_out_cnt, sk, 202 if (!pkt_out_cnt || !pkt_out_cnt10) 209 pkt_out_cnt->cnt += 1;
|
Completed in 119 milliseconds