Searched refs:cbarg (Results 1 - 25 of 32) sorted by relevance

12

/freebsd-10.3-release/usr.sbin/bluetooth/btpand/
H A Devent.h53 void *cbarg; member in struct:event
79 #define event_set(ev, fd, flags, cb, cbarg) \
80 _event_set(__FILE__, __LINE__, ev, fd, flags, cb, cbarg)
86 #define evtimer_set(ev, cb, cbarg) \
87 _event_set(__FILE__, __LINE__, ev, -1, 0, cb, cbarg)
93 void (*cb)(int, short, void *), void *cbarg)
95 event_log_debug("set %s:%d ev=%p, fd=%d, flags=%#x, cb=%p, cbarg=%p",
96 file, line, ev, fd, flags, cb, cbarg);
101 __event_set(ev, fd, flags, cb, cbarg);
107 event_log_debug("add %s:%d ev=%p, fd=%d, flags=%#x, cb=%p, cbarg
92 _event_set(char const *file, int line, struct event *ev, int fd, short flags, void (*cb)(int, short, void *), void *cbarg) argument
[all...]
H A Devent.c171 ev->cbarg, ev);
175 ev->cbarg);
193 __func__, ev->cb, ev->fd, ev->cbarg, ev);
197 ev->cbarg);
211 void (*cb)(int, short, void *), void *cbarg)
216 ev->cbarg = cbarg;
210 __event_set(struct event *ev, int fd, short flags, void (*cb)(int, short, void *), void *cbarg) argument
/freebsd-10.3-release/contrib/ntp/sntp/libevent/include/event2/
H A Dbuffer_compat.h92 @param cbarg an argument to be provided to the callback function
95 void evbuffer_setcb(struct evbuffer *buffer, evbuffer_cb cb, void *cbarg);
H A Dbufferevent_compat.h69 @param cbarg an argument that will be supplied to each of the callbacks
76 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
H A Drpc.h184 struct reqstruct *, struct rplystruct *, void *cbarg), \
197 void *cbarg);
211 * @param cbarg the argument to supply to the callback
214 pool, request, reply, cb, cbarg) \
221 cbarg)
237 struct reqstruct *, struct rplystruct *, void *cbarg), \
238 void *cbarg) { \
241 cbarg, \
316 * @param cbarg an additional parameter that can be passed to the callback.
319 #define EVRPC_REGISTER(base, name, request, reply, callback, cbarg) \
[all...]
H A Dbufferevent_struct.h102 void *cbarg; member in struct:bufferevent
H A Dbuffer.h902 @param cbarg an argument to be provided to the callback function
906 struct evbuffer_cb_entry *evbuffer_add_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg);
927 int evbuffer_remove_cb(struct evbuffer *buffer, evbuffer_cb_func cb, void *cbarg);
H A Dbufferevent.h318 @param cbarg an argument that will be supplied to each of the callbacks
325 bufferevent_event_cb eventcb, void *cbarg);
/freebsd-10.3-release/contrib/pf/libevent/
H A Dbuffer.c112 (*inbuf->cb)(inbuf, oldoff, inbuf->off, inbuf->cbarg);
114 (*outbuf->cb)(outbuf, 0, oldoff, outbuf->cbarg);
160 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
308 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
333 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
399 (*buf->cb)(buf, oldoff, buf->off, buf->cbarg);
452 void *cbarg)
455 buffer->cbarg = cbarg;
450 evbuffer_setcb(struct evbuffer *buffer, void (*cb)(struct evbuffer *, size_t, size_t, void *), void *cbarg) argument
H A Devbuffer.c140 (*bufev->readcb)(bufev, bufev->cbarg);
148 (*bufev->errorcb)(bufev, what, bufev->cbarg);
197 (*bufev->writecb)(bufev, bufev->cbarg);
207 (*bufev->errorcb)(bufev, what, bufev->cbarg);
223 everrorcb errorcb, void *cbarg)
248 bufev->cbarg = cbarg;
222 bufferevent_new(int fd, evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg) argument
H A Devent.h221 void *cbarg; member in struct:evbuffer
253 void *cbarg; member in struct:bufferevent
262 evbuffercb readcb, evbuffercb writecb, everrorcb errorcb, void *cbarg);
/freebsd-10.3-release/contrib/ntp/sntp/libevent/
H A Dbufferevent.c146 bufev->errorcb(bufev, BEV_EVENT_CONNECTED, bufev->cbarg);
150 bufev->readcb(bufev, bufev->cbarg);
154 bufev->writecb(bufev, bufev->cbarg);
162 bufev->errorcb(bufev, what, bufev->cbarg);
182 void *cbarg = bufev->cbarg; local
184 UNLOCKED(errorcb(bufev, BEV_EVENT_CONNECTED, cbarg));
188 void *cbarg = bufev->cbarg; local
190 UNLOCKED(readcb(bufev, cbarg));
194 void *cbarg = bufev->cbarg; local
200 void *cbarg = bufev->cbarg; local
368 bufferevent_setcb(struct bufferevent *bufev, bufferevent_data_cb readcb, bufferevent_data_cb writecb, bufferevent_event_cb eventcb, void *cbarg) argument
[all...]
H A Dhttp-internal.h120 void *cbarg; member in struct:evhttp_cb
H A Devbuffer-internal.h73 void *cbarg; member in struct:evbuffer_cb_entry
H A Devrpc.c829 void *cbarg)
845 ctx->cb_arg = cbarg;
1133 void (*callback)(struct evrpc_req_generic *, void *), void *cbarg,
1146 (void (*)(struct evrpc_req_generic*, void *))callback, cbarg);
822 evrpc_make_request_ctx( struct evrpc_pool *pool, void *request, void *reply, const char *rpcname, void (*req_marshal)(struct evbuffer*, void *), void (*rpl_clear)(void *), int (*rpl_unmarshal)(void *, struct evbuffer *), void (*cb)(struct evrpc_status *, void *, void *, void *), void *cbarg) argument
1132 evrpc_register_generic(struct evrpc_base *base, const char *name, void (*callback)(struct evrpc_req_generic *, void *), void *cbarg, void *(*req_new)(void *), void *req_new_arg, void (*req_free)(void *), int (*req_unmarshal)(void *, struct evbuffer *), void *(*rpl_new)(void *), void *rpl_new_arg, void (*rpl_free)(void *), int (*rpl_complete)(void *), void (*rpl_marshal)(struct evbuffer *, void *)) argument
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/
H A Ddsl_prop.h67 dsl_prop_changed_cb_t *callback, void *cbarg);
68 void dsl_prop_unregister_all(struct dsl_dataset *ds, void *cbarg);
/freebsd-10.3-release/contrib/unbound/libunbound/
H A Dcontext.h241 * @param cbarg: user arg for async queries.
245 int rrclass, ub_callback_t cb, void* cbarg);
H A Dlibunbound.c471 ub_callback_t* cb, void** cbarg, int* err,
494 *cbarg = NULL;
497 *cbarg = q->cb_arg;
539 void* cbarg; local
543 r = process_answer_detail(ctx, msg, len, &cb, &cbarg, &err, &res);
548 (*cb)(cbarg, err, res);
582 void* cbarg; local
617 &cb, &cbarg, &err, &res);
623 (*cb)(cbarg, err, res);
470 process_answer_detail(struct ub_ctx* ctx, uint8_t* msg, uint32_t len, ub_callback_t* cb, void** cbarg, int* err, struct ub_result** res) argument
H A Dcontext.c129 ub_callback_t cb, void* cbarg)
143 q->cb_arg = cbarg;
128 context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass, ub_callback_t cb, void* cbarg) argument
/freebsd-10.3-release/sys/arm/xscale/ixp425/
H A Dixp425_qmgr.h235 qconfig_hand_t *cb, void *cbarg);
H A Dixp425_qmgr.c122 void *cbarg; /* callback argument */ member in struct:qmgrInfo
341 qconfig_hand_t *cb, void *cbarg)
347 __func__, qId, qEntries, ne, nf, srcSel, cb, cbarg);
359 qi->cbarg = 0;
362 qi->cbarg = cbarg;
769 qi->cb(qIndex, qi->cbarg);
796 qi->cb(qIndex, qi->cbarg);
340 ixpqmgr_qconfig(int qId, int qEntries, int ne, int nf, int srcSel, qconfig_hand_t *cb, void *cbarg) argument
/freebsd-10.3-release/contrib/ntp/lib/isc/
H A Dsocket_api.c200 isc_sockfdwatch_t callback, void *cbarg,
206 callback, cbarg, task,
199 isc_socket_fdwatchcreate(isc_socketmgr_t *manager, int fd, int flags, isc_sockfdwatch_t callback, void *cbarg, isc_task_t *task, isc_socket_t **socketp) argument
/freebsd-10.3-release/sys/cam/
H A Dcam_xpt.h126 void *cbarg, struct cam_path *path);
/freebsd-10.3-release/contrib/ntp/lib/isc/include/isc/
H A Dsocket.h272 void *cbarg, isc_task_t *task,
357 void *cbarg,
/freebsd-10.3-release/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Ddsl_prop.c279 dsl_prop_changed_cb_t *callback, void *cbarg)
297 cbr->cbr_arg = cbarg;
440 dsl_prop_unregister_all(dsl_dataset_t *ds, void *cbarg) argument
451 if (cbr->cbr_arg == cbarg) {
278 dsl_prop_register(dsl_dataset_t *ds, const char *propname, dsl_prop_changed_cb_t *callback, void *cbarg) argument

Completed in 312 milliseconds

12