Searched refs:thp_size (Results 1 – 3 of 3) sorted by relevance
2759 size_t thp_size = 2 * 1024 * 1024; /* 2MB - typical THP size */ in run_migration_benchmark() 2768 thp_size / 4, /* 512KB - smaller than THP */ in run_migration_benchmark() 2769 thp_size / 2, /* 1MB - half THP */ in run_migration_benchmark() 2770 thp_size, /* 2MB - single THP */ in run_migration_benchmark() 2771 thp_size * 2, /* 4MB - two THPs */ in run_migration_benchmark() 2772 thp_size * 4, /* 8MB - four THPs */ in run_migration_benchmark() 2773 thp_size * 8, /* 16MB - eight THPs */ in run_migration_benchmark() 2774 thp_size * 128, /* 256MB - one twenty eight THPs */ in run_migration_benchmark() 2810 size_t thp_size = 2 * 1024 * 1024; /* 2MB - typical THP size */ global() variable
708 if (end > ceph_fscrypt_page_offset(page) + thp_size(page)) in get_writepages_data_length()709 end = ceph_fscrypt_page_offset(page) + thp_size(page); in get_writepages_data_length()1461 BUG_ON(len < ceph_fscrypt_page_offset(page) + thp_size(page) - offset); in ceph_submit_write()1538 len += thp_size(page); in ceph_submit_write()1549 u64 min_len = len + 1 - thp_size(page); in ceph_submit_write()
1951 static inline unsigned long thp_size(struct page *page) in thp_size() function