Searched refs:ms (Results 1 – 6 of 6) sorted by relevance
/mm/ |
D | sparse.c | 112 unsigned long __section_nr(struct mem_section *ms) in __section_nr() argument 122 if ((ms >= root) && (ms < (root + SECTIONS_PER_ROOT))) in __section_nr() 128 return (root_nr * SECTIONS_PER_ROOT) + (ms - root); in __section_nr() 131 unsigned long __section_nr(struct mem_section *ms) in __section_nr() argument 133 return (unsigned long)(ms - mem_section[0]); in __section_nr() 189 static void section_mark_present(struct mem_section *ms) in section_mark_present() argument 191 unsigned long section_nr = __section_nr(ms); in section_mark_present() 196 ms->section_mem_map |= SECTION_MARKED_PRESENT; in section_mark_present() 229 struct mem_section *ms; in subsection_map_init() local 234 ms = __nr_to_section(nr); in subsection_map_init() [all …]
|
D | page_ext.c | 345 struct mem_section *ms; in __free_page_ext() local 348 ms = __pfn_to_section(pfn); in __free_page_ext() 349 if (!ms || !ms->page_ext) in __free_page_ext() 352 base = READ_ONCE(ms->page_ext); in __free_page_ext() 359 WRITE_ONCE(ms->page_ext, NULL); in __free_page_ext() 367 struct mem_section *ms; in __invalidate_page_ext() local 370 ms = __pfn_to_section(pfn); in __invalidate_page_ext() 371 if (!ms || !ms->page_ext) in __invalidate_page_ext() 373 val = (void *)ms->page_ext + PAGE_EXT_INVALID; in __invalidate_page_ext() 374 WRITE_ONCE(ms->page_ext, val); in __invalidate_page_ext()
|
D | memory_hotplug.c | 175 struct mem_section *ms; in register_page_bootmem_info_section() local 180 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section() 183 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() 197 usage = ms->usage; in register_page_bootmem_info_section() 210 struct mem_section *ms; in register_page_bootmem_info_section() local 215 ms = __nr_to_section(section_nr); in register_page_bootmem_info_section() 217 memmap = sparse_decode_mem_map(ms->section_mem_map, section_nr); in register_page_bootmem_info_section() 221 usage = ms->usage; in register_page_bootmem_info_section() 513 struct mem_section *ms = __pfn_to_section(pfn); in __remove_section() local 515 if (WARN_ON_ONCE(!valid_section(ms))) in __remove_section() [all …]
|
/mm/damon/ |
D | core.c | 97 scheme->quota.ms = quota->ms; in damon_new_scheme() 650 if (!quota->ms) { in damos_set_effective_quota() 660 esz = throughput * quota->ms; in damos_set_effective_quota() 681 if (!quota->ms && !quota->sz) in kdamond_apply_schemes()
|
D | reclaim.c | 267 .ms = quota_ms, in damon_reclaim_new_scheme()
|
D | dbgfs.c | 113 s->quota.ms, s->quota.sz, in sprint_schemes() 207 &min_age, &max_age, &action, "a.ms, in str_to_schemes()
|