Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
procfs.c File Reference
#include <linux/module.h>
#include <linux/time.h>
#include <linux/seq_file.h>
#include <asm/uaccess.h>
#include "reiserfs.h"
#include <linux/init.h>
#include <linux/proc_fs.h>

Go to the source code of this file.

Macros

#define SF(x)   ( r -> x )
 
#define SFP(x)   SF( s_proc_info_data.x )
 
#define SFPL(x)   SFP( x[ level ] )
 
#define SFPF(x)   SFP( scan_bitmap.x )
 
#define SFPJ(x)   SFP( journal.x )
 
#define D2C(x)   le16_to_cpu( x )
 
#define D4C(x)   le32_to_cpu( x )
 
#define DF(x)   D2C( rs -> s_v1.x )
 
#define DFL(x)   D4C( rs -> s_v1.x )
 
#define objectid_map(s, rs)
 
#define MAP(i)   D4C( objectid_map( sb, rs )[ i ] )
 
#define DJF(x)   le32_to_cpu( rs -> x )
 
#define DJV(x)   le32_to_cpu( s_v1 -> x )
 
#define DJP(x)   le32_to_cpu( jp -> x )
 
#define JF(x)   ( r -> s_journal -> x )
 

Functions

int reiserfs_proc_info_init (struct super_block *sb)
 
int reiserfs_proc_info_done (struct super_block *sb)
 
int reiserfs_proc_info_global_init (void)
 
int reiserfs_proc_info_global_done (void)
 

Macro Definition Documentation

#define D2C (   x)    le16_to_cpu( x )

Definition at line 54 of file procfs.c.

#define D4C (   x)    le32_to_cpu( x )

Definition at line 55 of file procfs.c.

#define DF (   x)    D2C( rs -> s_v1.x )

Definition at line 56 of file procfs.c.

#define DFL (   x)    D4C( rs -> s_v1.x )

Definition at line 57 of file procfs.c.

#define DJF (   x)    le32_to_cpu( rs -> x )

Definition at line 64 of file procfs.c.

#define DJP (   x)    le32_to_cpu( jp -> x )

Definition at line 66 of file procfs.c.

#define DJV (   x)    le32_to_cpu( s_v1 -> x )

Definition at line 65 of file procfs.c.

#define JF (   x)    ( r -> s_journal -> x )

Definition at line 67 of file procfs.c.

#define MAP (   i)    D4C( objectid_map( sb, rs )[ i ] )

Definition at line 62 of file procfs.c.

#define objectid_map (   s,
  rs 
)
Value:
(__le32 *)((struct reiserfs_super_block_v1 *)rs + 1) : \
(__le32 *)(rs + 1))

Definition at line 59 of file procfs.c.

#define SF (   x)    ( r -> x )

Definition at line 48 of file procfs.c.

#define SFP (   x)    SF( s_proc_info_data.x )

Definition at line 49 of file procfs.c.

#define SFPF (   x)    SFP( scan_bitmap.x )

Definition at line 51 of file procfs.c.

#define SFPJ (   x)    SFP( journal.x )

Definition at line 52 of file procfs.c.

#define SFPL (   x)    SFP( x[ level ] )

Definition at line 50 of file procfs.c.

Function Documentation

int reiserfs_proc_info_done ( struct super_block sb)

Definition at line 499 of file procfs.c.

int reiserfs_proc_info_global_done ( void  )

Definition at line 543 of file procfs.c.

int reiserfs_proc_info_global_init ( void  )

Definition at line 530 of file procfs.c.

int reiserfs_proc_info_init ( struct super_block sb)

Definition at line 470 of file procfs.c.