Home
last modified time | relevance | path

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

/linux-4.4.14/mm/
Dballoon_compaction.c36 BUG_ON(!trylock_page(page)); in balloon_page_enqueue()
71 if (trylock_page(page)) { in balloon_page_dequeue()
157 if (likely(trylock_page(page))) { in balloon_page_isolate()
Dpage_idle.c106 if (need_lock && !trylock_page(page)) in page_idle_clear_pte_refs()
Dtruncate.c273 if (!trylock_page(page)) in truncate_inode_pages_range()
481 if (!trylock_page(page)) in invalidate_mapping_pages()
Dmigrate.c789 if (!trylock_page(page)) { in __unmap_and_move()
853 if (unlikely(!trylock_page(newpage))) in __unmap_and_move()
1047 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()
1056 if (unlikely(!trylock_page(new_hpage))) in unmap_and_move_huge_page()
Dswap_state.c238 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
Dreadahead.c48 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
Dfilemap.c1146 if (!trylock_page(page)) { in pagecache_get_page()
1573 if (!trylock_page(page)) in do_generic_file_read()
2092 if (!trylock_page(page)) in filemap_map_pages()
Dvmscan.c915 if (!trylock_page(page)) in shrink_page_list()
1125 if (!trylock_page(page)) in shrink_page_list()
1811 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
Dhuge_memory.c1311 if (page->mapping && trylock_page(page)) { in follow_trans_huge_pmd()
1379 page_locked = trylock_page(page); in do_huge_pmd_numa_page()
2231 if (!trylock_page(page)) in __collapse_huge_page_isolate()
Dgup.c142 if (page->mapping && trylock_page(page)) { in follow_page_pte()
Drmap.c953 we_locked = trylock_page(page); in page_referenced()
Dswapfile.c112 if (trylock_page(page)) { in __try_to_reclaim_swap()
998 if (page && !trylock_page(page)) { in free_swap_and_cache()
Dksm.c1038 if (!trylock_page(page)) in try_to_merge_one_page()
Dshmem.c437 if (!trylock_page(page)) in shmem_undo_range()
Dhugetlb.c3778 if (!trylock_page(page)) { in hugetlb_fault()
Dmemory.c2356 if (!trylock_page(old_page)) { in do_wp_page()
Dmemcontrol.c4571 if (!trylock_page(page)) in mem_cgroup_move_account()
/linux-4.4.14/include/linux/
Dpagemap.h446 static inline int trylock_page(struct page *page) in trylock_page() function
457 if (!trylock_page(page)) in lock_page()
469 if (!trylock_page(page)) in lock_page_killable()
485 return trylock_page(page) || __lock_page_or_retry(page, mm, flags); in lock_page_or_retry()
/linux-4.4.14/fs/cachefiles/
Drdwr.c110 if (trylock_page(backpage)) { in cachefiles_read_reissue()
127 if (trylock_page(backpage)) { in cachefiles_read_reissue()
301 if (trylock_page(backpage)) { in cachefiles_read_backing_file_one()
323 if (!trylock_page(backpage)) in cachefiles_read_backing_file_one()
553 if (trylock_page(backpage)) { in cachefiles_read_backing_file()
578 if (!trylock_page(backpage)) in cachefiles_read_backing_file()
/linux-4.4.14/drivers/staging/lustre/lustre/llite/
Dvvp_page.c86 if (!trylock_page(vmpage)) in vvp_page_own()
/linux-4.4.14/fs/afs/
Dwrite.c360 if (!trylock_page(page)) in afs_write_back_from_locked_page()
/linux-4.4.14/fs/jbd2/
Dcommit.c81 if (!trylock_page(page)) in release_buffer_page()
/linux-4.4.14/fs/xfs/
Dxfs_aops.c706 if (!trylock_page(page)) in xfs_convert_page()
/linux-4.4.14/fs/ceph/
Daddr.c811 else if (!trylock_page(page)) in ceph_writepages_start()
/linux-4.4.14/fs/btrfs/
Dextent_io.c3737 if (!trylock_page(p)) { in lock_extent_buffer_for_io()
4100 if (!trylock_page(page)) { in extent_write_cache_pages()
5297 if (!trylock_page(page)) in read_extent_buffer_pages()
/linux-4.4.14/fs/f2fs/
Dnode.c1199 else if (!trylock_page(page)) in sync_node_pages()
/linux-4.4.14/fs/logfs/
Dreadwrite.c291 while (unlikely(!trylock_page(page))) { in logfs_lock_write_page()
/linux-4.4.14/fs/reiserfs/
Djournal.c607 if (!page->mapping && trylock_page(page)) { in release_buffer_page()
/linux-4.4.14/fs/cifs/
Dfile.c1942 else if (!trylock_page(page)) in wdata_prepare_pages()