Lines Matching refs:fn
30 FOREACH_STRING(fn, in chown_cgroup_path()
41 if (fchownat(fd, fn, uid_shift, uid_shift, 0) < 0) in chown_cgroup_path()
43 "Failed to chown \"%s/%s\", ignoring: %m", path, fn); in chown_cgroup_path()
84 const char *fn; in sync_cgroup() local
120 fn = strjoina(tree, cgroup); in sync_cgroup()
121 (void) rm_rf(fn, REMOVE_ROOT|REMOVE_ONLY_DIRECTORIES); in sync_cgroup()
123 fn = strjoina(tree, cgroup, "/cgroup.procs"); in sync_cgroup()
126 …r = write_string_file(fn, pid_string, WRITE_STRING_FILE_DISABLE_BUFFER|WRITE_STRING_FILE_MKDIR_075… in sync_cgroup()
132 fn = strjoina(tree, cgroup); in sync_cgroup()
133 r = chown_cgroup_path(fn, uid_shift); in sync_cgroup()
135 log_error_errno(r, "Failed to chown() cgroup %s: %m", fn); in sync_cgroup()