Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
sys.c File Reference
#include <linux/kobject.h>
#include <linux/device.h>
#include "exofs.h"

Go to the source code of this file.

Data Structures

struct  odev_attr
 

Macros

#define OSD_ATTR(name, mode, show, store)
 

Functions

 OSD_ATTR (osdname, S_IRUGO, osdname_show, NULL)
 
 OSD_ATTR (systemid, S_IRUGO, systemid_show, NULL)
 
 OSD_ATTR (uri, S_IRWXU, uri_show, uri_store)
 
void exofs_sysfs_dbg_print (void)
 
void exofs_sysfs_sb_del (struct exofs_sb_info *sbi)
 
int exofs_sysfs_sb_add (struct exofs_sb_info *sbi, struct exofs_dt_device_info *dt_dev)
 
int exofs_sysfs_odev_add (struct exofs_dev *edev, struct exofs_sb_info *sbi)
 
int exofs_sysfs_init (void)
 
void exofs_sysfs_uninit (void)
 

Macro Definition Documentation

#define OSD_ATTR (   name,
  mode,
  show,
  store 
)
Value:
static struct odev_attr odev_attr_##name = \
__ATTR(name, mode, show, store)

Definition at line 94 of file sys.c.

Function Documentation

void exofs_sysfs_dbg_print ( void  )

Definition at line 117 of file sys.c.

int exofs_sysfs_init ( void  )

Definition at line 192 of file sys.c.

int exofs_sysfs_odev_add ( struct exofs_dev edev,
struct exofs_sb_info sbi 
)

Definition at line 172 of file sys.c.

int exofs_sysfs_sb_add ( struct exofs_sb_info sbi,
struct exofs_dt_device_info dt_dev 
)

Definition at line 152 of file sys.c.

void exofs_sysfs_sb_del ( struct exofs_sb_info sbi)

Definition at line 134 of file sys.c.

void exofs_sysfs_uninit ( void  )

Definition at line 202 of file sys.c.

OSD_ATTR ( osdname  ,
S_IRUGO  ,
osdname_show  ,
NULL   
)
OSD_ATTR ( systemid  ,
S_IRUGO  ,
systemid_show  ,
NULL   
)
OSD_ATTR ( uri  ,
S_IRWXU  ,
uri_show  ,
uri_store   
)