Lines Matching defs:bufev

296 /** For internal use: temporarily stop all reads on bufev, until the conditions
298 void bufferevent_suspend_read_(struct bufferevent *bufev, bufferevent_suspend_flags what);
299 /** For internal use: clear the conditions 'what' on bufev, and re-enable
301 void bufferevent_unsuspend_read_(struct bufferevent *bufev, bufferevent_suspend_flags what);
303 /** For internal use: temporarily stop all writes on bufev, until the conditions
305 void bufferevent_suspend_write_(struct bufferevent *bufev, bufferevent_suspend_flags what);
306 /** For internal use: clear the conditions 'what' on bufev, and re-enable
308 void bufferevent_unsuspend_write_(struct bufferevent *bufev, bufferevent_suspend_flags what);
322 @param bufev the bufferevent to be disabled
327 int bufferevent_disable_hard_(struct bufferevent *bufev, short event);
331 int bufferevent_enable_locking_(struct bufferevent *bufev, void *lock);
332 /** Internal: Increment the reference count on bufev. */
333 void bufferevent_incref_(struct bufferevent *bufev);
334 /** Internal: Lock bufev and increase its reference count.
336 void bufferevent_incref_and_lock_(struct bufferevent *bufev);
337 /** Internal: Decrement the reference count on bufev. Returns 1 if it freed
339 int bufferevent_decref_(struct bufferevent *bufev);
340 /** Internal: Drop the reference count on bufev, freeing as necessary, and
342 int bufferevent_decref_and_unlock_(struct bufferevent *bufev);
346 void bufferevent_run_readcb_(struct bufferevent *bufev, int options);
349 void bufferevent_run_writecb_(struct bufferevent *bufev, int options);
353 void bufferevent_run_eventcb_(struct bufferevent *bufev, short what, int options);
357 * Must already hold the bufev lock. Honors watermarks unless
359 static inline void bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options);
364 bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options)
367 evbuffer_get_length(bufev->input) >= bufev->wm_read.low))
368 bufferevent_run_readcb_(bufev, options);
370 evbuffer_get_length(bufev->output) <= bufev->wm_write.low))
371 bufferevent_run_writecb_(bufev, options);