Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/linux/
H A Dcompaction.h58 struct alloc_context; /* in mm/internal.h */
97 const struct alloc_context *ac, enum compact_priority prio,
181 bool compaction_zonelist_suitable(struct alloc_context *ac, int order,
/OK3568_Linux_fs/external/rknpu2/examples/3rdparty/stb/
H A Dstb_image_resize.h310 void *alloc_context);
316 void *alloc_context);
322 void *alloc_context);
355 stbir_colorspace space, void *alloc_context);
363 stbir_colorspace space, void *alloc_context,
373 stbir_colorspace space, void *alloc_context,
2425 void *alloc_context, in stbir__resize_arbitrary() argument
2442 extra_memory = STBIR_MALLOC(memory_required, alloc_context); in stbir__resize_arbitrary()
2453 STBIR_FREE(extra_memory, alloc_context); in stbir__resize_arbitrary()
2503 void *alloc_context) in stbir_resize_uint8_generic() argument
[all …]
/OK3568_Linux_fs/external/rknpu2/examples/librknn_api_android_demo/include/stb/
H A Dstb_image_resize.h310 void *alloc_context);
316 void *alloc_context);
322 void *alloc_context);
355 stbir_colorspace space, void *alloc_context);
363 stbir_colorspace space, void *alloc_context,
373 stbir_colorspace space, void *alloc_context,
2425 void *alloc_context, in stbir__resize_arbitrary() argument
2442 extra_memory = STBIR_MALLOC(memory_required, alloc_context); in stbir__resize_arbitrary()
2453 STBIR_FREE(extra_memory, alloc_context); in stbir__resize_arbitrary()
2503 void *alloc_context) in stbir_resize_uint8_generic() argument
[all …]
/OK3568_Linux_fs/kernel/mm/
H A Dpage_alloc.c2790 static bool unreserve_highatomic_pageblock(const struct alloc_context *ac, in unreserve_highatomic_pageblock()
3964 const struct alloc_context *ac) in get_page_from_freelist()
4159 const struct alloc_context *ac) in __alloc_pages_cpuset_fallback()
4178 const struct alloc_context *ac, unsigned long *did_some_progress) in __alloc_pages_may_oom()
4272 unsigned int alloc_flags, const struct alloc_context *ac, in __alloc_pages_direct_compact()
4326 should_compact_retry(struct alloc_context *ac, int order, int alloc_flags, in should_compact_retry()
4405 unsigned int alloc_flags, const struct alloc_context *ac, in __alloc_pages_direct_compact()
4413 should_compact_retry(struct alloc_context *ac, unsigned int order, int alloc_flags, in should_compact_retry()
4518 const struct alloc_context *ac) in __perform_reclaim()
4544 unsigned int alloc_flags, const struct alloc_context *ac, in __alloc_pages_direct_reclaim()
[all …]
H A Dinternal.h156 struct alloc_context { struct
H A Dcompaction.c2200 bool compaction_zonelist_suitable(struct alloc_context *ac, int order, in compaction_zonelist_suitable()
2508 unsigned int alloc_flags, const struct alloc_context *ac, in try_to_compact_pages()
/OK3568_Linux_fs/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()
/OK3568_Linux_fs/kernel/drivers/md/
H A Ddm-raid1.c876 static struct mirror_set *alloc_context(unsigned int nr_mirrors, in alloc_context() function
1093 ms = alloc_context(nr_mirrors, dl->type->get_region_size(dl), ti, dl); in mirror_ctr()
/OK3568_Linux_fs/kernel/arch/sparc/mm/
H A Dsrmmu.c413 static inline void alloc_context(struct mm_struct *old_mm, struct mm_struct *mm) in alloc_context() function
478 alloc_context(old_mm, mm); in switch_mm()