Home
last modified time | relevance | path

Searched refs:page_cnt (Results 1 – 2 of 2) sorted by relevance

/third_party/libbpf/src/
Dlibbpf.h1168 perf_buffer__new(int map_fd, size_t page_cnt,
1202 perf_buffer__new_raw(int map_fd, size_t page_cnt, struct perf_event_attr *attr,
Dlibbpf.c12158 static struct perf_buffer *__perf_buffer__new(int map_fd, size_t page_cnt,
12161 struct perf_buffer *perf_buffer__new(int map_fd, size_t page_cnt, argument
12187 return libbpf_ptr(__perf_buffer__new(map_fd, page_cnt, &p));
12190 struct perf_buffer *perf_buffer__new_raw(int map_fd, size_t page_cnt, argument
12210 return libbpf_ptr(__perf_buffer__new(map_fd, page_cnt, &p));
12213 static struct perf_buffer *__perf_buffer__new(int map_fd, size_t page_cnt, argument
12224 if (page_cnt == 0 || (page_cnt & (page_cnt - 1))) {
12226 page_cnt);
12264 pb->mmap_size = pb->page_size * page_cnt;