Home
last modified time | relevance | path

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

/linux-6.15/tools/testing/selftests/mm/
H A Dsplit_huge_page_test.c187 uint64_t thp_size; in split_pte_mapped_thp() local
233 thp_size = 0; in split_pte_mapped_thp()
237 thp_size++; in split_pte_mapped_thp()
239 if (thp_size != 4) in split_pte_mapped_thp()
247 thp_size = 0; in split_pte_mapped_thp()
254 thp_size++; in split_pte_mapped_thp()
257 if (thp_size) in split_pte_mapped_thp()
258 ksft_exit_fail_msg("Still %ld THPs not split\n", thp_size); in split_pte_mapped_thp()
/linux-6.15/fs/ceph/
H A Daddr.c692 if (end > ceph_fscrypt_page_offset(page) + thp_size(page)) in get_writepages_data_length()
693 end = ceph_fscrypt_page_offset(page) + thp_size(page); in get_writepages_data_length()
1440 BUG_ON(len < ceph_fscrypt_page_offset(page) + thp_size(page) - offset); in ceph_submit_write()
1517 len += thp_size(page); in ceph_submit_write()
1528 u64 min_len = len + 1 - thp_size(page); in ceph_submit_write()
/linux-6.15/include/linux/
H A Dmm.h1443 static inline unsigned long thp_size(struct page *page) in thp_size() function
2409 #define offset_in_thp(page, p) ((unsigned long)(p) & (thp_size(page) - 1))