Home
last modified time | relevance | path

Searched refs:safe_close (Results 1 – 9 of 9) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/memfd_create/
Dmemfd_create_common.c162 safe_close(filename, lineno, NULL, fd); in check_mfd_fail_new()
289 safe_close(filename, lineno, NULL, fd); in check_mfd_fail_open()
415 safe_close(filename, lineno, NULL, fd2); in check_mfd_shrinkable()
/third_party/ltp/lib/
Dtst_netdevice.c60 safe_close(file, lineno, NULL, sock); in tst_netdev_index_by_name()
86 safe_close(file, lineno, NULL, sock); in tst_netdev_set_state()
96 safe_close(file, lineno, NULL, sock); in tst_netdev_set_state()
Dtst_safe_io_uring.c84 ret = safe_close(file, lineno, NULL, uring->fd); in safe_io_uring_close()
Dtst_rtnetlink.c58 safe_close(file, lineno, NULL, ctx->socket); in tst_rtnl_destroy_context()
Dsafe_net.c539 ret = safe_close(file, lineno, cleanup_fn, sock); in tst_get_unused_port()
Dsafe_macros.c63 safe_close(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_close() function
/third_party/ltp/include/
Dsafe_macros_fn.h45 int safe_close(const char *file, const int lineno,
Dtst_safe_macros.h39 safe_close(__FILE__, __LINE__, NULL, (fd)); \
/third_party/ltp/include/old/
Dsafe_macros.h30 int ret = safe_close(__FILE__, __LINE__, (cleanup_fn), (fd)); \