Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Typedefs | Functions | Variables
internal.h File Reference
#include <linux/sched.h>
#include <linux/proc_fs.h>

Go to the source code of this file.

Data Structures

struct  vmalloc_info
 
struct  proc_maps_private
 
struct  pde_opener
 

Macros

#define VMALLOC_TOTAL   0UL
 
#define get_vmalloc_info(vmi)
 

Typedefs

typedef struct dentryinstantiate_t (struct inode *, struct dentry *, struct task_struct *, const void *)
 

Functions

int proc_tid_stat (struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task)
 
int proc_tgid_stat (struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task)
 
int proc_pid_status (struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task)
 
int proc_pid_statm (struct seq_file *m, struct pid_namespace *ns, struct pid *pid, struct task_struct *task)
 
loff_t mem_lseek (struct file *file, loff_t offset, int orig)
 
void proc_init_inodecache (void)
 
struct dentryproc_lookup_de (struct proc_dir_entry *de, struct inode *ino, struct dentry *dentry)
 
int proc_readdir_de (struct proc_dir_entry *de, struct file *filp, void *dirent, filldir_t filldir)
 
void pde_users_dec (struct proc_dir_entry *pde)
 
struct dentryproc_pid_lookup (struct inode *dir, struct dentry *dentry, unsigned int)
 
int proc_pid_readdir (struct file *filp, void *dirent, filldir_t filldir)
 
unsigned long task_vsize (struct mm_struct *)
 
unsigned long task_statm (struct mm_struct *, unsigned long *, unsigned long *, unsigned long *, unsigned long *)
 
void task_mem (struct seq_file *, struct mm_struct *)
 
void pde_put (struct proc_dir_entry *pde)
 
int proc_fill_super (struct super_block *)
 
struct inodeproc_get_inode (struct super_block *, struct proc_dir_entry *)
 
int proc_remount (struct super_block *sb, int *flags, char *data)
 
int proc_readdir (struct file *, void *, filldir_t)
 
struct dentryproc_lookup (struct inode *, struct dentry *, unsigned int)
 
int proc_fill_cache (struct file *filp, void *dirent, filldir_t filldir, const char *name, int len, instantiate_t instantiate, struct task_struct *task, const void *ptr)
 
int pid_revalidate (struct dentry *dentry, unsigned int flags)
 
struct inodeproc_pid_make_inode (struct super_block *sb, struct task_struct *task)
 
int pid_getattr (struct vfsmount *mnt, struct dentry *dentry, struct kstat *stat)
 
int proc_setattr (struct dentry *dentry, struct iattr *attr)
 

Variables

struct proc_dir_entry proc_root
 
struct file_operations proc_tid_children_operations
 
struct file_operations proc_pid_maps_operations
 
struct file_operations proc_tid_maps_operations
 
struct file_operations proc_pid_numa_maps_operations
 
struct file_operations proc_tid_numa_maps_operations
 
struct file_operations proc_pid_smaps_operations
 
struct file_operations proc_tid_smaps_operations
 
struct file_operations proc_clear_refs_operations
 
struct file_operations proc_pagemap_operations
 
struct file_operations proc_net_operations
 
struct inode_operations proc_net_inode_operations
 
struct inode_operations proc_pid_link_inode_operations
 
spinlock_t proc_subdir_lock
 
struct dentry_operations pid_dentry_operations
 
struct inode_operations proc_ns_dir_inode_operations
 
struct file_operations proc_ns_dir_operations
 

Macro Definition Documentation

#define get_vmalloc_info (   vmi)
Value:
do { \
(vmi)->used = 0; \
(vmi)->largest_chunk = 0; \
} while(0)

Definition at line 42 of file internal.h.

#define VMALLOC_TOTAL   0UL

Definition at line 41 of file internal.h.

Typedef Documentation

typedef struct dentry* instantiate_t(struct inode *, struct dentry *, struct task_struct *, const void *)
read

Definition at line 192 of file internal.h.

Function Documentation

loff_t mem_lseek ( struct file file,
loff_t  offset,
int  orig 
)

Definition at line 776 of file base.c.

void pde_put ( struct proc_dir_entry pde)

Definition at line 774 of file generic.c.

void pde_users_dec ( struct proc_dir_entry pde)

Definition at line 136 of file inode.c.

