Home
last modified time | relevance | path

Searched refs:num_pages (Results 1 – 4 of 4) sorted by relevance

/net/ceph/
Dpagevec.c13 void ceph_put_page_vector(struct page **pages, int num_pages, bool dirty) in ceph_put_page_vector() argument
17 for (i = 0; i < num_pages; i++) { in ceph_put_page_vector()
26 void ceph_release_page_vector(struct page **pages, int num_pages) in ceph_release_page_vector() argument
30 for (i = 0; i < num_pages; i++) in ceph_release_page_vector()
39 struct page **ceph_alloc_page_vector(int num_pages, gfp_t flags) in ceph_alloc_page_vector() argument
44 pages = kmalloc_array(num_pages, sizeof(*pages), flags); in ceph_alloc_page_vector()
47 for (i = 0; i < num_pages; i++) { in ceph_alloc_page_vector()
Dmessenger.c1876 int num_pages = calc_pages_for(data->alignment, data->length); in ceph_msg_data_destroy() local
1877 ceph_release_page_vector(data->pages, num_pages); in ceph_msg_data_destroy()
Dosd_client.c383 int num_pages; in ceph_osd_data_release() local
385 num_pages = calc_pages_for((u64)osd_data->alignment, in ceph_osd_data_release()
387 ceph_release_page_vector(osd_data->pages, num_pages); in ceph_osd_data_release()
/net/xdp/
Dxsk_diag.c59 du.num_pages = umem->npgs; in xsk_diag_put_umem()