Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 345) sorted by relevance

12345678910>>...14

/titanic_41/usr/src/uts/sun/io/dada/impl/
H A Ddcd_resource.c60 int (*callback)(caddr_t), caddr_t callback_arg) in dcd_alloc_consistent_buf()
70 kmflag = (callback == SLEEP_FUNC) ? KM_SLEEP: KM_NOSLEEP; in dcd_alloc_consistent_buf()
94 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_alloc_consistent_buf()
95 ddi_set_callback(callback, callback_arg, &dcd_callback_id); in dcd_alloc_consistent_buf()
121 int flags, int (*callback)(caddr_t), caddr_t callback_arg) in dcd_init_pkt()
134 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC; in dcd_init_pkt()
140 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_init_pkt()
141 ddi_set_callback(callback, callback_arg, in dcd_init_pkt()
165 ataopaque_t dmatoken, int (*callback)()) in dcd_resalloc() argument
173 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC: NULL_FUNC; in dcd_resalloc()
[all …]
/titanic_41/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c45 int (*callback)(caddr_t), caddr_t callback_arg) in scsi_alloc_consistent_buf()
56 kmflag = (callback == SLEEP_FUNC) ? KM_SLEEP : KM_NOSLEEP; in scsi_alloc_consistent_buf()
83 ((callback == SLEEP_FUNC) ? 1 : 0), 0, NULL, in scsi_alloc_consistent_buf()
85 if (callback == SLEEP_FUNC) { in scsi_alloc_consistent_buf()
104 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in scsi_alloc_consistent_buf()
105 ddi_set_callback(callback, callback_arg, in scsi_alloc_consistent_buf()
158 int (*callback)(), in scsi_dma_buf_bind_attr() argument
172 callback, arg, &pktw->pcw_cookie, in scsi_dma_buf_bind_attr()
271 int flags, int (*callback)(caddr_t), caddr_t callback_arg) in scsi_init_cache_pkt()
277 func = (callback == SLEEP_FUNC) ? SLEEP_FUNC : NULL_FUNC; in scsi_init_cache_pkt()
[all …]
H A Dscsi_reset_notify.c43 void (*callback)(caddr_t), caddr_t arg, kmutex_t *mutex, in scsi_hba_reset_notify_setup()
72 p->callback = callback; in scsi_hba_reset_notify_setup()
110 void (*callback)(caddr_t); in scsi_hba_reset_notify_callback() member
130 list[i].callback = p->callback; in scsi_hba_reset_notify_callback()
136 if (list[i].callback != NULL) in scsi_hba_reset_notify_callback()
137 (void) (*list[i].callback)(list[i].arg); in scsi_hba_reset_notify_callback()
/titanic_41/usr/src/cmd/fm/eversholt/common/
H A Dlut.c165 lut_walk(struct lut *root, lut_cb callback, void *arg) in lut_walk() argument
177 (*callback)(tmp->lut_lhs, tmp->lut_rhs, arg); in lut_walk()
186 (*callback)(tmp->lut_lhs, tmp->lut_rhs, arg); in lut_walk()
195 (*callback)(tmp->lut_lhs, tmp->lut_rhs, arg); in lut_walk()
205 lut_free(struct lut *root, lut_cb callback, void *arg) in lut_free() argument
217 if (callback) in lut_free()
218 (*callback)(tmp->lut_lhs, tmp->lut_rhs, arg); in lut_free()
227 if (callback) in lut_free()
228 (*callback)(tmp->lut_lhs, tmp->lut_rhs, arg); in lut_free()
237 if (tmp->lut_right != prev_child && callback) in lut_free()
[all …]
/titanic_41/usr/src/uts/sun4u/starfire/os/
H A Dbbus_intr.c122 void (*callback)(cpu_sgnblk_t *sigbp, void *arg); member
442 if ((func = sgnblk_poll_refs[i].callback) != NULL) { in juggle_sgnblk_poll()
456 if ((func = sgnblk_poll_refs[i].callback) != NULL) { in juggle_sgnblk_poll()
582 sgnblk_poll_reference(void (*callback)(cpu_sgnblk_t *sigb, void *arg), in sgnblk_poll_reference()
588 if (callback == NULL) in sgnblk_poll_reference()
597 if ((slot == -1) && (sgnblk_poll_refs[i].callback == NULL)) { in sgnblk_poll_reference()
601 if (sgnblk_poll_refs[i].callback == callback) { in sgnblk_poll_reference()
613 sgnblk_poll_refs[slot].callback = callback; in sgnblk_poll_reference()
618 (*callback)(sigbp, arg); in sgnblk_poll_reference()
626 sgnblk_poll_unreference(void (*callback)(cpu_sgnblk_t *sigb, void *arg)) in sgnblk_poll_unreference()
[all …]
/titanic_41/usr/src/uts/common/xen/os/
H A Dgnttab.c141 struct gnttab_free_callback *callback, *next; in do_free_callbacks() local
143 callback = gnttab_free_callback_list; in do_free_callbacks()
146 while (callback != NULL) { in do_free_callbacks()
147 next = callback->next; in do_free_callbacks()
148 if (gnttab_free_count >= callback->count) { in do_free_callbacks()
149 callback->next = NULL; in do_free_callbacks()
150 callback->fn(callback->arg); in do_free_callbacks()
152 callback->next = gnttab_free_callback_list; in do_free_callbacks()
153 gnttab_free_callback_list = callback; in do_free_callbacks()
155 callback = next; in do_free_callbacks()
[all …]
/titanic_41/usr/src/cmd/logadm/
H A Dlut.c138 void (*callback)(const char *lhs, void *rhs, void *arg), void *arg) in lut_walk()
141 lut_walk(root->lut_left, callback, arg); in lut_walk()
142 (*callback)(root->lut_lhs, root->lut_rhs, arg); in lut_walk()
143 lut_walk(root->lut_right, callback, arg); in lut_walk()
155 lut_free(struct lut *root, void (*callback)(void *rhs)) in lut_free()
158 lut_free(root->lut_left, callback); in lut_free()
159 lut_free(root->lut_right, callback); in lut_free()
161 if (callback) in lut_free()
162 (*callback)(root->lut_rhs); in lut_free()
/titanic_41/usr/src/uts/common/sys/rsm/
H A Drsmpi.h250 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, \ argument
523 (callback), (callback_arg))
[all …]
/titanic_41/usr/src/uts/sun/io/dada/conf/
H A Ddcd_confsubr.c80 dcd_probe(struct dcd_device *devp, int (*callback)()) in dcd_probe() argument
85 return ((*hba_tran->tran_tgt_probe)(devp, callback)); in dcd_probe()
87 return (dcd_hba_probe(devp, callback)); in dcd_probe()
106 dcd_hba_probe(struct dcd_device *devp, int (*callback)()) in dcd_hba_probe() argument
120 kmem_alloc(SUN_IDENTSIZE, ((callback == SLEEP_FUNC)? in dcd_hba_probe()
127 if (callback != SLEEP_FUNC && callback != NULL_FUNC) { in dcd_hba_probe()
130 cb_flag = callback; in dcd_hba_probe()
142 callback, NULL); in dcd_hba_probe()
/titanic_41/usr/src/uts/common/io/usb/usba/
H A DREADME56 usba_hcdi_cb USB_PIPE_STATE_ACTIVE - Before doing callback USB_PIPE_STATE_IDLE
57 (Normal callback) No outstanding request - USB_PIPE_STATE_IDLE
67 (exceptional callback) USB_PIPE_STATE_ACTIVE - Before auto clear USB_PIPE_STATE_ERROR
106 usba_hcdi_cb USB_PIPE_STATE_ACTIVE - Before doing callback USB_PIPE_STATE_IDLE
107 (Normal callback) No outstanding request - USB_PIPE_STATE_IDLE
116 (exceptional callback) USB_PIPE_STATE_ACTIVE - Before auto clear USB_PIPE_STATE_ERROR
147 …usba_hcdi_cb USB_PIPE_STATE_ACTIVE if no requests are pending Before doing callback USB_PIPE_STA…
148 else outstanding reqs pending Before doing callback USB_PIPE_STATE_ACTIVE
156 (exceptional callback) USB_PIPE_STATE_ACTIVE - Before auto clear USB_PIPE_STATE_ERROR
184 usba_hcdi_cb USB_PIPE_STATE_ACTIVE One time xfer Before doing callback USB_PIPE_STATE_IDLE
[all …]
H A Dusbai_pipe_mgmt.c311 void (*callback)(usb_pipe_handle_t, in usba_pipe_setup_func_call()
325 if (((usb_flags & USB_FLAGS_SLEEP) == 0) && (callback == NULL)) { in usba_pipe_setup_func_call()
345 request->callback = callback; in usba_pipe_setup_func_call()
359 if (callback) { in usba_pipe_setup_func_call()
362 callback(pipe_handle, callback_arg, USB_FAILURE, in usba_pipe_setup_func_call()
394 if (request->callback) { in usba_pipe_do_async_func_thread()
395 request->callback(pipe_handle, request->callback_arg, rval, in usba_pipe_do_async_func_thread()
952 void (*callback)( in usb_pipe_close()
968 if (callback) { in usb_pipe_close()
969 callback(pipe_handle, callback_arg, in usb_pipe_close()
[all …]
/titanic_41/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_scsa.c38 int (*callback)(), caddr_t arg, int ccblen);
91 int (*callback)(), in ghd_pktalloc() argument
105 tgtlen, gwrap_len, callback, arg); in ghd_pktalloc()
175 int (*callback)(), in ghd_tran_init_pkt_attr() argument
184 ASSERT(callback == NULL_FUNC || callback == SLEEP_FUNC); in ghd_tran_init_pkt_attr()
191 callback, arg, ccblen); in ghd_tran_init_pkt_attr()
240 callback, arg, sg_attrp)) { in ghd_tran_init_pkt_attr()
/titanic_41/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c92 int (*callback)(), int *, int *);
94 int (*callback)(), uchar_t *bufaddr, size_t buflen,
290 scsi_slave_do_rqsense(struct scsi_device *sd, int (*callback)()) in scsi_slave_do_rqsense() argument
300 (uint_t)SENSE_LENGTH, B_READ, callback, NULL); in scsi_slave_do_rqsense()
308 callback, NULL); in scsi_slave_do_rqsense()
357 scsi_slave(struct scsi_device *sd, int (*callback)()) in scsi_slave() argument
368 CDB_GROUP0, sizeof (struct scsi_arq_status), 0, 0, callback, NULL); in scsi_slave()
391 rval = scsi_slave_do_rqsense(sd, callback); in scsi_slave()
416 rval = scsi_slave_do_rqsense(sd, callback); in scsi_slave()
428 return (scsi_probe(sd, callback)); in scsi_slave()
[all …]
/titanic_41/usr/src/lib/libslp/clib/
H A Dslp.h187 SLPRegReport callback, /* receives completion status */
200 SLPRegReport callback, /* receives completion status */
212 SLPRegReport callback, /* receives completion status */
226 SLPSrvTypeCallback callback, /* receives results */
240 SLPSrvURLCallback callback, /* receives results */
254 SLPAttrCallback callback, /* receives results */
H A Dllib-lslp42 SLPRegReport callback, void *pvUser);
45 SLPRegReport callback, void *pvUser);
49 SLPRegReport callback, void *pvUser);
54 SLPSrvTypeCallback callback, void *pvUser);
58 SLPSrvURLCallback callback, void *pvUser);
62 SLPAttrCallback callback, void *pvUser);
/titanic_41/usr/src/lib/libnsl/yp/
H A Dyp_all.c63 __yp_all_cflookup(char *domain, char *map, struct ypall_callback *callback, in __yp_all_cflookup() argument
84 (callback == NULL)) in __yp_all_cflookup()
147 (xdrproc_t)xdr_ypall, (char *)callback, tp_timout); in __yp_all_cflookup()
177 yp_all(char *domain, char *map, struct ypall_callback *callback) in yp_all() argument
179 return (__yp_all_cflookup(domain, map, callback, 1)); in yp_all()
188 __yp_all_rsvdport(char *domain, char *map, struct ypall_callback *callback) in __yp_all_rsvdport() argument
208 (callback == NULL)) in __yp_all_rsvdport()
281 (xdrproc_t)xdr_ypall, (char *)callback, tp_timout); in __yp_all_rsvdport()
/titanic_41/usr/src/lib/libsqlite/test/
H A Dlock.test104 # You cannot UPDATE a table from within the callback of a SELECT
130 # callback of another SELECT on that same table because two
173 # tries to start a transaction, we get a busy callback.
176 proc callback {args} {
181 db2 busy callback
187 proc callback {file count} {
192 db2 busy callback
198 proc callback {file count} {
203 db2 busy callback
209 # In this test, the 3rd invocation of the busy callback causes
[all …]
H A Dprogress.test15 # focus of this file is testing the 'progress callback'.
41 # Test that the progress callback is invoked.
51 # Test that the query is abandoned when the progress callback returns non-zero
61 # Test that the query is rolled back when the progress callback returns
76 # Now set up the progress callback to abandon the query after the number of
79 # callback abandons the query.
109 # Check that a value of 0 for N means no progress callback
/titanic_41/usr/src/cmd/hal/hald/
H A Ddevice_store.c236 HalDeviceStoreForeachFn callback, in hal_device_store_foreach() argument
242 g_return_if_fail (callback != NULL); in hal_device_store_foreach()
248 cont = callback (store, d, user_data); in hal_device_store_foreach()
372 HalDeviceStoreAsyncCallback callback; member
415 info->callback (store, device, info->user_data); in match_device_async()
436 info->callback (store, device, info->user_data); in store_changed()
446 info->callback (info->store, NULL, info->user_data); in match_device_async_timeout()
457 HalDeviceStoreAsyncCallback callback, in hal_device_store_match_key_value_string_async() argument
468 callback (store, device, user_data); in hal_device_store_match_key_value_string_async()
478 info->callback = callback; in hal_device_store_match_key_value_string_async()
/titanic_41/usr/src/uts/common/xen/io/
H A Dxenbus_client.c74 void (*callback)(struct xenbus_watch *, in xenbus_watch_path()
80 watch->callback = callback; in xenbus_watch_path()
86 watch->callback = NULL; in xenbus_watch_path()
97 void (*callback)(struct xenbus_watch *, in xenbus_watch_path2()
108 err = xenbus_watch_path(dev, state, watch, callback); in xenbus_watch_path2()
/titanic_41/usr/src/uts/common/sys/scsi/impl/
H A Dtransport.h92 int (*callback)(
131 int (*callback)(
150 void (*callback)(caddr_t),
183 void (*callback)(
273 int (*callback)(
384 int (*callback)(void));
388 int (*callback)(void),
425 int (*callback)(caddr_t),
482 int (*callback)(void));
/titanic_41/usr/src/lib/sun_fc/common/
H A DAdapterAddEventListener.cc43 void *data) : Listener(data), callback(myCallback) { in AdapterAddEventListener()
45 if (callback == NULL) { in AdapterAddEventListener()
64 callback(getData(), wwn, HBA_EVENT_ADAPTER_ADD); in dispatch()
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()
/titanic_41/usr/src/uts/common/io/cxgbe/shared/
H A Dshared.c105 int (*callback)(caddr_t); in rxbuf_ctor() local
109 callback = DDI_DMA_SLEEP; in rxbuf_ctor()
111 callback = DDI_DMA_DONTWAIT; in rxbuf_ctor()
113 rc = ddi_dma_alloc_handle(p->dip, &p->dma_attr_rx, callback, 0, in rxbuf_ctor()
119 DDI_DMA_STREAMING, callback, 0, &rxb->va, &real_len, &rxb->ahdl); in rxbuf_ctor()

12345678910>>...14