Home
last modified time | relevance | path

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

12345678910>>...14

/illumos-gate/usr/src/common/ficl/
H A Dcallback.c14 if (callback != NULL) { in ficlCallbackTextOut()
15 if (callback->textOut != NULL) in ficlCallbackTextOut()
16 textOut = callback->textOut; in ficlCallbackTextOut()
18 (callback != &(callback->system->callback))) { in ficlCallbackTextOut()
19 ficlCallbackTextOut(&(callback->system->callback), in ficlCallbackTextOut()
26 callback = &(ficlSystemGlobal->callback); in ficlCallbackTextOut()
33 (textOut)(callback, text); in ficlCallbackTextOut()
45 if (callback != NULL) { in ficlCallbackErrorOut()
49 (callback != &(callback->system->callback))) { in ficlCallbackErrorOut()
50 ficlCallbackErrorOut(&(callback->system->callback), in ficlCallbackErrorOut()
[all …]
H A Dsystem.c110 ficlCallback callback; in ficlSystemCreate() local
119 callback.context = fsi->context; in ficlSystemCreate()
120 callback.textOut = fsi->textOut; in ficlSystemCreate()
122 callback.system = NULL; in ficlSystemCreate()
123 callback.vm = NULL; in ficlSystemCreate()
133 FICL_ASSERT(&callback, system); in ficlSystemCreate()
160 system->callback.system = system; in ficlSystemCreate()
161 system->callback.vm = NULL; in ficlSystemCreate()
338 memcpy(&(vm->callback), &(system->callback), sizeof (system->callback)); in ficlSystemCreateVm()
339 vm->callback.vm = vm; in ficlSystemCreateVm()
[all …]
H A Dtools.c75 ficlCallbackTextOut(callback, buffer); in ficlCallbackAssert()
79 FICL_IGNORE(callback); in ficlCallbackAssert()
218 &(vm->callback)); in ficlPrimitiveSeeXT()
223 (ficlWord *)word->param->p, &(vm->callback)); in ficlPrimitiveSeeXT()
355 vm->callback.system->breakpoint.oldXT = vm->ip[1]; in ficlPrimitiveStepOver()
401 *vm->ip = vm->callback.system->breakpoint.oldXT; in ficlPrimitiveStepBreak()
413 word = vm->callback.system->breakpoint.oldXT; in ficlPrimitiveStepBreak()
574 if (callback == NULL) { in ficlStackDisplay()
578 callback = ficlStackDisplayCallback; in ficlStackDisplay()
876 ficlSystem *system = vm->callback.system; in ficlPrimitiveParseStepList()
[all …]
/illumos-gate/usr/src/uts/sun/io/dada/impl/
H A Ddcd_resource.c58 int (*callback)(caddr_t), caddr_t callback_arg) in dcd_alloc_consistent_buf()
92 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_alloc_consistent_buf()
138 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_init_pkt()
139 ddi_set_callback(callback, callback_arg, in dcd_init_pkt()
163 ataopaque_t dmatoken, int (*callback)()) in dcd_resalloc() argument
176 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_resalloc()
177 ddi_set_callback(callback, NULL, &dcd_callback_id); in dcd_resalloc()
186 int (*callback)()) in dcd_pktalloc() argument
199 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in dcd_pktalloc()
200 ddi_set_callback(callback, NULL, &dcd_callback_id); in dcd_pktalloc()
[all …]
/illumos-gate/usr/src/uts/common/io/scsi/impl/
H A Dscsi_resource.c85 if (callback == SLEEP_FUNC) { in scsi_alloc_consistent_buf()
104 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { 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()
283 if (callback == SLEEP_FUNC) in scsi_init_cache_pkt()
508 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in scsi_init_cache_pkt()
588 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in scsi_init_pkt()
635 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in scsi_resalloc()
645 int (*callback)()) in scsi_pktalloc() argument
656 if (callback != NULL_FUNC && callback != SLEEP_FUNC) { in scsi_pktalloc()
[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()
/illumos-gate/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 …]
/illumos-gate/usr/src/uts/common/xen/os/
H A Dgnttab.c146 while (callback != NULL) { in do_free_callbacks()
147 next = callback->next; in do_free_callbacks()
149 callback->next = NULL; in do_free_callbacks()
150 callback->fn(callback->arg); in do_free_callbacks()
155 callback = next; in do_free_callbacks()
483 if (callback->next) in gnttab_request_free_callback()
485 callback->fn = fn; in gnttab_request_free_callback()
486 callback->arg = arg; in gnttab_request_free_callback()
487 callback->count = count; in gnttab_request_free_callback()
502 if (*pcb == callback) { in gnttab_cancel_free_callback()
[all …]
/illumos-gate/usr/src/cmd/logadm/
H A Dlut.c136 void (*callback)(const char *lhs, void *rhs, void *arg), void *arg) in lut_walk()
139 lut_walk(root->lut_left, callback, arg); in lut_walk()
140 (*callback)(root->lut_lhs, root->lut_rhs, arg); in lut_walk()
141 lut_walk(root->lut_right, callback, arg); in lut_walk()
153 lut_free(struct lut *root, void (*callback)(void *rhs)) in lut_free()
156 lut_free(root->lut_left, callback); in lut_free()
157 lut_free(root->lut_right, callback); in lut_free()
159 if (callback) in lut_free()
160 (*callback)(root->lut_rhs); in lut_free()
/illumos-gate/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,
523 (callback), (callback_arg))
542 (callback), (callback_arg))
547 callback, callback_arg) \ argument
606 (dev_offset), (callback), (arg))
665 callback, arg, iqp) \ argument
668 (callback), (arg), (iqp))
[all …]
/illumos-gate/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
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
193 (exceptional callback) USB_PIPE_STATE_ACTIVE - Before auto clear USB_PIPE_STATE_ERROR
225 else outstanding reqs pending Before doing callback USB_PIPE_STATE_ACTIVE
233 (exceptional callback) USB_PIPE_STATE_ACTIVE - Before auto clear USB_PIPE_STATE_ERROR
[all …]
H A Dusbai_pipe_mgmt.c346 request->callback = callback; in usba_pipe_setup_func_call()
360 if (callback) { in usba_pipe_setup_func_call()
395 if (request->callback) { in usba_pipe_do_async_func_thread()
1037 void (*callback)( in usb_pipe_close()
1053 if (callback) { in usb_pipe_close()
1076 if (callback) { in usb_pipe_close()
1111 if (callback) { in usb_pipe_close()
1326 void (*callback)( in usb_pipe_reset()
1344 if (callback) { in usb_pipe_reset()
1358 if (callback) { in usb_pipe_reset()
[all …]
/illumos-gate/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()
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/io/scsi/conf/
H A Dscsi_confsubr.c92 int (*callback)(), int *, int *);
308 callback, NULL); in scsi_slave_do_rqsense()
428 return (scsi_probe(sd, callback)); in scsi_slave()
1042 ret = scsi_hba_probe(sd, callback); in scsi_probe()
1107 if (callback != SLEEP_FUNC && callback != NULL_FUNC) { in scsi_hba_probe_pi()
1110 cb_flag = callback; in scsi_hba_probe_pi()
1120 0, PKT_CONSISTENT, callback, NULL); in scsi_hba_probe_pi()
2108 rval = send_scsi_INQUIRY(sd, callback, in check_vpd_page_support8083()
2167 if (callback != SLEEP_FUNC && callback != NULL_FUNC) in send_scsi_INQUIRY()
2170 cb_flag = callback; in send_scsi_INQUIRY()
[all …]
/illumos-gate/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 */
/illumos-gate/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()
/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_db.c523 run_sql(callback, info, in sql_select_return_states_pointer()
556 mem_sql(callback, info, in sql_select_return_states()
585 mem_sql(callback, info, in sql_select_implies()
635 def_callback->callback = callback; in select_caller_info_hook()
649 member_callback->callback = callback; in add_member_info_callback()
658 member_callback->callback = callback; in add_caller_info_callback()
666 callback->callback = fn; in add_split_return_callback()
675 member_callback->callback = callback; in add_returned_member_callback()
684 cb->callback = callback; in select_call_implies_hook()
693 cb->callback = callback; in select_return_implies_hook()
[all …]
H A Dsmatch_returns.c25 void (*callback)(void); member
51 void all_return_states_hook(void (*callback)(void)) in all_return_states_hook()
55 rs_cb->callback = callback; in all_return_states_hook()
66 rs_cb->callback(); in call_hooks()
/illumos-gate/usr/src/lib/libsqlite/test/
H A Dlock.test176 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
214 proc callback {file count} {
221 db2 busy callback
228 proc callback {file count} {
235 db2 busy callback
[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
/illumos-gate/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()
/illumos-gate/usr/src/uts/common/sys/scsi/impl/
H A Dtransport.h93 int (*callback)(
132 int (*callback)(
151 void (*callback)(caddr_t),
184 void (*callback)(
274 int (*callback)(
385 int (*callback)(void));
389 int (*callback)(void),
426 int (*callback)(caddr_t),
483 int (*callback)(void));
/illumos-gate/usr/src/uts/common/xen/io/
H A Dxenbus_client.c72 void (*callback)(struct xenbus_watch *, in xenbus_watch_path()
78 watch->callback = callback; in xenbus_watch_path()
84 watch->callback = NULL; in xenbus_watch_path()
95 void (*callback)(struct xenbus_watch *, in xenbus_watch_path2()
106 err = xenbus_watch_path(dev, state, watch, callback); in xenbus_watch_path2()
/illumos-gate/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()

12345678910>>...14