Searched refs:take_fd (Results 1 – 3 of 3) sorted by relevance
28 #define take_fd(fd) __get_and_null(fd, -EBADF) macro357 *p0 = take_fd(s); in create_pair()365 *p0 = take_fd(p); in create_pair()372 *p1 = take_fd(c); in create_pair()
115 return take_fd(fd); in open_namespace()311 return take_fd(fd); in ns_ioctl()
117 #define take_fd(fd) __get_and_null(fd, -EBADF) macro