Lines Matching defs:chunk

215 static bool pcpu_addr_in_chunk(struct pcpu_chunk *chunk, void *addr)  in pcpu_addr_in_chunk()
242 static int pcpu_chunk_slot(const struct pcpu_chunk *chunk) in pcpu_chunk_slot()
275 static unsigned long pcpu_chunk_addr(struct pcpu_chunk *chunk, in pcpu_chunk_addr()
286 static unsigned long *pcpu_index_alloc_map(struct pcpu_chunk *chunk, int index) in pcpu_index_alloc_map()
365 static void pcpu_next_md_free_region(struct pcpu_chunk *chunk, int *bit_off, in pcpu_next_md_free_region()
420 static void pcpu_next_fit_region(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_next_fit_region()
477 #define pcpu_for_each_md_free_region(chunk, bit_off, bits) \ argument
483 #define pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) \ argument
526 static void __pcpu_chunk_move(struct pcpu_chunk *chunk, int slot, in __pcpu_chunk_move()
537 static void pcpu_chunk_move(struct pcpu_chunk *chunk, int slot) in pcpu_chunk_move()
555 static void pcpu_chunk_relocate(struct pcpu_chunk *chunk, int oslot) in pcpu_chunk_relocate()
567 static void pcpu_isolate_chunk(struct pcpu_chunk *chunk) in pcpu_isolate_chunk()
578 static void pcpu_reintegrate_chunk(struct pcpu_chunk *chunk) in pcpu_reintegrate_chunk()
598 static inline void pcpu_update_empty_pages(struct pcpu_chunk *chunk, int nr) in pcpu_update_empty_pages()
712 static void pcpu_block_update_scan(struct pcpu_chunk *chunk, int bit_off, in pcpu_block_update_scan()
745 static void pcpu_chunk_refresh_hint(struct pcpu_chunk *chunk, bool full_scan) in pcpu_chunk_refresh_hint()
774 static void pcpu_block_refresh_hint(struct pcpu_chunk *chunk, int index) in pcpu_block_refresh_hint()
808 static void pcpu_block_update_hint_alloc(struct pcpu_chunk *chunk, int bit_off, in pcpu_block_update_hint_alloc()
963 static void pcpu_block_update_hint_free(struct pcpu_chunk *chunk, int bit_off, in pcpu_block_update_hint_free()
1073 static bool pcpu_is_populated(struct pcpu_chunk *chunk, int bit_off, int bits, in pcpu_is_populated()
1110 static int pcpu_find_block_fit(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_find_block_fit()
1216 static int pcpu_alloc_area(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_alloc_area()
1276 static int pcpu_free_area(struct pcpu_chunk *chunk, int off) in pcpu_free_area()
1319 static void pcpu_init_md_blocks(struct pcpu_chunk *chunk) in pcpu_init_md_blocks()
1348 struct pcpu_chunk *chunk; in pcpu_alloc_first_chunk() local
1440 struct pcpu_chunk *chunk; in pcpu_alloc_chunk() local
1497 static void pcpu_free_chunk(struct pcpu_chunk *chunk) in pcpu_free_chunk()
1520 static void pcpu_chunk_populated(struct pcpu_chunk *chunk, int page_start, in pcpu_chunk_populated()
1544 static void pcpu_chunk_depopulated(struct pcpu_chunk *chunk, in pcpu_chunk_depopulated()
1645 struct pcpu_chunk *chunk, int off, in pcpu_memcg_post_alloc_hook()
1664 static void pcpu_memcg_free_hook(struct pcpu_chunk *chunk, int off, size_t size) in pcpu_memcg_free_hook()
1694 struct pcpu_chunk *chunk, int off, in pcpu_memcg_post_alloc_hook()
1699 static void pcpu_memcg_free_hook(struct pcpu_chunk *chunk, int off, size_t size) in pcpu_memcg_free_hook()
1727 struct pcpu_chunk *chunk, *next; in pcpu_alloc() local
1985 struct pcpu_chunk *chunk, *next; in pcpu_balance_free() local
2039 struct pcpu_chunk *chunk; in pcpu_balance_populated() local
2130 struct pcpu_chunk *chunk; in pcpu_reclaim_populated() local
2259 struct pcpu_chunk *chunk; in free_percpu() local