Searched refs:KAIO_FDARRAY_ELEM_SIZE (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/lib/libc/inc/
H A Dasyncio.h206 * If more than (MAX_KAIO_FDARRAY_SIZE * KAIO_FDARRAY_ELEM_SIZE)
211 #define KAIO_FDARRAY_ELEM_SIZE WORD_BIT /* uint32_t */ macro
213 #define MAX_KAIO_FDS (MAX_KAIO_FDARRAY_SIZE * KAIO_FDARRAY_ELEM_SIZE)
219 ((_kaio_supported[(fdes) / KAIO_FDARRAY_ELEM_SIZE] & \
220 (uint32_t)(1 << ((fdes) % KAIO_FDARRAY_ELEM_SIZE))) == 0))
224 _kaio_supported[(fdes) / KAIO_FDARRAY_ELEM_SIZE] |= \
225 (uint32_t)(1 << ((fdes) % KAIO_FDARRAY_ELEM_SIZE))
229 _kaio_supported[(fdes) / KAIO_FDARRAY_ELEM_SIZE] &= \
230 ~(uint32_t)(1 << ((fdes) % KAIO_FDARRAY_ELEM_SIZE))

Completed in 44 milliseconds