Home
last modified time | relevance | path

Searched refs:callback (Results 26 – 50 of 346) sorted by relevance

12345678910>>...14

/illumos-gate/usr/src/uts/common/io/cxgbe/shared/
H A Dshared.c107 int (*callback)(caddr_t); in rxbuf_ctor() local
111 callback = DDI_DMA_DONTWAIT; in rxbuf_ctor()
113 callback = DDI_DMA_SLEEP; in rxbuf_ctor()
115 rc = ddi_dma_alloc_handle(p->dip, &p->dma_attr_rx, callback, 0, in rxbuf_ctor()
121 DDI_DMA_STREAMING, callback, 0, &rxb->va, &real_len, &rxb->ahdl); in rxbuf_ctor()
/illumos-gate/usr/src/lib/sun_fc/common/
H A DAdapterPortStatEventListener.cc45 Listener(data), callback(myCallback) { in AdapterPortStatEventListener()
47 if (callback == NULL) { in AdapterPortStatEventListener()
66 callback(getData(), wwn, e->getType()); in dispatch()
H A DSun_fcRegisterForAdapterAddEvents.cc47 void (*callback) ( in Sun_fcRegisterForAdapterAddEvents()
56 if (callback == NULL) throw BadArgumentException(); in Sun_fcRegisterForAdapterAddEvents()
59 (AdapterAddCallback)callback, userData); in Sun_fcRegisterForAdapterAddEvents()
H A DAdapterDeviceEventListener.cc45 port(myPort), Listener(data), callback(myCallback) { in AdapterDeviceEventListener()
47 if (callback == NULL) { in AdapterDeviceEventListener()
68 callback(getData(), wwn, e->getType(), e->getAffectedPortID()); in dispatch()
H A DAdapterEventListener.cc45 hba(myHBA), Listener(data), callback(myCallback) { in AdapterEventListener()
47 if (callback == NULL) { in AdapterEventListener()
69 callback(getData(), wwn, e->getType()); in dispatch()
H A DAdapterPortEventListener.cc45 port(myPort), Listener(data), callback(myCallback) { in AdapterPortEventListener()
47 if (callback == NULL) { in AdapterPortEventListener()
69 callback(getData(), wwn, e->getType(), e->getAffectedPortID()); in dispatch()
H A DLinkEventListener.cc45 Listener(data), callback(myCallback), buf(myBuf), size(mySize) { in LinkEventListener()
47 if (callback == NULL) { in LinkEventListener()
66 callback(getData(), wwn, e->getType(), e->getBuf(), e->getSize()); in dispatch()
H A DSun_fcRegisterForAdapterEvents.cc48 void (*callback)( in Sun_fcRegisterForAdapterEvents()
57 if (callback == NULL) throw BadArgumentException(); in Sun_fcRegisterForAdapterEvents()
62 (AdapterCallback)callback, userData); in Sun_fcRegisterForAdapterEvents()
H A DSun_fcRegisterForAdapterDeviceEvents.cc51 void (*callback)( in Sun_fcRegisterForAdapterDeviceEvents()
62 if (callback == NULL) throw BadArgumentException(); in Sun_fcRegisterForAdapterDeviceEvents()
68 port, (AdapterDeviceCallback)callback, userData); in Sun_fcRegisterForAdapterDeviceEvents()
H A DSun_fcRegisterForAdapterPortEvents.cc50 void (*callback)( in Sun_fcRegisterForAdapterPortEvents()
61 if (callback == NULL) throw BadArgumentException(); in Sun_fcRegisterForAdapterPortEvents()
67 port, (AdapterPortCallback)callback, userData); in Sun_fcRegisterForAdapterPortEvents()
H A DTargetEventListener.cc45 port(myPort), Listener(data), callback(myCallback), targetPortWWN(wwn), in TargetEventListener()
49 if (callback == NULL) { in TargetEventListener()
81 callback(getData(), hbawwn, tgtwwn, e->getType()); in dispatch()
H A DSun_fcRegisterForTargetEvents.cc53 void (*callback)( in Sun_fcRegisterForTargetEvents()
67 if (callback == NULL) throw BadArgumentException(); in Sun_fcRegisterForTargetEvents()
74 (TargetCallback)callback, userData, in Sun_fcRegisterForTargetEvents()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_nm.c559 mdb_tgt_sym_f *callback; in cmd_nm() local
711 callback = nm_cnt_undef; in cmd_nm()
713 callback = nm_cnt_any; in cmd_nm()
748 which, type, callback, &nsyms); in cmd_nm()
760 callback = nm_get_undef; in cmd_nm()
762 callback = nm_get_any; in cmd_nm()
768 callback, &nii); in cmd_nm()
782 callback = nm_asgn; in cmd_nm()
784 callback = nm_undef; in cmd_nm()
786 callback = nm_any; in cmd_nm()
[all …]
/illumos-gate/usr/src/cmd/hal/hald/
H A Dutil.c810 HalCalloutsDone callback; member
838 HalCalloutsDone callback; in callout_do_next() local
843 callback = c->callback; in callout_do_next()
849 callback (d, userdata1, userdata2); in callout_do_next()
867 c->callback = callback; in hal_callout_device()
884 callback (d, userdata1, userdata2); in hal_util_callout_device_add()
890 hal_callout_device (d, callback, userdata1, userdata2, programs, extra_env); in hal_util_callout_device_add()
902 callback (d, userdata1, userdata2); in hal_util_callout_device_remove()
908 hal_callout_device (d, callback, userdata1, userdata2, programs, extra_env); in hal_util_callout_device_remove()
920 callback (d, userdata1, userdata2); in hal_util_callout_device_preprobe()
[all …]
/illumos-gate/usr/src/uts/sun/sys/dada/impl/
H A Dtransport.h87 int (*callback)(void));
114 int (*callback)(
185 int (*callback)(void));
193 int (*callback)(caddr_t),
/illumos-gate/usr/src/uts/common/inet/tcp/
H A Dtcp_cluster.c33 static int cl_tcp_walk_list_stack(int (*callback)(cl_tcp_info_t *, void *),
99 cl_tcp_walk_list_stack(int (*callback)(cl_tcp_info_t *, void *), void *arg, in cl_tcp_walk_list_stack()
109 ASSERT(callback != NULL); in cl_tcp_walk_list_stack()
131 if ((*callback)(&cl_tcpi, arg) != 0) { in cl_tcp_walk_list_stack()
/illumos-gate/usr/src/uts/common/xen/sys/
H A Dxenbus_impl.h78 xenbus_watch_cb_t callback; member
167 void (*callback)(struct xenbus_watch *,
182 void (*callback)(struct xenbus_watch *,
252 extern int xs_register_xenbus_callback(void (*callback)(int));
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPReg.c140 SLPRegReport callback, void *pvUser) { in SLPReg() argument
146 !pcAttrs || !callback) { in SLPReg()
172 if ((err = reg_common(hSLP, msg, pvUser, callback)) == SLP_OK && in SLPReg()
326 SLPRegReport callback, void *pvUser) { in SLPDereg() argument
331 if (!hSLP || !pURL || !*pURL || !callback) { in SLPDereg()
365 SLPRegReport callback, void *pvUser) { in SLPDelAttrs() argument
370 if (!hSLP || !pURL || !*pURL || !pcAttrs || !callback) { in SLPDelAttrs()
396 return (reg_common(hSLP, msg, pvUser, callback)); in SLPDelAttrs()
506 void *cookie, SLPRegReport callback) { in reg_common() argument
514 err = enqueue_reg(hp, msg, cookie, callback); in reg_common()
[all …]
/illumos-gate/usr/src/uts/common/io/hotplug/hpcsvc/
H A Dhpcsvc.c216 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, member
319 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, in hpc_nexus_register_bus()
343 busp->bus_callback = callback; in hpc_nexus_register_bus()
363 busp->bus_callback = callback; in hpc_nexus_register_bus()
368 if (callback) { in hpc_nexus_register_bus()
372 (void) callback(dip, slotp, &slotp->slot_info, in hpc_nexus_register_bus()
446 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, in hpc_slot_register() local
483 callback = busp->bus_callback; in hpc_slot_register()
535 (void) callback(dip, slotp, infop, HPC_SLOT_ONLINE); in hpc_slot_register()
553 int (* callback)(dev_info_t *dip, hpc_slot_t hdl, in hpc_slot_unregister() local
[all …]
/illumos-gate/usr/src/uts/common/sys/dktp/
H A Dcontroller.h73 #define CTL_PKTALLOC(X, callback, arg) \ argument
75 (((struct ctl_obj *)(X))->c_data, (callback), (arg))
79 #define CTL_MEMSETUP(X, pktp, bp, callback, arg) \ argument
81 (((struct ctl_obj *)(X))->c_data, (pktp), (bp), (callback), (arg))
/illumos-gate/usr/src/cmd/isns/isnsd/
H A Dcache.c345 int (*callback)(void *, void *)) in cache_lookup()
351 callback, in cache_lookup()
370 int (*callback)(void *, void *)) in cache_rekey()
376 callback, in cache_rekey()
/illumos-gate/usr/src/lib/libbsm/
H A DxmlHandlers.pm76 my $callback = shift; # \&foo($objRef, $source);
82 $startCallback{$objName} = $callback;
91 my $callback = shift; # \&foo($objRef);
97 $endCallback{$objName} = $callback;
/illumos-gate/usr/src/uts/common/io/
H A Dhook.c648 ASSERT(callback != NULL); in hook_stack_notify_register()
662 callback, arg); in hook_stack_notify_register()
1209 callback(HN_REGISTER, arg, in hook_family_notify_register()
1246 hook_notify_fn_t callback) in hook_family_notify_unregister() argument
1285 callback(HN_UNREGISTER, arg, in hook_family_notify_unregister()
1749 callback(HN_REGISTER, arg, in hook_event_notify_register()
1773 hook_notify_fn_t callback) in hook_event_notify_unregister() argument
1826 callback(HN_UNREGISTER, arg, in hook_event_notify_unregister()
2502 if (hn->hn_func == callback) { in hook_notify_register()
2508 hn->hn_func = callback; in hook_notify_register()
[all …]
/illumos-gate/usr/src/test/zfs-tests/tests/functional/removal/
H A Dremoval.kshlib29 typeset callback=$2
62 typeset callback=$3
76 log_must $callback "$@"
/illumos-gate/usr/src/lib/libsqlite/src/
H A Dsqlite.h.in89 ** The type for a callback function.
97 ** the callback function specified by the 3rd parameter is
104 ** to the callback function as its first parameter.
106 ** The 2nd parameter to the callback function is the number of
112 ** The callback function may be NULL, even for queries. A NULL
113 ** callback is not an error. It just means that no callback
117 ** not while executing the callback) then an appropriate error
271 ** The default busy callback is NULL.
759 ** This routine configures a callback function - the progress callback - that
790 ** callback. If the callback function returns non-zero, then the commit
[all …]

12345678910>>...14