Home
last modified time | relevance | path

Searched refs:target_name (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/shared/
Dinstall-file.c98 int target_atfd, const char *target_name, in install_file() argument
190 if (target_name && (flags & (INSTALL_FSYNC_FULL|INSTALL_SYNCFS)) != 0) { in install_file()
200 if (target_name) { in install_file()
205 if (renameat(source_atfd, source_name, target_atfd, target_name) < 0) { in install_file()
217 … dfd = openat(target_atfd, target_name, O_RDONLY|O_DIRECTORY|O_CLOEXEC, 0); in install_file()
221 … if (renameat2(source_atfd, source_name, target_atfd, target_name, RENAME_EXCHANGE) < 0) { in install_file()
231 r = unlinkat_maybe_dir(target_atfd, target_name); in install_file()
235 … if (renameat(source_atfd, source_name, target_atfd, target_name) < 0) in install_file()
248 r = rename_noreplace(source_atfd, source_name, target_atfd, target_name); in install_file()
261 if (target_name) in install_file()
[all …]
Dinstall-file.h14 int install_file(int source_atfd, const char *source_name, int target_atfd, const char *target_name
/systemd-251/test/units/
Dtestsuite-64.sh386 local dev i label link lun_id mpoint target_name uuid
403 target_name="iqn.2021-09.com.example:iscsi.test"
406 tgtadm --lld iscsi --op new --mode target --tid=1 --targetname "$target_name"
413 "/dev/disk/by-path/ip-$target_ip:$target_port-iscsi-$target_name-lun-$lun_id"
419 iscsiadm --mode node --targetname "$target_name" --portal "$target_ip:$target_port" --login
423 iscsiadm --mode node --targetname "$target_name" --portal "$target_ip:$target_port" --logout
430 target_name="iqn.2021-09.com.example:iscsi.lvm.test"
442 tgtadm --lld iscsi --op new --mode target --tid=2 --targetname "$target_name"
448 "/dev/disk/by-path/ip-$target_ip:$target_port-iscsi-$target_name-lun-$i"
454 iscsiadm --mode node --targetname "$target_name" --portal "$target_ip:$target_port" --login
[all …]
/systemd-251/src/basic/
Dunit-file.c341 _cleanup_free_ char *target_name = NULL; in unit_file_resolve_symlink() local
343 r = path_extract_filename(simplified, &target_name); in unit_file_resolve_symlink()
354 dst = resolve_destination_target ? TAKE_PTR(simplified) : TAKE_PTR(target_name); in unit_file_resolve_symlink()
/systemd-251/src/shared/linux/
Dbpf.h5697 __aligned_u64 target_name; /* in/out: target_name buffer ptr */ member