Home
last modified time | relevance | path

Searched refs:PTR_TO_FD (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/shared/
Dfdset.c62 log_debug("Closing set fd %i", PTR_TO_FD(p)); in fdset_close()
63 (void) close_nointr(PTR_TO_FD(p)); in fdset_close()
169 r = fd_cloexec(PTR_TO_FD(p), b); in fdset_cloexec()
218 a[j++] = PTR_TO_FD(e); in fdset_close_others()
240 return PTR_TO_FD(p); in fdset_iterate()
250 return PTR_TO_FD(p); in fdset_steal_first()
/systemd-251/src/basic/
Dasync.c86 assert_se(close_nointr(PTR_TO_FD(p)) != -EBADF); in close_thread()
Dfd-util.h17 #define PTR_TO_FD(p) (PTR_TO_INT(p)-1) macro
/systemd-251/src/home/
Dpam_systemd_home.c273 safe_close(PTR_TO_FD(data)); in cleanup_home_fd()
559 if (r == PAM_SUCCESS && PTR_TO_FD(home_fd_ptr) >= 0) in acquire_home()
725 if (r == PAM_NO_MODULE_DATA || (r == PAM_SUCCESS && PTR_TO_FD(home_fd_ptr) < 0)) in release_home_fd()
/systemd-251/src/test/
Dtest-loop-block.c34 int fd = PTR_TO_FD(ptr); in thread_func()