Searched refs:pcpu_chunk (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.10/mm/ |
D | percpu-internal.h | 53 struct pcpu_chunk { struct 92 extern struct pcpu_chunk *pcpu_first_chunk; argument 93 extern struct pcpu_chunk *pcpu_reserved_chunk; 102 static inline int pcpu_chunk_nr_blocks(struct pcpu_chunk *chunk) in pcpu_chunk_nr_blocks() 126 static inline int pcpu_chunk_map_bits(struct pcpu_chunk *chunk) in pcpu_chunk_map_bits() 132 static inline enum pcpu_chunk_type pcpu_chunk_type(struct pcpu_chunk *chunk) in pcpu_chunk_type() 145 static inline enum pcpu_chunk_type pcpu_chunk_type(struct pcpu_chunk *chunk) in pcpu_chunk_type() 199 static inline void pcpu_stats_area_alloc(struct pcpu_chunk *chunk, size_t size) in pcpu_stats_area_alloc() 223 static inline void pcpu_stats_area_dealloc(struct pcpu_chunk *chunk) in pcpu_stats_area_dealloc() 267 static inline void pcpu_stats_area_alloc(struct pcpu_chunk *chunk, size_t size) in pcpu_stats_area_alloc() [all …]
|
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-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(enum pcpu_chunk_type type, in pcpu_create_chunk() 51 struct pcpu_chunk *chunk; in pcpu_create_chunk() 82 static void pcpu_destroy_chunk(struct pcpu_chunk *chunk) in pcpu_destroy_chunk()
|
D | percpu.c | 157 struct pcpu_chunk *pcpu_first_chunk __ro_after_init; 164 struct pcpu_chunk *pcpu_reserved_chunk __ro_after_init; 213 static bool pcpu_addr_in_chunk(struct pcpu_chunk *chunk, void *addr) in pcpu_addr_in_chunk() 240 static int pcpu_chunk_slot(const struct pcpu_chunk *chunk) in pcpu_chunk_slot() 252 static void pcpu_set_page_chunk(struct page *page, struct pcpu_chunk *pcpu) in pcpu_set_page_chunk() 258 static struct pcpu_chunk *pcpu_get_page_chunk(struct page *page) in pcpu_get_page_chunk() 260 return (struct pcpu_chunk *)page->index; in pcpu_get_page_chunk() 273 static unsigned long pcpu_chunk_addr(struct pcpu_chunk *chunk, in pcpu_chunk_addr() 284 static unsigned long *pcpu_index_alloc_map(struct pcpu_chunk *chunk, int index) in pcpu_index_alloc_map() 344 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() 56 static void chunk_map_stats(struct seq_file *m, struct pcpu_chunk *chunk, in chunk_map_stats() 144 struct pcpu_chunk *chunk; in percpu_stats_show()
|