Searched refs:SAFE_FCNTL (Results 1 – 11 of 11) sorted by relevance
/external/ltp/testcases/kernel/syscalls/epoll_create1/ |
D | epoll_create1_01.c | 30 coe = SAFE_FCNTL(fd, F_GETFD); in verify_epoll_create1() 40 coe = SAFE_FCNTL(fd, F_GETFD); in verify_epoll_create1()
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
D | fcntl36.c | 127 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 133 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_w() 227 SAFE_FCNTL(fd, F_SETLKW, &lck); in fn_posix_r() 258 SAFE_FCNTL(fd, F_SETLK, &lck); in fn_posix_r()
|
D | fcntl_common.h | 23 return SAFE_FCNTL(fd, cmd, lck); in my_fcntl()
|
/external/ltp/testcases/kernel/syscalls/accept4/ |
D | accept4_01.c | 134 fdf = SAFE_FCNTL(acceptfd, F_GETFD); in verify_accept4() 143 flf = SAFE_FCNTL(acceptfd, F_GETFL); in verify_accept4()
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify08.c | 35 ret = SAFE_FCNTL(fd_notify, F_GETFD); in test_init_bit()
|
/external/ltp/testcases/kernel/syscalls/socket/ |
D | socket02.c | 46 res = SAFE_FCNTL(fd, tc->fl_flag); in verify_socket()
|
/external/ltp/testcases/kernel/syscalls/socketpair/ |
D | socketpair02.c | 51 res = SAFE_FCNTL(fds[i], tc->fl_flag); in verify_socketpair()
|
/external/ltp/testcases/kernel/syscalls/ftruncate/ |
D | ftruncate04.c | 123 SAFE_FCNTL(fd, F_SETLKW, &flocks); in dochild()
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
D | memfd_create_common.h | 56 ({int r = SAFE_FCNTL((fd), F_ADD_SEALS, (seals)); \
|
D | memfd_create_common.c | 212 int ret = SAFE_FCNTL((fd), F_GET_SEALS); in check_mfd_has_seals()
|
/external/ltp/include/ |
D | tst_safe_macros.h | 228 #define SAFE_FCNTL(fd, cmd, ...) \ macro
|