Home
last modified time | relevance | path

Searched refs:__get_and_null (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Dcleanup.h215 #define __get_and_null(p, nullvalue) \ macro
228 ((typeof(p)) __must_check_fn((__force const volatile void *)__get_and_null(p, NULL)))
250 #define retain_and_null_ptr(p) ((void)__get_and_null(p, NULL))
H A Dfile.h117 #define take_fd(fd) __get_and_null(fd, -EBADF)
H A Didr.h134 #define take_idr_id(id) __get_and_null(id, idr_null)
/linux/tools/testing/selftests/bpf/prog_tests/
H A Dsocket_helpers.h21 #define __get_and_null(p, nullvalue) \ macro
29 #define take_fd(fd) __get_and_null(fd, -EBADF)