Lines Matching defs:fd
28 #define take_fd(fd) __get_and_null(fd, -EBADF) argument
47 #define xaccept_nonblock(fd, addr, len) \ argument
56 #define xbind(fd, addr, len) \ argument
64 #define xclose(fd) \ argument
72 #define xconnect(fd, addr, len) \ argument
80 #define xgetsockname(fd, addr, len) \ argument
88 #define xgetsockopt(fd, level, name, val, len) \ argument
96 #define xlisten(fd, backlog) \ argument
104 #define xsetsockopt(fd, level, name, val, len) \ argument
112 #define xsend(fd, buf, len, flags) \ argument
120 #define xrecv_nonblock(fd, buf, len, flags) \ argument
137 static inline void close_fd(int *fd) in close_fd()
253 static inline int poll_connect(int fd, unsigned int timeout_sec) in poll_connect()
279 static inline int poll_read(int fd, unsigned int timeout_sec) in poll_read()
295 static inline int accept_timeout(int fd, struct sockaddr *addr, socklen_t *len, in accept_timeout()
304 static inline int recv_timeout(int fd, void *buf, size_t len, int flags, in recv_timeout()