Lines Matching refs:gfp_mask
151 static struct scatterlist *sg_kmalloc(unsigned int nents, gfp_t gfp_mask) in sg_kmalloc() argument
163 void *ptr = (void *) __get_free_page(gfp_mask); in sg_kmalloc()
164 kmemleak_alloc(ptr, PAGE_SIZE, 1, gfp_mask); in sg_kmalloc()
168 gfp_mask); in sg_kmalloc()
265 gfp_t gfp_mask, sg_alloc_fn *alloc_fn) in __sg_alloc_table() argument
296 sg = alloc_fn(alloc_size, gfp_mask); in __sg_alloc_table()
347 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() argument
352 NULL, gfp_mask, sg_kmalloc); in sg_alloc_table()
384 gfp_t gfp_mask) in __sg_alloc_table_from_pages() argument
405 ret = sg_alloc_table(sgt, chunks, gfp_mask); in __sg_alloc_table_from_pages()
458 unsigned long size, gfp_t gfp_mask) in sg_alloc_table_from_pages() argument
461 SCATTERLIST_MAX_SEGMENT, gfp_mask); in sg_alloc_table_from_pages()