/external/ltp/testcases/kernel/syscalls/ioctl/ |
D | ioctl06.c | 36 SAFE_IOCTL(fd, BLKRAGET, &rao); in verify_ioctl() 41 SAFE_IOCTL(fd, BLKRASET, ra); in verify_ioctl() 42 SAFE_IOCTL(fd, BLKRAGET, &rab); in verify_ioctl() 52 SAFE_IOCTL(fd, BLKRASET, rao); in verify_ioctl()
|
D | ioctl04.c | 35 SAFE_IOCTL(fd, BLKROGET, &ro); in verify_ioctl() 43 SAFE_IOCTL(fd, BLKROSET, &ro); in verify_ioctl() 46 SAFE_IOCTL(fd, BLKROGET, &ro); in verify_ioctl() 80 SAFE_IOCTL(fd, BLKROSET, &ro); in verify_ioctl()
|
D | ioctl05.c | 42 SAFE_IOCTL(fd, BLKGETSIZE, &size); in verify_ioctl() 43 SAFE_IOCTL(fd, BLKGETSIZE64, &size64); in verify_ioctl()
|
D | ioctl07.c | 42 SAFE_IOCTL(fd, RNDGETENTCNT, &cnt); in verify_ioctl()
|
D | ioctl03.c | 89 SAFE_IOCTL(netfd, TUNGETFEATURES, &features); in verify_features()
|
D | ioctl02.c | 370 SAFE_IOCTL(cleanup, pfd, TCFLSH, 2); in do_parent_setup() 433 SAFE_IOCTL(cleanup, fd, TCGETA, &save_io); in setup()
|
/external/ltp/testcases/kernel/input/ |
D | input_helper.c | 202 SAFE_IOCTL(NULL, fd, UI_DEV_CREATE, NULL); in create_device() 216 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY); in setup_mouse_events() 217 SAFE_IOCTL(NULL, fd, UI_SET_KEYBIT, BTN_LEFT); in setup_mouse_events() 218 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_REL); in setup_mouse_events() 219 SAFE_IOCTL(NULL, fd, UI_SET_RELBIT, REL_X); in setup_mouse_events() 220 SAFE_IOCTL(NULL, fd, UI_SET_RELBIT, REL_Y); in setup_mouse_events() 225 SAFE_IOCTL(NULL, fd, UI_DEV_DESTROY, NULL); in destroy_device()
|
D | input06.c | 86 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY); in setup() 87 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_REP); in setup() 88 SAFE_IOCTL(NULL, fd, UI_SET_KEYBIT, KEY_X); in setup() 93 SAFE_IOCTL(NULL, fd2, EVIOCGRAB, 1); in setup()
|
D | input05.c | 86 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY); in setup() 87 SAFE_IOCTL(NULL, fd, UI_SET_KEYBIT, BTN_LEFT); in setup()
|
D | input03.c | 85 SAFE_IOCTL(NULL, fd, UI_SET_EVBIT, EV_KEY); in setup() 86 SAFE_IOCTL(NULL, fd, UI_SET_KEYBIT, BTN_RIGHT); in setup()
|
D | input02.c | 92 SAFE_IOCTL(NULL, fd2, EVIOCGRAB, 1); in send_information()
|
/external/ltp/testcases/network/packet/ |
D | fanout01.c | 79 SAFE_IOCTL(fd, SIOCGIFINDEX, &ifr); in run() 82 SAFE_IOCTL(fd, SIOCGIFFLAGS, &ifr); in run() 84 SAFE_IOCTL(fd, SIOCSIFFLAGS, &ifr); in run()
|
/external/ltp/testcases/kernel/tracing/pt_test/ |
D | pt_test.c | 97 SAFE_IOCTL(fde, PERF_EVENT_IOC_RESET); in intel_pt_full_trace_check() 98 SAFE_IOCTL(fde, PERF_EVENT_IOC_ENABLE); in intel_pt_full_trace_check() 101 SAFE_IOCTL(fde, PERF_EVENT_IOC_DISABLE); in intel_pt_full_trace_check()
|
/external/ltp/testcases/kernel/syscalls/statx/ |
D | statx04.c | 166 SAFE_IOCTL(fd, FS_IOC_GETFLAGS, &attr); in cleanup() 168 SAFE_IOCTL(fd, FS_IOC_SETFLAGS, &attr); in cleanup()
|
/external/ltp/lib/newlib_tests/ |
D | tst_device.c | 37 SAFE_IOCTL(fd, BLKGETSIZE64, <p_dev_size); in do_test()
|
/external/ltp/testcases/kernel/pty/ |
D | pty02.c | 64 SAFE_IOCTL(pts, FIONREAD, &nbytes); in do_test()
|
/external/ltp/testcases/kernel/syscalls/pwritev/ |
D | pwritev03.c | 107 SAFE_IOCTL(dev_fd, BLKSSZGET, &ret); in setup()
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
D | preadv03.c | 108 SAFE_IOCTL(dev_fd, BLKSSZGET, &ret); in setup()
|
/external/ltp/testcases/kernel/syscalls/accept/ |
D | accept01.c | 182 SAFE_IOCTL(cleanup, s, FIONBIO, &one); in setup3()
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
D | sockioctl01.c | 230 SAFE_IOCTL(cleanup, s, SIOCGIFCONF, &ifc); in setup3()
|
/external/ltp/include/old/ |
D | safe_macros.h | 332 #define SAFE_IOCTL(cleanup_fn, fd, request, ...) \ macro
|
/external/ltp/include/ |
D | tst_safe_macros.h | 220 #define SAFE_IOCTL(fd, request, ...) \ macro
|