Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 397) sorted by relevance

12345678910>>...16

/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/
H A Dbnxe_clc.c75 #define PATH_ID(cb) elink_cb_path_id(cb) argument
377 struct elink_dev *cb = params->cb; in elink_check_lfa() local
573 struct elink_dev *cb = params->cb; in elink_ets_e2e3a0_disabled() local
664 struct elink_dev *cb = params->cb; in elink_ets_e3b0_set_credit_upper_bound_nig() local
702 struct elink_dev *cb = params->cb; in elink_ets_e3b0_nig_disabled() local
786 struct elink_dev *cb = params->cb; in elink_ets_e3b0_set_credit_upper_bound_pbf() local
818 struct elink_dev *cb = params->cb; in elink_ets_e3b0_pbf_disabled() local
877 struct elink_dev *cb = params->cb; in elink_ets_e3b0_disabled() local
900 struct elink_dev *cb = params->cb; in elink_ets_disabled() local
925 struct elink_dev *cb = params->cb; in elink_ets_e3b0_cli_map() local
[all …]
/illumos-gate/usr/src/ucbcmd/stty/
H A Dstty.c221 m = cb.c_cflag; in prmodes()
223 cfgetispeed(&cb) != cfgetospeed(&cb)) { in prmodes()
266 cb.c_cc[VMIN], cb.c_cc[VTIME]); in prmodes()
476 cfgetispeed(&cb) != cfgetospeed(&cb)) { in pramodes()
492 cb.c_cc[VMIN], cb.c_cc[VTIME]); in pramodes()
668 pcol(cb.c_cc[VSUSP], cb.c_cc[VDSUSP]); in prachars()
671 pcol(cb.c_cc[VSTOP], cb.c_cc[VSTART]); in prachars()
673 pcol(cb.c_cc[VEOF], cb.c_cc[VEOL]); in prachars()
675 if (cb.c_cc[VEOL2] != 0 || cb.c_cc[VSWTCH] != 0) { in prachars()
784 (void) printf("%x:%x:%x:%x:", cb.c_iflag, cb.c_oflag, in prencode()
[all …]
H A Dsttyparse.c55 struct termios *cb;
144 cb->c_cc[VMIN] = 1;
145 cb->c_cc[VTIME] = 0;
186 cfsetospeed(cb, B0);
187 cfsetispeed(cb, B0);
219 cb->c_oflag |= TAB3;
418 struct termios *cb; in encode()
432 cb->c_iflag = grab[0];
433 cb->c_oflag = grab[1];
434 cb->c_cflag = grab[2];
[all …]
/illumos-gate/usr/src/cmd/ttymon/
H A Dstty.c272 m = cb.c_cflag; in prmodes()
274 cfgetispeed(&cb) != cfgetospeed(&cb)) { in prmodes()
317 cb.c_cc[VMIN], cb.c_cc[VTIME]); in prmodes()
508 m = cb.c_cflag; in pramodes()
511 cfgetispeed(&cb) != cfgetospeed(&cb)) { in pramodes()
546 cb.c_cc[VMIN], cb.c_cc[VTIME]); in pramodes()
570 m = cb.c_cflag; in pramodes()
586 m = cb.c_iflag; in pramodes()
604 m = cb.c_lflag; in pramodes()
630 m = cb.c_oflag; in pramodes()
[all …]
H A Dsttyparse.c149 cb->c_cc[VMIN] = 1;
150 cb->c_cc[VTIME] = 0;
152 cb->c_cc[VEOF] = CEOF;
153 cb->c_cc[VEOL] = CNUL;
161 cb->c_cc[VEOF] = CEOF;
253 cb->c_oflag |= TAB3;
265 cb->c_cflag |= CS8;
542 cb->c_iflag = grab[0];
543 cb->c_oflag = grab[1];
544 cb->c_cflag = grab[2];
[all …]
/illumos-gate/usr/src/cmd/zfs/
H A Dzfs_iter.c94 callback_data_t *cb = data; in zfs_callback() local
106 if (uu_avl_find(cb->cb_avl, node, cb->cb_sortcol, in zfs_callback()
108 if (cb->cb_proplist) { in zfs_callback()
134 cb->cb_depth < cb->cb_depth_limit)) { in zfs_callback()
135 cb->cb_depth++; in zfs_callback()
146 cb->cb_depth--; in zfs_callback()
378 callback_data_t cb = {0}; in zfs_for_each() local
389 cb.cb_sortcol = sortcol; in zfs_for_each()
390 cb.cb_flags = flags; in zfs_for_each()
392 cb.cb_types = types; in zfs_for_each()
[all …]
H A Dzfs_main.c442 FILE *fp = cb; in usage_prop_cb()
1198 if (cb->cb_firstsnap == NULL || cb->cb_prevsnap == NULL) in destroy_print_cb()
1255 if (!cb->cb_doclones && !cb->cb_defer_destroy) { in snapshot_to_nvl_cb()
1542 cb.cb_batchedsnaps, cb.cb_defer_destroy); in zfs_do_destroy()
1750 bzero(&cb.cb_columns, sizeof (cb.cb_columns)); in zfs_do_get()
1924 &cb.cb_proplist, limit, get_callback, &cb); in zfs_do_get()
2159 if (cb->cb_lastfs[0] && !same_pool(zhp, cb->cb_lastfs)) { in upgrade_set_callback()
3374 if (ret == 0 && cb.cb_first && !cb.cb_scripted) in zfs_do_list()
6500 zfs_foreach_mountpoint(g_zfs, cb.cb_handles, cb.cb_used, in share_mount()
7690 if (cb.cb_recursive && cb.cb_keylocation != NULL && in load_unload_keys()
[all …]
/illumos-gate/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c58 cbdata_t cb; in fmd_fmri_nvl2str() local
68 cb.cb_guid = pool_guid; in fmd_fmri_nvl2str()
69 cb.cb_pool = NULL; in fmd_fmri_nvl2str()
85 if (cb.cb_pool) in fmd_fmri_nvl2str()
147 cbdata_t cb; in fmd_fmri_present() local
152 cb.cb_guid = pool_guid; in fmd_fmri_present()
153 cb.cb_pool = NULL; in fmd_fmri_present()
174 cbdata_t cb; in fmd_fmri_replaced() local
180 cb.cb_pool = NULL; in fmd_fmri_replaced()
202 cbdata_t cb; in fmd_fmri_unusable() local
[all …]
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_callb.c65 mdb_callb_remove(mdb_callb_t *cb) in mdb_callb_remove() argument
67 if (cb->cb_mod != NULL) { in mdb_callb_remove()
69 mdb_module_t *mod = cb->cb_mod; in mdb_callb_remove()
71 if (mod->mod_cb == cb) { in mdb_callb_remove()
94 mdb_callb_t *cb; in mdb_callb_remove_all() local
97 mdb_callb_remove(cb); in mdb_callb_remove_all()
103 mdb_callb_t *cb, *next; in mdb_callb_fire() local
110 for (cb = mdb_list_next(&mdb.m_cblist); cb != NULL; cb = next) { in mdb_callb_fire()
111 next = mdb_list_next(cb); in mdb_callb_fire()
112 if (cb->cb_class == class) in mdb_callb_fire()
[all …]
/illumos-gate/usr/src/uts/common/fs/ufs/
H A Dlufs_log.c166 buf_t *cb; in ldl_strategy() local
203 cb->b_resid = cb->b_bcount; in ldl_strategy()
204 biodone(cb); in ldl_strategy()
302 ASSERT(bp == cb->cb_bp && bp == cb->cb_dirty); in push_dirty_bp()
444 if (cb->cb_nb) in alloc_wrbuf()
447 bzero(cb, sizeof (*cb)); in alloc_wrbuf()
492 if (cb->cb_nb) in alloc_rdbuf()
495 bzero(cb, sizeof (*cb)); in alloc_rdbuf()
568 kmem_free(cb->cb_va, cb->cb_nb); in free_cirbuf()
642 cirbuf_t *cb; in get_read_bp() local
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/profile/
H A Dprof_parse.c341 cb("\"", data); in output_quoted_string()
343 cb("\"", data); in output_quoted_string()
366 cb(buf, data); in output_quoted_string()
370 cb("\"", data); in output_quoted_string()
405 cb(EOL, data); in dump_profile()
410 cb(EOL, data); in dump_profile()
421 cb("[", data); in dump_profile()
423 cb("]", data); in dump_profile()
425 cb(EOL, data); in dump_profile()
427 cb(EOL, data); in dump_profile()
[all …]
/illumos-gate/usr/src/cmd/acct/
H A Dacctcon2.c42 struct ctmp cb; variable
50 &cb.ct_tty, in main()
51 &cb.ct_uid, in main()
52 cb.ct_name, in main()
53 &cb.ct_con[0], in main()
54 &cb.ct_con[1], in main()
55 &cb.ct_start) != EOF) { in main()
57 tb.ta_uid = cb.ct_uid; in main()
58 CPYN(tb.ta_name, cb.ct_name); in main()
59 tb.ta_con[0] = MINS(cb.ct_con[0]); in main()
[all …]
H A Dacctprc1.c51 struct ctmp cb; variable
192 &cb.ct_tty, in readctmp()
193 &cb.ct_uid, in readctmp()
194 cb.ct_name, in readctmp()
195 &cb.ct_con[0], in readctmp()
196 &cb.ct_con[1], in readctmp()
197 &cb.ct_start) != EOF) { in readctmp()
211 up->ur_uid = cb.ct_uid; in readctmp()
228 sp->sr_tty = cb.ct_tty; in readctmp()
229 sp->sr_start = cb.ct_start; in readctmp()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dclc.h92 #define ELINK_DEBUG_P0(cb, fmt) DbgMessage(cb, WARNelink, fmt) argument
93 #define ELINK_DEBUG_P1(cb, fmt, arg1) DbgMessage(cb, WARNelink, fmt, arg1) argument
94 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) DbgMessage(cb, WARNelink, fmt, arg1, arg2) argument
104 #define ELINK_DEBUG_P0(cb, fmt) elink_cb_dbg(cb, fmt) argument
105 #define ELINK_DEBUG_P1(cb, fmt, arg1) elink_cb_dbg1(cb, fmt, arg1) argument
106 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) elink_cb_dbg2(cb, fmt, arg1, arg2) argument
108 elink_cb_dbg3(cb, fmt, arg1, arg2, arg3)
112 #define ELINK_DEBUG_P0(cb, fmt) argument
113 #define ELINK_DEBUG_P1(cb, fmt, arg1) argument
114 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) argument
[all …]
/illumos-gate/usr/src/uts/common/sys/
H A Dfx.h84 #define FX_CB_VERSION(cb) cb->fx_callb_version argument
86 #define FX_CB_EXIT(cb, c) cb->fx_callb_exit(c) argument
88 #define FX_CB_TICK(cb, c, q, p) cb->fx_callb_tick(c, q, p) argument
90 #define FX_CB_PREEMPT(cb, c, q, p) cb->fx_callb_preempt(c, q, p) argument
92 #define FX_CB_STOP(cb, c) cb->fx_callb_stop(c) argument
94 #define FX_CB_SLEEP(cb, c) cb->fx_callb_sleep(c) argument
96 #define FX_CB_WAKEUP(cb, c, q, p) cb->fx_callb_wakeup(c, q, p) argument
/illumos-gate/usr/src/uts/common/io/kbtrans/
H A Dkbtrans.c92 if (cb->kc_keypressed_raw != NULL) { in kbtrans_processkey()
108 kbtrans_translate(lower, cb, key, state); in kbtrans_processkey()
168 cb->kc_cancel_repeat(lower->kbtrans_upper); in kbtrans_translate()
244 cb->kc_setled(lower->kbtrans_upper); in kbtrans_translate()
256 cb->kc_setled(lower->kbtrans_upper); in kbtrans_translate()
261 cb->kc_keypressed(lower->kbtrans_upper, in kbtrans_translate()
341 cb->kc_setled(lower->kbtrans_upper); in kbtrans_translate()
347 cb->kc_setled(lower->kbtrans_upper); in kbtrans_translate()
355 cb->kc_setled(lower->kbtrans_upper); in kbtrans_translate()
360 cb->kc_setled(lower->kbtrans_upper); in kbtrans_translate()
[all …]
/illumos-gate/usr/src/lib/libbe/common/
H A Dbe_list.c235 cb.flags = flags; in _be_list()
262 free(cb.be_name); in _be_list()
272 cb.be_nodes = NULL; in _be_list()
289 free(cb.be_name); in _be_list()
455 if (cb->be_name != NULL) { in be_get_list_callback()
502 if ((ret = be_get_node_data(zhp, cb->be_nodes, cb->be_name, in be_get_list_callback()
546 cb->be_nodes = cb->be_nodes_head; in be_allocate_callback_nodes()
547 cb->be_snapshots_tail = &cb->be_nodes->be_node_snapshots; in be_allocate_callback_nodes()
548 cb->be_datasets_tail = &cb->be_nodes->be_node_datasets; in be_allocate_callback_nodes()
622 cb->be_nodes = cb->be_nodes->be_next_node; in be_add_children_callback()
[all …]
/illumos-gate/usr/src/cmd/zpool/
H A Dzpool_main.c440 FILE *fp = cb; in print_prop_cb()
4152 !cb->cb_scripted && !cb->cb_vdev_names) { in print_vdev_stats()
4247 cb, 0); in print_iostat()
4249 !cb->cb_scripted && cb->cb_verbose && !cb->cb_vdev_names_count) { in print_iostat()
4924 &cb); in zpool_do_iostat()
5498 if (!cb.cb_scripted && (first || cb.cb_verbose)) { in zpool_do_list()
6266 err = zpool_scan(zhp, cb->cb_type, cb->cb_scrub_cmd); in scrub_callback()
7509 else if (cb.cb_explain && cb.cb_first && cb.cb_allpools) in zpool_do_status()
8255 bzero(&cb.cb_columns, sizeof (cb.cb_columns)); in zpool_do_get()
8358 error = zpool_set_prop(zhp, cb->cb_propname, cb->cb_value); in set_callback()
[all …]
/illumos-gate/usr/src/cmd/sgs/tools/common/
H A Dpiglatin.c45 char buffer[32767], * cb, * sb; in main() local
48 sb = cb = &buffer[0]; in main()
81 if ((ignore == 0) && ((cb - buffer) > 1)) { in main()
90 (void) strcpy(cb, "way"); in main()
97 *cb = s; in main()
98 (void) strcpy(++cb, "ay"); in main()
101 *cb = '\0'; in main()
110 sb = cb = &buffer[0]; in main()
119 *cb++ = c; in main()
120 *cb = '\0'; in main()
/illumos-gate/usr/src/lib/libsecdb/common/
H A Dchkauthattr.c132 res = _enum_common_p(GETPROF(pa->attr), cb, in _enum_common_p()
160 if (cb == NULL) in _enum_common()
168 res = cb(NULL, ua->attr, ctxt, pres); in _enum_common()
171 cb, ctxt, pres, wantattr, &cnt, profs); in _enum_common()
193 res = cb(NULL, kattrs, ctxt, pres); in _enum_common()
236 if (cauths == NULL || cb == NULL) in _enum_auths_a()
244 res = cb(auth, ctxt, pres); in _enum_auths_a()
257 int (*cb)(const char *, void *, void *); member
278 int (*cb)(const char *, void *, void *), in _enum_auths()
283 if (cb == NULL) in _enum_auths()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Ddriver.c286 struct cb_ops *cb; in dev_open() local
295 struct cb_ops *cb; in dev_close() local
481 struct cb_ops *cb; in bdev_print() local
540 struct cb_ops *cb; in bdev_dump() local
549 struct cb_ops *cb; in cdev_read() local
558 struct cb_ops *cb; in cdev_write() local
568 struct cb_ops *cb; in cdev_ioctl() local
578 struct cb_ops *cb; in cdev_devmap() local
594 struct cb_ops *cb; in cdev_segmap() local
605 struct cb_ops *cb; in cdev_poll() local
[all …]
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/
H A Dutil_cksum.c37 kg_checksum_channel_bindings(context, cb, cksum, bigend) in kg_checksum_channel_bindings() argument
39 gss_channel_bindings_t cb;
61 if (cb == GSS_C_NO_CHANNEL_BINDINGS) {
72 cb->initiator_address.length+
73 cb->acceptor_address.length+
74 cb->application_data.length);
84 TWRITE_INT(ptr, cb->initiator_addrtype, bigend);
85 TWRITE_BUF(ptr, cb->initiator_address, bigend);
86 TWRITE_INT(ptr, cb->acceptor_addrtype, bigend);
87 TWRITE_BUF(ptr, cb->acceptor_address, bigend);
[all …]
/illumos-gate/usr/src/cmd/dis/
H A Ddis_list.c144 cb_data_t *cb = data; in walk_sections() local
158 unp->un_mark = cb->cb_mark; in walk_sections()
185 cb_data_t cb; in dis_namelist_resolve_sections() local
196 cb.cb_mark = ++current_mark; in dis_namelist_resolve_sections()
197 cb.cb_source = namelist; in dis_namelist_resolve_sections()
198 cb.cb_resolved = listp; in dis_namelist_resolve_sections()
227 cb_data_t *cb = data; in walk_functions() local
265 cb_data_t cb; in dis_namelist_resolve_functions() local
270 cb.cb_mark = ++current_mark; in dis_namelist_resolve_functions()
271 cb.cb_source = namelist; in dis_namelist_resolve_functions()
[all …]
/illumos-gate/usr/src/cmd/stat/common/
H A Dwalkers.c41 snapshot_cb cb, void *data) in cpu_walk() argument
52 cb(cpu, newcpu, data); in cpu_walk()
74 snapshot_cb cb, void *data) in pset_walk() argument
113 snapshot_cb cb, void *data) in iodev_walk() argument
120 cb(d1, NULL, data); in iodev_walk()
125 cb(NULL, d2, data); in iodev_walk()
129 cb(d1, d2, data); in iodev_walk()
131 d2->is_children, cb, data); in iodev_walk()
139 cb(d1, NULL, data); in iodev_walk()
146 cb(NULL, d2, data); in iodev_walk()
[all …]
/illumos-gate/usr/src/lib/libnsl/dial/
H A Dulockf.c199 char cb[100]; in onelock() local
203 (void) snprintf(cb, sizeof (cb), in onelock()
205 logent("ULOCKC", cb); in onelock()
212 (void) snprintf(cb, sizeof (cb), in onelock()
214 logent("ULOCKW", cb); in onelock()
226 (void) snprintf(cb, sizeof (cb), in onelock()
228 logent("ULOCKLNK", cb); in onelock()
233 (void) snprintf(cb, sizeof (cb), "%s %d", tempfile, errno); in onelock()
234 logent("ULOCKF", cb); in onelock()

12345678910>>...16