Lines Matching refs:fn
296 static bool unix_socket_alive(const char *fn) {
297 assert(fn);
302 return !!set_get(unix_sockets, (char*) fn);
626 char fn[strlen("/proc/self/fd/") + DECIMAL_STR_MAX(int)];
627 xsprintf(fn, "/proc/self/fd/%i", fd);
648 if (chmod(fn, m) < 0)
659 if (chown(fn,
800 char fn[strlen("/proc/self/fd/") + DECIMAL_STR_MAX(int)];
819 xsprintf(fn, "/proc/self/fd/%i", fd);
822 r = path_set_acl(fn, path, ACL_TYPE_ACCESS, item->acl_access, item->force);
825 r = path_set_acl(fn, path, ACL_TYPE_DEFAULT, item->acl_default, item->force);
1112 char **fn;
1119 STRV_FOREACH(fn, g.gl_pathv) {
1120 k = action(i, *fn);
1125 k = item_do_children(i, *fn, action);
2203 static int read_config_file(const char *fn, bool ignore_enoent) {
2211 assert(fn);
2213 r = search_and_fopen_nulstr(fn, "re", arg_root, conf_file_dirs, &f);
2216 log_debug_errno(r, "Failed to open \"%s\": %m", fn);
2220 return log_error_errno(r, "Failed to open '%s', ignoring: %m", fn);
2222 log_debug("Reading config file \"%s\".", fn);
2234 k = parse_line(fn, v, l);
2268 log_error_errno(errno, "Failed to read from file %s: %m", fn);