Searched defs:cbp (Results 1 - 25 of 52) sorted by relevance

123

/illumos-gate/usr/src/cmd/refer/
H A Dmkey3.c27 static char *cbp; variable
51 cbp = cbuf;
53 if (fgets(cbp, 15, f) == NULL)
55 trimnl(cbp);
56 c_look(cbp, 0);
57 while (*cbp++)
/illumos-gate/usr/src/cmd/fm/schemes/zfs/
H A Dscheme.c42 cbdata_t *cbp = data; local
44 if (zpool_get_prop_int(zhp, ZPOOL_PROP_GUID, NULL) == cbp->cb_guid) {
45 cbp->cb_pool = zhp;
/illumos-gate/usr/src/ucbcmd/touch/
H A Dtouch.c62 char *cbp; variable
99 cp = cbp;
109 cbp = cp;
167 cbp = (char *)argv[optind++];
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dzfs.c146 cbdata_t *cbp = data; local
148 if (zpool_get_prop_int(zhp, ZPOOL_PROP_GUID, NULL) == cbp->cb_guid) {
149 cbp->cb_pool = zhp;
/illumos-gate/usr/src/lib/libipmi/common/
H A Dipmi_user.c273 ipmi_user_cb_t *cbp = data; local
275 if (cbp->uic_result != NULL)
279 if (strcmp(up->iu_name, cbp->uic_name) == 0)
280 cbp->uic_result = up;
281 } else if (up->iu_uid == cbp->uic_uid) {
282 cbp->uic_result = up;
/illumos-gate/usr/src/uts/common/io/
H A Ddedump.c129 struct cmdblk *cbp = (struct cmdblk *)mp->b_rptr; local
131 (void) printf("%s cmd %x cred %p len %u error %d\n", hdr, cbp->cb_cmd,
132 (void *)cbp->cb_cr, cbp->cb_len, cbp->cb_error);
/illumos-gate/usr/src/uts/common/io/sbp2/
H A Dcfgrom.c227 sbp2_cfgrom_read_bib(sbp2_tgt_t *tp, void *cmd, sbp2_cfgrom_bib_t *cbp) argument
239 cbp->cb_len = (val >> 24);
240 if (cbp->cb_len < 1) {
243 cbp->cb_buf = kmem_zalloc(cbp->cb_len * 4, KM_SLEEP);
246 for (i = 0; i < cbp->cb_len; i++, addr += 4) {
247 SBP2_CFGROM_RQ(tp, cmd, addr, &cbp->cb_buf[i]);
251 sbp2_cfgrom_free_bib(tp, cbp);
258 sbp2_cfgrom_free_bib(sbp2_tgt_t *tp, sbp2_cfgrom_bib_t *cbp) argument
260 if ((cbp
[all...]
/illumos-gate/usr/src/ucbcmd/sed/
H A Dsed1.c41 char *cbp; variable
122 cbp = ibuf;
608 p2 = cbp;
649 cbp = p2;
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_import.c222 aux_cbdata_t *cbp = data; local
231 if (nvlist_lookup_nvlist_array(nvroot, cbp->cb_type,
236 if (guid == cbp->cb_guid) {
237 cbp->cb_zhp = zhp;
/illumos-gate/usr/src/cmd/ndmpd/ndmp/
H A Dndmpd_fhistory.c733 ndmpd_fhpath_v3_cb(lbr_fhlog_call_backs_t *cbp, char *path, struct stat64 *stp, argument
740 if (!cbp) {
742 NDMP_LOG(LOG_DEBUG, "cbp is NULL");
743 } else if (!cbp->fh_cookie) {
749 } else if (!(nlp = ndmp_get_nlp(cbp->fh_cookie))) {
767 params = get_params(cbp->fh_cookie);
774 if ((err = ndmpd_api_file_history_file_v3(cbp->
790 ndmpd_fhdir_v3_cb(lbr_fhlog_call_backs_t *cbp, char *dir, struct stat64 *stp) argument
802 if (!cbp) {
804 NDMP_LOG(LOG_DEBUG, "cbp i
939 ndmpd_fhnode_v3_cb(lbr_fhlog_call_backs_t *cbp, char *dir, char *file, struct stat64 *stp, u_longlong_t off) argument
1040 ndmpd_path_restored_v3(lbr_fhlog_call_backs_t *cbp, char *name, struct stat64 *st, u_longlong_t ll_idx) argument
1332 ndmpd_file_history_path(lbr_fhlog_call_backs_t *cbp, char *path, struct stat64 *stp, u_longlong_t off) argument
1378 ndmpd_file_history_dir(lbr_fhlog_call_backs_t *cbp, char *dir, struct stat64 *stp) argument
1524 ndmpd_file_history_node(lbr_fhlog_call_backs_t *cbp, char *dir, char *file, struct stat64 *stp, u_longlong_t off) argument
1588 ndmpd_path_restored(lbr_fhlog_call_backs_t *cbp, char *name, struct stat64 *stp, u_longlong_t ll_pos) argument
[all...]
/illumos-gate/usr/src/common/crypto/modes/
H A Dgcm.c417 uint8_t *cbp; local
454 cbp = (uint8_t *)ctx->gcm_tmp;
455 encrypt_block(ctx->gcm_keysched, (uint8_t *)ctx->gcm_cb, cbp);
458 xor_block(cbp, blockp);
H A Dccm.c369 uint8_t *cbp; local
466 cbp = (uint8_t *)ctx->ccm_tmp;
467 encrypt_block(ctx->ccm_keysched, (uint8_t *)ctx->ccm_cb, cbp);
480 xor_block(blockp, cbp);
485 copy_block(cbp, resultp);
/illumos-gate/usr/src/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c81 find_cbdata_t *cbp = data; local
83 if (cbp->cb_guid ==
85 cbp->cb_zhp = zhp;
187 find_cbdata_t *cbp = data; local
198 if ((cbp->cb_vdev = find_vdev(zpool_get_handle(zhp), nvroot,
199 cbp->cb_fru, 0)) != NULL) {
200 cbp->cb_zhp = zhp;
/illumos-gate/usr/src/uts/common/os/
H A Dddi.c997 callbparams_t *cbp; local
1007 cbp = callbparams_alloc(sq, func, arg, KM_NOSLEEP | KM_PANIC);
1013 cbp->cbp_flags = SQ_CANCEL_TOUT;
1015 tid = timeout(qcallbwrapper, cbp, tim);
1016 cbp->cbp_id = (callbparams_id_t)tid;
1018 /* use local id because the cbp memory could be free by now */
1026 callbparams_t *cbp; local
1034 cbp = callbparams_alloc(sq, func, arg, KM_NOSLEEP);
1035 if (cbp == NULL)
1043 cbp
[all...]
H A Dcpu_event.c503 cpu_idle_register_callback(uint_t prio, cpu_idle_callback_t *cbp, argument
517 } else if (cbp == NULL || hdlp == NULL) {
526 } else if (cbp->version != CPU_IDLE_CALLBACK_VERS) {
529 cbp->version);
548 cip->callback = cbp;
/illumos-gate/usr/src/lib/libcpc/common/
H A Dlibcpc.c395 cpc_buf_t *cbp, *prev; local
402 for (cbp = prev = cpc->cpc_bufs; cbp != NULL; cbp = cbp->cb_next) {
403 if (cbp == buf)
405 prev = cbp;
407 if (cbp == NULL) {
412 if (cbp == cpc->cpc_bufs)
413 cpc->cpc_bufs = cbp
[all...]
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Ddmu_traverse.c298 blkptr_t *cbp; local
307 cbp = buf->b_data;
313 traverse_prefetch_metadata(td, &cbp[i], &czb);
321 err = traverse_visitbp(td, dnp, &cbp[i], &czb);
H A Dvdev_label.c1227 struct ubl_cbdata *cbp = rio->io_private; local
1234 vdev_uberblock_compare(ub, cbp->ubl_ubbest) > 0) {
1241 *cbp->ubl_ubbest = *ub;
1242 cbp->ubl_vd = vd;
1252 struct ubl_cbdata *cbp)
1255 vdev_uberblock_load_impl(zio, vd->vdev_child[c], flags, cbp);
1251 vdev_uberblock_load_impl(zio_t *zio, vdev_t *vd, int flags, struct ubl_cbdata *cbp) argument
/illumos-gate/usr/src/uts/common/io/cardbus/
H A Dcardbus_hp.c93 static int cardbus_configure_ap(cbus_t *cbp);
94 static int cardbus_unconfigure_ap(cbus_t *cbp);
100 cardbus_init_hotplug(cbus_t *cbp) argument
110 if (hpc_nexus_register_bus(cbp->cb_dip,
113 ddi_driver_name(cbp->cb_dip), cbp->cb_instance);
117 (void) sprintf(cbp->ap_id, "slot%d", cbp->cb_instance);
118 (void) ddi_pathname(cbp->cb_dip, tbuf);
119 cbp
172 cbus_t *cbp; local
347 cbus_t *cbp; local
460 cbus_t *cbp; local
663 cardbus_configure_ap(cbus_t *cbp) argument
788 cardbus_unconfigure_ap(cbus_t *cbp) argument
1035 cbus_t *cbp; local
1087 cbus_t *cbp; local
1116 cbus_t *cbp; local
[all...]
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c116 smbios_slot_cb_t *cbp = data; local
120 bus = (cbp->cb_bdf & 0xFF00) >> 8;
121 df = cbp->cb_bdf & 0xFF;
128 cbp->cb_label = slot.smbl_name;
129 cbp->cb_slotnum = slot.smbl_id;
140 smbios_slot_cb_t *cbp = data; local
147 if (slot.smbl_id == cbp->cb_slotnum) {
148 cbp->cb_label = slot.smbl_name;
/illumos-gate/usr/src/lib/fm/topo/modules/common/disk/
H A Ddisk_common.c691 disk_cbdata_t *cbp = (disk_cbdata_t *)arg; local
692 topo_mod_t *mod = cbp->dcb_mod;
693 dev_di_node_t *dnode = cbp->dcb_dnode;
751 dev_di_node_add(di_node_t node, char *devid, disk_cbdata_t *cbp) argument
753 topo_mod_t *mod = cbp->dcb_mod;
776 for (dnode = topo_list_next(cbp->dcb_list);
964 cbp->dcb_dnode = dnode;
965 (void) di_devlink_walk(cbp->dcb_devhdl, "^dsk/",
966 minorpath, DI_PRIMARY_LINK, cbp,
1043 topo_list_append(cbp
[all...]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dutil.c385 struct cb_props *cbp; local
397 for (cbp = cpu_data; cbp->prop; cbp++) {
398 if (get_intprop(node, cbp->prop, cbp->datap)) {
401 prog, node, cbp->prop);
405 cbp->prop, *cbp->datap));
/illumos-gate/usr/src/cmd/ndmpd/tlm/
H A Dtlm_lib.c495 lbr_fhlog_call_backs_t *cbp; /* callbacks pointer */ local
504 } else if ((cbp = (lbr_fhlog_call_backs_t *)job_stats->js_callbacks)
506 NDMP_LOG(LOG_DEBUG, "log_fhdir: cbp is NULL");
507 } else if (cbp->fh_log_dir == NULL) {
510 rv = (*cbp->fh_log_dir)(cbp, dir, stp, fhp);
523 lbr_fhlog_call_backs_t *cbp; /* callbacks pointer */ local
534 } else if ((cbp = (lbr_fhlog_call_backs_t *)job_stats->js_callbacks)
536 NDMP_LOG(LOG_DEBUG, "log_fhnode: cbp is NULL");
537 } else if (cbp
553 lbr_fhlog_call_backs_t *cbp; /* callbacks pointer */ local
580 lbr_fhlog_call_backs_t *cbp; /* callbacks pointer */ local
[all...]
/illumos-gate/usr/src/cmd/zoneadm/
H A Dzfs.c83 zfs_mount_data_t *cbp; local
105 cbp = (zfs_mount_data_t *)data;
121 if (strcmp(entry.mnt_mountp, cbp->match_name)
124 cbp->match_handle = zhp;
132 } else if (strcmp(mp, cbp->match_name) == 0) {
133 cbp->match_handle = zhp;
231 zfs_snapshot_data_t *cbp; local
238 cbp = (zfs_snapshot_data_t *)data;
240 if (strncmp(zfs_get_name(zhp), cbp->match_name, cbp
670 zfs_snapshot_data_t *cbp; local
[all...]
/illumos-gate/usr/src/cmd/mdb/intel/modules/generic_cpu/
H A Dgcpu.c284 struct cmihdl_cb *cbp = data; local
288 if (cbp->mod_cpuid != -1) {
298 if (cp->cpu_id == cbp->mod_cpuid) {
299 cbp->mod_hdladdr = addr;
308 if (hdl->cmih_chipid == cbp->mod_chipid &&
309 hdl->cmih_coreid == cbp->mod_coreid &&
310 hdl->cmih_strandid == cbp->mod_strandid) {
311 cbp->mod_hdladdr = addr;

Completed in 106 milliseconds

123