Searched refs:pcpu_chunk (Results 1 – 5 of 5) sorted by relevance
/linux-6.1.9/mm/ |
D | percpu-vm.c | 13 static struct page *pcpu_chunk_page(struct pcpu_chunk *chunk, in pcpu_chunk_page() 54 static void pcpu_free_pages(struct pcpu_chunk *chunk, in pcpu_free_pages() 82 static int pcpu_alloc_pages(struct pcpu_chunk *chunk, in pcpu_alloc_pages() 127 static void pcpu_pre_unmap_flush(struct pcpu_chunk *chunk, in pcpu_pre_unmap_flush() 153 static void pcpu_unmap_pages(struct pcpu_chunk *chunk, in pcpu_unmap_pages() 185 static void pcpu_post_unmap_tlb_flush(struct pcpu_chunk *chunk, in pcpu_post_unmap_tlb_flush() 214 static int pcpu_map_pages(struct pcpu_chunk *chunk, in pcpu_map_pages() 255 static void pcpu_post_map_flush(struct pcpu_chunk *chunk, in pcpu_post_map_flush() 276 static int pcpu_populate_chunk(struct pcpu_chunk *chunk, in pcpu_populate_chunk() 312 static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, in pcpu_depopulate_chunk() [all …]
|
D | percpu-internal.h | 34 struct pcpu_chunk { struct 77 extern struct pcpu_chunk *pcpu_first_chunk; argument 78 extern struct pcpu_chunk *pcpu_reserved_chunk; 87 static inline int pcpu_chunk_nr_blocks(struct pcpu_chunk *chunk) in pcpu_chunk_nr_blocks() 111 static inline int pcpu_chunk_map_bits(struct pcpu_chunk *chunk) in pcpu_chunk_map_bits() 171 static inline void pcpu_stats_area_alloc(struct pcpu_chunk *chunk, size_t size) in pcpu_stats_area_alloc() 195 static inline void pcpu_stats_area_dealloc(struct pcpu_chunk *chunk) in pcpu_stats_area_dealloc() 239 static inline void pcpu_stats_area_alloc(struct pcpu_chunk *chunk, size_t size) in pcpu_stats_area_alloc() 243 static inline void pcpu_stats_area_dealloc(struct pcpu_chunk *chunk) in pcpu_stats_area_dealloc()
|
D | percpu-km.c | 35 static void pcpu_post_unmap_tlb_flush(struct pcpu_chunk *chunk, in pcpu_post_unmap_tlb_flush() 41 static int pcpu_populate_chunk(struct pcpu_chunk *chunk, in pcpu_populate_chunk() 47 static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, in pcpu_depopulate_chunk() 53 static struct pcpu_chunk *pcpu_create_chunk(gfp_t gfp) in pcpu_create_chunk() 56 struct pcpu_chunk *chunk; in pcpu_create_chunk() 87 static void pcpu_destroy_chunk(struct pcpu_chunk *chunk) in pcpu_destroy_chunk() 127 static bool pcpu_should_reclaim_chunk(struct pcpu_chunk *chunk) in pcpu_should_reclaim_chunk()
|
D | percpu.c | 163 struct pcpu_chunk *pcpu_first_chunk __ro_after_init; 170 struct pcpu_chunk *pcpu_reserved_chunk __ro_after_init; 219 static bool pcpu_addr_in_chunk(struct pcpu_chunk *chunk, void *addr) in pcpu_addr_in_chunk() 246 static int pcpu_chunk_slot(const struct pcpu_chunk *chunk) in pcpu_chunk_slot() 258 static void pcpu_set_page_chunk(struct page *page, struct pcpu_chunk *pcpu) in pcpu_set_page_chunk() 264 static struct pcpu_chunk *pcpu_get_page_chunk(struct page *page) in pcpu_get_page_chunk() 266 return (struct pcpu_chunk *)page->index; in pcpu_get_page_chunk() 279 static unsigned long pcpu_chunk_addr(struct pcpu_chunk *chunk, in pcpu_chunk_addr() 290 static unsigned long *pcpu_index_alloc_map(struct pcpu_chunk *chunk, int index) in pcpu_index_alloc_map() 369 static void pcpu_next_md_free_region(struct pcpu_chunk *chunk, int *bit_off, in pcpu_next_md_free_region() [all …]
|
D | percpu-stats.c | 35 struct pcpu_chunk *chunk; in find_max_nr_alloc() 52 static void chunk_map_stats(struct seq_file *m, struct pcpu_chunk *chunk, in chunk_map_stats() 137 struct pcpu_chunk *chunk; in percpu_stats_show()
|