Home
last modified time | relevance | path

Searched refs:action (Results 1 – 19 of 19) sorted by relevance

/busybox-1.35.0/examples/shutdown-1.0/script/
Dhardshutdown.c108 enum action_t action = SHUTDOWN; in main() local
130 action = HALT; in main()
133 action = POWEROFF; in main()
136 action = REBOOT; in main()
145 if (action==SHUTDOWN) { in main()
154 switch (action) { in main()
/busybox-1.35.0/runit/
Dsv.c501 char *action; in sv() local
523 action = *argv++; in sv()
524 if (!action || !*argv) bb_show_usage(); in sv()
536 switch (*action) { in sv()
556 if (str_equal(action, "try-restart")) { in sv()
561 if (str_equal(action, "check")) { in sv()
568 action[1] = '\0'; in sv()
569 acts = action; in sv()
574 if (str_equal(action, "shutdown")) { in sv()
578 if (str_equal(action, "start")) { in sv()
[all …]
/busybox-1.35.0/util-linux/
Dacpid.c110 const char *action; member
168 const char *action = NULL; in find_action() local
175 action = evt_tab[i].desc; in find_action()
182 action = evt_tab[i].desc; in find_action()
189 if (action) { in find_action()
191 if (strstr(action, act_tab[i].key)) { in find_action()
192 action = act_tab[i].action; in find_action()
198 return action; in find_action()
212 act_tab[n_act].action = xstrdup(tokens[1]); in parse_conf_file()
Dmdev.c1075 char *action; in process_action() local
1089 action = getenv("ACTION"); in process_action()
1091 if (!action || !env_devpath /*|| !G.subsystem*/) in process_action()
1095 op = index_in_strings(keywords, action); in process_action()
1110 action, seq, G.subsystem, env_devname, env_devpath, in process_action()
Dfdisk.c284 enum action { OPEN_MAIN, TRY_ONLY, CREATE_EMPTY_DOS, CREATE_EMPTY_SUN }; enum
299 static int get_boot(enum action what);
1439 static int get_boot(enum action what) in get_boot()
/busybox-1.35.0/findutils/
Dfind.c437 } action; typedef
439 #define ACTS(name, ...) typedef struct { action a; __VA_ARGS__ } action_##name;
461 IF_FEATURE_FIND_PAREN( ACTS(paren, action ***subexpr;))
489 action ***actions;
513 static int exec_actions(action ***appp, const char *fileName, const struct stat *statbuf) in exec_actions()
518 action **app, *ap; in exec_actions()
835 action *ap; in flush_exec_plus()
836 action **app; in flush_exec_plus()
837 action ***appp = G.actions; in flush_exec_plus()
1082 action*** appp;
[all …]
/busybox-1.35.0/archival/libarchive/bz/
Dbzlib.h58 static int BZ2_bzCompress(bz_stream *strm, int action);
Dbzlib.c303 int BZ2_bzCompress(bz_stream *strm, int action) in BZ2_bzCompress() argument
312 if (action == BZ_RUN) { in BZ2_bzCompress()
319 if (action == BZ_FLUSH) { in BZ2_bzCompress()
/busybox-1.35.0/examples/
Dinittab10 # Format for each entry: <id>:<runlevels>:<action>:<process>
22 # <action>: Valid actions include: sysinit, wait, once, respawn, askfirst,
36 # restart action is exec'ed (init process is replaced by that process).
37 # If no restart action specified, SIGQUIT has no effect.
/busybox-1.35.0/miscutils/
Ddevfsd.c247 struct action_type action; member
616 new->action.when = event_types[count].type; in process_config_line()
628 new->action.what = AC_PERMISSIONS; in process_config_line()
647 new->action.what = AC_MODLOAD; in process_config_line()
650 new->action.what = AC_EXECUTE; in process_config_line()
659 new->action.what = AC_COPY; in process_config_line()
681 new->action.what = i - 2; in process_config_line()
691 *event_mask |= 1 << new->action.when; in process_config_line()
763 if (info->type != entry->action.when in service_name()
769 switch (entry->action.what) { in service_name()
[all …]
/busybox-1.35.0/networking/
Droute.c161 static NOINLINE void INET_setroute(int action, char **args) in INET_setroute() argument
332 if ((action == RTACTION_ADD) && (rt->rt_flags & RTF_HOST)) { in INET_setroute()
339 if (action == RTACTION_ADD) in INET_setroute()
349 static NOINLINE void INET6_setroute(int action, char **args) in INET6_setroute() argument
442 if (action == RTACTION_ADD) in INET6_setroute()
Difplugd.c322 static int run_script(const char *action) in run_script() argument
328 bb_info_msg("executing '%s %s %s'", G.script_name, G.iface, action); in run_script()
332 argv[2] = (char*) action; in run_script()
Dntpd.c984 static void run_script(const char *action, double offset) in run_script() argument
995 argv[1] = (char*) action; in run_script()
998 VERB1 bb_error_msg("executing '%s %s'", G.script_name, action); in run_script()
/busybox-1.35.0/init/
Dinit.c709 int action; in parse_inittab() local
714 action = index_in_strings(actions, token[2]); in parse_inittab()
715 if (action < 0 || !token[3][0]) /* token[3]: command */ in parse_inittab()
721 new_init_action(1 << action, token[3], tty); in parse_inittab()
/busybox-1.35.0/shell/
DREADME70 trap [action condition...]
Dash.c13891 char *action; in trapcmd() local
13927 action = NULL; in trapcmd()
13929 action = *ap++; in trapcmd()
13941 if (action) { in trapcmd()
13942 if (LONE_DASH(action)) in trapcmd()
13943 action = NULL; in trapcmd()
13945 if (action[0]) /* not NULL and not "" and not "-" */ in trapcmd()
13947 action = ckstrdup(action); in trapcmd()
13951 trap[signo] = action; in trapcmd()
/busybox-1.35.0/docs/
DSerial-Programming-HOWTO.txt274 Send a break: Here the action differs between the conventional
281 int ioctl(fd, TCXONC, int action);
282 int tcflow(fd, int action);
284 The action flags are:
316 The COMMANDS and their action are:
/busybox-1.35.0/scripts/kconfig/
Dlex.zconf.c_shipped127 /* Special action meaning "start processing a new file". */
668 * corresponding action - sets up zconftext.
1006 { /* beginning of action switch */
1298 * this is the first action (other than possibly a
1405 "fatal flex scanner internal error--no action found" );
1406 } /* end of action switch */
1412 * Returns a code representing an action:
Dzconf.tab.c_shipped1123 action routines. */
1267 /* If the proper action on seeing token YYTOKEN is to reduce or to
1268 detect an error, take that action. */
1304 | yydefault -- do the default action for the current state. |
1320 /* If YYLEN is nonzero, implement the default value of the action: