Home
last modified time | relevance | path

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

/include/asm-generic/
Dpage.h11 int order; in get_order() local
14 order = -1; in get_order()
17 order++; in get_order()
19 return order; in get_order()
Ddma-coherent.h11 int dma_release_from_coherent(struct device *dev, int order, void *vaddr);
29 #define dma_release_from_coherent(dev, order, vaddr) (0) argument
/include/linux/
Dgfp.h164 static inline void arch_free_page(struct page *page, int order) { } in arch_free_page() argument
167 static inline void arch_alloc_page(struct page *page, int order) { } in arch_alloc_page() argument
171 __alloc_pages_internal(gfp_t gfp_mask, unsigned int order,
175 __alloc_pages(gfp_t gfp_mask, unsigned int order, in __alloc_pages() argument
178 return __alloc_pages_internal(gfp_mask, order, zonelist, NULL); in __alloc_pages()
182 __alloc_pages_nodemask(gfp_t gfp_mask, unsigned int order, in __alloc_pages_nodemask() argument
185 return __alloc_pages_internal(gfp_mask, order, zonelist, nodemask); in __alloc_pages_nodemask()
190 unsigned int order) in alloc_pages_node() argument
192 if (unlikely(order >= MAX_ORDER)) in alloc_pages_node()
199 return __alloc_pages(gfp_mask, order, node_zonelist(nid, gfp_mask)); in alloc_pages_node()
[all …]
Dbitops.h27 int order; in get_bitmask_order() local
29 order = fls(count); in get_bitmask_order()
30 return order; /* We could be slightly more clever with -1 here... */ in get_bitmask_order()
35 int order; in get_count_order() local
37 order = fls(count) - 1; in get_count_order()
39 order++; in get_count_order()
40 return order; in get_count_order()
Dhugetlb.h180 unsigned int order; member
203 void __init hugetlb_add_hstate(unsigned order);
234 return (unsigned long)PAGE_SIZE << h->order; in huge_page_size()
248 return h->order; in huge_page_order()
253 return h->order + PAGE_SHIFT; in huge_page_shift()
258 return 1 << h->order; in pages_per_huge_page()
Dmempool.h73 static inline mempool_t *mempool_create_page_pool(int min_nr, int order) in mempool_create_page_pool() argument
76 (void *)(long)order); in mempool_create_page_pool()
Doom.h29 extern void out_of_memory(struct zonelist *zonelist, gfp_t gfp_mask, int order);
Dbitmap.h129 extern int bitmap_find_free_region(unsigned long *bitmap, int bits, int order);
130 extern void bitmap_release_region(unsigned long *bitmap, int pos, int order);
131 extern int bitmap_allocate_region(unsigned long *bitmap, int pos, int order);
Dmmzone.h45 #define for_each_migratetype_order(order, type) \ argument
46 for (order = 0; order < MAX_ORDER; order++) \
649 void wakeup_kswapd(struct zone *zone, int order);
650 int zone_watermark_ok(struct zone *z, int order, unsigned long mark,
Dswiotlb.h28 extern void *swiotlb_alloc(unsigned order, unsigned long nslabs);
Dswap.h214 extern unsigned long try_to_free_pages(struct zonelist *zonelist, int order,
232 static inline int zone_reclaim(struct zone *z, gfp_t mask, unsigned int order) in zone_reclaim() argument
Dkexec.h127 unsigned int order);
Dmemcontrol.h64 unsigned long *scanned, int order,
Dmm.h324 void split_page(struct page *page, unsigned int order);
351 static inline void set_compound_order(struct page *page, unsigned long order) in set_compound_order() argument
353 page[1].lru.prev = (void *)order; in set_compound_order()
/include/asm-mn10300/
Dpage.h80 int order; in get_order() local
83 order = -1; in get_order()
86 order++; in get_order()
88 return order; in get_order()
/include/drm/
Ddrm_hashtab.h47 unsigned int order; member
54 extern int drm_ht_create(struct drm_open_hash *ht, unsigned int order);
DdrmP.h313 int order; /**< log-base-2(total) */ member
/include/linux/mlx4/
Ddevice.h257 int order; member
284 int order; member
432 int mlx4_db_alloc(struct mlx4_dev *dev, struct mlx4_db *db, int order);
/include/net/
Dact_api.h75 __u32 order; member