Searched refs:safe_close (Results 1 – 9 of 9) sorted by relevance
/third_party/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.c | 162 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/ |
D | tst_netdevice.c | 60 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()
|
D | tst_safe_io_uring.c | 84 ret = safe_close(file, lineno, NULL, uring->fd); in safe_io_uring_close()
|
D | tst_rtnetlink.c | 58 safe_close(file, lineno, NULL, ctx->socket); in tst_rtnl_destroy_context()
|
D | safe_net.c | 539 ret = safe_close(file, lineno, cleanup_fn, sock); in tst_get_unused_port()
|
D | safe_macros.c | 63 safe_close(const char *file, const int lineno, void (*cleanup_fn) (void), in safe_close() function
|
/third_party/ltp/include/ |
D | safe_macros_fn.h | 45 int safe_close(const char *file, const int lineno,
|
D | tst_safe_macros.h | 39 safe_close(__FILE__, __LINE__, NULL, (fd)); \
|
/third_party/ltp/include/old/ |
D | safe_macros.h | 30 int ret = safe_close(__FILE__, __LINE__, (cleanup_fn), (fd)); \
|