/openbmc/linux/fs/verity/ |
H A D | verify.c | 36 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 D | hwpoison-inject.c | 18 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 D | khugepaged.c | 1081 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 D | memory-failure.c | 1570 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 D | hugetlb.c | 2083 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 D | rsrc.c | 817 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 D | book3s_pr.c | 647 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 D | running-nested-guests.rst | 171 .. note:: On s390x, the kernel parameter ``hpage`` is mutually exclusive 173 ``nested``, the ``hpage`` parameter *must* be disabled.
|
/openbmc/linux/include/linux/ |
H A D | hugetlb.h | 178 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 D | kvm-s390.c | 201 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 D | ring_buffer.c | 2079 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 D | api.rst | 7270 :Returns: 0 on success, -EINVAL if hpage module parameter was not set 7278 hpage module parameter is not set to 1, -EINVAL is returned.
|