Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
iint.c File Reference
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/spinlock.h>
#include <linux/rbtree.h>
#include "integrity.h"

Go to the source code of this file.

Functions

struct integrity_iint_cacheintegrity_iint_find (struct inode *inode)
 
struct integrity_iint_cacheintegrity_inode_get (struct inode *inode)
 
void integrity_inode_free (struct inode *inode)
 
 security_initcall (integrity_iintcache_init)
 

Variables

int iint_initialized
 

Function Documentation

struct integrity_iint_cache* integrity_iint_find ( struct inode inode)
read

Definition at line 57 of file iint.c.

void integrity_inode_free ( struct inode inode)

integrity_inode_free - called on security_inode_free : pointer to the inode

Free the integrity information(iint) associated with an inode.

Definition at line 130 of file iint.c.

struct integrity_iint_cache* integrity_inode_get ( struct inode inode)
read

integrity_inode_get - find or allocate an iint associated with an inode : pointer to the inode

Returns
: allocated iint

Caller must lock i_mutex

Definition at line 87 of file iint.c.

security_initcall ( integrity_iintcache_init  )

Variable Documentation

int iint_initialized

Definition at line 28 of file iint.c.