Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/fs/cachefiles/
H A 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()
/OK3568_Linux_fs/kernel/include/linux/
H A Dpagemap.h596 static inline int trylock_page(struct page *page) in trylock_page() function
608 if (!trylock_page(page)) in lock_page()
620 if (!trylock_page(page)) in lock_page_killable()
636 if (!trylock_page(page)) in lock_page_async()
652 return trylock_page(page) || __lock_page_or_retry(page, mm, flags); in lock_page_or_retry()
/OK3568_Linux_fs/kernel/mm/
H A Dballoon_compaction.c23 BUG_ON(!trylock_page(page)); in balloon_page_enqueue_one()
93 if (!trylock_page(page)) in balloon_page_list_dequeue()
H A Dmigrate.c97 if (unlikely(!trylock_page(page))) in isolate_movable_page()
1014 if (!trylock_page(page)) { in __unmap_and_move()
1082 if (unlikely(!trylock_page(newpage))) in __unmap_and_move()
1287 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()
1313 if (unlikely(!trylock_page(new_hpage))) in unmap_and_move_huge_page()
2329 if (unlikely(!trylock_page(page))) in migrate_vma_collect_pmd()
2423 if (trylock_page(page)) { in migrate_vma_collect_pmd()
2594 if (!trylock_page(page)) { in migrate_vma_prepare()
H A Dpage_idle.c109 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
H A Dmadvise.c430 if (!trylock_page(page)) { in madvise_cold_or_pageout_pte_range()
654 if (!trylock_page(page)) { in madvise_free_pte_range()
676 if (!trylock_page(page)) in madvise_free_pte_range()
H A Dtruncate.c348 if (!trylock_page(page)) in truncate_inode_pages_range()
556 if (!trylock_page(page)) in __invalidate_mapping_pages()
H A Dfilemap.c1367 ret = !trylock_page(page); in __wait_on_page_locked_async()
1813 if (!trylock_page(page)) { in pagecache_get_page()
2294 if (!trylock_page(page)) in generic_file_buffered_read()
2587 if (trylock_page(page)) in lock_page_maybe_drop_mmap()
2742 if (!trylock_page(page)) in filemap_fault()
2963 if (!trylock_page(page)) in next_uptodate_page()
H A Dhuge_memory.c1294 if (!trylock_page(page)) { in do_huge_pmd_wp_page()
1396 if (!trylock_page(page)) in follow_trans_huge_pmd()
1460 page_locked = trylock_page(page); in do_huge_pmd_numa_page()
1604 if (!trylock_page(page)) in madvise_free_huge_pmd()
2257 if (unlikely(!trylock_page(page))) { in __split_huge_pmd()
2880 if (!trylock_page(page)) in deferred_split_scan()
H A Dzsmalloc.c916 if (!trylock_page(cursor)) { in trylock_zspage()
1764 if (trylock_page(page)) in lock_zspage()
1774 if (trylock_page(page)) { in lock_zspage()
2222 WARN_ON(!trylock_page(page)); in SetZsPageMovable()
H A Dreadahead.c57 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
H A Dkhugepaged.c660 if (!trylock_page(page)) { in __collapse_huge_page_isolate()
1776 } else if (trylock_page(page)) { in collapse_file()
1818 } else if (trylock_page(page)) { in collapse_file()
H A Dvmscan.c1147 if (!trylock_page(page)) in shrink_page_list()
1421 if (!trylock_page(page)) in shrink_page_list()
1637 if (!trylock_page(page)) in __isolate_lru_page()
2108 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
H A Dksm.c740 if (!trylock_page(page)) { in get_ksm_page()
1222 if (!trylock_page(page)) in try_to_merge_one_page()
2190 if (!trylock_page(page)) in cmp_and_merge_page()
H A Dswap_state.c327 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
H A Drmap.c892 we_locked = trylock_page(page); in page_referenced()
H A Dz3fold.c1168 if (trylock_page(page)) { in z3fold_alloc()
H A Dshmem.c604 if (!trylock_page(page)) { in shmem_unused_huge_shrink()
954 if (!trylock_page(page)) in shmem_undo_range()
H A Dgup.c565 if (page->mapping && trylock_page(page)) { in follow_page_pte()
/OK3568_Linux_fs/kernel/mm/damon/
H A Dpaddr.c56 if (need_lock && !trylock_page(page)) in damon_pa_mkold()
157 if (need_lock && !trylock_page(page)) { in damon_pa_young()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/i915/gem/
H A Di915_gem_userptr.c655 if (obj->mm.dirty && trylock_page(page)) { in i915_gem_userptr_put_pages()
/OK3568_Linux_fs/kernel/fs/afs/
H A Dwrite.c558 if (!trylock_page(page)) in afs_write_back_from_locked_page()
/OK3568_Linux_fs/kernel/fs/jbd2/
H A Dcommit.c78 if (!trylock_page(page)) in release_buffer_page()
/OK3568_Linux_fs/kernel/fs/erofs/
H A Dzdata.c327 if (!trylock_page(page)) in erofs_try_to_free_all_cached_pages()
/OK3568_Linux_fs/kernel/fs/btrfs/
H A Dextent_io.c3725 if (!trylock_page(p)) { in lock_extent_buffer_for_io()
4192 if (!trylock_page(page)) { in extent_write_cache_pages()
5505 if (!trylock_page(page)) in read_extent_buffer_pages()

12