Searched refs:rlimit (Results 1 - 11 of 11) sorted by relevance
/darwin-on-arm/xnu/libsyscall/wrappers/unix03/ |
H A D | getrlimit.c | 32 extern int __getrlimit(int resource, struct rlimit *rlp); 40 getrlimit(int resource, struct rlimit *rlp)
|
H A D | setrlimit.c | 32 extern int __setrlimit(int resource, const struct rlimit *rlp); 40 setrlimit(int resource, const struct rlimit *rlp)
|
/darwin-on-arm/xnu/bsd/sys/ |
H A D | resource.h | 269 struct rlimit { struct 320 int getrlimit(int, struct rlimit *) __DARWIN_ALIAS(getrlimit); 326 int setrlimit(int, const struct rlimit *) __DARWIN_ALIAS(setrlimit);
|
H A D | resourcevar.h | 117 struct rlimit pl_rlimit[RLIM_NLIMITS]; 135 void proc_limitget(proc_t p, int whichi, struct rlimit * limp);
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_resource.c | 111 int dosetrlimit(struct proc *p, u_int which, struct rlimit *limp); 651 struct rlimit alim; 655 sizeof (struct rlimit)))) 672 dosetrlimit(struct proc *p, u_int which, struct rlimit *limp) 674 struct rlimit *alimp; 921 struct rlimit lim; 933 uap->rlp, sizeof (struct rlimit))); 1069 proc_limitget(proc_t p, int which, struct rlimit * limp) 1163 sizeof(struct rlimit) * RLIM_NLIMITS);
|
H A D | bsd_init.c | 351 struct rlimit vm_initial_limit_stack = { DFLSSIZ, MAXSSIZ - PAGE_SIZE }; 352 struct rlimit vm_initial_limit_data = { DFLDSIZ, MAXDSIZ }; 353 struct rlimit vm_initial_limit_core = { DFLCSIZ, MAXCSIZ };
|
/darwin-on-arm/xnu/tools/tests/libMicro/ |
H A D | libmicro.c | 1075 struct rlimit rlimit; local 1077 if (getrlimit(RLIMIT_NOFILE, &rlimit) < 0) { 1082 if (rlimit.rlim_cur > limit) 1085 rlimit.rlim_cur = limit; 1087 if (rlimit.rlim_max < limit) 1088 rlimit.rlim_max = limit; 1090 if (setrlimit(RLIMIT_NOFILE, &rlimit) < 0) {
|
/darwin-on-arm/xnu/tools/tests/libMicro/apple/ |
H A D | lmbench_select_file.c | 111 struct rlimit r;
|
H A D | lmbench_select_tcp.c | 126 struct rlimit r;
|
H A D | lmbench_lat_ctx.c | 123 struct rlimit r;
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | tests.c | 4075 struct rlimit my_current_rlimit; 4076 struct rlimit my_rlimit; 4129 bzero(&my_rlimit, sizeof(struct rlimit));
|
Completed in 42 milliseconds