Home
last modified time | relevance | path

Searched refs:fdname (Results 1 – 8 of 8) sorted by relevance

/systemd-251/src/login/
Dlogind.c361 static int parse_fdname(const char *fdname, char **session_id, dev_t *dev) { in parse_fdname() argument
367 parts = strv_split(fdname, "-"); in parse_fdname()
396 static int deliver_fd(Manager *m, const char *fdname, int fd) { in deliver_fd() argument
407 r = parse_fdname(fdname, &id, &dev); in deliver_fd()
409 return log_debug_errno(r, "Failed to parse fd name %s: %m", fdname); in deliver_fd()
/systemd-251/src/core/
Dsocket.h159 char *fdname; member
Dservice.h96 char *fdname; member
Ddbus-socket.c159 static BUS_DEFINE_SET_TRANSIENT_STRING_WITH_CHECK(fdname, fdname_is_valid);
291 return bus_set_transient_fdname(u, name, &s->fdname, message, flags, error); in bus_socket_set_transient_property()
Dservice.c324 free(fs->fdname); in service_fd_store_unlink()
418 fs->fd, strna(fs->fdname)); in on_fd_store_io()
455 .fdname = strdup(name ?: "stored"), in service_add_fd_store()
458 if (!fs->fdname) { in service_add_fd_store()
466 free(fs->fdname); in service_add_fd_store()
511 if (!streq(fs->fdname, name)) in service_remove_fd_store()
1351 rfd_names[n_fds] = strdup(strempty(fs->fdname)); in service_collect_fds()
2775 c = cescape(fs->fdname); in service_serialize()
Dsocket.c175 s->fdname = mfree(s->fdname); in socket_done()
3334 return s->fdname ?: UNIT(s)->id; in socket_fdname()
Dload-fragment.c2315 s->fdname = mfree(s->fdname); in config_parse_fdname()
2330 return free_and_replace(s->fdname, p); in config_parse_fdname()
/systemd-251/src/coredump/
Dcoredump.c610 _cleanup_free_ char *fdname = NULL; in compose_open_fds() local
613 r = readlinkat_malloc(dirfd(proc_fd_dir), de->d_name, &fdname); in compose_open_fds()
617 fprintf(stream, "%s%s:%s\n", fddelim, de->d_name, fdname); in compose_open_fds()