Home
last modified time | relevance | path

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

/external/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()
/external/ltp/lib/
Dtst_netdevice.c59 safe_close(file, lineno, NULL, sock); in tst_netdev_index_by_name()
85 safe_close(file, lineno, NULL, sock); in tst_netdev_set_state()
95 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.c522 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
/external/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)); \
/external/ltp/include/old/
Dsafe_macros.h30 int ret = safe_close(__FILE__, __LINE__, (cleanup_fn), (fd)); \