Home
last modified time | relevance | path

Searched refs:trylock_page (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.15/mm/
Dballoon_compaction.c23 BUG_ON(!trylock_page(page)); in balloon_page_enqueue_one()
93 if (!trylock_page(page)) in balloon_page_list_dequeue()
Dpage_idle.c105 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
Dmigrate.c95 if (unlikely(!trylock_page(page))) in isolate_movable_page()
967 if (!trylock_page(page)) { in __unmap_and_move()
1035 if (unlikely(!trylock_page(newpage))) in __unmap_and_move()
1310 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()
1336 if (unlikely(!trylock_page(new_hpage))) in unmap_and_move_huge_page()
2285 if (unlikely(!trylock_page(page))) in migrate_vma_collect_pmd()
2379 if (trylock_page(page)) { in migrate_vma_collect_pmd()
2553 if (!trylock_page(page)) { in migrate_vma_prepare()
Dmadvise.c420 if (!trylock_page(page)) { in madvise_cold_or_pageout_pte_range()
631 if (!trylock_page(page)) { in madvise_free_pte_range()
653 if (!trylock_page(page)) in madvise_free_pte_range()
Dhuge_memory.c1307 if (!trylock_page(page)) { in do_huge_pmd_wp_page()
1409 if (!trylock_page(page)) in follow_trans_huge_pmd()
1534 if (!trylock_page(page)) in madvise_free_huge_pmd()
2182 if (unlikely(!trylock_page(page))) { in __split_huge_pmd()
2837 if (!trylock_page(page)) in deferred_split_scan()
2983 if (!trylock_page(page)) in split_huge_pages_pid()
3041 if (!trylock_page(fpage)) in split_huge_pages_in_file()
Dfilemap.c1673 ret = !trylock_page(page); in __lock_page_async()
1905 if (!trylock_page(page)) { in pagecache_get_page()
2099 if (!trylock_page(page)) in find_lock_entries()
2433 if (!trylock_page(page)) { in filemap_update_page()
2903 if (trylock_page(page)) in lock_page_maybe_drop_mmap()
3250 if (!trylock_page(page)) in next_uptodate_page()
Dpage_io.c395 if (trylock_page(page)) { in swap_readpage()
Dreadahead.c52 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
Dkhugepaged.c662 if (!trylock_page(page)) { in __collapse_huge_page_isolate()
1731 } else if (trylock_page(page)) { in collapse_file()
1773 } else if (trylock_page(page)) { in collapse_file()
Dksm.c734 if (!trylock_page(page)) { in get_ksm_page()
1215 if (!trylock_page(page)) in try_to_merge_one_page()
2181 if (!trylock_page(page)) in cmp_and_merge_page()
Dvmscan.c1394 if (!trylock_page(page)) in shrink_page_list()
1679 if (!trylock_page(page)) in shrink_page_list()
1914 if (!trylock_page(page)) in __isolate_lru_page_prepare()
2386 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
Dswap_state.c291 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
Drmap.c879 we_locked = trylock_page(page); in page_referenced()
2204 if (!trylock_page(pages[i])) { in make_device_exclusive_range()
Dzsmalloc.c913 if (!trylock_page(cursor)) { in trylock_zspage()
2185 WARN_ON(!trylock_page(page)); in SetZsPageMovable()
Dz3fold.c1153 if (trylock_page(page)) { in z3fold_alloc()
Dgup.c589 if (page->mapping && trylock_page(page)) { in follow_page_pte()
Dmemory.c755 if (trylock_page(page)) { in try_restore_exclusive_pte()
3288 if (!trylock_page(page)) in do_wp_page()
/Linux-v5.15/fs/cachefiles/
Drdwr.c112 if (trylock_page(backpage)) { in cachefiles_read_reissue()
129 if (trylock_page(backpage)) { in cachefiles_read_reissue()
303 if (trylock_page(backpage)) { in cachefiles_read_backing_file_one()
325 if (!trylock_page(backpage)) in cachefiles_read_backing_file_one()
557 if (trylock_page(backpage)) { in cachefiles_read_backing_file()
582 if (!trylock_page(backpage)) in cachefiles_read_backing_file()
/Linux-v5.15/include/linux/
Dpagemap.h612 static inline int trylock_page(struct page *page) in trylock_page() function
624 if (!trylock_page(page)) in lock_page()
636 if (!trylock_page(page)) in lock_page_killable()
652 if (!trylock_page(page)) in lock_page_async()
668 return trylock_page(page) || __lock_page_or_retry(page, mm, flags); in lock_page_or_retry()
/Linux-v5.15/drivers/gpu/drm/i915/gem/
Di915_gem_userptr.c203 if (obj->mm.dirty && trylock_page(page)) { in i915_gem_userptr_put_pages()
/Linux-v5.15/fs/afs/
Dwrite.c479 if (!trylock_page(page)) { in afs_extend_writeback()
716 if (!trylock_page(page)) { in afs_writepages_region()
/Linux-v5.15/fs/jbd2/
Dcommit.c78 if (!trylock_page(page)) in release_buffer_page()
/Linux-v5.15/fs/erofs/
Dzdata.c325 if (!trylock_page(page)) in erofs_try_to_free_all_cached_pages()
/Linux-v5.15/fs/btrfs/
Dextent_io.c4241 if (!trylock_page(p)) { in lock_extent_buffer_for_io()
4984 if (!trylock_page(page)) { in extent_write_cache_pages()
6547 if (!trylock_page(page)) in read_extent_buffer_pages()
/Linux-v5.15/fs/ceph/
Daddr.c807 else if (!trylock_page(page)) in ceph_writepages_start()

12