Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pnode.h File Reference
#include <linux/list.h>
#include "mount.h"

Go to the source code of this file.

Macros

#define IS_MNT_SHARED(m)   ((m)->mnt.mnt_flags & MNT_SHARED)
 
#define IS_MNT_SLAVE(m)   ((m)->mnt_master)
 
#define IS_MNT_NEW(m)   (!(m)->mnt_ns)
 
#define CLEAR_MNT_SHARED(m)   ((m)->mnt.mnt_flags &= ~MNT_SHARED)
 
#define IS_MNT_UNBINDABLE(m)   ((m)->mnt.mnt_flags & MNT_UNBINDABLE)
 
#define CL_EXPIRE   0x01
 
#define CL_SLAVE   0x02
 
#define CL_COPY_ALL   0x04
 
#define CL_MAKE_SHARED   0x08
 
#define CL_PRIVATE   0x10
 

Functions

void change_mnt_propagation (struct mount *, int)
 
int propagate_mnt (struct mount *, struct dentry *, struct mount *, struct list_head *)
 
int propagate_umount (struct list_head *)
 
int propagate_mount_busy (struct mount *, int)
 
void mnt_release_group_id (struct mount *)
 
int get_dominating_id (struct mount *mnt, const struct path *root)
 
unsigned int mnt_get_count (struct mount *mnt)
 
void mnt_set_mountpoint (struct mount *, struct dentry *, struct mount *)
 
void release_mounts (struct list_head *)
 
void umount_tree (struct mount *, int, struct list_head *)
 
struct mountcopy_tree (struct mount *, struct dentry *, int)
 
bool is_path_reachable (struct mount *, struct dentry *, const struct path *root)
 

Macro Definition Documentation

#define CL_COPY_ALL   0x04

Definition at line 22 of file pnode.h.

#define CL_EXPIRE   0x01

Definition at line 20 of file pnode.h.

#define CL_MAKE_SHARED   0x08

Definition at line 23 of file pnode.h.

#define CL_PRIVATE   0x10

Definition at line 24 of file pnode.h.

#define CL_SLAVE   0x02

Definition at line 21 of file pnode.h.

#define CLEAR_MNT_SHARED (   m)    ((m)->mnt.mnt_flags &= ~MNT_SHARED)

Definition at line 17 of file pnode.h.

#define IS_MNT_NEW (   m)    (!(m)->mnt_ns)

Definition at line 16 of file pnode.h.

#define IS_MNT_SHARED (   m)    ((m)->mnt.mnt_flags & MNT_SHARED)

Definition at line 14 of file pnode.h.

#define IS_MNT_SLAVE (   m)    ((m)->mnt_master)

Definition at line 15 of file pnode.h.

#define IS_MNT_UNBINDABLE (   m)    ((m)->mnt.mnt_flags & MNT_UNBINDABLE)

Definition at line 18 of file pnode.h.

Function Documentation

void change_mnt_propagation ( struct mount ,
int   
)

Definition at line 117 of file pnode.c.

struct mount* copy_tree ( struct mount ,
struct dentry ,
int   
)
read

Definition at line 1311 of file namespace.c.

int get_dominating_id ( struct mount mnt,
const struct path root 
)

Definition at line 54 of file pnode.c.

bool is_path_reachable ( struct mount ,
struct dentry ,
const struct path root 
)

Definition at line 2452 of file namespace.c.

unsigned int mnt_get_count ( struct mount mnt)

Definition at line 145 of file namespace.c.

void mnt_release_group_id ( struct mount )

Definition at line 119 of file namespace.c.

void mnt_set_mountpoint ( struct mount ,
struct dentry ,
struct mount  
)

Definition at line 671 of file namespace.c.

int propagate_mnt ( struct mount ,
struct dentry ,
struct mount ,
struct list_head  
)

Definition at line 220 of file pnode.c.

int propagate_mount_busy ( struct mount ,
int   
)

Definition at line 290 of file pnode.c.

int propagate_umount ( struct list_head )

Definition at line 349 of file pnode.c.

void release_mounts ( struct list_head )

Definition at line 1091 of file namespace.c.

void umount_tree ( struct mount ,
int  ,
struct list_head  
)

Definition at line 1119 of file namespace.c.