Searched refs:alloc_context (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/include/linux/ |
D | compaction.h | 61 struct alloc_context; /* in mm/internal.h */ 98 const struct alloc_context *ac, enum compact_priority prio); 174 bool compaction_zonelist_suitable(struct alloc_context *ac, int order,
|
/Linux-v4.19/mm/ |
D | page_alloc.c | 2282 static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, in unreserve_highatomic_pageblock() 3251 const struct alloc_context *ac) in get_page_from_freelist() 3433 const struct alloc_context *ac) in __alloc_pages_cpuset_fallback() 3452 const struct alloc_context *ac, unsigned long *did_some_progress) in __alloc_pages_may_oom() 3548 unsigned int alloc_flags, const struct alloc_context *ac, in __alloc_pages_direct_compact() 3594 should_compact_retry(struct alloc_context *ac, int order, int alloc_flags, in should_compact_retry() 3665 unsigned int alloc_flags, const struct alloc_context *ac, in __alloc_pages_direct_compact() 3673 should_compact_retry(struct alloc_context *ac, unsigned int order, int alloc_flags, in should_compact_retry() 3754 const struct alloc_context *ac) in __perform_reclaim() 3784 unsigned int alloc_flags, const struct alloc_context *ac, in __alloc_pages_direct_reclaim() [all …]
|
D | internal.h | 117 struct alloc_context { struct
|
D | compaction.c | 1504 bool compaction_zonelist_suitable(struct alloc_context *ac, int order, in compaction_zonelist_suitable() 1746 unsigned int alloc_flags, const struct alloc_context *ac, in try_to_compact_pages()
|
/Linux-v4.19/drivers/md/ |
D | dm-stripe.c | 58 static inline struct stripe_c *alloc_context(unsigned int stripes) in alloc_context() function 145 sc = alloc_context(stripes); in stripe_ctr()
|
D | dm-raid1.c | 876 static struct mirror_set *alloc_context(unsigned int nr_mirrors, in alloc_context() function 1095 ms = alloc_context(nr_mirrors, dl->type->get_region_size(dl), ti, dl); in mirror_ctr()
|
/Linux-v4.19/arch/sparc/mm/ |
D | srmmu.c | 429 static inline void alloc_context(struct mm_struct *old_mm, struct mm_struct *mm) in alloc_context() function 492 alloc_context(old_mm, mm); in switch_mm()
|