Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
to flush

Flush a specific page of a vma

: VMA to flush page for

:

: Page extent offset for use in generating IV

Encrypts one extent of data.

Return zero on success; non-zero otherwise

ecryptfs_encrypt_page

   decrypted content that needs to be encrypted (to a temporary
   page; not in place) and written out to the lower file

Encrypt an eCryptfs page. This is done on a per-extent basis. Note that eCryptfs pages may straddle the lower pages – for instance, if the file was created on a machine with an 8K page size (resulting in an 8K header), and then the file is copied onto a host with a 32K page size, then when reading page 0 of the eCryptfs file, 24K of page 0 of the lower file will be read and decrypted, and then 8K of page 1 of the lower file will be read and decrypted.

Returns zero on success; negative on error

ecryptfs_decrypt_page

   and decrypted from the lower file will be written into this
   page

Decrypt an eCryptfs page. This is done on a per-extent basis. Note that eCryptfs pages may straddle the lower pages – for instance, if the file was created on a machine with an 8K page size (resulting in an 8K header), and then the file is copied onto a host with a 32K page size, then when reading page 0 of the eCryptfs file, 24K of page 0 of the lower file will be read and decrypted, and then 8K of page 1 of the lower file will be read and decrypted.

Returns zero on success; negative on error

ecryptfs_writepage

Returns zero on success; non-zero otherwise

This is where we encrypt the data and pass the encrypted data to the lower filesystem. In OpenPGP-compatible mode, we operate on entire underlying packets.

Read in a page, decrypting if necessary.

Returns zero on success; non-zero on error.

gfs2_jdata_writepage - Write complete page

Returns: errno

add_page_wait_queue - Add an arbitrary waiter to a page's wait queue

: Waiter to add to the queue

Add an arbitrary to the wait queue for the nominated

__page_set_anon_rmap - set up new anonymous rmap

: VM area to add page to. : User virtual address of the mapping : the page is exclusively owned by the current process