Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dcompaction.h58 struct alloc_context; /* in mm/internal.h */
94 const struct alloc_context *ac, enum compact_priority prio,
103 bool compaction_zonelist_suitable(struct alloc_context *ac, int order,
/openbmc/linux/mm/
H A Dpage_alloc.c1940 static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, in unreserve_highatomic_pageblock()
3071 const struct alloc_context *ac) in get_page_from_freelist()
3275 const struct alloc_context *ac) in __alloc_pages_cpuset_fallback()
3294 const struct alloc_context *ac, unsigned long *did_some_progress) in __alloc_pages_may_oom()
3389 unsigned int alloc_flags, const struct alloc_context *ac, in __alloc_pages_direct_compact()
3447 should_compact_retry(struct alloc_context *ac, int order, int alloc_flags, in should_compact_retry()
3514 unsigned int alloc_flags, const struct alloc_context *ac, in __alloc_pages_direct_compact()
3522 should_compact_retry(struct alloc_context *ac, unsigned int order, int alloc_flags, in should_compact_retry()
3635 const struct alloc_context *ac) in __perform_reclaim()
3661 unsigned int alloc_flags, const struct alloc_context *a in __alloc_pages_direct_reclaim()
[all...]
H A Dinternal.h287 struct alloc_context { struct
H A Dcompaction.c2350 bool compaction_zonelist_suitable(struct alloc_context *ac, int order, in compaction_zonelist_suitable()
2684 unsigned int alloc_flags, const struct alloc_context *ac, in try_to_compact_pages()
/openbmc/u-boot/drivers/video/
H A Dstb_truetype.h521 …signed char *pixels, int width, int height, int stride_in_bytes, int padding, void *alloc_context);
2663 …*spc, unsigned char *pixels, int pw, int ph, int stride_in_bytes, int padding, void *alloc_context) in stbtt_PackBegin() argument
2665 …tbrp_context *context = (stbrp_context *) STBTT_malloc(sizeof(*context) ,alloc_context); in stbtt_PackBegin()
2667 …tbrp_node *nodes = (stbrp_node *) STBTT_malloc(sizeof(*nodes ) * num_nodes,alloc_context); in stbtt_PackBegin()
2670 if (context != NULL) STBTT_free(context, alloc_context); in stbtt_PackBegin()
2671 if (nodes != NULL) STBTT_free(nodes , alloc_context); in stbtt_PackBegin()
2675 spc->user_allocator_context = alloc_context; in stbtt_PackBegin()
/openbmc/linux/drivers/md/
H A Ddm-raid1.c888 static struct mirror_set *alloc_context(unsigned int nr_mirrors, in alloc_context() function
1105 ms = alloc_context(nr_mirrors, dl->type->get_region_size(dl), ti, dl); in mirror_ctr()
/openbmc/linux/arch/sparc/mm/
H A Dsrmmu.c414 static inline void alloc_context(struct mm_struct *old_mm, struct mm_struct *mm) in alloc_context() function
479 alloc_context(old_mm, mm); in switch_mm()