Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
dm-sysfs.c File Reference
#include <linux/sysfs.h>
#include <linux/dm-ioctl.h>
#include "dm.h"

Go to the source code of this file.

Data Structures

struct  dm_sysfs_attr
 

Macros

#define DM_ATTR_RO(_name)
 

Functions

int dm_sysfs_init (struct mapped_device *md)
 
void dm_sysfs_exit (struct mapped_device *md)
 

Macro Definition Documentation

#define DM_ATTR_RO (   _name)
Value:
struct dm_sysfs_attr dm_attr_##_name = \
__ATTR(_name, S_IRUGO, dm_attr_##_name##_show, NULL)

Definition at line 17 of file dm-sysfs.c.

Function Documentation

void dm_sysfs_exit ( struct mapped_device md)

Definition at line 105 of file dm-sysfs.c.

int dm_sysfs_init ( struct mapped_device md)

Definition at line 95 of file dm-sysfs.c.