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/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/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/libwanboot/common/
H A Dbootinfo_aux.c302 cb_t *cbp = arg; local
305 if (strcmp(cbp->cb_path, phys_path) == 0) {
306 cbp->cb_node = node;
/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/ucbcmd/sed/
H A Dsed1.c43 char *cbp; variable
124 cbp = ibuf;
610 p2 = cbp;
651 cbp = p2;
/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/common/crypto/modes/
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);
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);
/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/cmd/fm/modules/common/zfs-retire/
H A Dzfs_retire.c78 find_cbdata_t *cbp = data; local
80 if (cbp->cb_guid ==
82 cbp->cb_zhp = zhp;
176 find_cbdata_t *cbp = data; local
187 if ((cbp->cb_vdev = find_vdev(zpool_get_handle(zhp), nvroot,
188 cbp->cb_fru, 0)) != NULL) {
189 cbp->cb_zhp = zhp;
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dvdev_label.c901 struct ubl_cbdata *cbp = rio->io_private; local
908 vdev_uberblock_compare(ub, cbp->ubl_ubbest) > 0) {
915 *cbp->ubl_ubbest = *ub;
916 cbp->ubl_vd = vd;
926 struct ubl_cbdata *cbp)
929 vdev_uberblock_load_impl(zio, vd->vdev_child[c], flags, cbp);
925 vdev_uberblock_load_impl(zio_t *zio, vdev_t *vd, int flags, struct ubl_cbdata *cbp) argument
H A Ddmu_traverse.c296 blkptr_t *cbp; local
303 cbp = buf->b_data;
309 traverse_prefetch_metadata(td, &cbp[i], &czb);
317 err = traverse_visitbp(td, dnp, &cbp[i], &czb);
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/
H A Ddid.c113 smbios_slot_cb_t *cbp = data; local
120 if (slot.smbl_id == cbp->cb_slotnum) {
121 cbp->cb_label = slot.smbl_name;
/illumos-gate/usr/src/lib/libcpc/common/
H A Dlibcpc.c394 cpc_buf_t *cbp, *prev; local
401 for (cbp = prev = cpc->cpc_bufs; cbp != NULL; cbp = cbp->cb_next) {
402 if (cbp == buf)
404 prev = cbp;
406 if (cbp == NULL) {
411 if (cbp == cpc->cpc_bufs)
412 cpc->cpc_bufs = cbp
[all...]
/illumos-gate/usr/src/psm/stand/cpr/sparcv9/sun4u/
H A Dutil.c387 struct cb_props *cbp; local
399 for (cbp = cpu_data; cbp->prop; cbp++) {
400 if (get_intprop(node, cbp->prop, cbp->datap)) {
403 prog, node, cbp->prop);
407 cbp->prop, *cbp->datap));
/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/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/fm/topo/modules/common/disk/
H A Ddisk_common.c512 disk_cbdata_t *cbp = (disk_cbdata_t *)arg; local
513 topo_mod_t *mod = cbp->dcb_mod;
514 dev_di_node_t *dnode = cbp->dcb_dnode;
572 dev_di_node_add(di_node_t node, char *devid, disk_cbdata_t *cbp) argument
574 topo_mod_t *mod = cbp->dcb_mod;
597 for (dnode = topo_list_next(cbp->dcb_list);
785 cbp->dcb_dnode = dnode;
786 (void) di_devlink_walk(cbp->dcb_devhdl, "^dsk/",
787 minorpath, DI_PRIMARY_LINK, cbp,
846 topo_list_append(cbp
[all...]
/illumos-gate/usr/src/lib/libshare/common/
H A Dlibshare_zfs.c128 get_all_cbdata_t *cbp = data; local
143 if ((type & cbp->cb_types) == 0) {
148 if (cbp->cb_alloc == cbp->cb_used) {
151 if (cbp->cb_alloc == 0)
152 cbp->cb_alloc = 64;
154 cbp->cb_alloc *= 2;
157 cbp->cb_alloc * sizeof (void *));
163 if (cbp->cb_handles) {
164 bcopy(cbp
[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;
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs4_srv_deleg.c167 rfs4_cbinfo_free(rfs4_cbinfo_t *cbp) argument
169 char *addr = cbp->cb_callback.cb_location.r_addr;
170 char *netid = cbp->cb_callback.cb_location.r_netid;
179 addr = cbp->cb_newer.cb_callback.cb_location.r_addr;
180 netid = cbp->cb_newer.cb_callback.cb_location.r_netid;
187 if (cbp->cb_chc_free) {
188 rfs4_cb_chflush(cbp);
206 rfs4_cbinfo_t *cbp = &cp->rc_cbinfo; local
208 mutex_enter(cbp->cb_lock);
210 if (cbp
341 rfs4_cbinfo_t *cbp = &cp->rc_cbinfo; local
393 rfs4_cbinfo_rele(rfs4_cbinfo_t *cbp, rfs4_cbstate_t newstate) argument
439 rfs4_cbch_init(rfs4_cbinfo_t *cbp) argument
551 rfs4_cb_chflush(rfs4_cbinfo_t *cbp) argument
572 rfs4_cb_getch(rfs4_cbinfo_t *cbp) argument
600 rfs4_cb_freech(rfs4_cbinfo_t *cbp, CLIENT *ch, bool_t lockheld) argument
633 rfs4_cbinfo_t *cbp = &cp->rc_cbinfo; local
757 rfs4_cbinfo_t *cbp; local
[all...]

Completed in 80 milliseconds

123