Searched refs:pages (Results 1 – 1 of 1) sorted by relevance
9163 static bool headpage_already_acct(struct io_ring_ctx *ctx, struct page **pages, in headpage_already_acct() argument9170 if (!PageCompound(pages[i])) in headpage_already_acct()9172 if (compound_head(pages[i]) == hpage) in headpage_already_acct()9191 static int io_buffer_account_pin(struct io_ring_ctx *ctx, struct page **pages, in io_buffer_account_pin() argument9199 if (!PageCompound(pages[i])) { in io_buffer_account_pin()9204 hpage = compound_head(pages[i]); in io_buffer_account_pin()9208 if (headpage_already_acct(ctx, pages, i, hpage)) in io_buffer_account_pin()9229 struct page **pages = NULL; in io_sqe_buffer_register() local9247 pages = kvmalloc_array(nr_pages, sizeof(struct page *), GFP_KERNEL); in io_sqe_buffer_register()9248 if (!pages) in io_sqe_buffer_register()[all …]