Searched refs:num_pages (Results 1 – 4 of 4) sorted by relevance
/net/ceph/ |
D | pagevec.c | 13 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()
|
D | messenger.c | 1876 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()
|
D | osd_client.c | 383 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/ |
D | xsk_diag.c | 59 du.num_pages = umem->npgs; in xsk_diag_put_umem()
|