/test/xts/hats/kernel/syscalls/async/pselect/ |
H A D | PselectApiTest.cpp | 74 fd_set readFds, writeFds; in HWTEST_F() 103 fd_set readFds; in HWTEST_F() 111 int retNum = pselect(10, reinterpret_cast<fd_set*>(invalidFdSet), nullptr, nullptr, &timeout, nullptr); in HWTEST_F() 126 fd_set readFds; in HWTEST_F() 134 int retNum = pselect(-1, reinterpret_cast<fd_set*>(invalidFdSet), nullptr, nullptr, &timeout, nullptr); in HWTEST_F()
|
/kernel/linux/linux-5.10/arch/powerpc/kernel/ |
H A D | syscalls.c | 82 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct __kernel_old_timeval __user *tvp) in ppc_select() 89 || __get_user(inp, ((fd_set __user * __user *)(buffer+1))) in ppc_select() 90 || __get_user(outp, ((fd_set __user * __user *)(buffer+2))) in ppc_select() 91 || __get_user(exp, ((fd_set __user * __user *)(buffer+3))) in ppc_select()
|
/kernel/linux/linux-6.6/tools/include/nolibc/ |
H A D | types.h | 70 /* commonly an fd_set represents 256 FDs */ 124 } fd_set; typedef 127 fd_set *__set = (set); \ 135 fd_set *__set = (set); \ 143 fd_set *__set = (set); \ 153 fd_set *__set = (set); \
|
H A D | sys.h | 909 * int select(int nfds, fd_set *read_fds, fd_set *write_fds, 910 * fd_set *except_fds, struct timeval *timeout); 914 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select() 919 fd_set *r, *w, *e; in sys_select() 942 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efd [all...] |
/kernel/liteos_a/syscall/ |
H A D | los_syscall.h | 221 extern int do_select(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
265 extern int SysSelect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeout);
266 extern int SysPselect6(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
|
H A D | fs_syscall.c | 1108 static int SelectParamCheckCopy(fd_set *readfds, fd_set *writefds, fd_set *exceptfds, fd_set **fdsBuf) in SelectParamCheckCopy() 1110 fd_set *readfdsRet = NULL; in SelectParamCheckCopy() 1111 fd_set *writefdsRet = NULL; in SelectParamCheckCopy() 1112 fd_set *exceptfdsRet = NULL; in SelectParamCheckCopy() 1114 *fdsBuf = (fd_set *)LOS_MemAlloc(OS_SYS_MEM_ADDR, sizeof(fd_set) * 3); /* 3: three param need check and copy */ in SelectParamCheckCopy() 1119 readfdsRet = *fdsBuf; /* LOS_MemAlloc 3 sizeof(fd_set) spac in SelectParamCheckCopy() [all...] |
/kernel/linux/linux-5.10/fs/ |
H A D | select.c | 370 * Scalable version of the fd_set. 386 * Use "unsigned long" accesses to let user-mode fd_set's be long-aligned. 624 int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, in core_sys_select() 625 fd_set __user *exp, struct timespec64 *end_time) in core_sys_select() 703 static int kern_select(int n, fd_set __user *inp, fd_set __user *outp, in kern_select() 704 fd_set __user *exp, struct __kernel_old_timeval __user *tvp) in kern_select() 725 SYSCALL_DEFINE5(select, int, n, fd_set __user *, inp, fd_set __use [all...] |
/kernel/linux/linux-6.6/fs/ |
H A D | select.c | 371 * Scalable version of the fd_set. 387 * Use "unsigned long" accesses to let user-mode fd_set's be long-aligned. 625 int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, in core_sys_select() 626 fd_set __user *exp, struct timespec64 *end_time) in core_sys_select() 704 static int kern_select(int n, fd_set __user *inp, fd_set __user *outp, in kern_select() 705 fd_set __user *exp, struct __kernel_old_timeval __user *tvp) in kern_select() 726 SYSCALL_DEFINE5(select, int, n, fd_set __user *, inp, fd_set __use [all...] |
/kernel/liteos_a/fs/include/fs/ |
H A D | fd_table.h | 48 fd_set *proc_fds;
49 fd_set *cloexec_fds;
|
/test/xts/acts/commonlibrary/thirdparty/musl32/entry/src/main/cpp/ |
H A D | fnmatch1ndk32.cpp | 106 extern "C" int __pselect_time64(int, fd_set *__restrict, fd_set *__restrict, fd_set *__restrict,
117 fd_set set;
in PSelect_time64()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | poll.h | 119 extern int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, 120 fd_set __user *exp, struct timespec64 *end_time);
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | poll.h | 113 extern int core_sys_select(int n, fd_set __user *inp, fd_set __user *outp, 114 fd_set __user *exp, struct timespec64 *end_time);
|
/kernel/linux/linux-5.10/tools/lib/subcmd/ |
H A D | pager.c | 39 fd_set in; in pager_preexec() 40 fd_set exception; in pager_preexec()
|
/kernel/linux/linux-6.6/tools/lib/subcmd/ |
H A D | pager.c | 39 fd_set in; in pager_preexec() 40 fd_set exception; in pager_preexec()
|
/kernel/liteos_a/testsuites/unittest/libc/io/full/ |
H A D | IO_test_pselect_001.cpp | 43 fd_set reads; in Testcase1() 66 fd_set rfds; in testcase()
|
/kernel/linux/linux-5.10/arch/powerpc/include/asm/ |
H A D | asm-prototypes.h | 96 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp,
|
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 172 fd_set rfds; 173 fd_set wfds; 174 fd_set efds;
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | test_syscall_vdso.c | 172 fd_set rfds; 173 fd_set wfds; 174 fd_set efds;
|
/kernel/liteos_a/fs/vfs/epoll/ |
H A D | fs_epoll.c | 55 STATIC fd_set g_epollFdSet; 71 fd_set *fdset = &g_epollFdSet; in EpollAllocSysFd() 102 fd_set *fdset = &g_epollFdSet; in EpollFreeSysFd()
|
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/ |
H A D | net_socket_test_008.cpp | 54 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds() 139 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds() 244 fd_set readfds; in SelectTest()
|
H A D | net_socket_test_011.cpp | 53 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds() 118 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds() 224 fd_set readfds; in UdpSelectTest()
|
/kernel/linux/linux-5.10/tools/testing/selftests/rtc/ |
H A D | rtctest.c | 91 fd_set readfds; in TEST_F() 116 fd_set readfds; in TEST_F() 170 fd_set readfds; in TEST_F() 218 fd_set readfds; 272 fd_set readfds;
|
/kernel/linux/linux-6.6/tools/testing/selftests/rtc/ |
H A D | rtctest.c | 172 fd_set readfds; in TEST_F() 197 fd_set readfds; in TEST_F() 255 fd_set readfds; in TEST_F() 307 fd_set readfds; 365 fd_set readfds;
|
/test/xts/acts/commonlibrary/thirdparty/musl/entry/src/main/cpp/ |
H A D | selectndk.cpp | 44 fd_set rfds;
in Select() 65 fd_set set = {PARAM_0};
in PSelect()
|
/kernel/linux/linux-5.10/tools/include/nolibc/ |
H A D | nolibc.h | 182 /* commonly an fd_set represents 256 FDs */ 184 typedef struct { uint32_t fd32[FD_SETSIZE/32]; } fd_set; typedef 1660 int sys_select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in sys_select() 1665 fd_set *r, *w, *e; in sys_select() 2134 int select(int nfds, fd_set *rfds, fd_set *wfds, fd_set *efds, struct timeval *timeout) in select() 2450 void FD_ZERO(fd_set *se [all...] |