| /mOS-networking-stack/core/src/ |
| H A D | event_callback.c | 165 assert((ev & overlap) ? new_evt->ent[i].cb == cb in RegCbWCpy() 168 new_evt->ent[i].cb = cb; in RegCbWCpy() 171 new_evt->ent[i].cb = cur_evt->ent[i].cb; in RegCbWCpy() 195 new_evt->ent[i].cb = cb; in RegCbWCpy() 202 new_evt->ent[i].cb = cur_evt->ent[i].cb; in RegCbWCpy() 242 cur_evt->ent[i].cb = cb; in RegCbWoCpy() 262 cur_evt->ent[i].cb = cb; in RegCbWoCpy() 347 if (walk->ent[i].cb != cb) in FindReusableEvT() 350 if (walk->ent[i].cb != cur_evt->ent[i].cb) in FindReusableEvT() 360 if (walk->ent[i].cb != cb) in FindReusableEvT() [all …]
|
| H A D | scalable_event.c | 35 #define NEWID(id, ev, cb) (id ^ hash64(ev, cb)) argument 252 instance.cb = cb; in hash64() 293 ntn->cb = cb; in create_spine() 459 if (next_sptr->cb != next_walk->cb) in RegCb() 460 next_sptr->cb = next_walk->cb; in RegCb() 493 if (w->cb != sptr->cb) in RegCb() 494 sptr->cb = w->cb; in RegCb() 505 ntn->cb = w->cb; in RegCb() 572 !(cb = target->cb)) in UnregCb() 634 ntn->cb = w->cb; in UnregCb() [all …]
|
| H A D | timer.c | 554 NewTimer(mtcp_manager_t mtcp, int id, struct timeval *timeout, callback_t cb) in NewTimer() argument 565 t->cb = cb; in NewTimer() 584 mtcp_settimer(mctx_t mctx, int id, struct timeval *timeout, callback_t cb) in mtcp_settimer() argument 587 if (!mtcp || !timeout || !cb) in mtcp_settimer() 590 struct timer *t = NewTimer(mtcp, id, timeout, cb); in mtcp_settimer()
|
| H A D | core.c | 926 walk->cb(&mctx, walk->id, 0, 0 /* FIXME */, NULL); in RunMainLoop()
|
| /mOS-networking-stack/core/test/scalable_event/ |
| H A D | test.c | 24 ModCb(kvs_t *store, stree_t **pstree, event_t ev, callback_t cb); 46 cb(mctx_t mctx, int sock, int side, event_t ev, filter_arg_t *arg) in cb() function 108 ModCb(mtcp.ev_store, &stree[0], 1, cb); in main() 109 ModCb(mtcp.ev_store, &stree[1], 1, cb); in main() 110 ModCb(mtcp.ev_store, &stree[0], 2, cb); in main() 119 ModCb(mtcp.ev_store, &stree[2], ude1, cb); in main() 126 ModCb(mtcp.ev_store, &stree[1], ude2, cb); in main() 209 ModCb(mtcp.ev_store, &stree[3], BEV4, cb); in main() 211 ModCb(mtcp.ev_store, &stree[3], ev, cb); in main() 274 ModCb(mtcp.ev_store, &s, g_r_events[i], cb); in main()
|
| /mOS-networking-stack/core/src/include/ |
| H A D | mos_api.h | 349 int hook_point, callback_t cb); 472 mtcp_settimer(mctx_t mctx, int id, struct timeval *timeout, callback_t cb);
|
| H A D | event_callback.h | 27 callback_t cb; /**< callback function pointer */ member
|
| H A D | scalable_event.h | 44 callback_t cb; // callback function member
|
| H A D | timer.h | 22 callback_t cb; member
|
| H A D | netmap_user.h | 952 nm_dispatch(struct nm_desc *d, int cnt, nm_cb_t cb, u_char *arg) in nm_dispatch() argument 979 cb(arg, &d->hdr, buf); in nm_dispatch()
|
| /mOS-networking-stack/core/include/ |
| H A D | mos_api.h | 349 int hook_point, callback_t cb); 472 mtcp_settimer(mctx_t mctx, int id, struct timeval *timeout, callback_t cb);
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/src/ |
| H A D | proc_open.c | 176 si.cb = sizeof(si); in proc_open()
|
| /mOS-networking-stack/samples/lighttpd-1.4.32/ |
| H A D | config.guess | 1081 if test -f /usr/options/cb.name; then 1082 UNAME_REL=`sed -n 's/.*Version //p' </usr/options/cb.name`
|