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()
284 unsigned int nents_first_chunk, gfp_t gfp_mask, in __sg_alloc_table() argument
318 sg = alloc_fn(alloc_size, gfp_mask); in __sg_alloc_table()
371 int sg_alloc_table(struct sg_table *table, unsigned int nents, gfp_t gfp_mask) in sg_alloc_table() argument
376 NULL, 0, gfp_mask, sg_kmalloc); in sg_alloc_table()
386 gfp_t gfp_mask) in get_next_sg() argument
399 new_sg = sg_kmalloc(alloc_size, gfp_mask); in get_next_sg()
445 unsigned int left_pages, gfp_t gfp_mask) in sg_alloc_append_table_from_pages() argument
514 gfp_mask); in sg_alloc_append_table_from_pages()
568 gfp_t gfp_mask) in sg_alloc_table_from_pages_segment() argument
574 size, max_segment, 0, gfp_mask); in sg_alloc_table_from_pages_segment()