procfs.h File Reference

Declaration of the implemented /proc operations. More...

#include <linux/module.h>
Include dependency graph for procfs.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int mumufs_initialise_proc_entries (void)
 initializes /proc entries
int mumufs_remove_proc_entries (void)
 Destroys the /proc entries.
int mumufs_create_mount_info (struct super_block *sb)
 Creates /proc enties for a mount point.
int mumufs_remove_mount_info (struct super_block *sb)
 Destroys /proc enties for a mount point.

Detailed Description

Declaration of the implemented /proc operations.

Author:
Sergey Satskiy Copyright (C) 2007 - 2009 Sergey Satskiy.

This file is released under the GPL.

Definition in file procfs.h.


Function Documentation

int mumufs_create_mount_info ( struct super_block *  sb  ) 

Creates /proc enties for a mount point.

Parameters:
sb superblock of the mount point
Returns:
0 - success, inverted errno otherwise

Definition at line 95 of file procfs.c.

References mumu_mount_data::parent.

int mumufs_initialise_proc_entries ( void   ) 

initializes /proc entries

Returns:
0 - success, inverted errno otherwise

Definition at line 56 of file procfs.c.

int mumufs_remove_mount_info ( struct super_block *  sb  ) 

Destroys /proc enties for a mount point.

Parameters:
sb superblock of the mount point
Returns:
0 - success, inverted errno otherwise

Definition at line 180 of file procfs.c.

int mumufs_remove_proc_entries ( void   ) 

Destroys the /proc entries.

Returns:
0 - success, inverted errno otherwise

Definition at line 80 of file procfs.c.