Home
last modified time | relevance | path

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

/linux-6.1.9/include/linux/
Dpagemap.h900 static inline bool folio_trylock(struct folio *folio) in folio_trylock() function
910 return folio_trylock(page_folio(page)); in trylock_page()
938 if (!folio_trylock(folio)) in folio_lock()
959 if (!folio_trylock(folio)) in lock_page()
976 if (!folio_trylock(folio)) in folio_lock_killable()
1002 return folio_trylock(folio) || __folio_lock_or_retry(folio, mm, flags); in folio_lock_or_retry()
/linux-6.1.9/mm/damon/
Dpaddr.c54 if (need_lock && !folio_trylock(folio)) in damon_pa_mkold()
152 if (need_lock && !folio_trylock(folio)) { in damon_pa_young()
/linux-6.1.9/mm/
Dpage_idle.c104 if (need_lock && !folio_trylock(folio)) in page_idle_clear_pte_refs()
Dfilemap.c1682 ret = !folio_trylock(folio); in __folio_lock_async()
1926 if (!folio_trylock(folio)) { in __filemap_get_folio()
2101 if (!folio_trylock(folio)) in find_lock_entries()
2462 if (!folio_trylock(folio)) { in filemap_update_page()
2946 if (folio_trylock(folio)) in lock_folio_maybe_drop_mmap()
3302 if (!folio_trylock(folio)) in next_uptodate_page()
3515 if (!folio_trylock(folio)) { in do_read_cache_folio()
Dmigrate.c1010 if (!folio_trylock(src)) { in __unmap_and_move()
1078 if (unlikely(!folio_trylock(dst))) in __unmap_and_move()
1283 if (!folio_trylock(src)) { in unmap_and_move_huge_page()
1309 if (unlikely(!folio_trylock(dst))) in unmap_and_move_huge_page()
Dmadvise.c660 if (!folio_trylock(folio)) { in madvise_free_pte_range()
680 if (!folio_trylock(folio)) in madvise_free_pte_range()
Dswap_state.c285 folio_trylock(folio)) { in free_swap_cache()
Drmap.c919 we_locked = folio_trylock(folio); in folio_referenced()
2353 if (PageTail(pages[i]) || !folio_trylock(folio)) { in make_device_exclusive_range()
Dvmscan.c1658 if (!folio_trylock(folio)) in shrink_folio_list()
1946 if (!folio_trylock(folio)) in shrink_folio_list()
2607 if (folio_test_private(folio) && folio_trylock(folio)) { in shrink_active_list()
Dhuge_memory.c1337 if (!folio_trylock(folio)) { in do_huge_pmd_wp_page()
Dswapfile.c148 if (folio_trylock(folio)) { in __try_to_reclaim_swap()
Dshmem.c617 if (!folio_trylock(folio)) { in shmem_unused_huge_shrink()
Dmemory.c3445 if (!folio_trylock(folio)) in do_wp_page()
Dmemcontrol.c5705 if (!folio_trylock(folio)) in mem_cgroup_move_account()
/linux-6.1.9/fs/afs/
Dwrite.c476 if (!folio_trylock(folio)) { in afs_extend_writeback()
733 if (!folio_trylock(folio)) { in afs_writepages_region()
/linux-6.1.9/fs/jbd2/
Dcommit.c80 if (!folio_trylock(folio)) in release_buffer_page()
/linux-6.1.9/fs/reiserfs/
Djournal.c605 if (!folio->mapping && folio_trylock(folio)) { in release_buffer_page()