Searched refs:h (Results 1 – 8 of 8) sorted by relevance
/mm/ |
D | hugetlb.c | 100 static int hugetlb_acct_memory(struct hstate *h, long delta); 119 struct hugepage_subpool *hugepage_new_subpool(struct hstate *h, long max_hpages, in hugepage_new_subpool() argument 131 spool->hstate = h; in hugepage_new_subpool() 134 if (min_hpages != -1 && hugetlb_acct_memory(h, min_hpages)) { in hugepage_new_subpool() 281 struct hstate *h, in record_hugetlb_cgroup_uncharge_info() argument 288 &h_cg->rsvd_hugepage[hstate_index(h)]; in record_hugetlb_cgroup_uncharge_info() 302 resv->pages_per_hpage = pages_per_huge_page(h); in record_hugetlb_cgroup_uncharge_info() 306 VM_BUG_ON(resv->pages_per_hpage != pages_per_huge_page(h)); in record_hugetlb_cgroup_uncharge_info() 372 struct hstate *h, long *regions_needed) in add_reservation_in_range() argument 411 record_hugetlb_cgroup_uncharge_info(h_cg, h, in add_reservation_in_range() [all …]
|
D | hugetlb_cgroup.c | 200 struct hstate *h; in hugetlb_cgroup_css_offline() local 206 for_each_hstate(h) { in hugetlb_cgroup_css_offline() 208 list_for_each_entry(page, &h->hugepage_activelist, lru) in hugetlb_cgroup_css_offline() 622 struct hstate *h = &hstates[idx]; in __hugetlb_cgroup_file_dfl_init() local 625 mem_fmt(buf, sizeof(buf), huge_page_size(h)); in __hugetlb_cgroup_file_dfl_init() 628 cft = &h->cgroup_files_dfl[0]; in __hugetlb_cgroup_file_dfl_init() 636 cft = &h->cgroup_files_dfl[1]; in __hugetlb_cgroup_file_dfl_init() 644 cft = &h->cgroup_files_dfl[2]; in __hugetlb_cgroup_file_dfl_init() 651 cft = &h->cgroup_files_dfl[3]; in __hugetlb_cgroup_file_dfl_init() 658 cft = &h->cgroup_files_dfl[4]; in __hugetlb_cgroup_file_dfl_init() [all …]
|
D | pagewalk.c | 238 static unsigned long hugetlb_entry_end(struct hstate *h, unsigned long addr, in hugetlb_entry_end() argument 241 unsigned long boundary = (addr & huge_page_mask(h)) + huge_page_size(h); in hugetlb_entry_end() 249 struct hstate *h = hstate_vma(vma); in walk_hugetlb_range() local 251 unsigned long hmask = huge_page_mask(h); in walk_hugetlb_range() 252 unsigned long sz = huge_page_size(h); in walk_hugetlb_range() 258 next = hugetlb_entry_end(h, addr, end); in walk_hugetlb_range()
|
D | z3fold.c | 287 static inline struct z3fold_header *handle_to_z3fold_header(unsigned long h) in handle_to_z3fold_header() argument 289 return __get_z3fold_header(h, false); in handle_to_z3fold_header() 293 static inline struct z3fold_header *get_z3fold_header(unsigned long h) in get_z3fold_header() argument 295 return __get_z3fold_header(h, true); in get_z3fold_header() 459 unsigned long h = (unsigned long)zhdr; in __encode_handle() local 467 return h | (1 << PAGE_HEADLESS); in __encode_handle() 471 h += idx; in __encode_handle() 473 h |= (zhdr->last_chunks << BUDDY_SHIFT); in __encode_handle() 476 slots->slot[idx] = h; in __encode_handle()
|
D | migrate.c | 565 struct hstate *h = page_hstate(src); in copy_huge_page() local 566 nr_pages = pages_per_huge_page(h); in copy_huge_page() 1544 struct hstate *h = page_hstate(compound_head(page)); in alloc_migration_target() local 1546 gfp_mask = htlb_modify_alloc_mask(h, gfp_mask); in alloc_migration_target() 1547 return alloc_huge_page_nodemask(h, nid, mtc->nmask, gfp_mask); in alloc_migration_target()
|
D | slub.c | 1906 static void rcu_free_slab(struct rcu_head *h) in rcu_free_slab() argument 1908 struct page *page = container_of(h, struct page, rcu_head); in rcu_free_slab() 3945 struct page *page, *h; in free_partial() local 3949 list_for_each_entry_safe(page, h, &n->partial, slab_list) { in free_partial() 3960 list_for_each_entry_safe(page, h, &discard, slab_list) in free_partial()
|
/mm/damon/ |
D | vaddr.c | 438 struct hstate *h = hstate_vma(walk->vma); in damon_mkold_hugetlb_entry() local 442 ptl = huge_pte_lock(h, walk->mm, pte); in damon_mkold_hugetlb_entry() 565 struct hstate *h = hstate_vma(walk->vma); in damon_young_hugetlb_entry() local 570 ptl = huge_pte_lock(h, walk->mm, pte); in damon_young_hugetlb_entry() 583 *priv->page_sz = huge_page_size(h); in damon_young_hugetlb_entry()
|
/mm/kfence/ |
D | core.c | 417 static void rcu_guarded_free(struct rcu_head *h) in rcu_guarded_free() argument 419 struct kfence_metadata *meta = container_of(h, struct kfence_metadata, rcu_head); in rcu_guarded_free()
|