procfs.c File Reference

Implementation of the /proc operations. More...

#include <linux/proc_fs.h>
#include <asm/uaccess.h>
#include "procfs.h"
#include "mountdata.h"
Include dependency graph for procfs.c:

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

Implementation of the /proc operations.

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

This file is released under the GPL.

Definition in file procfs.c.


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.