Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
mmap.c File Reference
#include <linux/pagemap.h>
#include <linux/writeback.h>
#include <linux/page-flags.h>
#include <linux/mount.h>
#include <linux/file.h>
#include <linux/crypto.h>
#include <linux/scatterlist.h>
#include <linux/slab.h>
#include <asm/unaligned.h>
#include "ecryptfs_kernel.h"

Go to the source code of this file.

Functions

struct pageecryptfs_get_locked_page (struct inode *inode, loff_t index)
 
int ecryptfs_write_inode_size_to_metadata (struct inode *ecryptfs_inode)
 

Variables

struct kmem_cacheecryptfs_xattr_cache
 
struct address_space_operations ecryptfs_aops
 

Function Documentation

struct page* ecryptfs_get_locked_page ( struct inode inode,
loff_t  index 
)
read

eCryptfs: Linux filesystem encryption layer This is where eCryptfs coordinates the symmetric encryption and decryption of the file data as it passes between the lower encrypted file and the upper decrypted file.

Copyright (C) 1997-2003 Erez Zadok Copyright (C) 2001-2003 Stony Brook University Copyright (C) 2004-2007 International Business Machines Corp. Author(s): Michael A. Halcrow mahal.nosp@m.cro@.nosp@m.us.ib.nosp@m.m.co.nosp@m.m

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. ecryptfs_get_locked_page

Get one page from cache or lower f/s, return error otherwise.

Returns locked and up-to-date page (if ok), with increased refcnt.

Definition at line 47 of file mmap.c.

int ecryptfs_write_inode_size_to_metadata ( struct inode ecryptfs_inode)

Definition at line 455 of file mmap.c.

Variable Documentation

Initial value:
= {
.writepage = ecryptfs_writepage,
.readpage = ecryptfs_readpage,
.write_begin = ecryptfs_write_begin,
.write_end = ecryptfs_write_end,
.bmap = ecryptfs_bmap,
}

Definition at line 547 of file mmap.c.

struct kmem_cache* ecryptfs_xattr_cache

Definition at line 414 of file mmap.c.