Searched refs:pcpu_chunk (Results 1 – 5 of 5) sorted by relevance
/mm/ |
D | percpu-vm.c | 12 static struct page *pcpu_chunk_page(struct pcpu_chunk *chunk, in pcpu_chunk_page() 53 static void pcpu_free_pages(struct pcpu_chunk *chunk, in pcpu_free_pages() 81 static int pcpu_alloc_pages(struct pcpu_chunk *chunk, in pcpu_alloc_pages() 126 static void pcpu_pre_unmap_flush(struct pcpu_chunk *chunk, in pcpu_pre_unmap_flush() 152 static void pcpu_unmap_pages(struct pcpu_chunk *chunk, in pcpu_unmap_pages() 184 static void pcpu_post_unmap_tlb_flush(struct pcpu_chunk *chunk, in pcpu_post_unmap_tlb_flush() 213 static int pcpu_map_pages(struct pcpu_chunk *chunk, in pcpu_map_pages() 254 static void pcpu_post_map_flush(struct pcpu_chunk *chunk, in pcpu_post_map_flush() 275 static int pcpu_populate_chunk(struct pcpu_chunk *chunk, in pcpu_populate_chunk() 308 static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, in pcpu_depopulate_chunk() [all …]
|
D | percpu-internal.h | 34 struct pcpu_chunk { struct 70 extern struct pcpu_chunk *pcpu_first_chunk; argument 71 extern struct pcpu_chunk *pcpu_reserved_chunk; 80 static inline int pcpu_chunk_nr_blocks(struct pcpu_chunk *chunk) in pcpu_chunk_nr_blocks() 104 static inline int pcpu_chunk_map_bits(struct pcpu_chunk *chunk) in pcpu_chunk_map_bits() 146 static inline void pcpu_stats_area_alloc(struct pcpu_chunk *chunk, size_t size) in pcpu_stats_area_alloc() 170 static inline void pcpu_stats_area_dealloc(struct pcpu_chunk *chunk) in pcpu_stats_area_dealloc() 214 static inline void pcpu_stats_area_alloc(struct pcpu_chunk *chunk, size_t size) in pcpu_stats_area_alloc() 218 static inline void pcpu_stats_area_dealloc(struct pcpu_chunk *chunk) in pcpu_stats_area_dealloc()
|
D | percpu.c | 150 struct pcpu_chunk *pcpu_first_chunk __ro_after_init; 157 struct pcpu_chunk *pcpu_reserved_chunk __ro_after_init; 206 static bool pcpu_addr_in_chunk(struct pcpu_chunk *chunk, void *addr) in pcpu_addr_in_chunk() 233 static int pcpu_chunk_slot(const struct pcpu_chunk *chunk) in pcpu_chunk_slot() 245 static void pcpu_set_page_chunk(struct page *page, struct pcpu_chunk *pcpu) in pcpu_set_page_chunk() 251 static struct pcpu_chunk *pcpu_get_page_chunk(struct page *page) in pcpu_get_page_chunk() 253 return (struct pcpu_chunk *)page->index; in pcpu_get_page_chunk() 266 static unsigned long pcpu_chunk_addr(struct pcpu_chunk *chunk, in pcpu_chunk_addr() 304 static unsigned long *pcpu_index_alloc_map(struct pcpu_chunk *chunk, int index) in pcpu_index_alloc_map() 364 static void pcpu_next_md_free_region(struct pcpu_chunk *chunk, int *bit_off, in pcpu_next_md_free_region() [all …]
|
D | percpu-km.c | 35 static int pcpu_populate_chunk(struct pcpu_chunk *chunk, in pcpu_populate_chunk() 41 static void pcpu_depopulate_chunk(struct pcpu_chunk *chunk, in pcpu_depopulate_chunk() 47 static struct pcpu_chunk *pcpu_create_chunk(gfp_t gfp) in pcpu_create_chunk() 50 struct pcpu_chunk *chunk; in pcpu_create_chunk() 81 static void pcpu_destroy_chunk(struct pcpu_chunk *chunk) in pcpu_destroy_chunk()
|
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()
|