Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
autofs_i.h File Reference
#include <linux/auto_fs4.h>
#include <linux/auto_dev-ioctl.h>
#include <linux/mutex.h>
#include <linux/spinlock.h>
#include <linux/list.h>
#include <linux/kernel.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/string.h>
#include <linux/wait.h>
#include <linux/sched.h>
#include <linux/mount.h>
#include <linux/namei.h>
#include <asm/current.h>
#include <asm/uaccess.h>

Go to the source code of this file.

Data Structures

struct  autofs_info
 
struct  autofs_wait_queue
 
struct  autofs_sb_info
 

Macros

#define AUTOFS_IOC_FIRST   AUTOFS_IOC_READY
 
#define AUTOFS_IOC_COUNT   32
 
#define AUTOFS_DEV_IOCTL_IOC_FIRST   (AUTOFS_DEV_IOCTL_VERSION)
 
#define AUTOFS_DEV_IOCTL_IOC_COUNT   (AUTOFS_IOC_COUNT - 11)
 
#define DPRINTK(fmt,...)
 
#define AUTOFS_WARN(fmt,...)
 
#define AUTOFS_ERROR(fmt,...)
 
#define AUTOFS_INF_EXPIRING   (1<<0) /* dentry is in the process of expiring */
 
#define AUTOFS_INF_PENDING   (1<<2) /* dentry pending mount */
 
#define AUTOFS_SBI_MAGIC   0x6d4a556d
 

Functions

struct inodeautofs4_get_inode (struct super_block *, umode_t)
 
void autofs4_free_ino (struct autofs_info *)
 
int is_autofs4_dentry (struct dentry *)
 
int autofs4_expire_wait (struct dentry *dentry)
 
int autofs4_expire_run (struct super_block *, struct vfsmount *, struct autofs_sb_info *, struct autofs_packet_expire __user *)
 
int autofs4_do_expire_multi (struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int when)
 
int autofs4_expire_multi (struct super_block *, struct vfsmount *, struct autofs_sb_info *, int __user *)
 
struct dentryautofs4_expire_direct (struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int how)
 
struct dentryautofs4_expire_indirect (struct super_block *sb, struct vfsmount *mnt, struct autofs_sb_info *sbi, int how)
 
int autofs_dev_ioctl_init (void)
 
void autofs_dev_ioctl_exit (void)
 
int autofs4_fill_super (struct super_block *, void *, int)
 
struct autofs_infoautofs4_new_ino (struct autofs_sb_info *)
 
void autofs4_clean_ino (struct autofs_info *)
 
int autofs4_wait (struct autofs_sb_info *, struct dentry *, enum autofs_notify)
 
int autofs4_wait_release (struct autofs_sb_info *, autofs_wqt_t, int)
 
void autofs4_catatonic_mode (struct autofs_sb_info *)
 
void autofs4_kill_sb (struct super_block *)
 

Variables

struct inode_operations autofs4_symlink_inode_operations
 
struct inode_operations autofs4_dir_inode_operations
 
struct file_operations autofs4_dir_operations
 
struct file_operations autofs4_root_operations
 
struct dentry_operations autofs4_dentry_operations
 

Macro Definition Documentation

#define AUTOFS_DEV_IOCTL_IOC_COUNT   (AUTOFS_IOC_COUNT - 11)

Definition at line 27 of file autofs_i.h.

#define AUTOFS_DEV_IOCTL_IOC_FIRST   (AUTOFS_DEV_IOCTL_VERSION)

Definition at line 26 of file autofs_i.h.

