Home
last modified time | relevance | path

Searched refs:local (Results 1 – 25 of 235) sorted by relevance

12345678910

/systemd-251/src/import/
Dimport.c31 static int normalize_local(const char *local, char **ret) { in normalize_local() argument
39 if (!local) in normalize_local()
42 if (!path_is_absolute(local)) { in normalize_local()
43 ll = path_join(arg_image_root, local); in normalize_local()
47 local = ll; in normalize_local()
50 if (!path_is_valid(local)) in normalize_local()
52 "Local path name '%s' is not valid.", local); in normalize_local()
54 if (local) { in normalize_local()
55 if (!hostname_is_valid(local, 0)) in normalize_local()
58 local); in normalize_local()
[all …]
Dpull.c36 static int normalize_local(const char *local, const char *url, char **ret) { in normalize_local() argument
42 if (!local) in normalize_local()
45 if (!path_is_absolute(local)) { in normalize_local()
46 ll = path_join(arg_image_root, local); in normalize_local()
50 local = ll; in normalize_local()
53 if (!path_is_valid(local)) in normalize_local()
55 "Local path name '%s' is not valid.", local); in normalize_local()
58 } else if (local) { in normalize_local()
60 if (!hostname_is_valid(local, 0)) in normalize_local()
63 local); in normalize_local()
[all …]
Dimport-fs.c104 const char *path = NULL, *local = NULL, *dest = NULL; in import_fs() local
112 local = empty_or_dash_to_null(argv[2]); in import_fs()
118 local = l; in import_fs()
122 if (!local) in import_fs()
125 if (path_is_absolute(local)) in import_fs()
126 final_path = strdup(local); in import_fs()
128 final_path = path_join(arg_image_root, local); in import_fs()
136 if (local) { in import_fs()
137 if (!hostname_is_valid(local, 0)) in import_fs()
139 … "Local image name '%s' is not valid.", local); in import_fs()
[all …]
Dimportd.c63 char *local; member
125 free(t->local); in transfer_unref()
480 if (t->local) in transfer_start()
481 cmd[k++] = t->local; in transfer_start()
689 const char *local, *object; in method_import_tar_or_raw() local
712 r = sd_bus_message_read(msg, "hsbb", &fd, &local, &force, &read_only); in method_import_tar_or_raw()
722 if (!hostname_is_valid(local, 0)) in method_import_tar_or_raw()
724 "Local name %s is invalid", local); in method_import_tar_or_raw()
741 t->local = strdup(local); in method_import_tar_or_raw()
742 if (!t->local) in method_import_tar_or_raw()
[all …]
Dexport.c64 const char *path = NULL, *local = NULL; in export_tar() local
75 local = image->path; in export_tar()
77 local = argv[1]; in export_tar()
92 …log_info("Exporting '%s', saving to '%s' with compression '%s'.", local, path, import_compress_typ… in export_tar()
99 …log_info("Exporting '%s', saving to '%s' with compression '%s'.", local, strna(pretty), import_com… in export_tar()
114 r = tar_export_start(export, local, fd, arg_compress); in export_tar()
140 const char *path = NULL, *local = NULL; in export_raw() local
151 local = image->path; in export_raw()
153 local = argv[1]; in export_raw()
168 …log_info("Exporting '%s', saving to '%s' with compression '%s'.", local, path, import_compress_typ… in export_raw()
[all …]
Dpull-raw.c63 … char *local; /* In PULL_DIRECT mode the path we are supposed to place things in, otherwise the member
111 free(i->local); in raw_pull_unref()
314 const char *local; in raw_pull_copy_auxiliary_file() local
325 local = strjoina(i->image_root, "/", i->local, suffix); in raw_pull_copy_auxiliary_file()
329 local, in raw_pull_copy_auxiliary_file()
336 log_warning_errno(r, "File %s already exists, not replacing.", local); in raw_pull_copy_auxiliary_file()
340 log_warning_errno(r, "Failed to copy file %s, ignoring: %m", local); in raw_pull_copy_auxiliary_file()
342 log_info("Created new file %s.", local); in raw_pull_copy_auxiliary_file()
358 if (!i->local) in raw_pull_make_local_copy()
379 p = strjoina(i->image_root, "/", i->local, ".raw"); in raw_pull_make_local_copy()
[all …]
Dimport-tar.c39 char *local; member
85 free(i->local); in tar_import_unref()
175 assert_se(d = i->temp_path ?: i->local); in tar_import_finish()
188 … return log_error_errno(r, "Failed to move '%s' into place: %m", i->final_path ?: i->local); in tar_import_finish()
200 assert(i->local); in tar_import_fork_tar()
206 d = i->local; in tar_import_fork_tar()
209 i->final_path = path_join(i->image_root, i->local); in tar_import_fork_tar()
340 int tar_import_start(TarImport *i, int fd, const char *local, ImportFlags flags) { in tar_import_start() argument
345 assert(local); in tar_import_start()
348 if (!import_validate_local(local, flags)) in tar_import_start()
[all …]
Dimport-raw.c38 char *local; member
83 free(i->local); in raw_import_unref()
242 r = install_file(AT_FDCWD, i->temp_path ?: i->local, in raw_import_finish()
261 assert(i->local); in raw_import_open_disk()
267 (void) mkdir_parents_label(i->local, 0700); in raw_import_open_disk()
275 …i->output_fd = open(i->local, O_RDWR|O_NOCTTY|O_CLOEXEC|(i->offset == UINT64_MAX ? O_TRUNC|O_CREAT… in raw_import_open_disk()
277 … return log_error_errno(errno, "Failed to open destination '%s': %m", i->local); in raw_import_open_disk()
280 (void) import_set_nocow_and_log(i->output_fd, i->local); in raw_import_open_disk()
282 i->final_path = strjoin(i->image_root, "/", i->local, ".raw"); in raw_import_open_disk()
484 const char *local, in raw_import_start() argument
[all …]
Dpull-tar.c57 char *local; member
91 free(i->local); in tar_pull_unref()
229 if (!i->local) in tar_pull_make_local_copy()
234 p = prefix_roota(i->image_root, i->local); in tar_pull_make_local_copy()
263 log_info("Created new local image '%s'.", i->local); in tar_pull_make_local_copy()
273 local_settings = strjoina(i->image_root, "/", i->local, ".nspawn"); in tar_pull_make_local_copy()
399 assert(i->local); in tar_pull_job_on_finished()
404 r = import_mangle_os_tree(i->local); in tar_pull_job_on_finished()
409 AT_FDCWD, i->local, in tar_pull_job_on_finished()
414 log_error_errno(r, "Failed to finalize '%s': %m", i->local); in tar_pull_job_on_finished()
[all …]
/systemd-251/shell-completion/bash/
Dbusctl20 local w word=$1; shift
27 local a b
33 local mode=$1
34 local a b
40 local mode=$1
41 local busname=$2
42 local a b
48 local mode=$1
49 local busname=$2
50 local path=$3
[all …]
Dsystemd-run20 local mode=$1; shift 1
28 local a b
33 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
34local OPTS='--no-ask-password --scope -u --unit -p --property --description --slice --slice-inherit
42 local mode=--system
43 local i
44 local opts_with_values=(
51 local root_command=${COMP_WORDS[i]}
67 local comps=$(__get_slice_units $mode)
73 local comps='simple forking oneshot dbus notify idle'
[all …]
Dudevadm22 local w word=$1; shift
29 local -a devs=(/sys/bus/*/devices/*/ /sys/class/*/*/)
34 local i
46 local i verb comps builtin
47 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
48 local -A OPTS=(
71 local verbs=(info trigger settle control monitor test-builtin test wait lock)
72local builtins=(blkid btrfs hwdb input_id keyboard kmod net_id net_setup_link path_id usb_id uacce…
99 local IFS=$'\n'
116 local IFS=$'\n'
[all …]
Dtimedatectl22 local w word=$1; shift
29 local a b
34 local name
40 local i verb comps
41 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
42 local OPTS='-h --help --version --adjust-system-clock --no-pager
64 local -A VERBS=(
65 [BOOLEAN]='set-local-rtc set-ntp'
Dsystemd-nspawn20 local w word=$1; shift
27 local a b
32 local a b
37 local a b
42 local a
47 local name
54 local i
61 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]} words cword
62 local i verb comps
64 local -A OPTS=(
Dhostnamectl22 local w word=$1; shift
29 local a b
35 local i verb comps
36 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
37 local -A OPTS=(
66 local -A VERBS=(
Doomctl20 local w word=$1; shift
27 local i verb comps
28 local cur=${COMP_WORDS[COMP_CWORD]} prev=${COMP_WORDS[COMP_CWORD-1]}
29 local OPTS='-h --help --version --no-pager'
36 local -A VERBS=(
/systemd-251/shell-completion/zsh/
D_busctl23 local -a _busctl_cmds
38 local curcontext="$curcontext"
68 local -a _json_forms
75 local -a bus_names
86 local -a bus_names
87 local NAME OTHER
96 local -a objects
97 local name="$1"
104 local NAME TYPE OTHER
115 local member="$4"
[all …]
D_timedatectl5 local -a _timezones
14 _timedatectl_set-local-rtc(){
15 local -a _options
18 '1:Maintain RTC in local time'
24 local -a _options
33 local -a _timedatectl_cmds
39 'set-local-rtc:Control whether RTC is in local time'
45 local curcontext="$curcontext"
62 '--adjust-system-clock[Adjust system clock when changing local RTC mode]' \
66 {-M+,--machine=}'[Operate on local container]:machines:_sd_machines' \
D_systemctl.in6 local expl i
8 local -a unit_commands=(
38 local -a machine_commands=(
40 "list-machines:List the host and all running local containers"
43 local -a unit_file_commands=(
63 local -a job_commands=(
69 local -a environment_commands=(
77 local -a manager_state_commands=(
86 local -a system_commands=(
104 local -a groups=( unit machine unit_file job environment manager_state system )
[all …]
D_localectl6 local -a _locales locale_fields
13 local expl suf
17 local conf=${PREFIX%%\=*}
27 local -a _keymaps
39 local -a _file _layout _model _variant _options
40 local _xorg_lst
64 local -a _localectl_cmds
80 local curcontext="$curcontext"
97 {-M+,--machine=}'[Operate on local container]:machine' \
D_loginctl6 local session description
15 local uid description
24 local seat description
31 local fun
36 local -a _sys_all_sessions{,_descr}
50 local expl
60 local -a _sys_all_users{,_descr}
76 local expl
85 local -a _sys_all_seats{,_descr}
99 local expl
[all …]
D_journalctl6 local -a journal_fields
27 local -a _commands _files _jrnl_none
39 local -a _fields cmd
51 local -a _bootid _previousboots
61 local -a _journalctl_facilities
68 local -a _modes; _modes=(--user --system)
69 local -a _modes_with_arg; _modes_with_arg=(--directory -D --file -M --machine --root)
71 local w k v i=0 n=$#words
95 --no-hostname"[Don't show the hostname of local log messages]" \
123 …'(--directory -D -M --machine --root --file)'{-M+,--machine=}'[Operate on local container]:machine…
/systemd-251/coccinelle/
Derrno.cocci4 local idexpression r;
12 local idexpression r;
20 local idexpression r;
29 local idexpression r;
45 local idexpression r;
52 local idexpression r;
61 local idexpression r;
70 local idexpression r;
80 local idexpression r;
99 local idexpression r;
/systemd-251/src/machine/
Dmachinectl.c1842 const char *local = NULL, *path = NULL; in import_tar() local
1853 local = empty_or_dash_to_null(argv[2]); in import_tar()
1862 local = fn; in import_tar()
1864 if (!local) in import_tar()
1868 r = tar_strip_suffixes(local, &ll); in import_tar()
1872 local = ll; in import_tar()
1874 if (!hostname_is_valid(local, 0)) in import_tar()
1877 local); in import_tar()
1893 local, in import_tar()
1905 const char *local = NULL, *path = NULL; in import_raw() local
[all …]
/systemd-251/src/resolve/
Dresolved-dns-stream.c106 s->local_salen = sizeof(s->local); in dns_stream_identify()
107 r = getsockname(s->fd, &s->local.sa, &s->local_salen); in dns_stream_identify()
110 if (s->local.sa.sa_family == AF_INET6 && s->ifindex <= 0) in dns_stream_identify()
111 s->ifindex = s->local.in6.sin6_scope_id; in dns_stream_identify()
122 assert(s->peer.sa.sa_family == s->local.sa.sa_family); in dns_stream_identify()
192 …s->ifindex = manager_find_ifindex(s->manager, s->local.sa.sa_family, sockaddr_in_addr(&s->local.sa… in dns_stream_identify()
196 r = socket_set_unicast_if(s->fd, s->local.sa.sa_family, s->ifindex); in dns_stream_identify()
398 … s->read_packet->destination.in = s->local.in.sin_addr; in on_stream_io()
399 … s->read_packet->destination_port = be16toh(s->local.in.sin_port); in on_stream_io()
404 … s->read_packet->destination.in6 = s->local.in6.sin6_addr; in on_stream_io()
[all …]

12345678910