Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/mm/
Dtruncate.c334 struct pagevec locked_pvec; in truncate_inode_pages_range() local
336 pagevec_init(&locked_pvec); in truncate_inode_pages_range()
359 pagevec_add(&locked_pvec, page); in truncate_inode_pages_range()
361 for (i = 0; i < pagevec_count(&locked_pvec); i++) in truncate_inode_pages_range()
362 truncate_cleanup_page(locked_pvec.pages[i]); in truncate_inode_pages_range()
363 delete_from_page_cache_batch(mapping, &locked_pvec); in truncate_inode_pages_range()
364 for (i = 0; i < pagevec_count(&locked_pvec); i++) in truncate_inode_pages_range()
365 unlock_page(locked_pvec.pages[i]); in truncate_inode_pages_range()