Home
last modified time | relevance | path

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

/systemd-251/src/boot/
Dbless-boot.c319 static const char *skip_slash(const char *path) { in skip_slash() function
373 if (faccessat(fd, skip_slash(path), F_OK, 0) >= 0) { in verb_status()
380 if (faccessat(fd, skip_slash(good), F_OK, 0) >= 0) { in verb_status()
388 if (faccessat(fd, skip_slash(bad), F_OK, 0) >= 0) { in verb_status()
448 r = rename_noreplace(fd, skip_slash(source1), fd, skip_slash(target)); in verb_set()
453 r = rename_noreplace(fd, skip_slash(source2), fd, skip_slash(target)); in verb_set()
458 …if (faccessat(fd, skip_slash(target), F_OK, 0) >= 0) /* Hmm, if we can't find either source file, … in verb_set()
481 r = fsync_path_at(fd, skip_slash(parent)); in verb_set()
/systemd-251/src/libsystemd/sd-journal/
Dsd-journal.c1255 static const char *skip_slash(const char *p) { in skip_slash() function
1284 … fd = openat(j->toplevel_fd, skip_slash(path), O_RDONLY|O_CLOEXEC|O_NONBLOCK); in add_any_file()
1553 d = xopendirat(j->toplevel_fd, skip_slash(path), 0); in directory_open()