Lines Matching refs:nwrite
61 ev_uint16_t nwrite; member
258 entry->nwrite = 0; in evmap_io_init()
271 int nread, nwrite, nclose, retval = 0; in evmap_io_add_() local
290 nwrite = ctx->nwrite; in evmap_io_add_()
295 if (nwrite) in evmap_io_add_()
305 if (++nwrite == 1) in evmap_io_add_()
312 if (EVUTIL_UNLIKELY(nread > 0xffff || nwrite > 0xffff || nclose > 0xffff)) { in evmap_io_add_()
337 ctx->nwrite = (ev_uint16_t) nwrite; in evmap_io_add_()
352 int nread, nwrite, nclose, retval = 0; in evmap_io_del_() local
368 nwrite = ctx->nwrite; in evmap_io_del_()
373 if (nwrite) in evmap_io_del_()
384 if (--nwrite == 0) in evmap_io_del_()
386 EVUTIL_ASSERT(nwrite >= 0); in evmap_io_del_()
404 ctx->nwrite = nwrite; in evmap_io_del_()
609 if (ctx->nwrite)
969 EVUTIL_ASSERT(n_write == io_info->nwrite);