Lines Matching refs:limit
27 * "memoryuse" and the new one is "memorysize". Note also that a given limit
1301 bferr("No such limit");
1309 rlim_t limit;
1331 switch (getval(lp, v+1, &limit)) {
1333 error("Value specified for limit is too large");
1339 if (setlim(lp, hard, limit) < 0) {
1488 rlim_t limit;
1495 limit = hard ? rlim.rlim_max : rlim.rlim_cur;
1496 if (limit == RLIM_INFINITY) {
1499 psecs_ull(limit);
1502 pbuf = ulltostr((limit / lp->limdiv), &buf[BUFSZ - 1]);
1543 setlim(struct limits *lp, tchar hard, rlim_t limit)
1552 rlim.rlim_max = limit;
1553 } else if (limit == RLIM_INFINITY && geteuid() != 0) {
1556 rlim.rlim_cur = limit;
1559 printf("%t: %t: Can't %s%s limit\n", bname, lp->limname,
1560 limit == RLIM_INFINITY ? "remove" : "set",