This commit was manufactured by cvs2svn to create branch
[linux-2.6.git] / include / linux / vserver / limit.h
1 #ifndef _VX_LIMIT_H
2 #define _VX_LIMIT_H
3
4 #ifdef  __KERNEL__
5
6 struct sysinfo;
7
8 void vx_vsi_meminfo(struct sysinfo *);
9 void vx_vsi_swapinfo(struct sysinfo *);
10
11 #define VXD_RLIMIT(r,l)         (VXD_CBIT(limit, (l)) && ((r) == (l)))
12
13 #define NUM_LIMITS      20
14
15 #define VLIMIT_NSOCK    16
16
17 extern const char *vlimit_name[NUM_LIMITS];
18
19 #endif  /* __KERNEL__ */
20 #endif  /* _VX_LIMIT_H */