Lines Matching full:limit
60 * the csh 'limit' or sh 'ulimit' command, but each varies just
67 const char * hard; /* Hard limit text */
68 const char * soft; /* Soft limit text */
69 const char * both; /* Hard+Soft limit text */
119 { "limit%s cputime %s", ";\n", 1 },
120 { "limit%s filesize %s", ";\n", 1024 },
121 { "limit%s datasize %s", ";\n", 1024 },
122 { "limit%s stacksize %s", ";\n", 1024 },
123 { "limit%s coredumpsize %s", ";\n", 1024 },
124 { "limit%s memoryuse %s", ";\n", 1024 },
125 { "limit%s memorylocked %s", ";\n", 1024 },
126 { "limit%s maxproc %s", ";\n", 1 },
127 { "limit%s openfiles %s", ";\n", 1 },
128 { "limit%s sbsize %s", ";\n", 1 },
129 { "limit%s vmemoryuse %s", ";\n", 1024 },
130 { "limit%s pseudoterminals %s", ";\n", 1 },
131 { "limit%s swapsize %s", ";\n", 1024 },
132 { "limit%s kqueues %s", ";\n", 1 },
133 { "limit%s umtxp %s", ";\n", 1 },
155 { "limit%s cputime %s", ";\n", 1 },
156 { "limit%s filesize %s", ";\n", 1024 },
157 { "limit%s datasize %s", ";\n", 1024 },
158 { "limit%s stacksize %s", ";\n", 1024 },
159 { "limit%s coredumpsize %s", ";\n", 1024 },
160 { "limit%s memoryuse %s", ";\n", 1024 },
161 { "limit%s memorylocked %s", ";\n", 1024 },
162 { "limit%s maxproc %s", ";\n", 1 },
163 { "limit%s descriptors %s", ";\n", 1 },
164 { "limit%s sbsize %s", ";\n", 1 },
165 { "limit%s vmemoryuse %s", ";\n", 1024 },
166 { "limit%s pseudoterminals %s", ";\n", 1 },
167 { "limit%s swapsize %s", ";\n", 1024 },
168 { "limit%s kqueues %s", ";\n", 1 },
169 { "limit%s umtxp %s", ";\n", 1 },
208 { "limit%s cputime %s", ";\n", 1 },
209 { "limit%s filesize %s", ";\n", 1024 },
210 { "limit%s datasize %s", ";\n", 1024 },
211 { "limit%s stacksize %s", ";\n", 1024 },
212 { "limit%s coredumpsize %s", ";\n", 1024 },
213 { "limit%s memoryuse %s", ";\n", 1024 },
214 { "limit%s lockedmemory %s", ";\n", 1024 },
215 { "limit%s processes %s", ";\n", 1 },
216 { "limit%s descriptors %s", ";\n", 1 },
217 { "limit%s sbsize %s", ";\n", 1 },
218 { "limit%s vmemoryuse %s", ";\n", 1024 },
219 { "limit%s pseudoterminals %s", ";\n", 1 },
220 { "limit%s swapuse %s", ";\n", 1024 }
263 static void print_limit(rlim_t limit, unsigned divisor, const char *inf,
417 * soft limits, and force rasing the hard limit if we need to if in main()
418 * we are raising the soft limit, or lower the soft limit if we in main()
419 * are lowering the hard limit. in main()
560 print_limit(rlim_t limit, unsigned divisor, const char * inf, const char * pfx, const char * sfx, c… in print_limit() argument
564 if (limit == RLIM_INFINITY) in print_limit()
567 sprintf(numbr, "%jd", (intmax_t)((limit + divisor/2) / divisor)); in print_limit()