Searched refs:thp_size (Results 1 – 6 of 6) sorted by relevance
| /Linux-v6.1/tools/testing/selftests/vm/ |
| D | split_huge_page_test.c | 138 uint64_t thp_size; in split_pte_mapped_thp() local 193 thp_size = 0; in split_pte_mapped_thp() 197 thp_size++; in split_pte_mapped_thp() 199 if (thp_size != 4) { in split_pte_mapped_thp() 209 thp_size = 0; in split_pte_mapped_thp() 217 thp_size++; in split_pte_mapped_thp() 220 if (thp_size) { in split_pte_mapped_thp() 221 printf("Still %ld THPs not split\n", thp_size); in split_pte_mapped_thp()
|
| /Linux-v6.1/mm/ |
| D | page_io.c | 322 sio->bvec[sio->pages].bv_len = thp_size(page); in swap_writepage_fs() 324 sio->len += thp_size(page); in swap_writepage_fs() 362 bio_add_page(bio, page, thp_size(page), 0); in __swap_writepage() 436 sio->bvec[sio->pages].bv_len = thp_size(page); in swap_readpage_fs() 438 sio->len += thp_size(page); in swap_readpage_fs() 496 bio_add_page(bio, page, thp_size(page), 0); in swap_readpage()
|
| /Linux-v6.1/fs/ceph/ |
| D | addr.c | 538 if (end > page_offset(page) + thp_size(page)) in get_writepages_data_length() 539 end = page_offset(page) + thp_size(page); in get_writepages_data_length() 558 loff_t len = thp_size(page); in writepage_nounlock() 617 WARN_ON_ONCE(len > thp_size(page)); in writepage_nounlock() 1010 len += thp_size(page); in ceph_writepages_start() 1059 thp_size(page) - offset); in ceph_writepages_start() 1101 len += thp_size(page); in ceph_writepages_start() 1111 u64 min_len = len + 1 - thp_size(page); in ceph_writepages_start() 1518 if (off + thp_size(page) <= size) in ceph_page_mkwrite() 1519 len = thp_size(page); in ceph_page_mkwrite()
|
| /Linux-v6.1/drivers/nvdimm/ |
| D | pmem.c | 248 rc = pmem_do_write(pmem, page, 0, sector, thp_size(page)); in pmem_rw_page() 250 rc = pmem_do_read(pmem, page, 0, sector, thp_size(page)); in pmem_rw_page()
|
| D | btt.c | 1491 rc = btt_do_bvec(btt, NULL, page, thp_size(page), 0, op, sector); in btt_rw_page()
|
| /Linux-v6.1/include/linux/ |
| D | mm.h | 997 static inline unsigned long thp_size(struct page *page) in thp_size() function 1840 #define offset_in_thp(page, p) ((unsigned long)(p) & (thp_size(page) - 1))
|