• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /freebsd-13-stable/contrib/ntp/sntp/libevent/

Lines Matching defs:bufev

294 /** For internal use: temporarily stop all reads on bufev, until the conditions
296 void bufferevent_suspend_read_(struct bufferevent *bufev, bufferevent_suspend_flags what);
297 /** For internal use: clear the conditions 'what' on bufev, and re-enable
299 void bufferevent_unsuspend_read_(struct bufferevent *bufev, bufferevent_suspend_flags what);
301 /** For internal use: temporarily stop all writes on bufev, until the conditions
303 void bufferevent_suspend_write_(struct bufferevent *bufev, bufferevent_suspend_flags what);
304 /** For internal use: clear the conditions 'what' on bufev, and re-enable
306 void bufferevent_unsuspend_write_(struct bufferevent *bufev, bufferevent_suspend_flags what);
320 @param bufev the bufferevent to be disabled
325 int bufferevent_disable_hard_(struct bufferevent *bufev, short event);
329 int bufferevent_enable_locking_(struct bufferevent *bufev, void *lock);
330 /** Internal: Increment the reference count on bufev. */
331 void bufferevent_incref_(struct bufferevent *bufev);
332 /** Internal: Lock bufev and increase its reference count.
334 void bufferevent_incref_and_lock_(struct bufferevent *bufev);
335 /** Internal: Decrement the reference count on bufev. Returns 1 if it freed
337 int bufferevent_decref_(struct bufferevent *bufev);
338 /** Internal: Drop the reference count on bufev, freeing as necessary, and
340 int bufferevent_decref_and_unlock_(struct bufferevent *bufev);
344 void bufferevent_run_readcb_(struct bufferevent *bufev, int options);
347 void bufferevent_run_writecb_(struct bufferevent *bufev, int options);
351 void bufferevent_run_eventcb_(struct bufferevent *bufev, short what, int options);
355 * Must already hold the bufev lock. Honors watermarks unless
357 static inline void bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options);
362 bufferevent_trigger_nolock_(struct bufferevent *bufev, short iotype, int options)
365 evbuffer_get_length(bufev->input) >= bufev->wm_read.low))
366 bufferevent_run_readcb_(bufev, options);
368 evbuffer_get_length(bufev->output) <= bufev->wm_write.low))
369 bufferevent_run_writecb_(bufev, options);