Lines Matching refs:zvfs_fd_set
27 void ZVFS_FD_ZERO(struct zvfs_fd_set *set) in ZVFS_FD_ZERO()
36 int ZVFS_FD_ISSET(int fd, struct zvfs_fd_set *set) in ZVFS_FD_ISSET()
49 void ZVFS_FD_CLR(int fd, struct zvfs_fd_set *set) in ZVFS_FD_CLR()
62 void ZVFS_FD_SET(int fd, struct zvfs_fd_set *set) in ZVFS_FD_SET()
75 int z_impl_zvfs_select(int nfds, struct zvfs_fd_set *ZRESTRICT readfds, in z_impl_zvfs_select()
76 struct zvfs_fd_set *ZRESTRICT writefds, in z_impl_zvfs_select()
77 struct zvfs_fd_set *ZRESTRICT exceptfds, in z_impl_zvfs_select()
87 for (i = 0; i < STRUCT_MEMBER_ARRAY_SIZE(struct zvfs_fd_set, bitset); i++) { in z_impl_zvfs_select()
219 static int z_vrfy_zvfs_select(int nfds, struct zvfs_fd_set *ZRESTRICT readfds, in z_vrfy_zvfs_select()
220 struct zvfs_fd_set *ZRESTRICT writefds, in z_vrfy_zvfs_select()
221 struct zvfs_fd_set *ZRESTRICT exceptfds, in z_vrfy_zvfs_select()
225 struct zvfs_fd_set *readfds_copy = NULL, *writefds_copy = NULL, *exceptfds_copy = NULL; in z_vrfy_zvfs_select()
231 k_usermode_alloc_from_copy((void *)readfds, sizeof(struct zvfs_fd_set)); in z_vrfy_zvfs_select()
240 k_usermode_alloc_from_copy((void *)writefds, sizeof(struct zvfs_fd_set)); in z_vrfy_zvfs_select()
249 k_usermode_alloc_from_copy((void *)exceptfds, sizeof(struct zvfs_fd_set)); in z_vrfy_zvfs_select()
269 sizeof(struct zvfs_fd_set)); in z_vrfy_zvfs_select()
274 sizeof(struct zvfs_fd_set)); in z_vrfy_zvfs_select()
279 sizeof(struct zvfs_fd_set)); in z_vrfy_zvfs_select()