Home
last modified time | relevance | path

Searched refs:RSM_POLLFD_PER_CHUNK (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/librsm/inc/
H A Drsmlib_in.h59 #define RSM_POLLFD_PER_CHUNK 16 /* # pollfd in each chunk */ macro
79 rsm_pollfd_element_t fdarray[RSM_POLLFD_PER_CHUNK];
/titanic_41/usr/src/lib/librsm/common/
H A Drsmlib.c420 chunk->nfree = RSM_POLLFD_PER_CHUNK - 1; in _rsm_insert_pollfd_table()
423 for (i = 1; i < RSM_POLLFD_PER_CHUNK; i++) { in _rsm_insert_pollfd_table()
434 for (i = 0; i < RSM_POLLFD_PER_CHUNK; i++) { in _rsm_insert_pollfd_table()
445 assert(i < RSM_POLLFD_PER_CHUNK); in _rsm_insert_pollfd_table()
471 assert(chunk->nfree < RSM_POLLFD_PER_CHUNK); in _rsm_lookup_pollfd_table()
473 for (i = 0; i < RSM_POLLFD_PER_CHUNK; i++) { in _rsm_lookup_pollfd_table()
514 assert(chunk->nfree < RSM_POLLFD_PER_CHUNK); in _rsm_remove_pollfd_table()
516 for (i = 0; i < RSM_POLLFD_PER_CHUNK; i++) { in _rsm_remove_pollfd_table()
525 if (chunk->nfree == RSM_POLLFD_PER_CHUNK) { in _rsm_remove_pollfd_table()