XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Functions
mount.h File Reference
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/kdev_t.h>
#include <linux/sizes.h>
Include dependency graph for mount.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  vfsmount
 

Macros

#define file_inode(f)   ((struct inode*)((f)->f_inode))
 
#define iminor(inode)   (MINOR((inode)->i_rdev))
 
#define inode_lock(i)   ((void)(i))
 
#define inode_unlock(i)   ((void)(i))
 
#define unmap_mapping_range(mapping, holebegin, holelen, even_cows)    do { } while (0)
 
#define mntget(m)   (m)
 
#define mntput(m)   do { (void)(m); } while (0)
 

Functions

int simple_pin_fs (struct file_system_type *type, struct vfsmount **mnt, int *count)
 
void simple_release_fs (struct vfsmount **mnt, int *count)
 

Macro Definition Documentation

◆ file_inode

#define file_inode (   f)    ((struct inode*)((f)->f_inode))

◆ iminor

#define iminor (   inode)    (MINOR((inode)->i_rdev))

◆ inode_lock

#define inode_lock (   i)    ((void)(i))

◆ inode_unlock

#define inode_unlock (   i)    ((void)(i))

◆ mntget

#define mntget (   m)    (m)

◆ mntput

#define mntput (   m)    do { (void)(m); } while (0)

◆ unmap_mapping_range

#define unmap_mapping_range (   mapping,
  holebegin,
  holelen,
  even_cows 
)     do { } while (0)

Function Documentation

◆ simple_pin_fs()

int simple_pin_fs ( struct file_system_type *  type,
struct vfsmount **  mnt,
int *  count 
)

◆ simple_release_fs()

void simple_release_fs ( struct vfsmount **  mnt,
int *  count 
)