/titanic_41/usr/src/uts/common/io/bnxe/577xx/common/ |
H A D | bnxe_clc.c | 65 #define MSLEEP(cb, ms) elink_cb_udelay(cb, 1000*ms) argument 66 #define USLEEP(cb, us) elink_cb_udelay(cb, us) argument 67 #define REG_RD(cb, reg) elink_cb_reg_read(cb, reg) argument 68 #define REG_WR(cb, reg, val) elink_cb_reg_write(cb, reg, val) argument 69 #define EMAC_RD(cb, reg) REG_RD(cb, emac_base + reg) argument 70 #define EMAC_WR(cb, reg, val) REG_WR(cb, emac_base + reg, val) argument 71 #define REG_WR_DMAE(cb, offset, wb_data, len) \ argument 72 elink_cb_reg_wb_write(cb, offset, wb_data, len) 73 #define REG_RD_DMAE(cb, offset, wb_data, len) \ argument 74 elink_cb_reg_wb_read(cb, offset, wb_data, len) [all …]
|
/titanic_41/usr/src/ucbcmd/stty/ |
H A D | stty.c | 45 static struct termios cb; variable 99 &ocb, &cb, &stio, &termiox, &winsize)) < 0) { in main() 105 if (cfgetospeed(&cb) == in main() 113 if ((cb.c_cflag&CBAUD) == in main() 128 &ocb, &cb, &stio, &termiox, &winsize)) < 0) { in main() 138 &ocb, &cb, &stio, &termiox, &winsize)) < 0) { in main() 168 term, &ocb, &cb, &termiox, &winsize)) { in main() 174 term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize) == -1) { in main() 220 m = cb.c_cflag; in prmodes() 221 if ((term & TERMIOS) && cfgetispeed(&cb) != 0 && in prmodes() [all …]
|
H A D | sttyparse.c | 48 sttyparse(argc, argv, term, ocb, cb, termiox, winsize) in sttyparse() argument 55 struct termios *cb; 77 cb->c_cc[VERASE] = gct(*++argv, term); 79 cb->c_cc[VINTR] = gct(*++argv, term); 81 cb->c_cc[VQUIT] = gct(*++argv, term); 83 cb->c_cc[VEOF] = gct(*++argv, term); 85 cb->c_cc[VMIN] = atoi(*++argv); 87 cb->c_cc[VEOL] = gct(*++argv, term); 89 cb->c_cc[VEOL] = gct(*++argv, term); 91 cb->c_cc[VEOL2] = gct(*++argv, term); [all …]
|
/titanic_41/usr/src/cmd/ttymon/ |
H A D | stty.c | 69 static struct termios cb; variable 149 if ((term = get_ttymode(0, &ocb, &cb, &stio, &termiox, &winsize in main() 203 if (s_arg = sttyparse(argc, argv, term, &ocb, &cb, &termiox, &winsize in main() 223 if (set_ttymode(0, term, &ocb, &cb, &stio, &termiox, &winsize, &owinsize in main() 272 m = cb.c_cflag; in prmodes() 273 if ((term & TERMIOS) && cfgetispeed(&cb) != 0 && in prmodes() 274 cfgetispeed(&cb) != cfgetospeed(&cb)) { in prmodes() 275 prspeed("ispeed ", cfgetispeed(&cb)); in prmodes() 276 prspeed("ospeed ", cfgetospeed(&cb)); in prmodes() 278 prspeed("speed ", cfgetospeed(&cb)); in prmodes() [all …]
|
H A D | sttyparse.c | 70 struct termios *cb, struct termiox *termiox, struct winsize *winsize argument 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->c_cc[VTIME] = atoi(*++argv); [all …]
|
/titanic_41/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() 71 if (zpool_iter(g_zfs, find_pool, &cb) == 1) { in fmd_fmri_nvl2str() 72 name = zpool_get_name(cb.cb_pool); in fmd_fmri_nvl2str() 85 if (cb.cb_pool) in fmd_fmri_nvl2str() 86 zpool_close(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() [all …]
|
/titanic_41/usr/src/cmd/zfs/ |
H A D | zfs_iter.c | 75 zfs_include_snapshots(zfs_handle_t *zhp, callback_data_t *cb) in zfs_include_snapshots() argument 79 if ((cb->cb_flags & ZFS_ITER_PROP_LISTSNAPS) == 0) in zfs_include_snapshots() 80 return (cb->cb_types & ZFS_TYPE_SNAPSHOT); in zfs_include_snapshots() 93 callback_data_t *cb = data; in zfs_callback() local 95 boolean_t include_snaps = zfs_include_snapshots(zhp, cb); in zfs_callback() 96 boolean_t include_bmarks = (cb->cb_types & ZFS_TYPE_BOOKMARK); in zfs_callback() 98 if ((zfs_get_type(zhp) & cb->cb_types) || in zfs_callback() 105 if (uu_avl_find(cb->cb_avl, node, cb->cb_sortcol, in zfs_callback() 107 if (cb->cb_proplist) { in zfs_callback() 108 if ((*cb->cb_proplist) && in zfs_callback() [all …]
|
H A D | zfs_main.c | 400 usage_prop_cb(int prop, void *cb) in usage_prop_cb() argument 402 FILE *fp = cb; in usage_prop_cb() 1027 destroy_cbdata_t *cb = data; in destroy_callback() local 1030 if (cb->cb_verbose) { in destroy_callback() 1031 if (cb->cb_parsable) { in destroy_callback() 1033 } else if (cb->cb_dryrun) { in destroy_callback() 1051 if (cb->cb_dryrun) { in destroy_callback() 1063 fnvlist_add_boolean(cb->cb_batchedsnaps, name); in destroy_callback() 1066 cb->cb_batchedsnaps, B_FALSE); in destroy_callback() 1067 fnvlist_free(cb->cb_batchedsnaps); in destroy_callback() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_callb.c | 65 mdb_callb_remove(mdb_callb_t *cb) in mdb_callb_remove() argument 67 if (cb->cb_mod != NULL) { in mdb_callb_remove() 68 mdb_callb_t *next = mdb_list_next(cb); 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() 79 mdb_list_delete(&mdb.m_cblist, cb); in mdb_callb_remove() 81 mdb_free(cb, sizeof (mdb_callb_t)); in mdb_callb_remove() 94 mdb_callb_t *cb; in mdb_callb_remove_all() local 96 while ((cb = mdb_list_next(&mdb.m_cblist)) != NULL) in mdb_callb_remove_all() 97 mdb_callb_remove(cb); in mdb_callb_remove_all() [all …]
|
/titanic_41/usr/src/uts/common/fs/ufs/ |
H A D | lufs_log.c | 75 ldl_strategy_done(buf_t *cb) in ldl_strategy_done() argument 81 ASSERT(SEMA_HELD(&cb->b_sem)); in ldl_strategy_done() 82 ASSERT((cb->b_flags & B_DONE) == 0); in ldl_strategy_done() 87 lbp = (lufs_buf_t *)cb; in ldl_strategy_done() 90 if (cb->b_flags & B_ERROR) in ldl_strategy_done() 97 if (atomic_add_long_nv(&sv->sv_nb_left, -cb->b_bcount)) { in ldl_strategy_done() 166 buf_t *cb; in ldl_strategy() local 194 cb = bioclone(pb, offset, pbcount, dev, in ldl_strategy() 202 cb->b_flags |= B_ERROR; in ldl_strategy() 203 cb->b_resid = cb->b_bcount; in ldl_strategy() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/profile/ |
H A D | prof_parse.c | 335 static void output_quoted_string(char *str, void (*cb)(const char *,void *), in output_quoted_string() 341 cb("\"", data); in output_quoted_string() 343 cb("\"", data); in output_quoted_string() 350 cb("\\\\", data); in output_quoted_string() 353 cb("\\n", data); in output_quoted_string() 356 cb("\\t", data); in output_quoted_string() 359 cb("\\b", data); in output_quoted_string() 366 cb(buf, data); in output_quoted_string() 370 cb("\"", data); in output_quoted_string() 385 void (*cb)(const char *, void *), void *data) in dump_profile() [all …]
|
/titanic_41/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 …]
|
/titanic_41/usr/src/uts/common/io/lvm/trans/ |
H A D | trans_log.c | 65 static void md_free_cirbuf(cirbuf_ic_t *cb); 130 md_alloc_wrbuf(cirbuf_ic_t *cb, size_t bufsize) in md_alloc_wrbuf() argument 138 if (cb->cb_nb) in md_alloc_wrbuf() 139 md_free_cirbuf(cb); in md_alloc_wrbuf() 141 bzero((caddr_t)cb, sizeof (*cb)); in md_alloc_wrbuf() 142 rw_init(&cb->cb_rwlock.lock, NULL, RW_DRIVER, NULL); in md_alloc_wrbuf() 144 rw_enter(&cb->cb_rwlock.lock, RW_WRITER); in md_alloc_wrbuf() 154 bp->b_forw = cb->cb_free; in md_alloc_wrbuf() 155 cb->cb_free = bp; in md_alloc_wrbuf() 160 cb->cb_va = md_trans_alloc(bufsize); in md_alloc_wrbuf() [all …]
|
/titanic_41/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/ |
H A D | clc.h | 24 extern u32 elink_cb_reg_read(struct elink_dev *cb, u32 reg_addr); 25 extern void elink_cb_reg_write(struct elink_dev *cb, u32 reg_addr, u32 val); 27 extern void elink_cb_reg_wb_write(struct elink_dev *cb, u32 offset, 29 extern void elink_cb_reg_wb_read(struct elink_dev *cb, u32 offset, 33 extern u8 elink_cb_gpio_write(struct elink_dev *cb, 36 extern u8 elink_cb_gpio_mult_write(struct elink_dev *cb, 40 extern u32 elink_cb_gpio_read(struct elink_dev *cb, u16 gpio_num, u8 port); 41 extern u8 elink_cb_gpio_int_write(struct elink_dev *cb, 45 extern u32 elink_cb_fw_command(struct elink_dev *cb, u32 command, u32 param); 48 extern void elink_cb_udelay(struct elink_dev *cb, u32 microsecond); [all …]
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | fx.h | 84 #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
|
/titanic_41/usr/src/uts/common/io/kbtrans/ |
H A D | kbtrans.c | 86 struct keyboard_callback *cb, in kbtrans_processkey() argument 96 if (cb->kc_keypressed_raw != NULL) { in kbtrans_processkey() 100 cb->kc_keypressed_raw(lower->kbtrans_upper, key); in kbtrans_processkey() 103 cb->kc_keyreleased_raw(lower->kbtrans_upper, key); in kbtrans_processkey() 112 kbtrans_translate(lower, cb, key, state); in kbtrans_processkey() 130 struct keyboard_callback *cb, in kbtrans_translate() argument 174 cb->kc_cancel_repeat(lower->kbtrans_upper); in kbtrans_translate() 199 cb->kc_cancel_repeat(lower->kbtrans_upper); in kbtrans_translate() 253 cb->kc_setled(lower->kbtrans_upper); in kbtrans_translate() 265 cb->kc_setled(lower->kbtrans_upper); in kbtrans_translate() [all …]
|
/titanic_41/usr/src/lib/libbe/common/ |
H A D | be_list.c | 216 list_callback_data_t cb = { 0 }; in _be_list() local 235 (void) strcpy(cb.current_be, "-"); in _be_list() 237 (void) strncpy(cb.current_be, bt.obe_name, in _be_list() 238 sizeof (cb.current_be)); in _be_list() 247 cb.be_name = strdup(be_name); in _be_list() 254 free(cb.be_name); in _be_list() 258 ret = be_get_list_callback(zphp, &cb); in _be_list() 260 if ((zpool_iter(g_zfs, be_get_list_callback, &cb)) != 0) { in _be_list() 261 if (cb.be_nodes_head != NULL) { in _be_list() 262 be_free_list(cb.be_nodes_head); in _be_list() [all …]
|
/titanic_41/usr/src/cmd/sgs/tools/common/ |
H A D | piglatin.c | 45 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()
|
/titanic_41/usr/src/lib/libsecdb/common/ |
H A D | chkauthattr.c | 89 int (*cb)(const char *, kva_t *, void *, void *), in _enum_common_p() 127 if (cb != NULL && (!wantattr || pa != NULL && pa->attr != NULL)) in _enum_common_p() 128 res = cb(prof, pa ? pa->attr : NULL, ctxt, pres); in _enum_common_p() 132 res = _enum_common_p(GETPROF(pa->attr), cb, in _enum_common_p() 151 int (*cb)(const char *, kva_t *, void *, void *), in _enum_common() 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() 184 res = _enum_common_p(GETCONSPROF(kattrs), cb, ctxt, pres, in _enum_common() 188 res = _enum_common_p(GETPROF(kattrs), cb, ctxt, pres, in _enum_common() [all …]
|
/titanic_41/usr/src/lib/gss_mechs/mech_krb5/mech/ |
H A D | util_cksum.c | 37 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 …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | driver.c | 283 struct cb_ops *cb; in dev_open() local 285 cb = devopsp[getmajor(*devp)]->devo_cb_ops; in dev_open() 286 return ((*cb->cb_open)(devp, flag, type, cred)); in dev_open() 292 struct cb_ops *cb; in dev_close() local 294 cb = (devopsp[getmajor(dev)])->devo_cb_ops; in dev_close() 295 return ((*cb->cb_close)(dev, flag, type, cred)); in dev_close() 478 struct cb_ops *cb; in bdev_print() local 480 cb = devopsp[getmajor(dev)]->devo_cb_ops; in bdev_print() 481 return ((*cb->cb_print)(dev, str)); in bdev_print() 537 struct cb_ops *cb; in bdev_dump() local [all …]
|
/titanic_41/usr/src/cmd/dis/ |
H A D | dis_list.c | 144 cb_data_t *cb = data; in walk_sections() local 148 if ((walk = uu_list_walk_start(cb->cb_source, UU_DEFAULT)) == NULL) in walk_sections() 158 unp->un_mark = cb->cb_mark; in walk_sections() 168 (void) uu_list_insert_before(cb->cb_resolved, NULL, 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() 200 dis_tgt_section_iter(tgt, walk_sections, &cb); in dis_namelist_resolve_sections() 227 cb_data_t *cb = data; in walk_functions() local [all …]
|
/titanic_41/usr/src/cmd/stat/common/ |
H A D | walkers.c | 41 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 82 cb(&old->s_psets[i], NULL, data); in pset_walk() 86 cb(NULL, &new->s_psets[j], data); in pset_walk() 90 cb(&old->s_psets[i], &new->s_psets[j], data); in pset_walk() 97 cb(&old->s_psets[i], NULL, data); in pset_walk() 103 cb(NULL, &new->s_psets[j], data); in pset_walk() 113 snapshot_cb cb, void *data) in iodev_walk() argument 120 cb(d1, NULL, data); in iodev_walk() [all …]
|
/titanic_41/usr/src/cmd/krb5/kadmin/gui/dchanger/ |
H A D | EncListDialog.java | 44 private Checkbox cb[]; field in EncListDialog 102 cb = new Checkbox[et.length]; in addCheckboxes() 107 cb[i] = new Checkbox(grp_enc[1]); in addCheckboxes() 109 cb[i].addItemListener(cbl); in addCheckboxes() 112 topPanel.add(cb[i], gbc); in addCheckboxes() 185 for (int j = 0; j < cb.length; j++) { in setEncTypes() 186 if (cb[j].getLabel().compareTo(e_list[i]) in setEncTypes() 188 cb[j].setState(true); in setEncTypes() 211 for (int i = 0; i < cb.length; i++) { in itemStateChanged() 212 if (c == cb[i]) { in itemStateChanged() [all …]
|
/titanic_41/usr/src/cmd/zpool/ |
H A D | zpool_main.c | 275 print_prop_cb(int prop, void *cb) in print_prop_cb() argument 277 FILE *fp = cb; in print_prop_cb() 1180 spare_cbdata_t cb; in print_status_config() local 1243 &cb.cb_guid) == 0); in print_status_config() 1244 if (zpool_iter(g_zfs, find_spare, &cb) == 1) { in print_status_config() 1245 if (strcmp(zpool_get_name(cb.cb_zhp), in print_status_config() 1252 zpool_get_name(cb.cb_zhp)); in print_status_config() 1253 zpool_close(cb.cb_zhp); in print_status_config() 2155 print_iostat_separator(iostat_cbdata_t *cb) in print_iostat_separator() argument 2159 for (i = 0; i < cb->cb_namewidth; i++) in print_iostat_separator() [all …]
|