Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dhmm-tests.c2810 size_t thp_size = 2 * 1024 * 1024; /* 2MB - typical THP size */ variable
2819 thp_size / 4, /* 512KB - smaller than THP */
2820 thp_size / 2, /* 1MB - half THP */
2821 thp_size, /* 2MB - single THP */
2822 thp_size * 2, /* 4MB - two THPs */
2823 thp_size * 4, /* 8MB - four THPs */
2824 thp_size * 8, /* 16MB - eight THPs */
2825 thp_size * 128, /* 256MB - one twenty eight THPs */
/linux/fs/ceph/
H A Daddr.c703 if (end > ceph_fscrypt_page_offset(page) + thp_size(page)) in get_writepages_data_length()
704 end = ceph_fscrypt_page_offset(page) + thp_size(page); in get_writepages_data_length()
1443 BUG_ON(len < ceph_fscrypt_page_offset(page) + thp_size(page) - offset); in ceph_submit_write()
1520 len += thp_size(page); in ceph_submit_write()
1531 u64 min_len = len + 1 - thp_size(page); in ceph_submit_write()
/linux/include/linux/
H A Dmm.h1678 static inline unsigned long thp_size(struct page *page) in thp_size() function