Searched refs:gfp_mask (Results 1 – 7 of 7) sorted by relevance
/kernel/power/ |
D | snapshot.c | 189 static void *get_image_page(gfp_t gfp_mask, int safe_needed) in get_image_page() argument 193 res = (void *)get_zeroed_page(gfp_mask); in get_image_page() 199 res = (void *)get_zeroed_page(gfp_mask); in get_image_page() 208 static void *__get_safe_page(gfp_t gfp_mask) in __get_safe_page() argument 217 return get_image_page(gfp_mask, PG_SAFE); in __get_safe_page() 220 unsigned long get_safe_page(gfp_t gfp_mask) in get_safe_page() argument 222 return (unsigned long)__get_safe_page(gfp_mask); in get_safe_page() 225 static struct page *alloc_image_page(gfp_t gfp_mask) in alloc_image_page() argument 229 page = alloc_page(gfp_mask); in alloc_image_page() 295 gfp_t gfp_mask; /* mask for allocating pages */ member [all …]
|
/kernel/ |
D | kexec_core.c | 146 gfp_t gfp_mask, 300 static struct page *kimage_alloc_pages(gfp_t gfp_mask, unsigned int order) in kimage_alloc_pages() argument 306 pages = alloc_pages(gfp_mask & ~__GFP_ZERO, order); in kimage_alloc_pages() 317 gfp_mask); in kimage_alloc_pages() 319 if (gfp_mask & __GFP_ZERO) in kimage_alloc_pages() 681 gfp_t gfp_mask, in kimage_alloc_page() argument 721 page = kimage_alloc_pages(gfp_mask, 0); in kimage_alloc_page() 761 if (!(gfp_mask & __GFP_HIGHMEM) && in kimage_alloc_page()
|
D | umh.c | 360 char **envp, gfp_t gfp_mask, in call_usermodehelper_setup() argument 366 sub_info = kzalloc(sizeof(struct subprocess_info), gfp_mask); in call_usermodehelper_setup() 489 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper() local 491 info = call_usermodehelper_setup(path, argv, envp, gfp_mask, in call_usermodehelper()
|
D | audit.c | 202 gfp_t gfp_mask; member 1789 gfp_t gfp_mask, int type) in audit_buffer_alloc() argument 1793 ab = kmem_cache_alloc(audit_buffer_cache, gfp_mask); in audit_buffer_alloc() 1797 ab->skb = nlmsg_new(AUDIT_BUFSIZ, gfp_mask); in audit_buffer_alloc() 1804 ab->gfp_mask = gfp_mask; in audit_buffer_alloc() 1861 struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, in audit_log_start() argument 1893 if (gfpflags_allow_blocking(gfp_mask) && (stime > 0)) { in audit_log_start() 1915 ab = audit_buffer_alloc(ctx, gfp_mask, type); in audit_log_start() 1943 int ret = pskb_expand_head(skb, 0, extra, ab->gfp_mask); in audit_expand() 2151 pathname = kmalloc(PATH_MAX+11, ab->gfp_mask); in audit_log_d_path() [all …]
|
/kernel/dma/ |
D | swiotlb.c | 427 int swiotlb_init_late(size_t size, gfp_t gfp_mask, in swiotlb_init_late() argument 449 vstart = (void *)__get_free_pages(gfp_mask | __GFP_NOWARN, in swiotlb_init_late()
|
/kernel/cgroup/ |
D | cpuset.c | 4068 bool __cpuset_node_allowed(int node, gfp_t gfp_mask) in __cpuset_node_allowed() argument 4084 if (gfp_mask & __GFP_HARDWALL) /* If hardwall request, stop here */ in __cpuset_node_allowed()
|
D | cgroup.c | 324 gfp_t gfp_mask) in cgroup_idr_alloc() argument 328 idr_preload(gfp_mask); in cgroup_idr_alloc() 330 ret = idr_alloc(idr, ptr, start, end, gfp_mask & ~__GFP_DIRECT_RECLAIM); in cgroup_idr_alloc()
|