Searched refs:path_has_prefix (Results 1 – 1 of 1) sorted by relevance
/systemd-251/src/libsystemd/sd-journal/ |
D | sd-journal.c | 1234 static bool path_has_prefix(sd_journal *j, const char *path, const char *prefix) { in path_has_prefix() function 1249 if (!j->has_runtime_files && path_has_prefix(j, f->path, "/run")) in track_file_disposition() 1251 else if (!j->has_persistent_files && path_has_prefix(j, f->path, "/var")) in track_file_disposition() 1637 !((dirname && dirname_is_machine_id(dirname) > 0) || path_has_prefix(j, path, "/run"))) in add_directory() 1719 !path_has_prefix(j, p, "/run")) in add_root_directory()
|