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.c2612 size_t thp_size = read_pmd_pagesize(); in TEST_F()
2615 if (!thp_size) in TEST_F()
2616 thp_size = TWOMEG; in TEST_F()
2624 thp_size / 4, /* quarter THP */ in TEST_F()
2625 thp_size / 2, /* half THP */ in TEST_F()
2626 thp_size, /* single THP */ in TEST_F()
2627 thp_size * 2, /* two THPs */ in TEST_F()
2628 thp_size * 4, /* four THPs */ in TEST_F()
2629 thp_size * 8, /* eight THPs */ in TEST_F()
2630 thp_size * 12 in TEST_F()
2900 size_t thp_size = read_pmd_pagesize(); global() variable
[all...]
/linux/fs/ceph/
H A Daddr.c711 if (end > ceph_fscrypt_page_offset(page) + thp_size(page)) in get_writepages_data_length()
712 end = ceph_fscrypt_page_offset(page) + thp_size(page); in get_writepages_data_length()
1485 BUG_ON(len < ceph_fscrypt_page_offset(page) + thp_size(page) - offset); in ceph_submit_write()
1563 len += thp_size(page); in ceph_submit_write()
1574 u64 min_len = len + 1 - thp_size(page); in ceph_submit_write()
/linux/include/linux/
H A Dmm.h2021 static inline unsigned long thp_size(struct page *page) in thp_size() function