Lines Matching refs:segfd
397 _rsm_insert_pollfd_table(int segfd, minor_t segrnum) in _rsm_insert_pollfd_table() argument
403 hash = RSM_POLLFD_HASH(segfd); in _rsm_insert_pollfd_table()
421 chunk->fdarray[0].fd = segfd; in _rsm_insert_pollfd_table()
432 chunk, hash, segfd, segrnum)); in _rsm_insert_pollfd_table()
436 chunk->fdarray[i].fd = segfd; in _rsm_insert_pollfd_table()
444 hash, segfd, segrnum, chunk)); in _rsm_insert_pollfd_table()
459 _rsm_lookup_pollfd_table(int segfd) in _rsm_lookup_pollfd_table() argument
464 if (segfd < 0) in _rsm_lookup_pollfd_table()
469 chunk = pollfd_table.buckets[RSM_POLLFD_HASH(segfd)]; in _rsm_lookup_pollfd_table()
474 if (chunk->fdarray[i].fd == segfd) { in _rsm_lookup_pollfd_table()
478 segfd, chunk->fdarray[i].segrnum)); in _rsm_lookup_pollfd_table()
488 "rsm_lookup_pollfd: not found(%d)\n", segfd)); in _rsm_lookup_pollfd_table()
498 _rsm_remove_pollfd_table(int segfd) in _rsm_remove_pollfd_table() argument
505 if (segfd < 0) in _rsm_remove_pollfd_table()
508 hash = RSM_POLLFD_HASH(segfd); in _rsm_remove_pollfd_table()
517 if (chunk->fdarray[i].fd == segfd) { in _rsm_remove_pollfd_table()