/busybox-1.35.0/runit/ |
D | chpst.c | 262 static void limit(int what, long l) in limit() function 348 limit(RLIMIT_DATA, limitd); in chpst_main() 357 limit(RLIMIT_STACK, limits); in chpst_main() 366 limit(RLIMIT_MEMLOCK, limitl); in chpst_main() 375 limit(RLIMIT_VMEM, limita); in chpst_main() 378 limit(RLIMIT_AS, limita); in chpst_main() 388 limit(RLIMIT_NOFILE, limito); in chpst_main() 391 limit(RLIMIT_OFILE, limito); in chpst_main() 401 limit(RLIMIT_NPROC, limitp); in chpst_main() 410 limit(RLIMIT_FSIZE, limitf); in chpst_main() [all …]
|
/busybox-1.35.0/shell/ |
D | shell_common.c | 510 static void printlim(unsigned opts, const struct rlimit *limit, in printlim() argument 515 val = limit->rlim_max; in printlim() 517 val = limit->rlim_cur; in printlim() 530 struct rlimit limit; in shell_builtin_ulimit() local 615 getrlimit(limits_tbl[i].cmd, &limit); in shell_builtin_ulimit() 617 printlim(opts, &limit, &limits_tbl[i]); in shell_builtin_ulimit() 646 getrlimit(limits_tbl[i].cmd, &limit); in shell_builtin_ulimit() 650 printlim(opts, &limit, &limits_tbl[i]); in shell_builtin_ulimit() 671 limit.rlim_max = val; in shell_builtin_ulimit() 673 limit.rlim_cur = val; in shell_builtin_ulimit() [all …]
|
/busybox-1.35.0/miscutils/ |
D | nandwrite.c | 124 unsigned mtdoffset, meminfo_writesize, blockstart, limit; in nandwrite_main() local 209 limit = MIN(meminfo.size, end_addr); in nandwrite_main() 210 while (mtdoffset < limit) { in nandwrite_main() 223 int bad_len = MIN(mtdoffset, limit) - blockstart; in nandwrite_main() 231 limit = MIN(meminfo.size, end_addr); in nandwrite_main() 234 if (mtdoffset >= limit) in nandwrite_main()
|
/busybox-1.35.0/archival/libarchive/unxz/ |
D | xz_dec_lzma2.c | 61 size_t limit; member 295 dict->limit = 0; in dict_reset() 303 dict->limit = dict->end; in dict_limit() 305 dict->limit = dict->pos + out_max; in dict_limit() 311 return dict->pos < dict->limit; in dict_has_space() 356 left = min_t(size_t, dict->limit - dict->pos, *len); in dict_repeat() 522 struct rc_dec *rc, uint16_t *probs, uint32_t limit) in rc_bittree() argument 531 } while (symbol < limit); in rc_bittree() 538 uint16_t *probs, uint32_t *dest, uint32_t limit) in rc_bittree_reverse() argument 550 } while (++i < limit); in rc_bittree_reverse() [all …]
|
/busybox-1.35.0/archival/libarchive/ |
D | decompress_bunzip2.c | 74 int limit[MAX_HUFCODE_BITS+1], base[MAX_HUFCODE_BITS], permute[MAX_SYMBOLS]; member 264 int *base, *limit; in get_next_block() local 324 limit = hufGroup->limit - 1; in get_next_block() 330 temp[i] = limit[i] = 0; in get_next_block() 358 limit[i] = (pp << (maxLen - i)) - 1; in get_next_block() 363 limit[maxLen] = pp + temp[maxLen] - 1; in get_next_block() 364 limit[maxLen+1] = INT_MAX; /* Sentinel value for reading next sym. */ in get_next_block() 384 int *base, *limit; in get_next_block() local 400 limit = hufGroup->limit - 1; in get_next_block() 433 while (nextSym > limit[i]) in get_next_block()
|
/busybox-1.35.0/util-linux/volume_id/ |
D | unused_msdos.c | 65 int limit; in volume_id_probe_msdos_part_table() local 133 limit = 50; in volume_id_probe_msdos_part_table() 137 if (limit-- == 0) { in volume_id_probe_msdos_part_table()
|
/busybox-1.35.0/util-linux/ |
D | fdisk.c | 2458 sector_t limit, temp; in add_partition() local 2470 limit = (sector_t) g_heads * g_sectors * g_cylinders - 1; in add_partition() 2472 limit = total_number_of_sectors - 1; in add_partition() 2480 limit = get_start_sect(q) + get_nr_sects(q) - 1; in add_partition() 2498 if (start > limit) in add_partition() 2509 start = read_int(cround(saved_start), cround(saved_start), cround(limit), 0, mesg); in add_partition() 2532 if (start < pe->offset_from_dev_start && limit >= pe->offset_from_dev_start) in add_partition() 2533 limit = pe->offset_from_dev_start - 1; in add_partition() 2534 if (start < first[i] && limit >= first[i]) in add_partition() 2535 limit = first[i] - 1; in add_partition() [all …]
|
/busybox-1.35.0/init/ |
D | init.c | 538 struct rlimit limit; in run() local 539 limit.rlim_cur = RLIM_INFINITY; in run() 540 limit.rlim_max = RLIM_INFINITY; in run() 541 setrlimit(RLIMIT_CORE, &limit); in run()
|
/busybox-1.35.0/include/ |
D | bb_e2fs_defs.h | 136 uint16_t limit; member
|
/busybox-1.35.0/networking/udhcp/ |
D | Config.src | 145 servers, this may help. The upper limit (924) makes udhcpc accept
|
/busybox-1.35.0/archival/ |
D | gzip.c | 717 IPos limit = G1.strstart > (IPos) MAX_DIST ? G1.strstart - (IPos) MAX_DIST : 0; in longest_match() local 780 } while ((cur_match = G1.prev[cur_match & WMASK]) > limit in longest_match()
|
/busybox-1.35.0/configs/ |
D | android_defconfig | 74 # -finline-functions -fno-inline-functions-called-once -finline-limit=64
|
/busybox-1.35.0/docs/ |
D | style-guide.txt | 562 the function body. Bottom line: Make a conscious effort to limit declarations
|