int pid_getattr ( struct vfsmount mnt,
struct dentry dentry,
struct kstat stat 
)

Definition at line 1547 of file base.c.

int pid_revalidate ( struct dentry dentry,
unsigned int  flags 
)

Definition at line 1597 of file base.c.

int proc_fill_cache ( struct file filp,
void dirent,
filldir_t  filldir,
const char name,
int  len,
instantiate_t  instantiate,
struct task_struct task,
const void ptr 
)

Definition at line 1650 of file base.c.

int proc_fill_super ( struct super_block )

Definition at line 485 of file inode.c.

struct inode* proc_get_inode ( struct super_block ,
struct proc_dir_entry  
)
read

Definition at line 444 of file inode.c.

void proc_init_inodecache ( void  )

Definition at line 97 of file inode.c.

struct dentry* proc_lookup ( struct inode ,
struct dentry ,
unsigned  int 
)
read

Definition at line 448 of file generic.c.

struct dentry* proc_lookup_de ( struct proc_dir_entry de,
struct inode ino,
struct dentry dentry 
)
read

Definition at line 417 of file generic.c.

struct dentry* proc_pid_lookup ( struct inode dir,
struct dentry dentry,
unsigned  int 
)
read

Definition at line 2877 of file base.c.

struct inode* proc_pid_make_inode ( struct super_block sb,
struct task_struct task 
)
read

Definition at line 1505 of file base.c.

int proc_pid_readdir ( struct file filp,
void dirent,
filldir_t  filldir 
)

Definition at line 2968 of file base.c.

int proc_pid_statm ( struct seq_file m,
struct pid_namespace ns,
struct pid pid,
struct task_struct task 
)

Definition at line 555 of file array.c.

int proc_pid_status ( struct seq_file m,
struct pid_namespace ns,
struct pid pid,
struct task_struct task 
)

Definition at line 349 of file array.c.

int proc_readdir ( struct file ,
void ,
filldir_t   
)

Definition at line 528 of file generic.c.

int proc_readdir_de ( struct proc_dir_entry de,
struct file filp,
void dirent,
filldir_t  filldir 
)

Definition at line 463 of file generic.c.

int proc_remount ( struct super_block sb,
int flags,
char data 
)

Definition at line 91 of file root.c.

int proc_setattr ( struct dentry dentry,
struct iattr attr 
)

Definition at line 533 of file base.c.

int proc_tgid_stat ( struct seq_file m,
struct pid_namespace ns,
struct pid pid,
struct task_struct task 
)

Definition at line 549 of file array.c.

int proc_tid_stat ( struct seq_file m,
struct pid_namespace ns,
struct pid pid,
struct task_struct task 
)

Definition at line 543 of file array.c.

void task_mem ( struct seq_file ,
struct mm_struct  
)

Definition at line 20 of file task_mmu.c.

unsigned long task_statm ( struct mm_struct ,
unsigned long ,
unsigned long ,
unsigned long ,
unsigned long  
)

Definition at line 73 of file task_mmu.c.

unsigned long task_vsize ( struct mm_struct )

Definition at line 68 of file task_mmu.c.

Variable Documentation

struct dentry_operations pid_dentry_operations

Definition at line 1630 of file base.c.

struct file_operations proc_clear_refs_operations
struct inode_operations proc_net_inode_operations

Definition at line 154 of file proc_net.c.

struct file_operations proc_net_operations

Definition at line 174 of file proc_net.c.

struct inode_operations proc_ns_dir_inode_operations

Definition at line 177 of file namespaces.c.

struct file_operations proc_ns_dir_operations

Definition at line 137 of file namespaces.c.

struct file_operations proc_pagemap_operations
struct inode_operations proc_pid_link_inode_operations

Definition at line 1496 of file base.c.

struct file_operations proc_pid_maps_operations

Definition at line 397 of file task_mmu.c.

struct file_operations proc_pid_numa_maps_operations
struct file_operations proc_pid_smaps_operations

Definition at line 249 of file root.c.

spinlock_t proc_subdir_lock
struct file_operations proc_tid_children_operations
struct file_operations proc_tid_maps_operations

Definition at line 404 of file task_mmu.c.

struct file_operations proc_tid_numa_maps_operations
struct file_operations proc_tid_smaps_operations