Home
last modified time | relevance | path

Searched refs:cfd (Results 1 – 9 of 9) sorted by relevance

/systemd-251/src/core/
Dsocket.c1362 int socket_load_service_unit(Socket *s, int cfd, Unit **ret) { in socket_load_service_unit() argument
1385 if (cfd >= 0) { in socket_load_service_unit()
1386 r = instance_from_socket(cfd, s->n_accepted, &instance); in socket_load_service_unit()
2298 _cleanup_close_ int cfd = cfd_in; in socket_enter_running() local
2310 if (cfd >= 0) in socket_enter_running()
2323 if (cfd < 0) { in socket_enter_running()
2358 r = socket_acquire_peer(s, cfd, &p); in socket_enter_running()
2375 r = socket_load_service_unit(s, cfd, &service); in socket_enter_running()
2388 r = service_set_socket_fd(SERVICE(service), cfd, s, p, s->selinux_context_from_net); in socket_enter_running()
2394 … TAKE_FD(cfd); /* We passed ownership of the fd to the service now. Forget it here. */ in socket_enter_running()
[all …]
Dimport-creds.c181 _cleanup_close_ int cfd = -1, nfd = -1; in import_credentials_boot() local
201 cfd = openat(source_dir_fd, d->d_name, O_RDONLY|O_CLOEXEC); in import_credentials_boot()
202 if (cfd < 0) { in import_credentials_boot()
207 if (fstat(cfd, &st) < 0) { in import_credentials_boot()
231 r = copy_bytes(cfd, nfd, st.st_size, 0); in import_credentials_boot()
Dsocket.h178 int socket_load_service_unit(Socket *s, int cfd, Unit **ret);
/systemd-251/src/resolve/
Dresolved-llmnr.c303 int cfd, r; in on_llmnr_stream() local
305 cfd = accept4(fd, NULL, NULL, SOCK_NONBLOCK|SOCK_CLOEXEC); in on_llmnr_stream()
306 if (cfd < 0) { in on_llmnr_stream()
314 r = dns_stream_new(m, &stream, DNS_STREAM_LLMNR_RECV, DNS_PROTOCOL_LLMNR, cfd, NULL, in on_llmnr_stream()
317 safe_close(cfd); in on_llmnr_stream()
Dresolved-dns-stub.c1057 int cfd, r; in on_dns_stub_stream_internal() local
1059 cfd = accept4(fd, NULL, NULL, SOCK_NONBLOCK|SOCK_CLOEXEC); in on_dns_stub_stream_internal()
1060 if (cfd < 0) { in on_dns_stub_stream_internal()
1067 r = dns_stream_new(m, &stream, DNS_STREAM_STUB, DNS_PROTOCOL_DNS, cfd, NULL, in on_dns_stub_stream_internal()
1070 safe_close(cfd); in on_dns_stub_stream_internal()
/systemd-251/src/basic/
Dsocket-util.c1131 int cfd; in flush_accept() local
1147 cfd = accept4(fd, NULL, NULL, SOCK_NONBLOCK|SOCK_CLOEXEC); in flush_accept()
1148 if (cfd < 0) { in flush_accept()
1158 safe_close(cfd); in flush_accept()
/systemd-251/src/shared/
Dvarlink.c2199 _cleanup_close_ int cfd = -1; in connect_callback() local
2208 cfd = accept4(fd, NULL, NULL, SOCK_NONBLOCK|SOCK_CLOEXEC); in connect_callback()
2209 if (cfd < 0) { in connect_callback()
2216 r = varlink_server_add_connection(ss->server, cfd, &v); in connect_callback()
2220 TAKE_FD(cfd); in connect_callback()
Dinstall.c733 int q, cfd; in remove_marked_symlinks() local
736 cfd = fcntl(fd, F_DUPFD_CLOEXEC, 3); in remove_marked_symlinks()
737 if (cfd < 0) in remove_marked_symlinks()
741 …q = remove_marked_symlinks_fd(remove_symlinks_to, cfd, config_path, config_path, lp, dry_run, &res… in remove_marked_symlinks()
/systemd-251/hwdb.d/
Dusb.ids20154 1cfd Flextronics Digital Design Japan, LTD.