Searched refs:PTR_TO_FD (Results 1 - 4 of 4) sorted by relevance

/systemd/src/basic/
H A Dasync.c72 assert_se(close_nointr(PTR_TO_FD(p)) != -EBADF);
H A Dfdset.c82 log_debug("Closing left-over fd %i", PTR_TO_FD(p));
83 close_nointr(PTR_TO_FD(p));
205 r = fd_cloexec(PTR_TO_FD(p), b);
254 a[j++] = PTR_TO_FD(e);
275 return PTR_TO_FD(p);
285 return PTR_TO_FD(p);
H A Dfd-util.h31 #define PTR_TO_FD(p) (PTR_TO_INT(p)-1) macro
/systemd/src/import/
H A Dcurl-util.c49 translated_fd = PTR_TO_FD(hashmap_get(g->translate_fds, FD_TO_PTR(fd)));

Completed in 263 milliseconds