Searched refs:fdset (Results 1 – 3 of 3) sorted by relevance
| /kernel/liteos_a/fs/vfs/epoll/ |
| D | fs_epoll.c | 71 fd_set *fdset = &g_epollFdSet; in EpollAllocSysFd() local 74 if (fdset && !(FD_ISSET(i, fdset))) { in EpollAllocSysFd() 75 FD_SET(i, fdset); in EpollAllocSysFd() 102 fd_set *fdset = &g_epollFdSet; in EpollFreeSysFd() local 103 if (fdset && FD_ISSET(efd, fdset)) { in EpollFreeSysFd() 104 FD_CLR(efd, fdset); in EpollFreeSysFd()
|
| /kernel/linux/linux-5.10/fs/ |
| D | select.c | 389 int get_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in get_fd_set() argument 393 return copy_from_user(fdset, ufdset, nr) ? -EFAULT : 0; in get_fd_set() 395 memset(fdset, 0, nr); in get_fd_set() 400 set_fd_set(unsigned long nr, void __user *ufdset, unsigned long *fdset) in set_fd_set() argument 403 return __copy_to_user(ufdset, fdset, FDS_BYTES(nr)); in set_fd_set() 408 void zero_fd_set(unsigned long nr, unsigned long *fdset) in zero_fd_set() argument 410 memset(fdset, 0, FDS_BYTES(nr)); in zero_fd_set() 1160 unsigned long *fdset) in compat_get_fd_set() argument 1163 return compat_get_bitmap(fdset, ufdset, nr); in compat_get_fd_set() 1165 zero_fd_set(nr, fdset); in compat_get_fd_set() [all …]
|
| /kernel/liteos_a/compat/posix/src/ |
| D | mqueue.c | 332 fd_set *fdset = &IPC_QUEUE_FD_SET; in MqAllocSysFd() local 335 if (fdset && !(FD_ISSET(i + MQUEUE_FD_OFFSET, fdset))) { in MqAllocSysFd() 336 FD_SET(i + MQUEUE_FD_OFFSET, fdset); in MqAllocSysFd() 349 fd_set *fdset = &IPC_QUEUE_FD_SET; in MqFreeSysFd() local 350 if (fdset && FD_ISSET(sysFd, fdset)) { in MqFreeSysFd() 351 FD_CLR(sysFd, fdset); in MqFreeSysFd()
|