Lines Matching refs:bitset
20 unsigned int b_idx = fd % (sizeof(set->bitset[0]) * 8); \
21 word_idx = fd / (sizeof(set->bitset[0]) * 8); \
31 for (i = 0; i < ARRAY_SIZE(set->bitset); i++) { in ZVFS_FD_ZERO()
32 set->bitset[i] = 0U; in ZVFS_FD_ZERO()
46 return (set->bitset[word_idx] & bit_mask) != 0U; in ZVFS_FD_ISSET()
59 set->bitset[word_idx] &= ~bit_mask; in ZVFS_FD_CLR()
72 set->bitset[word_idx] |= bit_mask; in ZVFS_FD_SET()
87 for (i = 0; i < STRUCT_MEMBER_ARRAY_SIZE(struct zvfs_fd_set, bitset); i++) { in z_impl_zvfs_select()
93 read_mask = readfds->bitset[i]; in z_impl_zvfs_select()
97 write_mask = writefds->bitset[i]; in z_impl_zvfs_select()
101 except_mask = exceptfds->bitset[i]; in z_impl_zvfs_select()