/illumos-gate/usr/src/uts/common/io/bnxe/577xx/common/ |
H A D | bnxe_clc.c | 75 #define PATH_ID(cb) elink_cb_path_id(cb) argument 378 struct elink_dev *cb = params->cb; in elink_check_lfa() local 574 struct elink_dev *cb = params->cb; in elink_ets_e2e3a0_disabled() local 665 struct elink_dev *cb = params->cb; in elink_ets_e3b0_set_credit_upper_bound_nig() local 703 struct elink_dev *cb = params->cb; in elink_ets_e3b0_nig_disabled() local 787 struct elink_dev *cb = params->cb; in elink_ets_e3b0_set_credit_upper_bound_pbf() local 819 struct elink_dev *cb = params->cb; in elink_ets_e3b0_pbf_disabled() local 878 struct elink_dev *cb = params->cb; in elink_ets_e3b0_disabled() local 901 struct elink_dev *cb = params->cb; in elink_ets_disabled() local 926 struct elink_dev *cb = params->cb; in elink_ets_e3b0_cli_map() local [all …]
|
/illumos-gate/usr/src/ucbcmd/stty/ |
H A D | stty.c | 221 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 D | sttyparse.c | 52 struct termios *cb; 141 cb->c_cc[VMIN] = 1; 142 cb->c_cc[VTIME] = 0; 183 cfsetospeed(cb, B0); 184 cfsetispeed(cb, B0); 216 cb->c_oflag |= TAB3; 415 struct termios *cb; in encode() 429 cb->c_iflag = grab[0]; 430 cb->c_oflag = grab[1]; 431 cb->c_cflag = grab[2]; [all …]
|
/illumos-gate/usr/src/cmd/ttymon/ |
H A D | stty.c | 272 m = cb.c_cflag; in prmodes() 274 cfgetispeed(&cb) != cfgetospeed(&cb)) { in prmodes() 317 cb.c_cc[VMIN], cb.c_cc[VTIME]); in prmodes() 509 m = cb.c_cflag; in pramodes() 512 cfgetispeed(&cb) != cfgetospeed(&cb)) { in pramodes() 547 cb.c_cc[VMIN], cb.c_cc[VTIME]); in pramodes() 571 m = cb.c_cflag; in pramodes() 587 m = cb.c_iflag; in pramodes() 605 m = cb.c_lflag; in pramodes() 631 m = cb.c_oflag; in pramodes() [all …]
|
H A D | sttyparse.c | 149 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 D | zfs_iter.c | 94 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 D | zfs_main.c | 442 FILE *fp = cb; in usage_prop_cb() 1265 if (cb->cb_firstsnap == NULL || cb->cb_prevsnap == NULL) in destroy_print_cb() 1322 if (!cb->cb_doclones && !cb->cb_defer_destroy) { in snapshot_to_nvl_cb() 1609 cb.cb_batchedsnaps, cb.cb_defer_destroy); in zfs_do_destroy() 1817 bzero(&cb.cb_columns, sizeof (cb.cb_columns)); in zfs_do_get() 1991 &cb.cb_proplist, limit, get_callback, &cb); in zfs_do_get() 2226 if (cb->cb_lastfs[0] && !same_pool(zhp, cb->cb_lastfs)) { in upgrade_set_callback() 3454 if (ret == 0 && cb.cb_first && !cb.cb_scripted) in zfs_do_list() 6581 zfs_foreach_mountpoint(g_zfs, cb.cb_handles, cb.cb_used, in share_mount() 7771 if (cb.cb_recursive && cb.cb_keylocation != NULL && in load_unload_keys() [all …]
|
/illumos-gate/usr/src/cmd/fm/schemes/zfs/ |
H A D | scheme.c | 58 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 D | mdb_callb.c | 63 mdb_callb_remove(mdb_callb_t *cb) in mdb_callb_remove() argument 65 if (cb->cb_mod != NULL) { in mdb_callb_remove() 67 mdb_module_t *mod = cb->cb_mod; in mdb_callb_remove() 69 if (mod->mod_cb == cb) { in mdb_callb_remove() 92 mdb_callb_t *cb; in mdb_callb_remove_all() local 95 mdb_callb_remove(cb); in mdb_callb_remove_all() 101 mdb_callb_t *cb, *next; in mdb_callb_fire() local 108 for (cb = mdb_list_next(&mdb.m_cblist); cb != NULL; cb = next) { in mdb_callb_fire() 109 next = mdb_list_next(cb); in mdb_callb_fire() 110 if (cb->cb_class == class) in mdb_callb_fire() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 166 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 D | prof_parse.c | 341 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/uts/common/io/bnxe/577xx/hsi/hw/include/ |
H A D | clc.h | 92 #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/cmd/acct/ |
H A D | acctcon2.c | 42 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 D | acctprc1.c | 50 struct ctmp cb; variable 191 &cb.ct_tty, in readctmp() 192 &cb.ct_uid, in readctmp() 193 cb.ct_name, in readctmp() 194 &cb.ct_con[0], in readctmp() 195 &cb.ct_con[1], in readctmp() 196 &cb.ct_start) != EOF) { in readctmp() 210 up->ur_uid = cb.ct_uid; in readctmp() 227 sp->sr_tty = cb.ct_tty; in readctmp() 228 sp->sr_start = cb.ct_start; in readctmp() [all …]
|
/illumos-gate/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans.c | 92 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 D | be_list.c | 235 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() 459 if (cb->be_name != NULL) { in be_get_list_callback() 511 if ((ret = be_get_node_data(zhp, cb->be_nodes, cb->be_name, in be_get_list_callback() 555 cb->be_nodes = cb->be_nodes_head; in be_allocate_callback_nodes() 556 cb->be_snapshots_tail = &cb->be_nodes->be_node_snapshots; in be_allocate_callback_nodes() 557 cb->be_datasets_tail = &cb->be_nodes->be_node_datasets; in be_allocate_callback_nodes() 631 cb->be_nodes = cb->be_nodes->be_next_node; in be_add_children_callback() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fx.h | 82 #define FX_CB_VERSION(cb) cb->fx_callb_version argument 84 #define FX_CB_EXIT(cb, c) cb->fx_callb_exit(c) argument 86 #define FX_CB_TICK(cb, c, q, p) cb->fx_callb_tick(c, q, p) argument 88 #define FX_CB_PREEMPT(cb, c, q, p) cb->fx_callb_preempt(c, q, p) argument 90 #define FX_CB_STOP(cb, c) cb->fx_callb_stop(c) argument 92 #define FX_CB_SLEEP(cb, c) cb->fx_callb_sleep(c) argument 94 #define FX_CB_WAKEUP(cb, c, q, p) cb->fx_callb_wakeup(c, q, p) argument
|
/illumos-gate/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 440 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() 5507 if (!cb.cb_scripted && (first || cb.cb_verbose)) { in zpool_do_list() 6275 err = zpool_scan(zhp, cb->cb_type, cb->cb_scrub_cmd); in scrub_callback() 7521 else if (cb.cb_explain && cb.cb_first && cb.cb_allpools) in zpool_do_status() 8267 bzero(&cb.cb_columns, sizeof (cb.cb_columns)); in zpool_do_get() 8370 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 D | piglatin.c | 44 char buffer[32767], * cb, * sb; in main() local 47 sb = cb = &buffer[0]; in main() 80 if ((ignore == 0) && ((cb - buffer) > 1)) { in main() 89 (void) strcpy(cb, "way"); in main() 96 *cb = s; in main() 97 (void) strcpy(++cb, "ay"); in main() 100 *cb = '\0'; in main() 109 sb = cb = &buffer[0]; in main() 118 *cb++ = c; in main() 119 *cb = '\0'; in main()
|
/illumos-gate/usr/src/lib/libsecdb/common/ |
H A D | chkauthattr.c | 132 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 D | driver.c | 285 struct cb_ops *cb; in dev_open() local 294 struct cb_ops *cb; in dev_close() local 462 struct cb_ops *cb; in bdev_print() local 521 struct cb_ops *cb; in bdev_dump() local 530 struct cb_ops *cb; in cdev_read() local 539 struct cb_ops *cb; in cdev_write() local 549 struct cb_ops *cb; in cdev_ioctl() local 559 struct cb_ops *cb; in cdev_devmap() local 575 struct cb_ops *cb; in cdev_segmap() local 586 struct cb_ops *cb; in cdev_poll() local [all …]
|
/illumos-gate/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_cksum.c | 35 kg_checksum_channel_bindings(context, cb, cksum, bigend) in kg_checksum_channel_bindings() argument 37 gss_channel_bindings_t cb; 59 if (cb == GSS_C_NO_CHANNEL_BINDINGS) { 70 cb->initiator_address.length+ 71 cb->acceptor_address.length+ 72 cb->application_data.length); 82 TWRITE_INT(ptr, cb->initiator_addrtype, bigend); 83 TWRITE_BUF(ptr, cb->initiator_address, bigend); 84 TWRITE_INT(ptr, cb->acceptor_addrtype, bigend); 85 TWRITE_BUF(ptr, cb->acceptor_address, bigend); [all …]
|
/illumos-gate/usr/src/cmd/dis/ |
H A D | dis_list.c | 142 cb_data_t *cb = data; in walk_sections() local 156 unp->un_mark = cb->cb_mark; in walk_sections() 183 cb_data_t cb; in dis_namelist_resolve_sections() local 194 cb.cb_mark = ++current_mark; in dis_namelist_resolve_sections() 195 cb.cb_source = namelist; in dis_namelist_resolve_sections() 196 cb.cb_resolved = listp; in dis_namelist_resolve_sections() 225 cb_data_t *cb = data; in walk_functions() local 263 cb_data_t cb; in dis_namelist_resolve_functions() local 268 cb.cb_mark = ++current_mark; in dis_namelist_resolve_functions() 269 cb.cb_source = namelist; in dis_namelist_resolve_functions() [all …]
|
/illumos-gate/usr/src/cmd/stat/common/ |
H A D | walkers.c | 39 snapshot_cb cb, void *data) in cpu_walk() argument 50 cb(cpu, newcpu, data); in cpu_walk() 72 snapshot_cb cb, void *data) in pset_walk() argument 111 snapshot_cb cb, void *data) in iodev_walk() argument 118 cb(d1, NULL, data); in iodev_walk() 123 cb(NULL, d2, data); in iodev_walk() 127 cb(d1, d2, data); in iodev_walk() 129 d2->is_children, cb, data); in iodev_walk() 137 cb(d1, NULL, data); in iodev_walk() 144 cb(NULL, d2, data); in iodev_walk() [all …]
|
/illumos-gate/usr/src/lib/libnsl/dial/ |
H A D | ulockf.c | 197 char cb[100]; in onelock() local 201 (void) snprintf(cb, sizeof (cb), in onelock() 203 logent("ULOCKC", cb); in onelock() 210 (void) snprintf(cb, sizeof (cb), in onelock() 212 logent("ULOCKW", cb); in onelock() 224 (void) snprintf(cb, sizeof (cb), in onelock() 226 logent("ULOCKLNK", cb); in onelock() 231 (void) snprintf(cb, sizeof (cb), "%s %d", tempfile, errno); in onelock() 232 logent("ULOCKF", cb); in onelock()
|