Searched refs:thp_size (Results 1 – 3 of 3) sorted by relevance
187 uint64_t thp_size; in split_pte_mapped_thp() local233 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()
692 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()
1443 static inline unsigned long thp_size(struct page *page) in thp_size() function2409 #define offset_in_thp(page, p) ((unsigned long)(p) & (thp_size(page) - 1))