diff options
author | Matthew Wilcox (Oracle) | 2021-11-16 21:17:14 -0500 |
---|---|---|
committer | Matthew Wilcox (Oracle) | 2021-11-17 10:36:35 -0500 |
commit | 9c3252152e8a6401c2b9e32490a5a16ec4472778 (patch) | |
tree | 3310b7b6b0a7baabdcbd155bf3543648e0130b8a /include/linux | |
parent | 522a0032af005502507f5f81ae64fdcc82b5d068 (diff) |
mm: Rename folio_test_multi to folio_test_large
This is a better name. Also add kernel-doc.
Signed-off-by: Matthew Wilcox (Oracle) <willy@infradead.org>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/page-flags.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/include/linux/page-flags.h b/include/linux/page-flags.h index 52ec4b5e5615..05510118fbb8 100644 --- a/include/linux/page-flags.h +++ b/include/linux/page-flags.h @@ -692,7 +692,13 @@ static inline bool folio_test_single(struct folio *folio) return !folio_test_head(folio); } -static inline bool folio_test_multi(struct folio *folio) +/** + * folio_test_large() - Does this folio contain more than one page? + * @folio: The folio to test. + * + * Return: True if the folio is larger than one page. + */ +static inline bool folio_test_large(struct folio *folio) { return folio_test_head(folio); } |