Searched defs:cb (Results 1 - 25 of 222) sorted by relevance

123456789

/illumos-gate/usr/src/cmd/acct/
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...]
/illumos-gate/usr/src/cmd/sgs/tools/common/
H A Dpiglatin.c45 char buffer[32767], * cb, * sb; local
48 sb = cb = &buffer[0];
81 if ((ignore == 0) && ((cb - buffer) > 1)) {
90 (void) strcpy(cb, "way");
97 *cb = s;
98 (void) strcpy(++cb, "ay");
101 *cb = '\0';
110 sb = cb = &buffer[0];
119 *cb++ = c;
120 *cb
[all...]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_callb.c65 mdb_callb_remove(mdb_callb_t *cb) argument
67 if (cb->cb_mod != NULL) {
68 mdb_callb_t *next = mdb_list_next(cb);
69 mdb_module_t *mod = cb->cb_mod;
71 if (mod->mod_cb == cb) {
79 mdb_list_delete(&mdb.m_cblist, cb);
81 mdb_free(cb, sizeof (mdb_callb_t));
94 mdb_callb_t *cb; local
96 while ((cb = mdb_list_next(&mdb.m_cblist)) != NULL)
97 mdb_callb_remove(cb);
103 mdb_callb_t *cb, *next; local
[all...]
H A Dmdb_wcb.c63 mdb_wcb_create(mdb_iwalker_t *iwp, mdb_walk_cb_t cb, void *data, uintptr_t addr) argument
70 wcb->w_state.walk_callback = cb;
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dulockf.c199 char cb[100]; local
203 (void) snprintf(cb, sizeof (cb),
205 logent("ULOCKC", cb);
212 (void) snprintf(cb, sizeof (cb),
214 logent("ULOCKW", cb);
226 (void) snprintf(cb, sizeof (cb),
228 logent("ULOCKLNK", cb);
[all...]
/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/mdb/common/modules/genunix/
H A Dndievents.c110 struct ndi_event_callbacks cb; local
121 if (mdb_vread(&cb, sizeof (struct ndi_event_callbacks),
129 (uintptr_t)cb.ndi_evtcb_dip) == -1) {
131 " %p", cb.ndi_evtcb_dip);
145 callback_list, cb.ndi_evtcb_callback, cb.ndi_evtcb_arg,
146 cb.ndi_evtcb_cookie);
148 callback_list = cb.ndi_evtcb_next;
/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans_polled.c77 struct kbtrans_callbacks *cb; local
95 cb = upper->kbtrans_streams_hw_callbacks;
102 while (cb->kbtrans_polled_keycheck(hw, &key, &state)) {
249 struct kbtrans_callbacks *cb; local
252 cb = upper->kbtrans_streams_hw_callbacks;
255 cb->kbtrans_polled_setled(hw, upper->kbtrans_lower.kbtrans_led_state);
/illumos-gate/usr/src/uts/sun4u/cpu/
H A Dopl_kdi.c69 kdi_cpu_ready_iter(int (*cb)(int, void *), void *arg) argument
75 rc += cb(i, arg);
H A Dspitfire_kdi.c70 kdi_cpu_ready_iter(int (*cb)(int, void *), void *arg) argument
76 rc += cb(i, arg);
H A Dus3_kdi.c70 kdi_cpu_ready_iter(int (*cb)(int, void *), void *arg) argument
76 rc += cb(i, arg);
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dzfs.c162 cbdata_t cb; local
172 cb.cb_guid = pool_guid;
173 cb.cb_pool = NULL;
175 if (zpool_iter(g_zfs, find_pool, &cb) == 1) {
176 name = zpool_get_name(cb.cb_pool);
189 if (cb.cb_pool)
190 zpool_close(cb.cb_pool);
/illumos-gate/usr/src/lib/libslp/clib/
H A DSLPFindSrvTypes.c73 SLPSrvTypeCallback cb, void *cookie,
90 cb(hp, pcSrvTypes, SLP_OK, cookie);
93 cb(hp, NULL, SLP_LAST_CALL, cookie);
105 return (cb(hp, NULL, errCode, cookie));
119 /* async; invoke cb */
120 cont = cb((SLPHandle) hp, pcSrvTypes, errCode, cookie);
72 UnpackSrvTypesReply(slp_handle_impl_t *hp, char *reply, SLPSrvTypeCallback cb, void *cookie, void **collator, int *numResults) argument
H A Dslp_ua_common.c40 SLPGenericAppCB *cb; member in struct:thr_call_args
51 SLPGenericAppCB cb, void *cookie,
79 args->cb = cb;
134 /* while cb wants more and there is more to get ... */
140 cont = args->msg_cb(hp, reply, args->cb, args->cookie,
150 /* cb doesn't want any more; invoke last call */
151 args->msg_cb(hp, NULL, args->cb, args->cookie,
50 slp_ua_common(SLPHandle hSLP, const char *scopes, SLPGenericAppCB cb, void *cookie, SLPMsgReplyCB msg_cb) argument
/illumos-gate/usr/src/common/crypto/modes/
H A Dctr.c207 ctr_init_ctx(ctr_ctx_t *ctr_ctx, ulong_t count, uint8_t *cb, argument
228 copy_block(cb, (uchar_t *)ctr_ctx->ctr_cb);
/illumos-gate/usr/src/lib/brand/shared/librtld_db/common/
H A Dbrand_librtld_db.c112 dummy_ldb_loadobj_iter32(rd_helper_data_t rhd, rl_iter_f *cb, void *client_data) argument
251 brand_ldb_loadobj_iter32(rd_helper_data_t rhd, rl_iter_f *cb, void *client_data) argument
265 err = _rd_loadobj_iter32(rap, cb, client_data);
/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/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);
/illumos-gate/usr/src/cmd/lms/
H A DPortForwardRequest.h55 IsConnectionPermittedCallback cb, bool isLocal) :
60 _cb(cb),
53 PortForwardRequest(std::string bindedAddress, int port, SOCKET listeningSocket, IsConnectionPermittedCallback cb, bool isLocal) argument
/illumos-gate/usr/src/cmd/ttymon/
H A Dstty.c69 static struct termios cb; variable in typeref:struct:termios
149 if ((term = get_ttymode(0, &ocb, &cb, &stio, &termiox, &winsize
203 if (s_arg = sttyparse(argc, argv, term, &ocb, &cb, &termiox, &winsize
223 if (set_ttymode(0, term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize
272 m = cb.c_cflag;
273 if ((term & TERMIOS) && cfgetispeed(&cb) != 0 &&
274 cfgetispeed(&cb) != cfgetospeed(&cb)) {
275 prspeed("ispeed ", cfgetispeed(&cb));
276 prspeed("ospeed ", cfgetospeed(&cb));
[all...]
H A Dsttyparse.c70 struct termios *cb, struct termiox *termiox, struct winsize *winsize
84 cb->c_cc[VERASE] = gct(*++argv, term);
86 cb->c_cc[VINTR] = gct(*++argv, term);
88 cb->c_cc[VQUIT] = gct(*++argv, term);
90 cb->c_cc[VEOF] = gct(*++argv, term);
93 cb->c_cc[VMIN] = atoi(*++argv);
95 cb->c_cc[VMIN] = gct(*++argv, term);
97 cb->c_cc[VEOL] = gct(*++argv, term);
99 cb->c_cc[VEOL2] = gct(*++argv, term);
102 cb
69 sttyparse(int argc, char *argv[], int term, struct termio *ocb, struct termios *cb, struct termiox *termiox, struct winsize *winsize , eucwidth_t *wp, struct eucioc *kwp, ldterm_cs_data_user_t *cswp, ldterm_cs_data_user_t *kcswp ) argument
[all...]
H A Dulockf.c301 char cb[100]; local
305 (void) sprintf(cb, "%s %s %d",tempfile, name, errno);
306 logent("ULOCKC", cb);
313 (void) sprintf(cb, "%s %s %d",tempfile, name, errno);
314 logent("ULOCKW", cb);
326 (void) sprintf(cb, "ULK err %s %d", tempfile, errno);
327 logent("ULOCKLNK", cb);
332 (void) sprintf(cb, "%s %d",tempfile,errno);
333 logent("ULOCKF", cb);
/illumos-gate/usr/src/uts/common/inet/ip/
H A Dip2mac.c146 ncec_add_cb(ncec_t *ncec, ip2mac_callback_t *cb, void *cbarg) argument
154 nce_cb->ncec_cb_func = cb;
173 * will be triggered, and the callback function (*cb) will be invoked after
177 ip2mac(uint_t op, ip2mac_t *ip2m, ip2mac_callback_t *cb, void *cbarg, argument
302 ip2mid = ncec_add_cb(ncec, cb, cbarg);
/illumos-gate/usr/src/ucbcmd/stty/
H A Dstty.c45 static struct termios cb; variable in typeref:struct:termios
99 &ocb, &cb, &stio, &termiox, &winsize)) < 0) {
105 if (cfgetospeed(&cb) ==
113 if ((cb.c_cflag&CBAUD) ==
128 &ocb, &cb, &stio, &termiox, &winsize)) < 0) {
138 &ocb, &cb, &stio, &termiox, &winsize)) < 0) {
168 term, &ocb, &cb, &termiox, &winsize)) {
174 term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize) == -1) {
220 m = cb.c_cflag;
221 if ((term & TERMIOS) && cfgetispeed(&cb) !
[all...]
/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_node.c77 prom_walk_devs(pnode_t node, int (*cb)(pnode_t, void *, void *), void *arg, argument
108 switch ((*cb)(curnode, arg, result)) {

Completed in 3032 milliseconds

123456789