Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
resource.h File Reference
#include <linux/time.h>
#include <linux/types.h>
#include <asm/resource.h>

Go to the source code of this file.

Data Structures

struct  rusage
 
struct  rlimit
 
struct  rlimit64
 

Macros

#define RUSAGE_SELF   0
 
#define RUSAGE_CHILDREN   (-1)
 
#define RUSAGE_BOTH   (-2) /* sys_wait4() uses this */
 
#define RUSAGE_THREAD   1 /* only the calling thread */
 
#define RLIM64_INFINITY   (~0ULL)
 
#define PRIO_MIN   (-20)
 
#define PRIO_MAX   20
 
#define PRIO_PROCESS   0
 
#define PRIO_PGRP   1
 
#define PRIO_USER   2
 
#define _STK_LIM   (8*1024*1024)
 
#define MLOCK_LIMIT   ((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)
 

Macro Definition Documentation

#define _STK_LIM   (8*1024*1024)

Definition at line 65 of file resource.h.

#define MLOCK_LIMIT   ((PAGE_SIZE > 64*1024) ? PAGE_SIZE : 64*1024)

Definition at line 71 of file resource.h.

#define PRIO_MAX   20

Definition at line 55 of file resource.h.

#define PRIO_MIN   (-20)

Definition at line 54 of file resource.h.

#define PRIO_PGRP   1

Definition at line 58 of file resource.h.

#define PRIO_PROCESS   0

Definition at line 57 of file resource.h.

#define PRIO_USER   2

Definition at line 59 of file resource.h.

#define RLIM64_INFINITY   (~0ULL)

Definition at line 47 of file resource.h.

#define RUSAGE_BOTH   (-2) /* sys_wait4() uses this */

Definition at line 20 of file resource.h.

#define RUSAGE_CHILDREN   (-1)

Definition at line 19 of file resource.h.

#define RUSAGE_SELF   0

Definition at line 18 of file resource.h.

#define RUSAGE_THREAD   1 /* only the calling thread */

Definition at line 21 of file resource.h.