• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-12-stable/contrib/libevent/

Lines Matching refs:bufev

319 /** For internal use: temporarily stop all reads on bufev, until the conditions
321 void bufferevent_suspend_read_(struct bufferevent *bufev, bufferevent_suspend_flags what);
322 /** For internal use: clear the conditions 'what' on bufev, and re-enable
324 void bufferevent_unsuspend_read_(struct bufferevent *bufev, bufferevent_suspend_flags what);
326 /** For internal use: temporarily stop all writes on bufev, until the conditions
328 void bufferevent_suspend_write_(struct bufferevent *bufev, bufferevent_suspend_flags what);
329 /** For internal use: clear the conditions 'what' on bufev, and re-enable
331 void bufferevent_unsuspend_write_(struct bufferevent *bufev, bufferevent_suspend_flags what);
345 @param bufev the bufferevent to be disabled
350 int bufferevent_disable_hard_(struct bufferevent *bufev, short event);
354 int bufferevent_enable_locking_(struct bufferevent *bufev, void *lock);
356 * Increment the reference count on bufev. */
357 #define bufferevent_incref_(bufev) bufferevent_incref(bufev)
358 /** Internal: Lock bufev and increase its reference count.
360 void bufferevent_incref_and_lock_(struct bufferevent *bufev);
362 * Decrement the reference count on bufev. Returns 1 if it freed
364 #define bufferevent_decref_(bufev) bufferevent_decref(bufev)
366 /** Internal: Drop the reference count on bufev, freeing as necessary, and
368 int bufferevent_decref_and_unlock_(struct bufferevent *bufev);
372 void bufferevent_run_readcb_(struct bufferevent *bufev, int options);
375 void bufferevent_run_writecb_(struct bufferevent *bufev, int options);
379 void bufferevent_run_eventcb_(struct bufferevent *bufev, short what, int options);
383 * Must already hold the bufev lock. Honors watermarks unless
385 static inline void bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options);
390 bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options)
393 evbuffer_get_length(bufev->input) >= bufev->wm_read.low))
394 bufferevent_run_readcb_(bufev, options);
396 evbuffer_get_length(bufev->output) <= bufev->wm_write.low))
397 bufferevent_run_writecb_(bufev, options);