Searched refs:cb (Results 1 - 25 of 321) sorted by path

1234567891011>>

/illumos-gate/usr/src/boot/sys/boot/userboot/test/
H A Dtest.c382 struct loader_callbacks cb = { variable in typeref:struct:loader_callbacks
474 func(&cb, NULL, USERBOOT_VERSION_3, disk_fd >= 0);
/illumos-gate/usr/src/boot/sys/boot/userboot/userboot/
H A Dmain.c80 loader_main(struct loader_callbacks *cb, void *arg, int version, int ndisks) argument
89 callbacks = cb;
/illumos-gate/usr/src/cmd/acct/
H A Dacctcon.c56 struct ctmp cb; /* record structure written out of */ variable in typeref:struct:ctmp
351 cb.ct_tty = tp->tdev;
352 CPYN(cb.ct_name, tp->tname);
353 cb.ct_uid = namtouid(cb.ct_name);
354 cb.ct_start = told;
355 if (pnpsplit(cb.ct_start, (ulong_t)(tnew-told),
356 cb.ct_con) == 0) {
361 enter(&cb);
371 cb
[all...]
H A Dacctcon1.c56 struct ctmp cb; /* record structure written out of */ variable in typeref:struct:ctmp
375 cb.ct_tty = tp->tdev;
376 CPYN(cb.ct_name, tp->tname);
377 cb.ct_uid = namtouid(cb.ct_name);
378 cb.ct_start = told;
379 if (pnpsplit(cb.ct_start, (ulong_t)(tnew-told),
380 cb.ct_con) == 0) {
385 prctmp(&cb);
398 cb
[all...]
H A Dacctcon2.c42 struct ctmp cb; variable in typeref:struct:ctmp
50 &cb.ct_tty,
51 &cb.ct_uid,
52 cb.ct_name,
53 &cb.ct_con[0],
54 &cb.ct_con[1],
55 &cb.ct_start) != EOF) {
57 tb.ta_uid = cb.ct_uid;
58 CPYN(tb.ta_name, cb.ct_name);
59 tb.ta_con[0] = MINS(cb
[all...]
H A Dacctprc1.c51 struct ctmp cb; variable in typeref:struct:ctmp
192 &cb.ct_tty,
193 &cb.ct_uid,
194 cb.ct_name,
195 &cb.ct_con[0],
196 &cb.ct_con[1],
197 &cb.ct_start) != EOF) {
198 if (up == NULL || cb.ct_uid != up->ur_uid ||
199 !EQN(cb.ct_name, up->ur_name)) {
211 up->ur_uid = cb
[all...]
/illumos-gate/usr/src/cmd/bnu/
H A Dulockf.c302 char cb[100]; local
306 (void) sprintf(cb, "%s %s %d",tempfile, name, errno);
307 logent("ULOCKC", cb);
314 (void) sprintf(cb, "%s %s %d",tempfile, name, errno);
315 logent("ULOCKW", cb);
327 (void) sprintf(cb, "ULK err %s %d", tempfile, errno);
328 logent("ULOCKLNK", cb);
333 (void) sprintf(cb, "%s %d",tempfile,errno);
334 logent("ULOCKF", cb);
H A Duucico.c102 char cb[128]; local
735 (void) sprintf(cb, "conversation complete %s %ld",
737 logent(cb, "OK");
848 char cb[20]; local
850 (void) sprintf(cb, "SIGNAL %d", inter);
851 logent("INTREXIT", cb);
/illumos-gate/usr/src/cmd/boot/bootadm/
H A Dbootadm_loader.c557 ficlTextOutSilent(ficlCallback *cb, char *text) argument
/illumos-gate/usr/src/cmd/cdrw/
H A Dtrackio.c262 int (*cb)(int64_t, int64_t), int64_t arg, struct trackio_error *te)
387 if (cb != NULL) {
389 pcb_cb = cb;
407 if (cb != NULL) {
536 if (cb != NULL) {
261 write_track(cd_device *dev, struct track_info *ti, bstreamhandle h, int (*cb)(int64_t, int64_t), int64_t arg, struct trackio_error *te) argument
H A Dtrackio.h79 int (*cb)(int64_t, int64_t), int64_t arg, struct
/illumos-gate/usr/src/cmd/cmd-inet/lib/ipmgmtd/
H A Dipmgmt_door.c184 ipadm_dbwrite_cbarg_t cb; local
209 cb.dbw_nvl = nvl;
210 cb.dbw_flags = pargp->ia_flags;
211 err = ipmgmt_db_walk(ipmgmt_db_update, &cb, IPADM_DB_WRITE);
329 ipadm_dbwrite_cbarg_t cb; local
331 cb.dbw_nvl = nvl;
332 cb.dbw_flags = 0;
333 err = ipmgmt_db_walk(ipmgmt_db_add, &cb, IPADM_DB_WRITE);
839 ipadm_dbwrite_cbarg_t cb; local
858 cb
[all...]
H A Dipmgmt_persist.c500 ipadm_dbwrite_cbarg_t *cb = arg; local
501 uint_t flags = cb->dbw_flags;
502 nvlist_t *in_nvl = cb->dbw_nvl;
1171 ipadm_dbwrite_cbarg_t *cb = arg; local
1172 nvlist_t *in_nvl = cb->dbw_nvl;
1173 uint32_t flags = cb->dbw_flags;
1238 ipadm_dbwrite_cbarg_t cb; local
1244 cb.dbw_nvl = nvl;
1246 cb.dbw_flags = IPMGMT_ATYPE_V6ACONF;
1248 cb
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dobjects.c446 * Walk all objects of specified type calling callback function cb.
450 nwamd_walk_objects(nwam_object_type_t type, int (*cb)(nwamd_object_t, void *), argument
464 ret = cb(object, data);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/ilbd/
H A Dilbd_scf.c1288 * cb is ilbd_scf_load_prop()
1292 ilb_status_t (*cb)(scf_propertygroup_t *, const char *, void *),
1325 ret = cb(pg, prop_name, arg);
1346 ilb_status_t (*cb)(void *, int, struct passwd *, ucred_t *),
1416 ret = cb(data.rule_data, port, arg2, NULL);
1442 ret = cb(data.sg_data, port, arg2, NULL);
1488 ret = cb(data.hc_data, port, arg2, NULL);
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c694 * cb - Callback function to be called when file is found.
702 int (*cb)(const char *, void *arg), void *arg)
734 if ((ret = cb(ckpath[i], arg)) != WBCGI_FTW_CBCONT)
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/snoop/
H A Dsnoop_bpdu.c56 struct conf_bpdu *cb; local
65 cb = (struct conf_bpdu *)data;
69 "Bridge PDU T:%d L:%d", cb->cb_type, dlen);
76 switch (cb->cb_type) {
91 "PDU type = %d (%s)", cb->cb_type, pdutype);
/illumos-gate/usr/src/cmd/dis/
H A Ddis_list.c144 cb_data_t *cb = data; local
148 if ((walk = uu_list_walk_start(cb->cb_source, UU_DEFAULT)) == NULL)
158 unp->un_mark = cb->cb_mark;
168 (void) uu_list_insert_before(cb->cb_resolved, NULL,
185 cb_data_t cb; local
196 cb.cb_mark = ++current_mark;
197 cb.cb_source = namelist;
198 cb.cb_resolved = listp;
200 dis_tgt_section_iter(tgt, walk_sections, &cb);
227 cb_data_t *cb local
265 cb_data_t cb; local
[all...]
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c143 find_cbdata_t cb; local
150 cb.cb_guid = pool_guid;
151 if (zpool_iter(zhdl, find_pool, &cb) != 1)
154 zhp = cb.cb_zhp;
203 find_cbdata_t cb; local
205 cb.cb_fru = fru;
206 cb.cb_zhp = NULL;
207 if (zpool_iter(zhdl, search_pool, &cb) != 1)
210 *vdevp = cb.cb_vdev;
211 return (cb
[all...]
/illumos-gate/usr/src/cmd/fm/modules/sun4v/etm/
H A Detm.c696 char cb[80]; /* char buf */ local
704 * hence cb exists to accumulate a longer string.
709 (void) sprintf(&cb[j], "%2.2x ", n);
713 cb[j-1] = '\0';
714 fmd_hdl_debug(hdl, "%s\n", cb);
/illumos-gate/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c58 cbdata_t cb; local
68 cb.cb_guid = pool_guid;
69 cb.cb_pool = NULL;
71 if (zpool_iter(g_zfs, find_pool, &cb) == 1) {
72 name = zpool_get_name(cb.cb_pool);
85 if (cb.cb_pool)
86 zpool_close(cb.cb_pool);
147 cbdata_t cb; local
152 cb.cb_guid = pool_guid;
153 cb
174 cbdata_t cb; local
202 cbdata_t cb; local
[all...]
/illumos-gate/usr/src/cmd/fs.d/nfs/mount/
H A Dmount.c468 char *sport, *cb; local
488 cb = strchr(host, ']');
489 if (cb == NULL) {
495 *cb = '\0';
497 cb++;
498 if (*cb == ':')
500 atoi(cb+1));
/illumos-gate/usr/src/cmd/fs.d/nfs/nfsmapid/
H A Dnfsmapid_server.c810 static cb_t cb; local
817 cb.fcn = cb_update_domain;
818 cb.signal = sighup;
819 mapid_reeval_domain(&cb);
/illumos-gate/usr/src/cmd/fs.d/ufs/fsck/
H A Dutilities.c1781 deshadow(struct shadowclientinfo *sci, void (*cb)(fsck_ino_t)) argument
1791 if (cb != NULL) {
1793 (*cb)(discard->client[idx]);
2172 examinelog(void (*cb)(daddr32_t)) argument
2226 if (cb != NULL)
2227 (*cb)(fno);
2234 if (cb != NULL) {
2237 (*cb)(fno);
/illumos-gate/usr/src/cmd/hal/hald/
H A Dhald_runner.c45 HalRunTerminatedCB cb; member in struct:__anon621
58 HalRunTerminatedCB cb; member in struct:__anon622
124 rp->cb (rp->device, 0, 0, NULL, rp->data1, rp->data2);
366 HalRunTerminatedCB cb, gpointer data1, gpointer data2)
397 if (cb != NULL) {
401 rp->cb = cb;
456 hb->cb(hb->d, exitt, return_code,
469 hb->cb(hb->d, HALD_RUN_FAILED, return_code, NULL, hb->data1, hb->data2);
485 HalRunTerminatedCB cb,
365 hald_runner_start(HalDevice *device, const gchar *command_line, char **extra_env, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument
481 hald_runner_run_method(HalDevice *device, const gchar *command_line, char **extra_env, gchar *input, gboolean error_on_stderr, guint32 timeout, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument
532 hald_runner_run(HalDevice *device, const gchar *command_line, char **extra_env, guint timeout, HalRunTerminatedCB cb, gpointer data1, gpointer data2) argument
[all...]

Completed in 203 milliseconds

1234567891011>>