Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
bin.c File Reference
#include <linux/errno.h>
#include <linux/fs.h>
#include <linux/kernel.h>
#include <linux/kobject.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/mutex.h>
#include <linux/mm.h>
#include <asm/uaccess.h>
#include "sysfs.h"

Go to the source code of this file.

Data Structures

struct  bin_buffer
 

Functions

void unmap_bin_file (struct sysfs_dirent *attr_sd)
 
int sysfs_create_bin_file (struct kobject *kobj, const struct bin_attribute *attr)
 
void sysfs_remove_bin_file (struct kobject *kobj, const struct bin_attribute *attr)
 
 EXPORT_SYMBOL_GPL (sysfs_create_bin_file)
 
 EXPORT_SYMBOL_GPL (sysfs_remove_bin_file)
 

Variables

struct file_operations bin_fops
 

Function Documentation

EXPORT_SYMBOL_GPL ( sysfs_create_bin_file  )
EXPORT_SYMBOL_GPL ( sysfs_remove_bin_file  )
int sysfs_create_bin_file ( struct kobject kobj,
const struct bin_attribute attr 
)

sysfs_create_bin_file - create binary file for object. : object. : attribute descriptor.

Definition at line 486 of file bin.c.

void sysfs_remove_bin_file ( struct kobject kobj,
const struct bin_attribute attr 
)

sysfs_remove_bin_file - remove binary file for object. : object. : attribute descriptor.

Definition at line 501 of file bin.c.

void unmap_bin_file ( struct sysfs_dirent attr_sd)

Definition at line 461 of file bin.c.

Variable Documentation

Initial value:
= {
.read = read,
.write = write,
.mmap = mmap,
.open = open,
.release = release,
}

Definition at line 451 of file bin.c.