Home
last modified time | relevance | path

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

/systemd-251/src/core/
Dexecute.h5 typedef struct ExecCommand ExecCommand; typedef
95 struct ExecCommand { struct
100 LIST_FIELDS(ExecCommand, command); /* useful for chaining commands */ argument
432 ExecCommand *command,
439 void exec_command_done_array(ExecCommand *c, size_t n);
440 ExecCommand* exec_command_free_list(ExecCommand *c);
441 void exec_command_free_array(ExecCommand **c, size_t n);
442 void exec_command_reset_status_array(ExecCommand *c, size_t n);
443 void exec_command_reset_status_list_array(ExecCommand **c, size_t n);
444 void exec_command_dump_list(ExecCommand *c, FILE *f, const char *prefix);
[all …]
Dservice.h133 ExecCommand* exec_command[_SERVICE_EXEC_COMMAND_MAX];
145 ExecCommand *control_command;
150 ExecCommand *main_command;
Dmount.h72 ExecCommand exec_command[_MOUNT_EXEC_COMMAND_MAX];
83 ExecCommand* control_command;
Dswap.h65 ExecCommand exec_command[_SWAP_EXEC_COMMAND_MAX];
75 ExecCommand* control_command;
Dsocket.h88 ExecCommand* exec_command[_SOCKET_EXEC_COMMAND_MAX];
105 ExecCommand* control_command;
Ddbus-execute.h33 int bus_set_transient_exec_command(Unit *u, const char *name, ExecCommand **exec_command, sd_bus_me…
Dexecute.c4097 const ExecCommand *command, in exec_child()
5169 ExecCommand *command, in exec_spawn()
5471 static void exec_command_done(ExecCommand *c) { in exec_command_done()
5478 void exec_command_done_array(ExecCommand *c, size_t n) { in exec_command_done_array()
5483 ExecCommand* exec_command_free_list(ExecCommand *c) { in exec_command_free_list()
5484 ExecCommand *i; in exec_command_free_list()
5495 void exec_command_free_array(ExecCommand **c, size_t n) { in exec_command_free_array()
5500 void exec_command_reset_status_array(ExecCommand *c, size_t n) { in exec_command_reset_status_array()
5505 void exec_command_reset_status_list_array(ExecCommand **c, size_t n) { in exec_command_reset_status_list_array()
6431 static void exec_command_dump(ExecCommand *c, FILE *f, const char *prefix) { in exec_command_dump()
[all …]
Ddbus-execute.c1319 static int append_exec_command(sd_bus_message *reply, ExecCommand *c) { in append_exec_command()
1355 static int append_exec_ex_command(sd_bus_message *reply, ExecCommand *c) { in append_exec_ex_command()
1408 ExecCommand *c = (ExecCommand*) userdata; in bus_property_get_exec_command()
1434 ExecCommand *exec_command = *(ExecCommand**) userdata; in bus_property_get_exec_command_list()
1462 ExecCommand *exec_command = *(ExecCommand**) userdata; in bus_property_get_exec_ex_command_list()
1492 ExecCommand **exec_command, in bus_set_transient_exec_command()
1535 ExecCommand *c; in bus_set_transient_exec_command()
1537 c = new0(ExecCommand, 1); in bus_set_transient_exec_command()
Dservice.c1481 ExecCommand *c, in service_spawn_internal()
2174 ExecCommand *c; in service_enter_start()
2629 static unsigned service_exec_command_index(Unit *u, ServiceExecCommand id, ExecCommand *current) { in service_exec_command_index()
2632 ExecCommand *first, *c; in service_exec_command_index()
2647 static int service_serialize_exec_command(Unit *u, FILE *f, ExecCommand *command) { in service_serialize_exec_command()
2815 ExecCommand *command = NULL; in service_deserialize_exec_command()
Dswap.c663 static int swap_spawn(Swap *s, ExecCommand *c, pid_t *_pid) { in swap_spawn()
Dsocket.c1424 ExecCommand *c; in socket_determine_selinux_label()
1919 static int socket_spawn(Socket *s, ExecCommand *c, pid_t *_pid) { in socket_spawn()
Dload-fragment.c841 ExecCommand **e = data; in config_parse_exec()
865 _cleanup_free_ ExecCommand *nce = NULL; in config_parse_exec()
1025 nce = new0(ExecCommand, 1); in config_parse_exec()
Dmount.c821 static int mount_spawn(Mount *m, ExecCommand *c, pid_t *_pid) { in mount_spawn()
/systemd-251/src/analyze/
Dtest-verify.c8 …assert_se(verify_executable(NULL, &(ExecCommand) {.flags = EXEC_COMMAND_IGNORE_FAILURE, .path = (c… in TEST()
9 … assert_se(verify_executable(NULL, &(ExecCommand) {.path = (char*) "/non/existent"}, NULL) < 0); in TEST()
12 assert_se(verify_executable(NULL, &(ExecCommand) {.path = (char*) "/bin/echo"}, NULL) == 0); in TEST()
13 …assert_se(verify_executable(NULL, &(ExecCommand) {.flags = EXEC_COMMAND_IGNORE_FAILURE, .path = (c… in TEST()
Danalyze-verify-util.h19 int verify_executable(Unit *u, const ExecCommand *exec, const char *root);
Danalyze-verify-util.c137 int verify_executable(Unit *u, const ExecCommand *exec, const char *root) { in verify_executable()
154 ExecCommand *exec; in verify_executables()
/systemd-251/src/test/
Dtest-load-fragment.c63 static void check_execcommand(ExecCommand *c, in check_execcommand()
100 ExecCommand *c = NULL, *c1; in TEST()