Searched refs:pkt_out_cnt10 (Results 1 - 2 of 2) sorted by relevance
/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 191 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, ktp, 197 pkt_out_cnt10 = bpf_sk_storage_get(&sk_pkt_out_cnt10, 202 if (!pkt_out_cnt || !pkt_out_cnt10) 210 bpf_spin_lock(&pkt_out_cnt10->lock); 211 pkt_out_cnt10->cnt += 10; 212 bpf_spin_unlock(&pkt_out_cnt10->lock);
|
/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 217 pkt_out_cnt10.cnt = ~0; 221 &pkt_out_cnt10); 229 pkt_out_cnt10.cnt < 0xeB9F + 20, 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); 235 pkt_out_cnt10.cnt = ~0; 239 &pkt_out_cnt10); 247 pkt_out_cnt10.cnt < 0xeB9F + 40, 249 "err:%d errno:%d pkt_out_cnt:%u pkt_out_cnt10 [all...] |
Completed in 163 milliseconds