Searched refs:nr_meta_pages (Results 1 – 2 of 2) sorted by relevance
91 int nr_meta_pages = RINGBUF_NR_META_PAGES; in bpf_ringbuf_area_alloc() local93 int nr_pages = nr_meta_pages + nr_data_pages; in bpf_ringbuf_area_alloc()116 array_size = (nr_meta_pages + 2 * nr_data_pages) * sizeof(*pages); in bpf_ringbuf_area_alloc()128 if (i >= nr_meta_pages) in bpf_ringbuf_area_alloc()132 rb = vmap(pages, nr_meta_pages + 2 * nr_data_pages, in bpf_ringbuf_area_alloc()340 int nr_meta_pages; in ringbuf_map_mem_usage() local345 nr_meta_pages = RINGBUF_NR_META_PAGES; in ringbuf_map_mem_usage()347 usage += (nr_meta_pages + 2 * nr_data_pages) * sizeof(struct page *); in ringbuf_map_mem_usage()
1565 static unsigned int nr_meta_pages; variable1635 nr_meta_pages = 0; in swsusp_free()2153 nr_meta_pages = DIV_ROUND_UP(nr_pages * sizeof(long), PAGE_SIZE); in swsusp_save()2186 return nr_copy_pages + nr_meta_pages + 1; in snapshot_get_image_size()2246 if (handle->cur > nr_meta_pages + nr_copy_pages) in snapshot_read_next()2264 } else if (handle->cur <= nr_meta_pages) { in snapshot_read_next()2353 nr_meta_pages = info->pages - info->image_pages - 1; in load_header()2785 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages) in snapshot_write_next()2815 } else if (handle->cur <= nr_meta_pages + 1) { in snapshot_write_next()2820 if (handle->cur == nr_meta_pages + 1) { in snapshot_write_next()[all …]