Lines Matching refs:gfp_mask
149 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc() argument
161 void *ptr = (void *) __get_free_page(gfp_mask); in sg_kmalloc()
162 kmemleak_alloc(ptr, PAGE_SIZE, 1, gfp_mask); in sg_kmalloc()
166 gfp_mask); in sg_kmalloc()
268 unsigned int nents_first_chunk, gfp_t gfp_mask, in __sg_alloc_table() argument
302 sg = alloc_fn(alloc_size, gfp_mask); in __sg_alloc_table()
355 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() argument
360 NULL, 0, gfp_mask, sg_kmalloc); in sg_alloc_table()
371 gfp_t gfp_mask) in get_next_sg() argument
384 new_sg = sg_kmalloc(alloc_size, gfp_mask); in get_next_sg()
432 gfp_t gfp_mask) in __sg_alloc_table_from_pages() argument
499 s = get_next_sg(sgt, s, chunks - i + left_pages, gfp_mask); in __sg_alloc_table_from_pages()
547 unsigned long size, gfp_t gfp_mask) in sg_alloc_table_from_pages() argument
550 offset, size, UINT_MAX, NULL, 0, gfp_mask)); in sg_alloc_table_from_pages()