Home
last modified time | relevance | path

Searched refs:thp_size (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/tools/testing/selftests/mm/
Dsplit_huge_page_test.c195 uint64_t thp_size; in split_pte_mapped_thp() local
241 thp_size = 0; in split_pte_mapped_thp()
245 thp_size++; in split_pte_mapped_thp()
247 if (thp_size != 4) in split_pte_mapped_thp()
255 thp_size = 0; in split_pte_mapped_thp()
262 thp_size++; in split_pte_mapped_thp()
265 if (thp_size) in split_pte_mapped_thp()
266 ksft_exit_fail_msg("Still %ld THPs not split\n", thp_size); in split_pte_mapped_thp()
/linux-6.12.1/fs/ceph/
Daddr.c650 if (end > ceph_fscrypt_page_offset(page) + thp_size(page)) in get_writepages_data_length()
651 end = ceph_fscrypt_page_offset(page) + thp_size(page); in get_writepages_data_length()
674 loff_t len = thp_size(page); in writepage_nounlock()
758 WARN_ON_ONCE(len > thp_size(page)); in writepage_nounlock()
1200 len += thp_size(page); in ceph_writepages_start()
1249 thp_size(pages[locked_pages - 1]) - offset); in ceph_writepages_start()
1297 len += thp_size(page); in ceph_writepages_start()
1307 u64 min_len = len + 1 - thp_size(page); in ceph_writepages_start()
1729 if (off + thp_size(page) <= size) in ceph_page_mkwrite()
1730 len = thp_size(page); in ceph_page_mkwrite()
/linux-6.12.1/include/linux/
Dmm.h1325 static inline unsigned long thp_size(struct page *page) in thp_size() function
2303 #define offset_in_thp(page, p) ((unsigned long)(p) & (thp_size(page) - 1))