Home
last modified time | relevance | path

Searched refs:at_fd (Results 1 – 2 of 2) sorted by relevance

/systemd-251/src/basic/
Dsync-util.c88 int fsync_path_at(int at_fd, const char *path) { in fsync_path_at() argument
93 if (at_fd == AT_FDCWD) { in fsync_path_at()
100 fd = at_fd; in fsync_path_at()
102 opened_fd = openat(at_fd, path, O_RDONLY|O_CLOEXEC|O_NONBLOCK); in fsync_path_at()
112 int fsync_parent_at(int at_fd, const char *path) { in fsync_parent_at() argument
116 if (at_fd != AT_FDCWD) in fsync_parent_at()
117 return fsync_directory_of_file(at_fd); in fsync_parent_at()
126 opened_fd = openat(at_fd, path, O_PATH|O_CLOEXEC|O_NOFOLLOW); in fsync_parent_at()
133 int fsync_path_and_parent_at(int at_fd, const char *path) { in fsync_path_and_parent_at() argument
137 if (at_fd != AT_FDCWD) in fsync_path_and_parent_at()
[all …]
Dsync-util.h7 int fsync_path_at(int at_fd, const char *path);
8 int fsync_parent_at(int at_fd, const char *path);
9 int fsync_path_and_parent_at(int at_fd, const char *path);
11 int syncfs_path(int at_fd, const char *path);