Searched refs:fname (Results 1 - 13 of 13) sorted by relevance

/systemd/src/basic/
H A Dfileio-label.h28 int write_env_file_label(const char *fname, char **l);
H A Dfileio-label.c41 int write_env_file_label(const char *fname, char **l) { argument
44 r = mac_selinux_create_file_prepare(fname, S_IFREG);
48 r = write_env_file(fname, l);
H A Dfileio.h47 int parse_env_file(const char *fname, const char *separator, ...) _sentinel_;
48 int load_env_file(FILE *f, const char *fname, const char *separator, char ***l);
49 int load_env_file_pairs(FILE *f, const char *fname, const char *separator, char ***l);
51 int write_env_file(const char *fname, char **l);
H A Dfileio.c295 const char *fname,
327 r = read_full_file(fname, &contents, NULL);
389 r = push(fname, line, key, value, userdata, n_pushed);
434 r = push(fname, line, key, value, userdata, n_pushed);
569 r = push(fname, line, key, value, userdata, n_pushed);
632 const char *fname,
642 r = parse_env_file_internal(NULL, fname, newline, parse_env_file_push, &ap, &n_pushed);
686 int load_env_file(FILE *f, const char *fname, const char *newline, char ***rl) { argument
693 r = parse_env_file_internal(f, fname, newline, load_env_file_push, &m, NULL);
745 int load_env_file_pairs(FILE *f, const char *fname, cons argument
293 parse_env_file_internal( FILE *f, const char *fname, const char *newline, int (*push) (const char *filename, unsigned line, const char *key, char *value, void *userdata, int *n_pushed), void *userdata, int *n_pushed) argument
631 parse_env_file( const char *fname, const char *newline, ...) argument
793 write_env_file(const char *fname, char **l) argument
[all...]
/systemd/src/sysusers/
H A Dsysusers.c1377 static int parse_line(const char *fname, unsigned line, const char *buffer) { argument
1394 assert(fname);
1402 log_error("[%s:%u] Syntax error.", fname, line);
1406 log_error("[%s:%u] Missing action and name columns.", fname, line);
1410 log_error("[%s:%u] Trailing garbage.", fname, line);
1416 log_error("[%s:%u] Unknown modifier '%s'", fname, line, action);
1421 log_error("[%s:%u] Unknown command command type '%c'.", fname, line, action[0]);
1432 log_error("[%s:%u] Failed to replace specifiers: %s", fname, line, name);
1437 log_error("[%s:%u] '%s' is not a valid user or group name.", fname, line, resolved_name);
1449 log_error("[%s:%u] Failed to replace specifiers: %s", fname, lin
[all...]
/systemd/src/coredump/
H A Dstacktrace.c46 const char *fname = NULL, *symbol = NULL; local
90 fname = dwfl_module_info(module, NULL, NULL, NULL, NULL, NULL, NULL, NULL);
93 fprintf(c->f, "#%-2u 0x%016" PRIx64 " %s (%s)\n", c->n_frame, (uint64_t) pc, strna(symbol), strna(fname));
/systemd/test/
H A Dsysv-generator-test.py102 def add_sysv(self, fname, keys, enable=False, prio=1):
111 name_without_sh = fname.endswith('.sh') and fname[:-3] or fname
121 script = os.path.join(self.init_d_dir, fname)
135 os.symlink('../init.d/' + fname, os.path.join(d, prefix + fname))
/systemd/src/tmpfiles/
H A Dtmpfiles.c1810 static int parse_line(const char *fname, unsigned line, const char *buffer) { argument
1819 assert(fname);
1835 return log_error_errno(r, "[%s:%u] Failed to parse line: %m", fname, line);
1837 log_error("[%s:%u] Syntax error.", fname, line);
1848 log_error("[%s:%u] Command too short '%s'.", fname, line, action);
1859 fname, line, action);
1875 log_error("[%s:%u] Failed to replace specifiers: %s", fname, line, path);
1895 log_warning("[%s:%u] %c lines don't take argument fields, ignoring.", fname, line, i.type);
1913 log_error("[%s:%u] Write file requires argument.", fname, line);
1924 log_error("[%s:%u] Source path is not absolute.", fname, lin
[all...]
/systemd/src/dbus1-generator/
H A Ddbus1-generator.c151 static int add_dbus(const char *path, const char *fname, const char *type) { argument
166 assert(fname);
168 p = strjoina(path, "/", fname);
/systemd/src/journal/
H A Djournald-stream.c557 static int stdout_stream_load(StdoutStream *stream, const char *fname) { argument
567 assert(fname);
570 stream->state_file = strappend("/run/systemd/journal/streams/", fname);
622 static int stdout_stream_restore(Server *s, const char *fname, int fd) { argument
627 assert(fname);
643 (void) stdout_stream_load(stream, fname);
H A Djournal-file.h132 const char *fname,
146 const char *fname,
H A Djournal-file.c2706 const char *fname,
2721 assert(fname);
2728 if (!endswith(fname, ".journal") &&
2729 !endswith(fname, ".journal~"))
2761 f->path = strdup(fname);
2954 const char *fname,
2968 r = journal_file_open(fname, flags, mode, compress, seal, metrics, mmap_cache, template, ret);
2986 if (!endswith(fname, ".journal"))
2991 l = strlen(fname);
2993 (int) l - 8, fname,
2705 journal_file_open( const char *fname, int flags, mode_t mode, bool compress, bool seal, JournalMetrics *metrics, MMapCache *mmap_cache, JournalFile *template, JournalFile **ret) argument
2953 journal_file_open_reliably( const char *fname, int flags, mode_t mode, bool compress, bool seal, JournalMetrics *metrics, MMapCache *mmap_cache, JournalFile *template, JournalFile **ret) argument
[all...]
H A Djournald-server.c241 const char *fname,
250 assert(fname);
254 r = journal_file_open_reliably(fname, flags, 0640, s->compress, seal, metrics, s->mmap, NULL, &f);
256 r = journal_file_open(fname, flags, 0640, s->compress, seal, metrics, s->mmap, NULL, &f);
238 open_journal( Server *s, bool reliably, const char *fname, int flags, bool seal, JournalMetrics *metrics, JournalFile **ret) argument

Completed in 3376 milliseconds