Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/power/
Dsnapshot.c155 static void *get_image_page(gfp_t gfp_mask, int safe_needed) in get_image_page() argument
160 if (safe_needed) in get_image_page()
262 int safe_needed; /* if set, only "safe" pages are allocated */ member
266 int safe_needed) in chain_init() argument
271 ca->safe_needed = safe_needed; in chain_init()
281 lp = ca->safe_needed ? __get_safe_page(ca->gfp_mask) : in chain_alloc()
401 static struct rtree_node *alloc_rtree_node(gfp_t gfp_mask, int safe_needed, in alloc_rtree_node() argument
411 node->data = get_image_page(gfp_mask, safe_needed); in alloc_rtree_node()
428 int safe_needed, struct chain_allocator *ca) in add_rtree_block() argument
445 node = alloc_rtree_node(gfp_mask, safe_needed, ca, in add_rtree_block()
[all …]