| /OK3568_Linux_fs/kernel/fs/verity/ |
| H A D | verify.c | 43 static void extract_hash(struct page *hpage, unsigned int hoffset, in extract_hash() argument 46 void *virt = kmap_atomic(hpage); in extract_hash() 114 struct page *hpage; in verify_page() local 121 hpage = inode->i_sb->s_vop->read_merkle_tree_page(inode, hindex, in verify_page() 123 if (IS_ERR(hpage)) { in verify_page() 124 err = PTR_ERR(hpage); in verify_page() 131 if (PageChecked(hpage)) { in verify_page() 132 extract_hash(hpage, hoffset, hsize, _want_hash); in verify_page() 134 put_page(hpage); in verify_page() 141 hpages[level] = hpage; in verify_page() [all …]
|
| /OK3568_Linux_fs/kernel/mm/ |
| H A D | khugepaged.c | 860 static bool khugepaged_prealloc_page(struct page **hpage, bool *wait) in khugepaged_prealloc_page() argument 862 if (IS_ERR(*hpage)) { in khugepaged_prealloc_page() 867 *hpage = NULL; in khugepaged_prealloc_page() 869 } else if (*hpage) { in khugepaged_prealloc_page() 870 put_page(*hpage); in khugepaged_prealloc_page() 871 *hpage = NULL; in khugepaged_prealloc_page() 878 khugepaged_alloc_page(struct page **hpage, gfp_t gfp, int node) in khugepaged_alloc_page() argument 880 VM_BUG_ON_PAGE(*hpage, *hpage); in khugepaged_alloc_page() 882 *hpage = __alloc_pages_node(node, gfp, HPAGE_PMD_ORDER); in khugepaged_alloc_page() 883 if (unlikely(!*hpage)) { in khugepaged_alloc_page() [all …]
|
| H A D | memory-failure.c | 813 struct page *hpage = compound_head(p); in me_huge_page() local 816 if (!PageHuge(hpage)) in me_huge_page() 819 mapping = page_mapping(hpage); in me_huge_page() 821 res = truncate_error_page(hpage, pfn, mapping); in me_huge_page() 823 unlock_page(hpage); in me_huge_page() 829 if (PageAnon(hpage)) in me_huge_page() 830 put_page(hpage); in me_huge_page() 833 lock_page(hpage); in me_huge_page() 997 struct page *hpage = *hpagep; in hwpoison_user_mappings() local 998 bool mlocked = PageMlocked(hpage); in hwpoison_user_mappings() [all …]
|
| 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, 0); in hwpoison_inject() 37 if (!PageLRU(hpage) && !PageHuge(p)) in hwpoison_inject() 45 err = hwpoison_filter(hpage); in hwpoison_inject()
|
| H A D | migrate.c | 1262 struct page *hpage, int force, in unmap_and_move_huge_page() argument 1278 if (!hugepage_migration_supported(page_hstate(hpage))) { in unmap_and_move_huge_page() 1279 putback_active_hugepage(hpage); in unmap_and_move_huge_page() 1283 new_hpage = get_new_page(hpage, private); in unmap_and_move_huge_page() 1287 if (!trylock_page(hpage)) { in unmap_and_move_huge_page() 1297 lock_page(hpage); in unmap_and_move_huge_page() 1305 if (page_private(hpage) && !page_mapping(hpage)) { in unmap_and_move_huge_page() 1310 if (PageAnon(hpage)) in unmap_and_move_huge_page() 1311 anon_vma = page_get_anon_vma(hpage); in unmap_and_move_huge_page() 1316 if (page_mapped(hpage)) { in unmap_and_move_huge_page() [all …]
|
| H A D | hugetlb.c | 1621 struct address_space *hugetlb_page_mapping_lock_write(struct page *hpage) in hugetlb_page_mapping_lock_write() argument 1623 struct address_space *mapping = page_mapping(hpage); in hugetlb_page_mapping_lock_write()
|
| /OK3568_Linux_fs/kernel/arch/powerpc/kvm/ |
| H A D | book3s_pr.c | 663 struct page *hpage; in kvmppc_patch_dcbz() local 668 hpage = gfn_to_page(vcpu->kvm, pte->raddr >> PAGE_SHIFT); in kvmppc_patch_dcbz() 669 if (is_error_page(hpage)) in kvmppc_patch_dcbz() 676 get_page(hpage); in kvmppc_patch_dcbz() 677 page = kmap_atomic(hpage); in kvmppc_patch_dcbz() 685 put_page(hpage); in kvmppc_patch_dcbz()
|
| /OK3568_Linux_fs/kernel/include/linux/ |
| H A D | hugetlb.h | 162 struct address_space *hugetlb_page_mapping_lock_write(struct page *hpage); 209 struct page *hpage) in hugetlb_page_mapping_lock_write() argument
|
| /OK3568_Linux_fs/kernel/Documentation/virt/kvm/ |
| H A D | running-nested-guests.rst | 169 .. note:: On s390x, the kernel parameter ``hpage`` is mutually exclusive 171 ``nested``, the ``hpage`` parameter *must* be disabled.
|
| H A D | api.rst | 5869 :Returns: 0 on success, -EINVAL if hpage module parameter was not set 5877 hpage module parameter is not set to 1, -EINVAL is returned.
|
| /OK3568_Linux_fs/kernel/arch/s390/kvm/ |
| H A D | kvm-s390.c | 178 static int hpage; variable 179 module_param(hpage, int, 0444); 180 MODULE_PARM_DESC(hpage, "1m huge page backing support"); 553 if (hpage && !kvm_is_ucontrol(kvm)) in kvm_vm_ioctl_check_extension() 763 else if (!hpage || kvm->arch.use_cmma || kvm_is_ucontrol(kvm)) in kvm_vm_ioctl_enable_cap() 5072 if (nested && hpage) { in kvm_s390_init()
|
| /OK3568_Linux_fs/kernel/io_uring/ |
| H A D | io_uring.c | 8829 int nr_pages, struct page *hpage) in headpage_already_acct() argument 8837 if (compound_head(pages[i]) == hpage) in headpage_already_acct() 8848 if (compound_head(imu->bvec[j].bv_page) == hpage) in headpage_already_acct() 8867 struct page *hpage; in io_buffer_account_pin() local 8869 hpage = compound_head(pages[i]); in io_buffer_account_pin() 8870 if (hpage == *last_hpage) in io_buffer_account_pin() 8872 *last_hpage = hpage; in io_buffer_account_pin() 8873 if (headpage_already_acct(ctx, pages, i, hpage)) in io_buffer_account_pin() 8875 imu->acct_pages += page_size(hpage) >> PAGE_SHIFT; in io_buffer_account_pin()
|