Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
file.c File Reference
#include <linux/fs.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <asm/uaccess.h>
#include <linux/configfs.h>
#include "configfs_internal.h"

Go to the source code of this file.

Data Structures

struct  configfs_buffer
 

Macros

#define SIMPLE_ATTR_SIZE   4096
 

Functions

int configfs_add_file (struct dentry *dir, const struct configfs_attribute *attr, int type)
 
int configfs_create_file (struct config_item *item, const struct configfs_attribute *attr)
 

Variables

struct file_operations configfs_file_operations
 

Macro Definition Documentation

#define SIMPLE_ATTR_SIZE   4096

Definition at line 42 of file file.c.

Function Documentation

int configfs_add_file ( struct dentry dir,
const struct configfs_attribute attr,
int  type 
)

Definition at line 317 of file file.c.

int configfs_create_file ( struct config_item item,
const struct configfs_attribute attr 
)

configfs_create_file - create an attribute file for an item. : item we're creating for. : atrribute descriptor.

Definition at line 337 of file file.c.

Variable Documentation

struct file_operations configfs_file_operations
Initial value:
= {
.read = configfs_read_file,
.write = configfs_write_file,
.open = configfs_open_file,
.release = configfs_release,
}

Definition at line 308 of file file.c.