Blame view
include/linux/mnt_namespace.h
939 Bytes
6b3286ed1 [PATCH] rename st... |
1 2 3 |
#ifndef _NAMESPACE_H_ #define _NAMESPACE_H_ #ifdef __KERNEL__ |
b43f3cbd2 headers: mnt_name... |
4 |
#include <linux/path.h> |
a1a2c409b [patch 5/7] vfs: ... |
5 |
#include <linux/seq_file.h> |
b43f3cbd2 headers: mnt_name... |
6 |
#include <linux/wait.h> |
6b3286ed1 [PATCH] rename st... |
7 8 9 10 11 12 13 14 |
struct mnt_namespace { atomic_t count; struct vfsmount * root; struct list_head list; wait_queue_head_t poll; int event; }; |
a1a2c409b [patch 5/7] vfs: ... |
15 16 17 18 19 20 |
struct proc_mounts { struct seq_file m; /* must be the first element */ struct mnt_namespace *ns; struct path root; int event; }; |
5ad4e53bd Get rid of indire... |
21 |
struct fs_struct; |
a2770d86b Revert "fix misme... |
22 |
extern struct mnt_namespace *create_mnt_ns(struct vfsmount *mnt); |
213dd266d namespace: ensure... |
23 |
extern struct mnt_namespace *copy_mnt_ns(unsigned long, struct mnt_namespace *, |
6b3286ed1 [PATCH] rename st... |
24 |
struct fs_struct *); |
616511d03 VFS: Uninline the... |
25 |
extern void put_mnt_ns(struct mnt_namespace *ns); |
6b3286ed1 [PATCH] rename st... |
26 27 28 29 |
static inline void get_mnt_ns(struct mnt_namespace *ns) { atomic_inc(&ns->count); } |
a1a2c409b [patch 5/7] vfs: ... |
30 |
extern const struct seq_operations mounts_op; |
2d4d4864a [patch 6/7] vfs: ... |
31 |
extern const struct seq_operations mountinfo_op; |
a1a2c409b [patch 5/7] vfs: ... |
32 |
extern const struct seq_operations mountstats_op; |
9f5596af4 take check for ne... |
33 |
extern int mnt_had_events(struct proc_mounts *); |
a1a2c409b [patch 5/7] vfs: ... |
34 |
|
6b3286ed1 [PATCH] rename st... |
35 36 |
#endif #endif |