Home
last modified time | relevance | path

Searched refs:take_fd (Results 1 – 3 of 3) sorted by relevance

/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsocket_helpers.h28 #define take_fd(fd) __get_and_null(fd, -EBADF) macro
357 *p0 = take_fd(s); in create_pair()
365 *p0 = take_fd(p); in create_pair()
372 *p1 = take_fd(c); in create_pair()
/linux/fs/
H A Dnsfs.c115 return take_fd(fd); in open_namespace()
311 return take_fd(fd); in ns_ioctl()
/linux/include/linux/
H A Dfile.h117 #define take_fd(fd) __get_and_null(fd, -EBADF) macro