Searched refs:PTR_TO_FD (Results 1 – 5 of 5) sorted by relevance
62 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()
86 assert_se(close_nointr(PTR_TO_FD(p)) != -EBADF); in close_thread()
17 #define PTR_TO_FD(p) (PTR_TO_INT(p)-1) macro
273 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()
34 int fd = PTR_TO_FD(ptr); in thread_func()