Home
last modified time | relevance | path

Searched refs:sv (Results 1 – 17 of 17) sorted by relevance

/busybox-1.35.0/runit/
Drunsvdir.c78 struct service *sv; member
89 #define sv (G.sv ) macro
167 sv[i].isgone = 1; in do_rescan()
184 if (sv[i].ino == s.st_ino in do_rescan()
186 && sv[i].dev == s.st_dev in do_rescan()
189 if (sv[i].pid == 0) /* restart if it has died */ in do_rescan()
191 sv[i].isgone = 0; /* "we still see you" */ in do_rescan()
196 struct service *svnew = realloc(sv, (i+1) * sizeof(*sv)); in do_rescan()
202 sv = svnew; in do_rescan()
205 sv[i].dev = s.st_dev; in do_rescan()
[all …]
Dsv.c498 static int sv(char **argv) in sv() function
698 return sv(argv); in sv_main()
745 r = sv(argv); in svc_main()
/busybox-1.35.0/libbb/
Dduration.c41 char sv; in parse_duration_str() local
51 sv = str[len]; in parse_duration_str()
58 *str-- = sv; in parse_duration_str()
59 sv = *str; in parse_duration_str()
62 *str = sv; in parse_duration_str()
Dbb_qsort.c16 void FAST_FUNC qsort_string_vector(char **sv, unsigned count) in qsort_string_vector() argument
18 qsort(sv, count, sizeof(char*), bb_pstrcmp); in qsort_string_vector()
/busybox-1.35.0/networking/udhcp/
Dsignalpipe.c28 int sv = errno; in signal_handler() local
32 errno = sv; in signal_handler()
/busybox-1.35.0/examples/
Dlinux-2.6.30_proc_self_exe.patch17 + struct file *sv = file;
27 + file = sv;
/busybox-1.35.0/coreutils/
Dexpr.c272 static VALUE *docolon(VALUE *sv, VALUE *pv) in docolon() argument
279 tostring(sv); in docolon()
294 if (regexec(&re_buffer, sv->u.s, NMATCH, re_regs, 0) != REG_NOMATCH in docolon()
299 sv->u.s[re_regs[1].rm_eo] = '\0'; in docolon()
300 v = str_value(sv->u.s + re_regs[1].rm_so); in docolon()
/busybox-1.35.0/examples/var_service/
DREADME111 This is an example of service with has a "finish" script. If downed ("sv d"),
164 sv o .
167 Therefore, any "sv u fw" command by any other script "undoes" o(ne-shot)
DREADME_distro_proposal.txt56 such as /etc/sv/sshd, with a script file, "run", and a link
/busybox-1.35.0/editors/
Dsed.c1474 char *sv, *eol; in add_cmd_block() local
1476 cmdstr = sv = xstrdup(cmdstr); in add_cmd_block()
1484 free(sv); in add_cmd_block()
Dawk.c2344 char sv; in awk_printf() local
2388 sv = *++f; in awk_printf()
2414 *f = sv; in awk_printf()
/busybox-1.35.0/shell/
Dash.c5823 struct redirtab *sv; in redirect() local
5828 sv = NULL; in redirect()
5831 sv = redirlist; in redirect()
5851 add_squirrel_closed(sv, fd); in redirect()
5866 closed = save_fd_on_redirect(fd, /*avoid:*/ newfd, sv); in redirect()
5876 if (internally_opened_fd(newfd, sv)) { in redirect()
5932 struct redirtab *sv; in pushfd() local
5934 sv = ckzalloc(sizeof(*sv) + sizeof(sv->two_fd[0])); in pushfd()
5935 sv->pair_count = 1; in pushfd()
5936 sv->two_fd[0].orig_fd = fd; in pushfd()
[all …]
Dhush.c1762 static void save_and_replace_G_args(save_arg_t *sv, char **argv) in save_and_replace_G_args() argument
1764 sv->sv_argv0 = argv[0]; in save_and_replace_G_args()
1765 sv->sv_g_argv = G.global_argv; in save_and_replace_G_args()
1766 sv->sv_g_argc = G.global_argc; in save_and_replace_G_args()
1767 IF_HUSH_SET(sv->sv_g_malloced = G.global_args_malloced;) in save_and_replace_G_args()
1776 static void restore_G_args(save_arg_t *sv, char **argv) in restore_G_args() argument
1787 argv[0] = sv->sv_argv0; in restore_G_args()
1788 G.global_argv = sv->sv_g_argv; in restore_G_args()
1789 G.global_argc = sv->sv_g_argc; in restore_G_args()
1790 IF_HUSH_SET(G.global_args_malloced = sv->sv_g_malloced;) in restore_G_args()
[all …]
/busybox-1.35.0/networking/
Dhttpd.c2741 int sv = errno; in sighup_handler() local
2743 errno = sv; in sighup_handler()
/busybox-1.35.0/
DNOFORK_NOEXEC.lst357 sv - noexec. needs ^C (uses usleep(420000))
/busybox-1.35.0/miscutils/
Dbc.c964 const char *sv = sv; // for compiler in bc_verror_msg() local
966 sv = applet_name; in bc_verror_msg()
974 applet_name = sv; in bc_verror_msg()
/busybox-1.35.0/include/
Dlibbb.h1072 void qsort_string_vector(char **sv, unsigned count) FAST_FUNC;