3 #include <linux/config.h>
6 static inline void vx_info_init_limit(struct _vx_limit *limit)
10 for (lim=0; lim<NUM_LIMITS; lim++) {
11 limit->rlim[lim] = RLIM_INFINITY;
13 atomic_set(&limit->rcur[lim], 0);
14 atomic_set(&limit->lhit[lim], 0);
18 static inline void vx_info_exit_limit(struct _vx_limit *limit)
20 #ifdef CONFIG_VSERVER_DEBUG
24 for (lim=0; lim<NUM_LIMITS; lim++) {
25 value = atomic_read(&limit->rcur[lim]);
27 "!!! limit: %p[%s,%d] = %ld on exit.",
28 limit, vlimit_name[lim], lim, value);