/busybox-1.35.0/networking/udhcp/ |
D | dumpleases.c | 28 int64_t written_at, curr; in dumpleases_main() local 67 curr = time(NULL); in dumpleases_main() 68 if (curr < written_at) in dumpleases_main() 69 written_at = curr; /* lease file from future! :) */ in dumpleases_main() 93 if (expires_abs <= curr) { in dumpleases_main() 100 expires_abs -= curr; in dumpleases_main() 106 unsigned expires = expires_abs - curr; in dumpleases_main()
|
D | d6_dhcpc.c | 427 char **envp, **curr; in fill_envp() local 437 envp = curr = client6_data.env_ptr; in fill_envp() 438 while (*curr) in fill_envp() 439 putenv(*curr++); in fill_envp() 448 char **envp, **curr; in d6_run_script() local 460 for (curr = envp; *curr; curr++) { in d6_run_script() 461 log2(" %s", *curr); in d6_run_script() 462 bb_unsetenv_and_free(*curr); in d6_run_script() 510 struct option_set *curr; in add_d6_client_options() local 536 curr = client_data.options; in add_d6_client_options() [all …]
|
D | common.c | 453 struct option_set *new, **curr; in udhcp_insert_new_option() local 469 curr = opt_list; in udhcp_insert_new_option() 471 while (*curr && (*curr)->data[OPT_CODE] < code) in udhcp_insert_new_option() 472 curr = &(*curr)->next; in udhcp_insert_new_option() 474 new->next = *curr; in udhcp_insert_new_option() 475 *curr = new; in udhcp_insert_new_option()
|
D | dhcpc.c | 648 struct option_set *curr = client_data.options; in add_client_options() local 649 while (curr) { in add_client_options() 650 udhcp_add_binary_option(packet, curr->data); in add_client_options() 651 curr = curr->next; in add_client_options()
|
D | dhcpd.c | 462 leasetime_t curr; in write_leases() local 469 curr = written_at = time(NULL); in write_leases() 483 g_leases[i].expires -= curr; in write_leases()
|
/busybox-1.35.0/procps/ |
D | iostat.c | 63 stats_cpu_t *curr; member 212 static ALWAYS_INLINE cputime_t overflow_safe_sub(cputime_t prev, cputime_t curr) in overflow_safe_sub() argument 214 cputime_t v = curr - prev; in overflow_safe_sub() 226 static ALWAYS_INLINE cputime_t overflow_safe_sub(cputime_t prev, cputime_t curr) in overflow_safe_sub() argument 228 return curr - prev; in overflow_safe_sub() 232 static double percent_value(cputime_t prev, cputime_t curr, cputime_t itv) in percent_value() argument 234 return ((double)overflow_safe_sub(prev, curr)) / itv * 100; in percent_value() 240 cputime_t *c = stats->curr->vector; in print_stats_cpu_struct() 299 stats_dev_t **curr = &G.stats_dev_list; in stats_dev_find_or_new() local 301 while (*curr != NULL) { in stats_dev_find_or_new() [all …]
|
D | fuser.c | 67 inode_list **curr = &G.inode_list_head; in add_inode() local 69 while (*curr) { in add_inode() 70 if ((*curr)->dev == st->st_dev in add_inode() 71 && (*curr)->inode == st->st_ino in add_inode() 75 curr = &(*curr)->next; in add_inode() 78 *curr = xzalloc(sizeof(inode_list)); in add_inode() 79 (*curr)->dev = st->st_dev; in add_inode() 80 (*curr)->inode = st->st_ino; in add_inode()
|
D | mpstat.c | 133 static ALWAYS_INLINE data_t overflow_safe_sub(data_t prev, data_t curr) in overflow_safe_sub() argument 135 data_t v = curr - prev; in overflow_safe_sub() 147 static ALWAYS_INLINE data_t overflow_safe_sub(data_t prev, data_t curr) in overflow_safe_sub() argument 149 return curr - prev; in overflow_safe_sub() 153 static double percent_value(data_t prev, data_t curr, data_t itv) in percent_value() argument 155 return ((double)overflow_safe_sub(prev, curr)) / itv * 100; in percent_value() 158 static double hz_value(data_t prev, data_t curr, data_t itv) in hz_value() argument 161 return ((double)overflow_safe_sub(prev, curr)) / itv * G.hz; in hz_value()
|
/busybox-1.35.0/coreutils/ |
D | split.c | 63 char *curr; in next_file() local 66 curr = old + end - i; in next_file() 67 if (*curr < 'z') { in next_file() 68 *curr += 1; in next_file() 75 *curr = 'a'; in next_file()
|
/busybox-1.35.0/scripts/kconfig/ |
D | symbol.c | 17 .curr = { "y", yes }, 21 .curr = { "m", mod }, 25 .curr = { "n", no }, 29 .curr = { "", no }, 157 return strtol(sym->curr.val, NULL, base); in sym_get_range_val() 179 val = strtol(sym->curr.val, NULL, base); in sym_validate_range() 190 sym->curr.val = strdup(str); in sym_validate_range() 258 sym->curr.tri = no; in sym_calc_choice() 275 oldval = sym->curr; in sym_calc_value() 281 newval = symbol_empty.curr; in sym_calc_value() [all …]
|
D | lkc.h | 109 return sym->curr.tri; in sym_get_tristate_value() 115 return (struct symbol *)sym->curr.val; in sym_get_choice_value()
|
D | expr.h | 71 struct symbol_value curr, user; member
|
D | confdata.c | 293 if (!strcmp(sym->curr.val, sym->user.val)) in conf_read() 461 if (modules_sym->curr.tri == no) in conf_write()
|
D | conf.c | 481 if (sym->curr.tri != mod) in conf()
|
D | expr.c | 953 return e->left.sym->curr.tri; in expr_calc_value()
|
/busybox-1.35.0/archival/libarchive/bz/ |
D | compress.c | 606 unsigned curr = s->len[t][0]; in sendMTFValues() local 607 bsW(s, 5, curr); in sendMTFValues() 609 while (curr < s->len[t][i]) { bsW(s, 2, 2); curr++; /* 10 */ } in sendMTFValues() 610 while (curr > s->len[t][i]) { bsW(s, 2, 3); curr--; /* 11 */ } in sendMTFValues()
|
/busybox-1.35.0/miscutils/ |
D | devfsd.c | 416 struct initial_symlink_struct *curr; in devfsd_main() local 445 for (curr = initial_symlinks; curr->dest != NULL; ++curr) in devfsd_main() 446 symlink(curr->dest, curr->name); in devfsd_main()
|