~xnox/ubuntu/trusty/gcc-arm-linux-androideabi/dima

« back to all changes in this revision

Viewing changes to android/bionic/libc/kernel/common/linux/resource.h

  • Committer: Package Import Robot
  • Author(s): Dmitrijs Ledkovs
  • Date: 2013-07-05 10:12:24 UTC
  • Revision ID: package-import@ubuntu.com-20130705101224-6qo3e8jbz8p31aa1
Tags: upstream-0.20130705.1
ImportĀ upstreamĀ versionĀ 0.20130705.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/****************************************************************************
 
2
 ****************************************************************************
 
3
 ***
 
4
 ***   This header was automatically generated from a Linux kernel header
 
5
 ***   of the same name, to make information necessary for userspace to
 
6
 ***   call into the kernel available to libc.  It contains only constants,
 
7
 ***   structures, and macros generated from the original header, and thus,
 
8
 ***   contains no copyrightable information.
 
9
 ***
 
10
 ***   To edit the content of this header, modify the corresponding
 
11
 ***   source file (e.g. under external/kernel-headers/original/) then
 
12
 ***   run bionic/libc/kernel/tools/update_all.py
 
13
 ***
 
14
 ***   Any manual change here will be lost the next time this script will
 
15
 ***   be run. You've been warned!
 
16
 ***
 
17
 ****************************************************************************
 
18
 ****************************************************************************/
 
19
#ifndef _LINUX_RESOURCE_H
 
20
#define _LINUX_RESOURCE_H
 
21
#include <linux/time.h>
 
22
struct task_struct;
 
23
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
24
#define RUSAGE_SELF 0
 
25
#define RUSAGE_CHILDREN (-1)
 
26
#define RUSAGE_BOTH (-2)  
 
27
struct rusage {
 
28
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
29
 struct timeval ru_utime;
 
30
 struct timeval ru_stime;
 
31
 long ru_maxrss;
 
32
 long ru_ixrss;
 
33
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
34
 long ru_idrss;
 
35
 long ru_isrss;
 
36
 long ru_minflt;
 
37
 long ru_majflt;
 
38
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
39
 long ru_nswap;
 
40
 long ru_inblock;
 
41
 long ru_oublock;
 
42
 long ru_msgsnd;
 
43
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
44
 long ru_msgrcv;
 
45
 long ru_nsignals;
 
46
 long ru_nvcsw;
 
47
 long ru_nivcsw;
 
48
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
49
};
 
50
struct rlimit {
 
51
 unsigned long rlim_cur;
 
52
 unsigned long rlim_max;
 
53
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
54
};
 
55
#define PRIO_MIN (-20)
 
56
#define PRIO_MAX 20
 
57
#define PRIO_PROCESS 0
 
58
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
59
#define PRIO_PGRP 1
 
60
#define PRIO_USER 2
 
61
#define _STK_LIM (8*1024*1024)
 
62
#define MLOCK_LIMIT (8 * PAGE_SIZE)
 
63
/* WARNING: DO NOT EDIT, AUTO-GENERATED CODE - SEE TOP FOR INSTRUCTIONS */
 
64
#include <asm/resource.h>
 
65
#endif