diff options
| author | Matthew Wilcox (Oracle) <[email protected]> | 2021-01-15 23:39:21 -0500 |
|---|---|---|
| committer | Matthew Wilcox (Oracle) <[email protected]> | 2021-09-27 09:27:30 -0400 |
| commit | 9257e15677384d1ccdfe0619c4455e34cb0342c7 (patch) | |
| tree | fd266ec464f6150060c7117a49e3d12be80bfd8d /tools/perf/scripts/python | |
| parent | 85d0a2ed3747da7f9aedacb72478bbedf06f9f2e (diff) | |
mm/filemap: Add folio_index(), folio_file_page() and folio_contains()
folio_index() is the equivalent of page_index() for folios.
folio_file_page() is the equivalent of find_subpage().
folio_contains() is the equivalent of thp_contains().
No changes to generated code.
Signed-off-by: Matthew Wilcox (Oracle) <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Acked-by: Jeff Layton <[email protected]>
Acked-by: Kirill A. Shutemov <[email protected]>
Acked-by: Vlastimil Babka <[email protected]>
Reviewed-by: William Kucharski <[email protected]>
Reviewed-by: David Howells <[email protected]>
Acked-by: Mike Rapoport <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions