:: RootR ::  Hosting Order Map Login   Secure Inter-Network Operations  
 
find_lock_entry(9) - phpMan

Command: man perldoc info search(apropos)  


FIND_LOCK_ENTRY(9)                  Memory Management in Linux                 FIND_LOCK_ENTRY(9)



NAME
       find_lock_entry - locate, pin and lock a page cache entry

SYNOPSIS
       struct page * find_lock_entry(struct address_space * mapping, pgoff_t offset);

ARGUMENTS
       mapping
           the address_space to search

       offset
           the page cache index

DESCRIPTION
       Looks up the page cache slot at mapping & offset. If there is a page cache page, it is
       returned locked and with an increased refcount.

       If the slot holds a shadow entry of a previously evicted page, or a swap entry from
       shmem/tmpfs, it is returned.

       Otherwise, NULL is returned.

       find_lock_entry may sleep.

COPYRIGHT
Kernel Hackers Manual 4.8.                 January 2017                        FIND_LOCK_ENTRY(9)


/man
rootr.net - man pages