Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
task_mmu.c File Reference
#include <linux/mm.h>
#include <linux/hugetlb.h>
#include <linux/huge_mm.h>
#include <linux/mount.h>
#include <linux/seq_file.h>
#include <linux/highmem.h>
#include <linux/ptrace.h>
#include <linux/slab.h>
#include <linux/pagemap.h>
#include <linux/mempolicy.h>
#include <linux/rmap.h>
#include <linux/swap.h>
#include <linux/swapops.h>
#include <asm/elf.h>
#include <asm/uaccess.h>
#include <asm/tlbflush.h>
#include "internal.h"

Go to the source code of this file.

Macros

#define PSS_SHIFT   12
 

Functions

void task_mem (struct seq_file *m, struct mm_struct *mm)
 
unsigned long task_vsize (struct mm_struct *mm)
 
unsigned long task_statm (struct mm_struct *mm, unsigned long *shared, unsigned long *text, unsigned long *data, unsigned long *resident)
 

Variables

struct file_operations proc_pid_maps_operations
 
struct file_operations proc_tid_maps_operations
 

Macro Definition Documentation

#define PSS_SHIFT   12

Definition at line 428 of file task_mmu.c.

Function Documentation

void task_mem ( struct seq_file m,
struct mm_struct mm 
)

Definition at line 20 of file task_mmu.c.

unsigned long task_statm ( struct mm_struct mm,
unsigned long shared,
unsigned long text,
unsigned long data,
unsigned long resident 
)

Definition at line 73 of file task_mmu.c.

unsigned long task_vsize ( struct mm_struct mm)

Definition at line 68 of file task_mmu.c.

Variable Documentation

struct file_operations proc_pid_maps_operations
Initial value:
= {
.open = pid_maps_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release_private,
}

Definition at line 397 of file task_mmu.c.

struct file_operations proc_tid_maps_operations
Initial value:
= {
.open = tid_maps_open,
.read = seq_read,
.llseek = seq_lseek,
.release = seq_release_private,
}

Definition at line 404 of file task_mmu.c.