Lines Matching defs:chunk
205 static bool pcpu_addr_in_chunk(struct pcpu_chunk *chunk, void *addr) in pcpu_addr_in_chunk()
232 static int pcpu_chunk_slot(const struct pcpu_chunk *chunk) in pcpu_chunk_slot()
262 static unsigned long pcpu_chunk_addr(struct pcpu_chunk *chunk, in pcpu_chunk_addr()
300 static unsigned long *pcpu_index_alloc_map(struct pcpu_chunk *chunk, int index) in pcpu_index_alloc_map()
332 static void pcpu_next_md_free_region(struct pcpu_chunk *chunk, int *bit_off, in pcpu_next_md_free_region()
387 static void pcpu_next_fit_region(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_next_fit_region()
442 #define pcpu_for_each_md_free_region(chunk, bit_off, bits) \ argument
448 #define pcpu_for_each_fit_region(chunk, alloc_bits, align, bit_off, bits) \ argument
504 static void pcpu_chunk_relocate(struct pcpu_chunk *chunk, int oslot) in pcpu_chunk_relocate()
529 static inline int pcpu_cnt_pop_pages(struct pcpu_chunk *chunk, int bit_off, in pcpu_cnt_pop_pages()
558 static void pcpu_chunk_update(struct pcpu_chunk *chunk, int bit_off, int bits) in pcpu_chunk_update()
584 static void pcpu_chunk_refresh_hint(struct pcpu_chunk *chunk) in pcpu_chunk_refresh_hint()
653 static void pcpu_block_refresh_hint(struct pcpu_chunk *chunk, int index) in pcpu_block_refresh_hint()
680 static void pcpu_block_update_hint_alloc(struct pcpu_chunk *chunk, int bit_off, in pcpu_block_update_hint_alloc()
789 static void pcpu_block_update_hint_free(struct pcpu_chunk *chunk, int bit_off, in pcpu_block_update_hint_free()
890 static bool pcpu_is_populated(struct pcpu_chunk *chunk, int bit_off, int bits, in pcpu_is_populated()
926 static int pcpu_find_block_fit(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_find_block_fit()
978 static int pcpu_alloc_area(struct pcpu_chunk *chunk, int alloc_bits, in pcpu_alloc_area()
1029 static void pcpu_free_area(struct pcpu_chunk *chunk, int off) in pcpu_free_area()
1057 static void pcpu_init_md_blocks(struct pcpu_chunk *chunk) in pcpu_init_md_blocks()
1086 struct pcpu_chunk *chunk; in pcpu_alloc_first_chunk() local
1167 struct pcpu_chunk *chunk; in pcpu_alloc_chunk() local
1211 static void pcpu_free_chunk(struct pcpu_chunk *chunk) in pcpu_free_chunk()
1235 static void pcpu_chunk_populated(struct pcpu_chunk *chunk, int page_start, in pcpu_chunk_populated()
1262 static void pcpu_chunk_depopulated(struct pcpu_chunk *chunk, in pcpu_chunk_depopulated()
1360 struct pcpu_chunk *chunk; in pcpu_alloc() local
1601 struct pcpu_chunk *chunk, *next; in pcpu_balance_workfn() local
1721 struct pcpu_chunk *chunk; in free_percpu() local
2038 struct pcpu_chunk *chunk; in pcpu_setup_first_chunk() local