Linux Kernel
3.7.1
|
#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 page * | ecryptfs_get_locked_page (struct inode *inode, loff_t index) |
int | ecryptfs_write_inode_size_to_metadata (struct inode *ecryptfs_inode) |
Variables | |
struct kmem_cache * | ecryptfs_xattr_cache |
struct address_space_operations | ecryptfs_aops |
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 cro@ us.ib m.co 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.
struct address_space_operations ecryptfs_aops |
struct kmem_cache* ecryptfs_xattr_cache |