Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
mount.c File Reference
#include <linux/fs.h>
#include <linux/mount.h>
#include <linux/pagemap.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/magic.h>
#include <linux/slab.h>
#include "sysfs.h"

Go to the source code of this file.

Macros

#define DEBUG
 

Functions

int __init sysfs_init (void)
 
struct sysfs_direntsysfs_get (struct sysfs_dirent *sd)
 
 EXPORT_SYMBOL_GPL (sysfs_get)
 
void sysfs_put (struct sysfs_dirent *sd)
 
 EXPORT_SYMBOL_GPL (sysfs_put)
 

Variables

struct kmem_cachesysfs_dir_cachep
 
struct sysfs_dirent sysfs_root
 

Macro Definition Documentation

#define DEBUG

Definition at line 13 of file mount.c.

Function Documentation

EXPORT_SYMBOL_GPL ( sysfs_get  )
EXPORT_SYMBOL_GPL ( sysfs_put  )
struct sysfs_dirent* sysfs_get ( struct sysfs_dirent sd)
read

Definition at line 189 of file mount.c.

int __init sysfs_init ( void  )

Definition at line 154 of file mount.c.

void sysfs_put ( struct sysfs_dirent sd)

Definition at line 196 of file mount.c.

Variable Documentation

struct kmem_cache* sysfs_dir_cachep

Definition at line 27 of file mount.c.

struct sysfs_dirent sysfs_root
Initial value:
= {
.s_name = "",
.s_count = ATOMIC_INIT(1),
.s_mode = S_IFDIR | S_IRUGO | S_IXUGO,
.s_ino = 1,
}

Definition at line 35 of file mount.c.