| /illumos-gate/usr/src/lib/sun_fc/common/ |
| H A D | TargetEventListener.cc | 39 * @param myCallback The listeners callback routine 41 * callback routine when and event comes in. 45 port(myPort), Listener(data), callback(myCallback), targetPortWWN(wwn), 49 if (callback == NULL) { 58 * @doc The callback registered in the constructor will 81 callback(getData(), hbawwn, tgtwwn, e->getType());
|
| H A D | TargetEventListener.h | 43 * @memo Encapsulates the callback routine for event dispatch 45 * @doc This class encapsulates the event callback routine 47 * is called, the stored callback routine will be called. 55 TargetCallback callback; member in class:TargetEventListener
|
| /illumos-gate/usr/src/uts/common/xen/io/ |
| H A D | xenbus_client.c | 74 void (*callback)(struct xenbus_watch *, 80 watch->callback = callback; 86 watch->callback = NULL; 97 void (*callback)(struct xenbus_watch *, 108 err = xenbus_watch_path(dev, state, watch, callback);
|
| /illumos-gate/usr/src/uts/common/xen/sys/ |
| H A D | xenbus_impl.h | 71 /* Register callback to watch this node. */ 78 xenbus_watch_cb_t callback; member in struct:xenbus_watch 159 * for storage, and the given callback function as the callback. Return 0 on 167 void (*callback)(struct xenbus_watch *, 173 * structure for storage, and the given callback function as the callback. 182 void (*callback)(struct xenbus_watch *, 250 * Register a notify callback function. 252 extern int xs_register_xenbus_callback(void (*callback)(in [all...] |
| /illumos-gate/usr/src/uts/common/io/scsi/impl/ |
| H A D | scsi_reset_notify.c | 43 void (*callback)(caddr_t), caddr_t arg, kmutex_t *mutex, 72 p->callback = callback; 83 * routine to deallocate the callback list 110 void (*callback)(caddr_t); 130 list[i].callback = p->callback; 136 if (list[i].callback != NULL) 137 (void) (*list[i].callback)(list[i].arg); 42 scsi_hba_reset_notify_setup(struct scsi_address *ap, int flag, void (*callback)(caddr_t), caddr_t arg, kmutex_t *mutex, struct scsi_reset_notify_entry **listp) argument
|
| H A D | scsi_resource.c | 45 int (*callback)(caddr_t), caddr_t callback_arg) 56 kmflag = (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; 83 ((callback == SLEEP_FUNC) ? 1 : 0), 0, NULL, 85 if (callback == SLEEP_FUNC) { 104 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { 105 ddi_set_callback(callback, callback_arg, 158 int (*callback)(), 172 callback, arg, &pktw->pcw_cookie, 271 int flags, int (*callback)(caddr_ 43 scsi_alloc_consistent_buf(struct scsi_address *ap, struct buf *in_bp, size_t datalen, uint_t bflags, int (*callback)(caddr_t), caddr_t callback_arg) argument 155 scsi_dma_buf_bind_attr(struct scsi_pkt_cache_wrapper *pktw, struct buf *bp, int dma_flags, int (*callback)(), caddr_t arg) argument 269 scsi_init_cache_pkt(struct scsi_address *ap, struct scsi_pkt *in_pktp, struct buf *bp, int cmdlen, int statuslen, int pplen, int flags, int (*callback)(caddr_t), caddr_t callback_arg) argument 563 scsi_init_pkt(struct scsi_address *ap, struct scsi_pkt *in_pktp, struct buf *bp, int cmdlen, int statuslen, int pplen, int flags, int (*callback)(caddr_t), caddr_t callback_arg) argument 622 scsi_resalloc(struct scsi_address *ap, int cmdlen, int statuslen, opaque_t dmatoken, int (*callback)()) argument 643 scsi_pktalloc(struct scsi_address *ap, int cmdlen, int statuslen, int (*callback)()) argument 664 scsi_dmaget(struct scsi_pkt *pkt, opaque_t dmatoken, int (*callback)()) argument [all...] |
| /illumos-gate/usr/src/uts/common/sys/rsm/ |
| H A D | rsmpi.h | 53 /* Values for resource callback function pointer */ 250 rsm_resource_callback_t callback, 258 rsm_resource_callback_t callback, 268 rsm_resource_callback_t callback, 275 rsm_resource_callback_t callback, 283 rsm_resource_callback_t callback, 374 rsm_resource_callback_t callback, 438 rsm_resource_callback_t callback, 446 rsm_resource_callback_t callback, 519 #define RSM_SEG_CREATE(controller, memseg, size, flags, memory, callback, \ [all...] |
| /illumos-gate/usr/src/uts/common/sys/scsi/impl/ |
| H A D | scsi_reset_notify.h | 49 void (*callback)(caddr_t); member in struct:scsi_reset_notify_entry 57 scsi_reset_notify_entry::callback
|
| /illumos-gate/usr/src/uts/common/sys/scsi/ |
| H A D | scsi_watch.h | 60 int (*callback)(), caddr_t cb_arg); 63 int (*callback)(), caddr_t cb_arg);
|
| /illumos-gate/usr/src/uts/common/sys/dktp/ |
| H A D | controller.h | 75 #define CTL_PKTALLOC(X, callback, arg) \ 77 (((struct ctl_obj *)(X))->c_data, (callback), (arg)) 81 #define CTL_MEMSETUP(X, pktp, bp, callback, arg) \ 83 (((struct ctl_obj *)(X))->c_data, (pktp), (bp), (callback), (arg))
|
| H A D | gda.h | 56 #define GDA_KMFLAG(callback) (((callback) == DDI_DMA_SLEEP) ? \
|
| /illumos-gate/usr/src/uts/sun4u/starfire/os/ |
| H A D | bbus_intr.c | 116 * register a callback function that will be called if 122 void (*callback)(cpu_sgnblk_t *sigbp, void *arg); member in struct:sgnblk_poll_refs 442 if ((func = sgnblk_poll_refs[i].callback) != NULL) { 456 if ((func = sgnblk_poll_refs[i].callback) != NULL) { 582 sgnblk_poll_reference(void (*callback)(cpu_sgnblk_t *sigb, void *arg), 588 if (callback == NULL) 597 if ((slot == -1) && (sgnblk_poll_refs[i].callback == NULL)) { 601 if (sgnblk_poll_refs[i].callback == callback) { 613 sgnblk_poll_refs[slot].callback [all...] |
| /illumos-gate/usr/src/uts/sun/sys/dada/conf/ |
| H A D | device.h | 96 extern int dcd_probe(struct dcd_device *devp, int (*callback)());
|
| /illumos-gate/usr/src/uts/sun/sys/dada/impl/ |
| H A D | transport.h | 87 int (*callback)(void)); 114 int (*callback)( 185 int (*callback)(void)); 193 int (*callback)(caddr_t),
|
| /illumos-gate/usr/src/uts/sun/io/dada/conf/ |
| H A D | dcd_confsubr.c | 80 dcd_probe(struct dcd_device *devp, int (*callback)()) argument 85 return ((*hba_tran->tran_tgt_probe)(devp, callback)); 87 return (dcd_hba_probe(devp, callback)); 106 dcd_hba_probe(struct dcd_device *devp, int (*callback)()) argument 120 kmem_alloc(SUN_IDENTSIZE, ((callback == SLEEP_FUNC)? 127 if (callback != SLEEP_FUNC && callback != NULL_FUNC) { 130 cb_flag = callback; 142 callback, NULL);
|
| /illumos-gate/usr/src/uts/sun/io/dada/impl/ |
| H A D | dcd_resource.c | 60 int (*callback)(caddr_t), caddr_t callback_arg) 70 kmflag = (callback == SLEEP_FUNC) ? KM_SLEEP: KM_NOSLEEP; 94 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { 95 ddi_set_callback(callback, callback_arg, &dcd_callback_id); 121 int flags, int (*callback)(caddr_t), caddr_t callback_arg) 134 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC; 140 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { 141 ddi_set_callback(callback, callback_ar 58 dcd_alloc_consistent_buf(struct dcd_address *ap, struct buf *in_bp, size_t datalen, uint_t bflags, int (*callback)(caddr_t), caddr_t callback_arg) argument 119 dcd_init_pkt(struct dcd_address *ap, struct dcd_pkt *in_pktp, struct buf *bp, int cmdlen, int statuslen, int pplen, int flags, int (*callback)(caddr_t), caddr_t callback_arg) argument 164 dcd_resalloc(struct dcd_address *ap, int cmdlen, int statuslen, ataopaque_t dmatoken, int (*callback)()) argument 187 dcd_pktalloc(struct dcd_address *ap, int cmdlen, int statuslen, int (*callback)()) argument 210 dcd_dmaget(struct dcd_pkt *pkt, ataopaque_t dmatoken, int (*callback)()) argument [all...] |
| /illumos-gate/usr/src/uts/i86pc/sys/ |
| H A D | hpet.h | 55 boolean_t (*callback)(int); member in struct:hpet
|
| /illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/ |
| H A D | ghd_dma.h | 45 int dma_flags, int (*callback)(), caddr_t arg,
|
| H A D | ghd_scsa.c | 38 int (*callback)(), caddr_t arg, int ccblen); 91 int (*callback)(), 105 tgtlen, gwrap_len, callback, arg); 130 * callback to the HBA driver so it can initalize its 175 int (*callback)(), 184 ASSERT(callback == NULL_FUNC || callback == SLEEP_FUNC); 191 callback, arg, ccblen); 240 callback, arg, sg_attrp)) { 86 ghd_pktalloc(ccc_t *cccp, struct scsi_address *ap, int cmdlen, int statuslen, int tgtlen, int (*callback)(), caddr_t arg, int ccblen) argument 167 ghd_tran_init_pkt_attr(ccc_t *cccp, struct scsi_address *ap, struct scsi_pkt *pktp, struct buf *bp, int cmdlen, int statuslen, int tgtlen, int flags, int (*callback)(), caddr_t arg, int ccblen, ddi_dma_attr_t *sg_attrp) argument
|
| /illumos-gate/usr/src/cmd/logadm/ |
| H A D | lut.c | 138 void (*callback)(const char *lhs, void *rhs, void *arg), void *arg) 141 lut_walk(root->lut_left, callback, arg); 142 (*callback)(root->lut_lhs, root->lut_rhs, arg); 143 lut_walk(root->lut_right, callback, arg); 150 * if callback is provided, it is called for each value in the table. 155 lut_free(struct lut *root, void (*callback)(void *rhs)) 158 lut_free(root->lut_left, callback); 159 lut_free(root->lut_right, callback); 161 if (callback) 162 (*callback)(roo [all...] |
| H A D | lut.h | 42 void (*callback)(const char *lhs, void *rhs, void *arg), void *arg); 43 void lut_free(struct lut *root, void (*callback)(void *rhs));
|
| /illumos-gate/usr/src/common/ficl/ |
| H A D | callback.c | 7 * Feeds text to the vm's output callback 10 ficlCallbackTextOut(ficlCallback *callback, char *text) argument 14 if (callback != NULL) { 15 if (callback->textOut != NULL) 16 textOut = callback->textOut; 17 else if ((callback->system != NULL) && 18 (callback != &(callback->system->callback))) { 19 ficlCallbackTextOut(&(callback 41 ficlCallbackErrorOut(ficlCallback *callback, char *text) argument [all...] |
| H A D | system.c | 108 ficlCallback callback; local 117 callback.context = fsi->context; 118 callback.textOut = fsi->textOut; 119 callback.errorOut = fsi->errorOut; 120 callback.system = NULL; 121 callback.vm = NULL; 123 FICL_ASSERT(&callback, sizeof (ficlInteger) >= sizeof (void *)); 124 FICL_ASSERT(&callback, sizeof (ficlUnsigned) >= sizeof (void *)); 126 FICL_ASSERT(&callback, sizeof (ficlFloat) <= sizeof (ficlInteger)); 131 FICL_ASSERT(&callback, syste [all...] |
| H A D | tools.c | 66 ficlCallbackAssert(ficlCallback *callback, int expression, argument 74 ficlCallbackTextOut(callback, buffer); 78 FICL_IGNORE(callback); 94 ficlWord *pStep = ficlSystemLookup(vm->callback.system, "step-break"); 217 &(vm->callback)); 222 (ficlWord *)word->param->p, &(vm->callback)); 300 ficlVmSetBreak(vm, &(vm->callback.system->breakpoint)); 325 ficlVmSetBreak(vm, &(vm->callback.system->breakpoint)); 340 ficlWord *pStep = ficlSystemLookup(vm->callback.system, "step-break"); 353 vm->callback 553 ficlStackDisplay(ficlStack *stack, ficlStackWalkFunction callback, void *context) argument [all...] |
| /illumos-gate/usr/src/common/ficl/ficlplatform/ |
| H A D | unix.c | 37 ficlCallbackDefaultTextOut(ficlCallback *callback, char *message) argument 39 FICL_IGNORE(callback);
|