Home
last modified time | relevance | path

Searched refs:gfp_mask (Results 1 – 6 of 6) sorted by relevance

/kernel/power/
Dsnapshot.c155 static void *get_image_page(gfp_t gfp_mask, int safe_needed) in get_image_page() argument
159 res = (void *)get_zeroed_page(gfp_mask); in get_image_page()
165 res = (void *)get_zeroed_page(gfp_mask); in get_image_page()
174 static void *__get_safe_page(gfp_t gfp_mask) in __get_safe_page() argument
183 return get_image_page(gfp_mask, PG_SAFE); in __get_safe_page()
186 unsigned long get_safe_page(gfp_t gfp_mask) in get_safe_page() argument
188 return (unsigned long)__get_safe_page(gfp_mask); in get_safe_page()
191 static struct page *alloc_image_page(gfp_t gfp_mask) in alloc_image_page() argument
195 page = alloc_page(gfp_mask); in alloc_image_page()
261 gfp_t gfp_mask; /* mask for allocating pages */ member
[all …]
/kernel/
Dkexec_core.c145 gfp_t gfp_mask,
299 static struct page *kimage_alloc_pages(gfp_t gfp_mask, unsigned int order) in kimage_alloc_pages() argument
305 pages = alloc_pages(gfp_mask & ~__GFP_ZERO, order); in kimage_alloc_pages()
316 gfp_mask); in kimage_alloc_pages()
318 if (gfp_mask & __GFP_ZERO) in kimage_alloc_pages()
685 gfp_t gfp_mask, in kimage_alloc_page() argument
725 page = kimage_alloc_pages(gfp_mask, 0); in kimage_alloc_page()
765 if (!(gfp_mask & __GFP_HIGHMEM) && in kimage_alloc_page()
Dumh.c357 char **envp, gfp_t gfp_mask, in call_usermodehelper_setup() argument
363 sub_info = kzalloc(sizeof(struct subprocess_info), gfp_mask); in call_usermodehelper_setup()
475 gfp_t gfp_mask = (wait == UMH_NO_WAIT) ? GFP_ATOMIC : GFP_KERNEL; in call_usermodehelper() local
477 info = call_usermodehelper_setup(path, argv, envp, gfp_mask, in call_usermodehelper()
Daudit.c202 gfp_t gfp_mask; member
1791 gfp_t gfp_mask, int type) in audit_buffer_alloc() argument
1795 ab = kmem_cache_alloc(audit_buffer_cache, gfp_mask); in audit_buffer_alloc()
1799 ab->skb = nlmsg_new(AUDIT_BUFSIZ, gfp_mask); in audit_buffer_alloc()
1806 ab->gfp_mask = gfp_mask; in audit_buffer_alloc()
1863 struct audit_buffer *audit_log_start(struct audit_context *ctx, gfp_t gfp_mask, in audit_log_start() argument
1895 if (gfpflags_allow_blocking(gfp_mask) && (stime > 0)) { in audit_log_start()
1917 ab = audit_buffer_alloc(ctx, gfp_mask, type); in audit_log_start()
1942 int ret = pskb_expand_head(skb, 0, extra, ab->gfp_mask); in audit_expand()
2150 pathname = kmalloc(PATH_MAX+11, ab->gfp_mask); in audit_log_d_path()
[all …]
/kernel/cgroup/
Dcpuset.c3603 bool __cpuset_node_allowed(int node, gfp_t gfp_mask) in __cpuset_node_allowed() argument
3619 if (gfp_mask & __GFP_HARDWALL) /* If hardwall request, stop here */ in __cpuset_node_allowed()
Dcgroup.c318 gfp_t gfp_mask) in cgroup_idr_alloc() argument
322 idr_preload(gfp_mask); in cgroup_idr_alloc()
324 ret = idr_alloc(idr, ptr, start, end, gfp_mask & ~__GFP_DIRECT_RECLAIM); in cgroup_idr_alloc()