Searched refs:thp_size (Results 1 – 9 of 9) sorted by relevance
/linux/tools/testing/selftests/vm/ |
A D | split_huge_page_test.c | 172 uint64_t thp_size; in split_pmd_thp() local 188 if (!thp_size) { in split_pmd_thp() 205 if (thp_size) { in split_pmd_thp() 218 uint64_t thp_size; in split_pte_mapped_thp() local 253 if (!thp_size) { in split_pte_mapped_thp() 274 thp_size = 0; in split_pte_mapped_thp() 278 thp_size++; in split_pte_mapped_thp() 280 if (thp_size != 4) { in split_pte_mapped_thp() 290 thp_size = 0; in split_pte_mapped_thp() 298 thp_size++; in split_pte_mapped_thp() [all …]
|
/linux/fs/ceph/ |
A D | addr.c | 149 if (offset != 0 || length != thp_size(page)) { in ceph_invalidatepage() 474 end = page_offset(page) + thp_size(page); in get_writepages_data_length() 492 loff_t len = thp_size(page); in writepage_nounlock() 546 WARN_ON_ONCE(len > thp_size(page)); in writepage_nounlock() 837 0, thp_size(page)); in ceph_writepages_start() 926 len += thp_size(page); in ceph_writepages_start() 975 thp_size(page) - offset); in ceph_writepages_start() 1005 len += thp_size(page); in ceph_writepages_start() 1014 u64 min_len = len + 1 - thp_size(page); in ceph_writepages_start() 1471 if (off + thp_size(page) <= size) in ceph_page_mkwrite() [all …]
|
/linux/mm/ |
A D | page_io.c | 345 bio_add_page(bio, page, thp_size(page), 0); in __swap_writepage() 409 bio_add_page(bio, page, thp_size(page), 0); in swap_readpage()
|
A D | truncate.c | 186 do_invalidatepage(page, 0, thp_size(page)); in truncate_cleanup_page()
|
A D | filemap.c | 2675 size_t page_size = thp_size(page); in filemap_read() 2821 } while (offset < thp_size(page)); in page_seek_hole_data() 2833 return thp_size(page); in seek_page_size()
|
/linux/drivers/nvdimm/ |
A D | pmem.c | 241 rc = pmem_do_write(pmem, page, 0, sector, thp_size(page)); in pmem_rw_page() 243 rc = pmem_do_read(pmem, page, 0, sector, thp_size(page)); in pmem_rw_page()
|
A D | btt.c | 1494 rc = btt_do_bvec(btt, NULL, page, thp_size(page), 0, op, sector); in btt_rw_page()
|
/linux/include/linux/ |
A D | huge_mm.h | 478 static inline unsigned long thp_size(struct page *page) in thp_size() function
|
A D | mm.h | 1809 #define offset_in_thp(page, p) ((unsigned long)(p) & (thp_size(page) - 1))
|
Completed in 32 milliseconds