Home
last modified time | relevance | path

Searched refs:hpage (Results 1 – 12 of 12) sorted by relevance

/openbmc/linux/fs/verity/
H A Dverify.c36 return PageChecked(hpage); in is_hash_block_verified()
53 if (PageChecked(hpage)) { in is_hash_block_verified()
62 if (PageChecked(hpage)) { in is_hash_block_verified()
74 SetPageChecked(hpage); in is_hash_block_verified()
149 struct page *hpage; in verify_data_block() local
175 if (IS_ERR(hpage)) { in verify_data_block()
178 PTR_ERR(hpage), hpage_idx); in verify_data_block()
186 put_page(hpage); in verify_data_block()
189 hblocks[level].page = hpage; in verify_data_block()
217 SetPageChecked(hpage); in verify_data_block()
[all …]
/openbmc/linux/mm/
H A Dhwpoison-inject.c18 struct page *hpage; in hwpoison_inject() local
28 hpage = compound_head(p); in hwpoison_inject()
33 shake_page(hpage); in hwpoison_inject()
37 if (!PageLRU(hpage) && !PageHuge(p) && !is_free_buddy_page(p)) in hwpoison_inject()
45 err = hwpoison_filter(hpage); in hwpoison_inject()
H A Dkhugepaged.c1081 struct page *hpage; in collapse_huge_page() local
1098 hpage = &folio->page; in collapse_huge_page()
1221 hpage = NULL; in collapse_huge_page()
1227 if (hpage) in collapse_huge_page()
1228 put_page(hpage); in collapse_huge_page()
1446 get_page(hpage); in set_huge_pmd()
1469 struct page *hpage; in collapse_pte_mapped_thp() local
1504 if (!hpage) in collapse_pte_mapped_thp()
1507 if (!PageHead(hpage)) { in collapse_pte_mapped_thp()
1667 unlock_page(hpage); in collapse_pte_mapped_thp()
[all …]
H A Dmemory-failure.c1570 bool mlocked = PageMlocked(hpage); in hwpoison_user_mappings()
1599 mapping = page_mapping(hpage); in hwpoison_user_mappings()
1602 if (page_mkclean(hpage)) { in hwpoison_user_mappings()
1603 SetPageDirty(hpage); in hwpoison_user_mappings()
1618 if (PageHuge(hpage) && !PageAnon(hpage)) { in hwpoison_user_mappings()
1646 shake_page(hpage); in hwpoison_user_mappings()
2185 struct page *hpage; in memory_failure() local
2273 hpage = compound_head(p); in memory_failure()
2274 if (PageTransHuge(hpage)) { in memory_failure()
2288 SetPageHasHWPoisoned(hpage); in memory_failure()
[all …]
H A Dhugetlb.c2083 struct address_space *hugetlb_page_mapping_lock_write(struct page *hpage) in hugetlb_page_mapping_lock_write() argument
2085 struct address_space *mapping = page_mapping(hpage); in hugetlb_page_mapping_lock_write()
/openbmc/linux/io_uring/
H A Drsrc.c817 int nr_pages, struct page *hpage) in headpage_already_acct() argument
825 if (compound_head(pages[i]) == hpage) in headpage_already_acct()
836 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct()
855 struct page *hpage; in io_buffer_account_pin() local
857 hpage = compound_head(pages[i]); in io_buffer_account_pin()
858 if (hpage == *last_hpage) in io_buffer_account_pin()
860 *last_hpage = hpage; in io_buffer_account_pin()
861 if (headpage_already_acct(ctx, pages, i, hpage)) in io_buffer_account_pin()
863 imu->acct_pages += page_size(hpage) >> PAGE_SHIFT; in io_buffer_account_pin()
/openbmc/linux/arch/powerpc/kvm/
H A Dbook3s_pr.c647 struct page *hpage; in kvmppc_patch_dcbz() local
652 hpage = gfn_to_page(vcpu->kvm, pte->raddr >> PAGE_SHIFT); in kvmppc_patch_dcbz()
653 if (is_error_page(hpage)) in kvmppc_patch_dcbz()
660 get_page(hpage); in kvmppc_patch_dcbz()
661 page = kmap_atomic(hpage); in kvmppc_patch_dcbz()
669 put_page(hpage); in kvmppc_patch_dcbz()
/openbmc/linux/Documentation/virt/kvm/x86/
H A Drunning-nested-guests.rst171 .. note:: On s390x, the kernel parameter ``hpage`` is mutually exclusive
173 ``nested``, the ``hpage`` parameter *must* be disabled.
/openbmc/linux/include/linux/
H A Dhugetlb.h178 struct address_space *hugetlb_page_mapping_lock_write(struct page *hpage);
301 struct page *hpage) in hugetlb_page_mapping_lock_write() argument
/openbmc/linux/arch/s390/kvm/
H A Dkvm-s390.c201 static int hpage; variable
202 module_param(hpage, int, 0444);
203 MODULE_PARM_DESC(hpage, "1m huge page backing support");
592 if (hpage && !kvm_is_ucontrol(kvm)) in kvm_vm_ioctl_check_extension()
846 else if (!hpage || kvm->arch.use_cmma || kvm_is_ucontrol(kvm)) in kvm_vm_ioctl_enable_cap()
5858 if (nested && hpage) { in kvm_s390_init()
/openbmc/linux/kernel/trace/
H A Dring_buffer.c2079 struct buffer_page *hpage = rb_set_head_page(cpu_buffer); in rb_insert_pages() local
2081 if (!hpage) in rb_insert_pages()
2083 head_page = &hpage->list; in rb_insert_pages()
/openbmc/linux/Documentation/virt/kvm/
H A Dapi.rst7270 :Returns: 0 on success, -EINVAL if hpage module parameter was not set
7278 hpage module parameter is not set to 1, -EINVAL is returned.