Home
last modified time | relevance | path

Searched refs:fd_set (Results 1 – 25 of 53) sorted by relevance

123

/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsyscalls.c82 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp, struct __kernel_old_… 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/liteos_a/syscall/
Dlos_syscall.h221 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…
266 extern int SysPselect6(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
Dfs_syscall.c1108 static int SelectParamCheckCopy(fd_set *readfds, fd_set *writefds, fd_set *exceptfds, fd_set **fdsB… 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 chec… in SelectParamCheckCopy()
1124 if (LOS_ArchCopyFromUser(readfdsRet, readfds, sizeof(fd_set)) != 0) { in SelectParamCheckCopy()
1131 if (LOS_ArchCopyFromUser(writefdsRet, writefds, sizeof(fd_set)) != 0) { in SelectParamCheckCopy()
1138 if (LOS_ArchCopyFromUser(exceptfdsRet, exceptfds, sizeof(fd_set)) != 0) { in SelectParamCheckCopy()
1147 int SysSelect(int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct timeval *timeo… in SysSelect()
1150 fd_set *fdsRet = NULL; in SysSelect()
[all …]
/kernel/linux/linux-5.10/fs/
Dselect.c624 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 __user *, outp, in SYSCALL_DEFINE5()
726 fd_set __user *, exp, struct __kernel_old_timeval __user *, tvp) in SYSCALL_DEFINE5()
731 static long do_pselect(int n, fd_set __user *inp, fd_set __user *outp, in do_pselect()
732 fd_set __user *exp, void __user *tsp, in do_pselect()
794 SYSCALL_DEFINE6(pselect6, int, n, fd_set __user *, inp, fd_set __user *, outp, in SYSCALL_DEFINE6()
795 fd_set __user *, exp, struct __kernel_timespec __user *, tsp, in SYSCALL_DEFINE6()
[all …]
/kernel/liteos_a/fs/include/fs/
Dfd_table.h48 fd_set *proc_fds;
49 fd_set *cloexec_fds;
/kernel/linux/linux-5.10/include/linux/
Dpoll.h119 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-5.10/tools/testing/selftests/rtc/
Drtctest.c91 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-5.10/tools/testing/selftests/x86/
Dtest_syscall_vdso.c172 fd_set rfds;
173 fd_set wfds;
174 fd_set efds;
/kernel/linux/linux-5.10/tools/lib/subcmd/
Dpager.c39 fd_set in; in pager_preexec()
40 fd_set exception; in pager_preexec()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Dasm-prototypes.h96 ppc_select(int n, fd_set __user *inp, fd_set __user *outp, fd_set __user *exp,
/kernel/linux/linux-5.10/Documentation/userspace-api/media/v4l/
Dfunc-select.rst24 .. c:function:: int select( int nfds, fd_set *readfds, fd_set *writefds, fd_set *exceptfds, struct …
57 ``fd_set``. When the function timed out it returns
/kernel/liteos_a/testsuites/unittest/libc/io/full/
DIO_test_pselect_001.cpp43 fd_set reads; in Testcase1()
66 fd_set rfds; in testcase()
DIO_test_pselect_002.cpp47 fd_set rfds; in testcase()
DIO_test_epoll_001.cpp42 fd_set rfds; in testcase()
/kernel/liteos_a/testsuites/unittest/net/socket/smoke/
Dnet_socket_test_011.cpp53 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()
Dnet_socket_test_008.cpp54 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()
Dnet_socket_test_013.cpp55 static void GetReadfds(fd_set *fds, int *nfd) in GetReadfds()
120 static int HandleReadfds(fd_set *fds, int lsfd) in HandleReadfds()
298 fd_set readfds; in UdpBrdcastSelectTest()
/kernel/liteos_a/fs/vfs/epoll/
Dfs_epoll.c55 STATIC fd_set g_epollFdSet;
71 fd_set *fdset = &g_epollFdSet; in EpollAllocSysFd()
102 fd_set *fdset = &g_epollFdSet; in EpollFreeSysFd()
/kernel/linux/linux-5.10/tools/power/acpi/tools/acpidbg/
Dacpidbg.c115 static int acpi_aml_set_fd(int fd, int maxfd, fd_set *set) in acpi_aml_set_fd()
267 fd_set rfds; in acpi_aml_loop()
268 fd_set wfds; in acpi_aml_loop()
338 fd_set rfds; in acpi_aml_readable()
/kernel/linux/linux-5.10/tools/include/nolibc/
Dnolibc.h184 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 *set) in FD_ZERO()
2456 void FD_SET(int fd, fd_set *set) in FD_SET()
/kernel/linux/linux-5.10/tools/testing/selftests/android/ion/
Dipcsocket.c114 fd_set selFDs; in sendtosocket()
169 fd_set recvFDs; in receivefromsocket()
/kernel/liteos_a/testsuites/unittest/extended/signal/smoke/
DIt_ipc_fdisset_001.cpp39 fd_set reads; in Testcase()
/kernel/liteos_m/kal/posix/src/
Dmqueue_impl.h128 fd_set mq_fdset; /* mqueue sysFd bit map */
/kernel/liteos_a/kernel/base/include/
Dlos_ipc_container_pri.h50 fd_set queueFdSet;
/kernel/liteos_a/testsuites/unittest/extended/signal/full/
DIt_ipc_fdzero_001.cpp42 fd_set reads; in Testcase()

123