Home
last modified time | relevance | path

Searched refs:INSTALL_FSYNC_FULL (Results 1 – 7 of 7) sorted by relevance

/systemd-251/src/test/
Dtest-install-file.c30 assert_se(install_file(AT_FDCWD, a, AT_FDCWD, b, INSTALL_FSYNC_FULL) == -EEXIST); in TEST()
31 assert_se(install_file(AT_FDCWD, a, AT_FDCWD, b, INSTALL_FSYNC_FULL|INSTALL_REPLACE) >= 0); in TEST()
38 …assert_se(install_file(AT_FDCWD, b, AT_FDCWD, a, INSTALL_FSYNC_FULL|INSTALL_REPLACE|INSTALL_READ_O… in TEST()
55 assert_se(install_file(AT_FDCWD, b, AT_FDCWD, a, INSTALL_FSYNC_FULL) == -EEXIST); in TEST()
56 assert_se(install_file(AT_FDCWD, b, AT_FDCWD, a, INSTALL_FSYNC_FULL|INSTALL_REPLACE) == 0); in TEST()
60 assert_se(install_file(AT_FDCWD, b, AT_FDCWD, a, INSTALL_FSYNC_FULL) == -EEXIST); in TEST()
61 assert_se(install_file(AT_FDCWD, b, AT_FDCWD, a, INSTALL_FSYNC_FULL|INSTALL_REPLACE) == 0); in TEST()
/systemd-251/src/shared/
Dinstall-file.c120 if ((flags & (INSTALL_FSYNC|INSTALL_FSYNC_FULL|INSTALL_SYNCFS|INSTALL_READ_ONLY)) != 0) { in install_file()
142 if ((flags & (INSTALL_FSYNC_FULL|INSTALL_SYNCFS)) != 0) { in install_file()
170 } else if (flags & INSTALL_FSYNC_FULL) { in install_file()
190 if (target_name && (flags & (INSTALL_FSYNC_FULL|INSTALL_SYNCFS)) != 0) { in install_file()
260 if ((flags & (INSTALL_FSYNC_FULL|INSTALL_SYNCFS)) != 0) { in install_file()
Dinstall-file.h10INSTALL_FSYNC_FULL = 1 << 3, /* like INSTALL_FSYNC, but also fsync() parent dir before+after movin… enumerator
/systemd-251/src/import/
Dpull-raw.c408 (i->flags & PULL_SYNC ? INSTALL_FSYNC_FULL : 0)); in raw_pull_make_local_copy()
490 (i->flags & PULL_SYNC ? INSTALL_FSYNC_FULL : 0)); in raw_pull_rename_auxiliary_file()
605 (i->flags & PULL_SYNC ? INSTALL_FSYNC_FULL : 0)); in raw_pull_job_on_finished()
633 (i->flags & PULL_SYNC ? INSTALL_FSYNC_FULL : 0)); in raw_pull_job_on_finished()
Dimport-raw.c246 (i->flags & IMPORT_SYNC ? INSTALL_FSYNC_FULL : 0)); in raw_import_finish()
Dpull-tar.c465 (i->flags & PULL_SYNC ? INSTALL_FSYNC_FULL : 0)); in tar_pull_job_on_finished()
/systemd-251/src/sysupdate/
Dsysupdate-transfer.c1158 … (t->target.type == RESOURCE_REGULAR_FILE ? INSTALL_FSYNC_FULL : INSTALL_SYNCFS)); in transfer_install_instance()