Searched defs:args (Results 1 - 19 of 19) sorted by relevance

/systemd/src/udev/
H A Dudev-builtin-btrfs.c34 struct btrfs_ioctl_vol_args args = {}; local
45 strscpy(args.name, sizeof(args.name), argv[2]);
46 err = ioctl(fd, BTRFS_IOC_DEVICES_READY, &args);
H A Dudev-builtin-kmod.c62 _printf_(6,0) static void udev_kmod_log(void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) { argument
63 log_internalv(priority, 0, file, line, fn, format, args);
/systemd/src/core/
H A Dkmod-setup.c39 va_list args) {
43 log_internalv(LOG_DEBUG, 0, file, line, fn, format, args);
33 systemd_kmod_log( void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) argument
H A Dshutdown.c380 const char * const args[] = { local
386 execv(args[0], (char * const *) args);
H A Dmain.c1009 * cmdline args without getopt() error
1935 const char **args; local
1963 args = newa(const char*, args_size);
1979 args[i++] = SYSTEMD_BINARY_PATH;
1981 args[i++] = "--switched-root";
1982 args[i++] = arg_running_as == MANAGER_SYSTEM ? "--system" : "--user";
1983 args[i++] = "--deserialize";
1984 args[i++] = sfd;
1985 args[i++] = NULL;
2001 (void) execv(args[
[all...]
/systemd/src/libudev/
H A Dlibudev.c52 const char *format, va_list args);
228 const char *format, va_list args)) {
225 udev_set_log_fn(struct udev *udev, void (*log_fn)(struct udev *udev, int priority, const char *file, int line, const char *fn, const char *format, va_list args)) argument
/systemd/src/shared/
H A Dpager.c171 const char *args[4] = { "man", NULL, NULL, NULL }; local
189 args[1] = section;
190 args[2] = page;
192 args[1] = desc;
212 execvp(args[0], (char**) args);
/systemd/src/vconsole/
H A Dvconsole-setup.c107 const char *args[8]; local
115 args[i++] = KBD_LOADKEYS;
116 args[i++] = "-q";
117 args[i++] = "-C";
118 args[i++] = vc;
120 args[i++] = "-u";
121 args[i++] = map;
123 args[i++] = map_toggle;
124 args[i++] = NULL;
134 execv(args[
146 const char *args[9]; local
[all...]
/systemd/src/bus-proxyd/
H A Ddriver.c676 _cleanup_strv_free_ char **args = NULL; local
701 r = strv_extend(&args, s);
715 if (strv_isempty(args)) /* nothing to do? */
728 r = sd_bus_message_append_strv(msg, args);
/systemd/src/modules-load/
H A Dmodules-load.c42 const char *fn, const char *format, va_list args) {
45 log_internalv(priority, 0, file, line, fn, format, args);
41 systemd_kmod_log(void *data, int priority, const char *file, int line, const char *fn, const char *format, va_list args) argument
/systemd/src/timedate/
H A Dtimedatectl.c164 static int show_status(sd_bus *bus, char **args, unsigned n) { argument
193 static int set_time(sd_bus *bus, char **args, unsigned n) { argument
199 assert(args);
204 r = parse_timestamp(args[1], &t);
206 log_error("Failed to parse time specification: %s", args[1]);
224 static int set_timezone(sd_bus *bus, char **args, unsigned n) { argument
228 assert(args);
240 "sb", args[1], arg_ask_password);
247 static int set_local_rtc(sd_bus *bus, char **args, unsigned n) { argument
251 assert(args);
276 set_ntp(sd_bus *bus, char **args, unsigned n) argument
305 list_timezones(sd_bus *bus, char **args, unsigned n) argument
[all...]
/systemd/src/hostname/
H A Dhostnamectl.c214 static int show_status(sd_bus *bus, char **args, unsigned n) { argument
215 assert(args);
252 static int set_hostname(sd_bus *bus, char **args, unsigned n) { argument
254 char *hostname = args[1];
257 assert(args);
304 static int set_icon_name(sd_bus *bus, char **args, unsigned n) { argument
305 assert(args);
308 return set_simple_string(bus, "SetIconName", args[1]);
311 static int set_chassis(sd_bus *bus, char **args, unsigned n) { argument
312 assert(args);
318 set_deployment(sd_bus *bus, char **args, unsigned n) argument
325 set_location(sd_bus *bus, char **args, unsigned n) argument
[all...]
/systemd/src/locale/
H A Dlocalectl.c164 static int show_status(sd_bus *bus, char **args, unsigned n) { argument
195 static int set_locale(sd_bus *bus, char **args, unsigned n) { argument
201 assert(args);
215 r = sd_bus_message_append_strv(m, args + 1);
232 static int list_locales(sd_bus *bus, char **args, unsigned n) { argument
236 assert(args);
248 static int set_vconsole_keymap(sd_bus *bus, char **args, unsigned n) { argument
254 assert(args);
263 map = args[1];
264 toggle_map = n > 2 ? args[
318 list_vconsole_keymaps(sd_bus *bus, char **args, unsigned n) argument
351 set_x11_keymap(sd_bus *bus, char **args, unsigned n) argument
387 list_x11_keymaps(sd_bus *bus, char **args, unsigned n) argument
[all...]
H A Dlocaled.c1105 static void log_xkb(struct xkb_context *ctx, enum xkb_log_level lvl, const char *format, va_list args) { argument
1109 log_internalv(LOG_DEBUG, 0, __FILE__, __LINE__, __func__, fmt, args);
/systemd/src/machine/
H A Dmachine-dbus.c645 _cleanup_strv_free_ char **env = NULL, **args = NULL; local
663 r = sd_bus_message_read_strv(message, &args);
666 if (strv_isempty(args)) {
667 args = strv_free(args);
669 args = strv_new(path, NULL);
670 if (!args)
673 args[0][0] = '-'; /* Tell /bin/sh that this shall be a login shell */
814 r = sd_bus_message_append_strv(tm, args);
/systemd/src/analyze/
H A Danalyze.c1198 static int dump(sd_bus *bus, char **args) { argument
1204 if (!strv_isempty(args)) {
1231 static int set_log_level(sd_bus *bus, char **args) { argument
1236 assert(args);
1238 if (strv_length(args) != 1) {
1251 args[0]);
1258 static int set_log_target(sd_bus *bus, char **args) { argument
1263 assert(args);
1265 if (strv_length(args) != 1) {
1278 args[
[all...]
/systemd/src/basic/
H A Dbtrfs-util.c149 struct btrfs_ioctl_vol_args args = {}; local
164 strncpy(args.name, subvolume, sizeof(args.name)-1);
166 if (ioctl(fd, BTRFS_IOC_SUBVOL_CREATE, &args) < 0)
271 struct btrfs_ioctl_clone_range_args args = { local
290 r = ioctl(outfd, BTRFS_IOC_CLONE_RANGE, &args);
361 struct btrfs_ioctl_ino_lookup_args args = { local
375 if (ioctl(fd, BTRFS_IOC_INO_LOOKUP, &args) < 0)
378 *ret = args.treeid;
395 static bool btrfs_ioctl_search_args_inc(struct btrfs_ioctl_search_args *args) { argument
424 btrfs_ioctl_search_args_set(struct btrfs_ioctl_search_args *args, const struct btrfs_ioctl_search_header *h) argument
433 btrfs_ioctl_search_args_compare(const struct btrfs_ioctl_search_args *args) argument
467 struct btrfs_ioctl_search_args args = { local
560 struct btrfs_ioctl_search_args args = { local
803 struct btrfs_ioctl_quota_ctl_args args = { local
834 struct btrfs_ioctl_qgroup_limit_args args = { local
908 struct btrfs_ioctl_vol_args args = {}; local
1025 struct btrfs_ioctl_qgroup_create_args args = { local
1109 struct btrfs_ioctl_quota_rescan_args args = {}; local
1129 struct btrfs_ioctl_quota_rescan_args args = {}; local
1140 struct btrfs_ioctl_qgroup_assign_args args = { local
1184 struct btrfs_ioctl_search_args args = { local
1340 struct btrfs_ioctl_search_args args = { local
1531 struct btrfs_ioctl_search_args args = { local
1771 struct btrfs_ioctl_search_args args = { local
2017 struct btrfs_ioctl_search_args args = { local
[all...]
/systemd/src/journal/
H A Djournalctl.c899 static int add_matches(sd_journal *j, char **args) { argument
905 STRV_FOREACH(i, args) {
974 if (!strv_isempty(args) && !have_term) {
/systemd/src/systemctl/
H A Dsystemctl.c3161 static int check_unit_generic(int code, const char *good_states, char **args) { argument
3172 r = expand_names(bus, args, NULL, &names);
5200 static int enable_sysv_units(const char *verb, char **args) { argument
5227 while (args[f]) {
5238 name = args[f++];
5333 assert(args[f] == name);
5334 strv_remove(args, name);
5987 const char **args; local
6017 args = newa(const char*, argc + 1);
6020 args[
[all...]

Completed in 4716 milliseconds