Home
last modified time | relevance | path

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

/kernel/power/
Dsnapshot.c1513 static unsigned int nr_meta_pages; variable
1583 nr_meta_pages = 0; in swsusp_free()
2101 nr_meta_pages = DIV_ROUND_UP(nr_pages * sizeof(long), PAGE_SIZE); in swsusp_save()
2134 return nr_copy_pages + nr_meta_pages + 1; in snapshot_get_image_size()
2195 if (handle->cur > nr_meta_pages + nr_copy_pages) in snapshot_read_next()
2213 } else if (handle->cur <= nr_meta_pages) { in snapshot_read_next()
2302 nr_meta_pages = info->pages - info->image_pages - 1; in load_header()
2734 if (handle->cur > 1 && handle->cur > nr_meta_pages + nr_copy_pages + nr_zero_pages) in snapshot_write_next()
2764 } else if (handle->cur <= nr_meta_pages + 1) { in snapshot_write_next()
2769 if (handle->cur == nr_meta_pages + 1) { in snapshot_write_next()
[all …]
/kernel/bpf/
Dringbuf.c99 int nr_meta_pages = RINGBUF_PGOFF + RINGBUF_POS_PAGES; in bpf_ringbuf_area_alloc() local
101 int nr_pages = nr_meta_pages + nr_data_pages; in bpf_ringbuf_area_alloc()
124 array_size = (nr_meta_pages + 2 * nr_data_pages) * sizeof(*pages); in bpf_ringbuf_area_alloc()
136 if (i >= nr_meta_pages) in bpf_ringbuf_area_alloc()
140 rb = vmap(pages, nr_meta_pages + 2 * nr_data_pages, in bpf_ringbuf_area_alloc()