#define AUTOFS_ERROR (   fmt,
  ... 
)
Value:
printk(KERN_ERR "pid %d: %s: " fmt "\n", \
current->pid, __func__, ##__VA_ARGS__)

Definition at line 50 of file autofs_i.h.

#define AUTOFS_INF_EXPIRING   (1<<0) /* dentry is in the process of expiring */

Definition at line 81 of file autofs_i.h.

#define AUTOFS_INF_PENDING   (1<<2) /* dentry pending mount */

Definition at line 82 of file autofs_i.h.

#define AUTOFS_IOC_COUNT   32

Definition at line 24 of file autofs_i.h.

#define AUTOFS_IOC_FIRST   AUTOFS_IOC_READY

Definition at line 23 of file autofs_i.h.

#define AUTOFS_SBI_MAGIC   0x6d4a556d

Definition at line 101 of file autofs_i.h.

#define AUTOFS_WARN (   fmt,
  ... 
)
Value:
printk(KERN_WARNING "pid %d: %s: " fmt "\n", \
current->pid, __func__, ##__VA_ARGS__)

Definition at line 46 of file autofs_i.h.

#define DPRINTK (   fmt,
  ... 
)
Value:
pr_debug("pid %d: %s: " fmt "\n", \
current->pid, __func__, ##__VA_ARGS__)

Definition at line 42 of file autofs_i.h.

Function Documentation

void autofs4_catatonic_mode ( struct autofs_sb_info )

Definition at line 27 of file waitq.c.

void autofs4_clean_ino ( struct autofs_info )

Definition at line 37 of file inode.c.

int autofs4_do_expire_multi ( struct super_block sb,
struct vfsmount mnt,
struct autofs_sb_info sbi,
int  when 
)

Definition at line 531 of file expire.c.

struct dentry* autofs4_expire_direct ( struct super_block sb,
struct vfsmount mnt,
struct autofs_sb_info sbi,
int  how 
)
read

Definition at line 323 of file expire.c.

struct dentry* autofs4_expire_indirect ( struct super_block sb,
struct vfsmount mnt,
struct autofs_sb_info sbi,
int  how 
)
read

Definition at line 364 of file expire.c.

int autofs4_expire_multi ( struct super_block ,
struct vfsmount ,
struct autofs_sb_info ,
int __user  
)

Definition at line 570 of file expire.c.

int autofs4_expire_run ( struct super_block ,
struct vfsmount ,
struct autofs_sb_info ,
struct autofs_packet_expire __user  
)

Definition at line 496 of file expire.c.

int autofs4_expire_wait ( struct dentry dentry)

Definition at line 466 of file expire.c.

int autofs4_fill_super ( struct super_block ,
void ,
int   
)

Definition at line 200 of file inode.c.

void autofs4_free_ino ( struct autofs_info )

Definition at line 44 of file inode.c.

struct inode* autofs4_get_inode ( struct super_block ,
umode_t   
)
read

Definition at line 324 of file inode.c.

void autofs4_kill_sb ( struct super_block )

Definition at line 49 of file inode.c.

struct autofs_info* autofs4_new_ino ( struct autofs_sb_info )
read

Definition at line 25 of file inode.c.

int autofs4_wait ( struct autofs_sb_info ,
struct dentry ,
enum  autofs_notify 
)

Definition at line 350 of file waitq.c.

int autofs4_wait_release ( struct autofs_sb_info ,
autofs_wqt_t  ,
int   
)

Definition at line 535 of file waitq.c.

void autofs_dev_ioctl_exit ( void  )

Definition at line 743 of file dev-ioctl.c.

int autofs_dev_ioctl_init ( void  )

Definition at line 730 of file dev-ioctl.c.

int is_autofs4_dentry ( struct dentry )

Definition at line 814 of file root.c.

Variable Documentation

struct dentry_operations autofs4_dentry_operations

Definition at line 68 of file root.c.

struct inode_operations autofs4_dir_inode_operations

Definition at line 60 of file root.c.

struct file_operations autofs4_dir_operations

Definition at line 52 of file root.c.

struct file_operations autofs4_root_operations

Definition at line 40 of file root.c.

struct inode_operations autofs4_symlink_inode_operations

Definition at line 21 of file symlink.c.