/busybox-1.35.0/util-linux/ |
D | chrt.c | 72 int max, min; in show_min_max() local 74 max = sched_get_priority_max(pol); in show_min_max() 76 if ((max|min) < 0) in show_min_max() 78 printf(fmt, policy_name(pol), min, max); in show_min_max()
|
D | taskset.c | 135 static void parse_cpulist(ul *mask, unsigned max, char *s) in parse_cpulist() argument 159 while (bit <= end && bit < max) { in parse_cpulist()
|
D | fdisk_osf.c | 248 static int xbsd_get_part_index(int max); 789 xbsd_get_part_index(int max) in xbsd_get_part_index() argument 794 snprintf(prompt, sizeof(prompt), "Partition (a-%c): ", 'a' + max - 1); in xbsd_get_part_index() 797 while (l < 'a' || l > 'a' + max - 1); in xbsd_get_part_index()
|
D | fdisk.c | 291 static unsigned get_partition(int warn, unsigned max); 1698 get_partition(int warn, unsigned max) in get_partition() argument 1703 i = read_int(1, 0, max, 0, "Partition number") - 1; in get_partition() 1718 get_existing_partition(int warn, unsigned max) in get_existing_partition() argument 1723 for (i = 0; i < max; i++) { in get_existing_partition() 1741 return get_partition(warn, max); in get_existing_partition() 1747 const int max = 4; in get_nonexisting_partition() local 1751 for (i = 0; i < max; i++) { in get_nonexisting_partition() 1769 return get_partition(/*warn*/ 0, max); in get_nonexisting_partition()
|
/busybox-1.35.0/loginutils/ |
D | addgroup.c | 52 unsigned max = CONFIG_LAST_ID; in xgroup_study() local 66 max = CONFIG_LAST_SYSTEM_ID; in xgroup_study() 82 if (g->gr_gid == max) { in xgroup_study()
|
D | adduser.c | 94 int max = CONFIG_LAST_ID; in passwd_study() local 104 max = CONFIG_LAST_SYSTEM_ID; in passwd_study() 116 if (p->pw_uid == max) { in passwd_study()
|
/busybox-1.35.0/libbb/ |
D | unicode.c | 281 static int in_interval_table(unsigned ucs, const struct interval *table, unsigned max) in in_interval_table() argument 286 if (ucs < table[0].first || ucs > table[max].last) in in_interval_table() 290 while (max >= min) { in in_interval_table() 291 mid = (min + max) / 2; in in_interval_table() 295 max = mid - 1; in in_interval_table() 302 static int in_uint16_table(unsigned ucs, const uint16_t *table, unsigned max) in in_uint16_table() argument 311 last = (table[max] >> 2) + (table[max] & 3); in in_uint16_table() 316 while (max >= min) { in in_uint16_table() 317 mid = (min + max) / 2; in in_uint16_table() 323 max = mid - 1; in in_uint16_table()
|
/busybox-1.35.0/printutils/ |
D | lpd.c | 113 size_t max = 4 * 1024; // more than enough for commands! in xmalloc_read_stdin() local 114 return xmalloc_reads(STDIN_FILENO, &max); in xmalloc_read_stdin()
|
/busybox-1.35.0/networking/ |
D | tc.c | 64 #define parse_rtattr_nested(tb, max, rta) \ argument 65 (parse_rtattr((tb), (max), RTA_DATA(rta), RTA_PAYLOAD(rta))) 68 #define __parse_rtattr_nested_compat(tb, max, rta, len) \ argument 74 parse_rtattr_nested(tb, max, rta); \ 76 memset(tb, 0, sizeof(struct rtattr *) * (max + 1)); \ 79 #define parse_rtattr_nested_compat(tb, max, rta, data, len) \ argument 82 __parse_rtattr_nested_compat(tb, max, rta, len); \
|
/busybox-1.35.0/networking/libiproute/ |
D | libnetlink.h | 60 extern void parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) FAST_FUNC;
|
D | libnetlink.c | 426 void FAST_FUNC parse_rtattr(struct rtattr *tb[], int max, struct rtattr *rta, int len) in parse_rtattr() argument 428 memset(tb, 0, (max + 1) * sizeof(tb[0])); in parse_rtattr() 431 if (rta->rta_type <= max) { in parse_rtattr()
|
/busybox-1.35.0/miscutils/ |
D | ubi_tools.c | 81 static unsigned get_num_from_file(const char *path, unsigned max) in get_num_from_file() argument 89 if (sscanf(buf, "%llu", &num) != 1 || num > max) in get_num_from_file()
|
D | bc.c | 1745 size_t i, max, min_rdx, min_int, diff, a_int, b_int; in zbc_num_a() local 1788 max = a_int; in zbc_num_a() 1792 max = b_int; in zbc_num_a() 1802 for (; i < max + min_rdx; ++i) { in zbc_num_a() 1879 size_t max, max2; in zbc_num_k() local 1929 max = BC_MAX(a->len, b->len); in zbc_num_k() 1930 bc_num_init(&l1, max); in zbc_num_k() 1931 bc_num_init(&h1, max); in zbc_num_k() 1932 bc_num_init(&l2, max); in zbc_num_k() 1933 bc_num_init(&h2, max); in zbc_num_k() [all …]
|
D | hdparm.c | 2064 static int parse_opts(unsigned long *value, int min, int max) argument 2067 *value = xatol_range(optarg, min, max); 2072 static int parse_opts_0_max(unsigned long *value, int max) argument 2074 return parse_opts(value, 0, max);
|
/busybox-1.35.0/procps/ |
D | nmeter.c | 392 unsigned max = frac[0]; in S_STAT_END() local 395 if (frac[i] > max) max = frac[i], pos = i; in S_STAT_END()
|
/busybox-1.35.0/modutils/ |
D | modutils-24.c | 2425 int min, max, n, len; in new_process_module_arguments() local 2448 min = max = 1; in new_process_module_arguments() 2450 min = max = strtoul(pinfo, &pinfo, 10); in new_process_module_arguments() 2452 max = strtoul(pinfo + 1, &pinfo, 10); in new_process_module_arguments() 2479 if (++n > max) in new_process_module_arguments() 2480 bb_error_msg_and_die("too many values for %s (max %d)", param, max); in new_process_module_arguments()
|
/busybox-1.35.0/shell/ |
D | Config.src | 170 to set shell history size. Note that its max value is capped
|
/busybox-1.35.0/docs/ |
D | Kconfig-language.txt | 127 (7) Returns the result of max(/expr/, /expr/).
|
/busybox-1.35.0/include/ |
D | libbb.h | 1660 #define config_read(parser, tokens, max, min, str, flags) \ argument 1661 config_read(parser, tokens, ((flags) | (((min) & 0xFF) << 8) | ((max) & 0xFF)), str)
|