Home
last modified time | relevance | path

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

/linux-3.4.99/include/linux/
Dpagemap.h319 static inline int trylock_page(struct page *page) in trylock_page() function
330 if (!trylock_page(page)) in lock_page()
342 if (!trylock_page(page)) in lock_page_killable()
355 return trylock_page(page) || __lock_page_or_retry(page, mm, flags); in lock_page_or_retry()
/linux-3.4.99/fs/cachefiles/
Drdwr.c109 if (trylock_page(backpage)) { in cachefiles_read_reissue()
126 if (trylock_page(backpage)) { in cachefiles_read_reissue()
306 if (trylock_page(backpage)) { in cachefiles_read_backing_file_one()
328 if (!trylock_page(backpage)) in cachefiles_read_backing_file_one()
565 if (trylock_page(backpage)) { in cachefiles_read_backing_file()
590 if (!trylock_page(backpage)) in cachefiles_read_backing_file()
/linux-3.4.99/mm/
Dtruncate.c236 if (!trylock_page(page)) in truncate_inode_pages_range()
359 if (!trylock_page(page)) in invalidate_mapping_pages()
Dswap_state.c218 if (PageSwapCache(page) && !page_mapped(page) && trylock_page(page)) { in free_swap_cache()
Dmigrate.c653 if (!trylock_page(newpage)) in move_to_new_page()
699 if (!trylock_page(page)) { in __unmap_and_move()
925 if (!trylock_page(hpage)) { in unmap_and_move_huge_page()
Dreadahead.c46 if (!trylock_page(page)) in read_cache_pages_invalidate_page()
Dvmscan.c793 if (!trylock_page(page)) in shrink_page_list()
919 if (!trylock_page(page)) in shrink_page_list()
1733 if (page_has_private(page) && trylock_page(page)) { in shrink_active_list()
Dfilemap.c1034 if (trylock_page(page)) in grab_cache_page_nowait()
1127 if (!trylock_page(page)) in do_generic_file_read()
Dswapfile.c89 if (trylock_page(page)) { in __try_to_reclaim_swap()
697 if (page && !trylock_page(page)) { in free_swap_and_cache()
Drmap.c904 we_locked = trylock_page(page); in page_referenced()
Dksm.c881 if (!trylock_page(page)) in try_to_merge_one_page()
Dmemory.c1564 if (page->mapping && trylock_page(page)) { in follow_page()
2585 if (!trylock_page(old_page)) { in do_wp_page()
Dhuge_memory.c1760 if (!trylock_page(page)) { in __collapse_huge_page_isolate()
Dshmem.c464 if (!trylock_page(page)) in shmem_truncate_range()
/linux-3.4.99/fs/jbd/
Dcommit.c68 if (!trylock_page(page)) in release_buffer_page()
446 if (!trylock_page(bh->b_page)) { in journal_commit_transaction()
/linux-3.4.99/fs/afs/
Dwrite.c360 if (!trylock_page(page)) in afs_write_back_from_locked_page()
/linux-3.4.99/fs/jbd2/
Dcommit.c74 if (!trylock_page(page)) in release_buffer_page()
/linux-3.4.99/fs/ceph/
Daddr.c773 else if (!trylock_page(page)) in ceph_writepages_start()
/linux-3.4.99/fs/xfs/
Dxfs_aops.c681 if (!trylock_page(page)) in xfs_convert_page()
/linux-3.4.99/fs/nfs/blocklayout/
Dblocklayout.c543 trylock_page(page)) { in bl_read_partial_page_sync()
/linux-3.4.99/fs/btrfs/
Dextent_io.c3140 if (!trylock_page(p)) { in lock_extent_buffer_for_io()
3413 if (!trylock_page(page)) { in extent_write_cache_pages()
4481 if (!trylock_page(page)) in read_extent_buffer_pages()
Ddisk-io.c3285 if (!trylock_page(page)) { in btree_lock_page_hook()
/linux-3.4.99/fs/logfs/
Dreadwrite.c291 while (unlikely(!trylock_page(page))) { in logfs_lock_write_page()
/linux-3.4.99/fs/cifs/
Dfile.c1776 else if (!trylock_page(page)) in cifs_writepages()
/linux-3.4.99/fs/reiserfs/
Djournal.c606 if (!page->mapping && trylock_page(page)) { in release_buffer_page()