Searched refs:counts_len (Results 1 – 1 of 1) sorted by relevance
| /linux/tools/testing/selftests/bpf/prog_tests/ |
| H A D | sock_iter_batch.c | 25 static int insert(__u64 cookie, struct sock_count counts[], int counts_len) in insert() argument 30 for (; i < counts_len; i++) { in insert() 48 int counts_len) in read_n() argument 58 ASSERT_GE(insert(out.cookie, counts, counts_len), 0, "insert"); in read_n() 77 static bool was_seen(int fd, struct sock_count counts[], int counts_len) in was_seen() argument 82 for (; cookie && i < counts_len; i++) in was_seen() 176 struct sock_count counts[], int counts_len) in check_n_were_seen_once() argument 188 seen_cnt = get_seen_count(fds[i], counts, counts_len); in check_n_were_seen_once() 261 int counts_len, struct bpf_link *link, int iter_fd) in remove_seen() argument 266 read_n(iter_fd, socks_len - 1, counts, counts_len); in remove_seen() [all …]
|