Searched refs:bdp (Results 1 - 25 of 31) sorted by relevance

12

/illumos-gate/usr/src/uts/sun4u/serengeti/io/
H A Dsbdp.c345 sbdp_bd_t *bdp; member in struct:sbdp_mem_dip
360 mem.nodes = smdp->bdp->nodes;
361 mem.board = smdp->bdp->bd;
362 mem.nmem = smdp->bdp->nnum;
369 if (smdp->bdp->nnum == 0 && mem.nmem == 1) {
374 smdp->bdp->nnum = mem.nmem;
384 sbdp_update_bd_info(sbdp_bd_t *bdp) argument
392 if (bdp == NULL) {
398 mutex_enter(&bdp->bd_mutex);
404 apktp->node = bdp
460 sbdp_bd_init(sbdp_bd_t *bdp, int bd, int wnode) argument
485 sbdp_bd_fini(sbdp_bd_t *bdp) argument
570 sbdp_bd_t *bdp; local
892 sbdp_bd_t *bdp; local
966 sbdp_bd_t *bdp; local
1002 sbdp_bd_t *bdp; local
1027 sbdp_bd_t *bdp; local
1050 sbdp_bd_t *bdp; local
[all...]
H A Dsbdp_cpu.c107 sbdp_bd_t *bdp = NULL; local
134 bdp = &wnodep->bds[bd];
135 ASSERT(bdp);
136 mutex_enter(&bdp->bd_mutex);
160 if (!SBDP_IS_CPU_PRESENT(bdp, SG_CPUID_TO_CPU_UNIT(portid))) {
171 if (bdp != NULL) {
172 mutex_exit(&bdp->bd_mutex);
221 sbdp_bd_t *bdp = NULL; local
226 bdp = &wnodep->bds[bd];
227 ASSERT(bdp);
[all...]
H A Dsbdp_mbox.c128 sbdp_bd_t *bdp; local
141 bdp = sbdp_get_bd_info(node, board);
174 bdp->valid_cp = -1;
185 mutex_enter(&bdp->bd_mutex);
186 if (bdp->valid_cp == -1) {
189 mutex_exit(&bdp->bd_mutex);
198 bcopy(bdp->bd_sc, shbp, sizeof (show_board_t));
199 mutex_exit(&bdp->bd_mutex);
210 if (bdp == NULL) {
213 mutex_enter(&bdp
[all...]
H A Dsbdp_mem.c1710 sbdp_bd_t *bdp; local
1723 bdp = sbdp_get_bd_info(wnode, board);
1725 if (bdp == NULL)
1731 for (bankp = bdp->banks; bankp; bankp = bankp->bd_next)
1759 is_interleave = sbdp_check_seg_with_banks(seg, bdp->banks);
1839 sbdp_init_bd_banks(sbdp_bd_t *bdp) argument
1844 lists = bdp->nodes;
1845 nmem = bdp->nnum;
1847 if (bdp->banks != NULL) {
1851 bdp
1881 sbdp_fini_bd_banks(sbdp_bd_t *bdp) argument
1902 sbdp_print_bd_banks(sbdp_bd_t *bdp) argument
[all...]
/illumos-gate/usr/src/lib/libprtdiag/common/
H A Dkstat.c64 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep)
89 bdp = &sys_kstat->bd_ksp_list[board];
105 bdp->fhc_kstats_ok = 1;
113 bdp->fhc_csr = knp->value.ul;
115 bdp->fhc_kstats_ok = 0;
119 bdp->fhc_bsr = knp->value.ul;
121 bdp->fhc_kstats_ok = 0;
139 bdp->ac_kstats_ok = 1;
140 bdp->ac_memstat_ok = 1;
149 bdp
63 read_platform_kstats(Sys_tree *tree, struct system_kstat_data *sys_kstat, struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep) argument
395 struct bd_kstat_data *bdp; local
[all...]
/illumos-gate/usr/src/uts/sun4u/sunfire/io/
H A Dfhc_bd.c315 fhc_bd_t *bdp; local
332 bdp = clocks.boards[index];
334 bdp = boards.boards[index];
341 bdp = clocks.boards[clocks.last + 1];
348 bdp = boards.boards[boards.last + 1];
354 softsp->list = bdp;
355 bdp->flags |= BDF_VALID;
356 bdp->softsp = softsp;
357 bdp->sc.type = type;
358 bdp
402 fhc_bd_next(fhc_bd_t *bdp) argument
496 fhc_bd_t *bdp; local
558 fhc_bd_t *bdp; local
607 fhc_bd_ks_alloc(fhc_bd_t *bdp) argument
637 fhc_bd_t *bdp; local
676 fhc_bd_t *bdp; local
709 fhc_bd_t *bdp; local
902 fhc_bd_t *bdp; local
997 fhc_bd_t *bdp; local
1041 fhc_bd_t *bdp = fhc_bd(board); local
1059 fhc_bd_t *bdp; local
1083 fhc_bd_t *bdp; local
1131 fhc_bd_t *bdp; local
[all...]
H A Dsysctrl_dr.c999 fhc_bd_t *bdp; local
1006 bdp = fhc_bd(board);
1042 sh = &bdp->sh[SYSC_DR_HANDLE_FHC];
1060 if (del_kstat && bdp->ksp) {
1061 kstat_delete(bdp->ksp);
1062 bdp->ksp = NULL;
1112 fhc_bd_t *bdp; local
1120 bdp = fhc_bd(board);
1122 bdp->flags |= BDF_DETACH;
1126 sh = &bdp
1167 fhc_bd_t *bdp; local
1227 fhc_bd_t *bdp; local
[all...]
H A Dsysctrl.c1227 fhc_bd_t *bdp; local
1297 bdp = fhc_bd(slot);
1298 sc = &bdp->sc;
1314 bdp = fhc_bd(i);
1316 bdp->sc.no_detach = 1;
1318 bdp->sc.no_detach = 0;
1319 bcopy((caddr_t)&bdp->sc,
/illumos-gate/usr/src/uts/sun4u/serengeti/sys/
H A Dsbdp_priv.h90 #define SBDP_SET_CPU_PRESENT(bdp, unit)\
91 ((bdp)->cpus_present |= (1 << (unit)))
93 #define SBDP_IS_CPU_PRESENT(bdp, unit)\
94 (((bdp)->cpus_present & (1 << (unit))) != 0)
99 #define SBDP_SET_CPU_IN_RESET(bdp, unit)\
100 ((bdp)->cpus_in_reset |= (1 << (unit)))
101 #define SBDP_UNSET_CPU_IN_RESET(bdp, unit)\
102 ((bdp)->cpus_in_reset &= ~(1 << (unit)))
103 #define SBDP_IS_CPU_IN_RESET(bdp, unit)\
104 (((bdp)
[all...]
/illumos-gate/usr/src/cmd/fs.d/
H A Dfsck.c585 struct devlist *bl, *bdp; local
597 bdp = getdev(name, devp);
598 if (bdp == NULL) {
604 bdp->nxt = bl;
605 bl = bdp;
606 startdisk(bdp);
649 struct devlist *bdp, *pbdp; local
657 for (pbdp = NULL, bdp = *blp; bdp != NULL; pbdp = bdp, bd
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld/common/
H A Dtsort.c120 Bnd_desc *bdp; local
123 for (APLIST_TRAVERSE(DEPENDS(lmp2), idx2, bdp)) {
124 Rt_map *lmp3 = bdp->b_depend;
199 Bnd_desc *bdp; local
215 for (APLIST_TRAVERSE(CALLERS(lmp), idx, bdp)) {
216 Rt_map *clmp = bdp->b_caller;
218 if ((bdp->b_flags & BND_REFER) == 0)
395 Bnd_desc *bdp; local
409 for (APLIST_TRAVERSE(DEPENDS(lmp), idx1, bdp)) {
410 if ((min = _dep_visit(lml, min, lmp, bdp
499 Bnd_desc *bdp; local
[all...]
H A Dremove.c422 Bnd_desc *bdp; local
427 for (APLIST_TRAVERSE(DEPENDS(lmp), idx1, bdp)) {
428 Rt_map *dlmp = bdp->b_depend;
433 (void) aplist_delete_value(CALLERS(dlmp), bdp); local
434 free(bdp);
444 for (APLIST_TRAVERSE(CALLERS(lmp), idx1, bdp)) {
445 Rt_map *clmp = bdp->b_caller;
473 (void) aplist_delete_value(DEPENDS(clmp), bdp); local
474 free(bdp);
553 Bnd_desc *bdp; local
709 Bnd_desc *bdp; local
1173 Bnd_desc *bdp; local
[all...]
H A Danalyze.c2372 Bnd_desc *bdp; local
2379 for (APLIST_TRAVERSE(DEPENDS(dlmp1), idx3, bdp)) {
2380 Rt_map *dlmp2 = bdp->b_depend;
2382 if ((bdp->b_flags & BND_NEEDED) == 0)
2836 Bnd_desc *bdp; local
2843 for (APLIST_TRAVERSE(CALLERS(clmp), idx1, bdp)) {
2844 sl.sl_imap = lmp = bdp->b_caller;
3295 Bnd_desc *bdp; local
3303 for (APLIST_TRAVERSE(DEPENDS(clmp), idx, bdp)) {
3304 if (bdp
[all...]
/illumos-gate/usr/src/common/mc/mc-amd/
H A Dmcamd_rowcol_tbl.c806 const struct _bnkaddrmode_tbldesc *bdp = bnkaddr_tbls; local
810 i++, bdp++) {
811 if (MC_REV_MATCH(mcrev, bdp->revmask) && csmode < bdp->nmodes)
812 return (&bdp->modetbl[csmode]);
/illumos-gate/usr/src/cmd/sgs/librtld/common/
H A Ddynamic.c75 Bnd_desc *bdp; local
78 for (APLIST_TRAVERSE(DEPENDS(lmp), idx, bdp)) {
79 if (dlmp != bdp->b_depend)
/illumos-gate/usr/src/cmd/scsi/smp/common/
H A Dsmp.c754 smp_broadcast_descr_t *bdp = &brp->srbr_descrs[0]; local
765 bdp->sbd_broadcast_type, bdp->sbd_phy_identifier,
766 bdp->sbd_broadcast_reason,
767 bdp->sbd_broadcast_count);
768 bdp++;
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dfiles.c293 Dbg_file_bind_entry(Lm_list *lml, Bnd_desc *bdp) argument
306 dbg_print(lml, MSG_INTL(MSG_FIL_BND_ADD), NAME(bdp->b_caller));
307 dbg_print(lml, MSG_INTL(MSG_FIL_BND_FILE), NAME(bdp->b_depend),
308 conv_bnd_type(bdp->b_flags, &bnd_type_buf));
337 Bnd_desc *bdp; local
370 for (APLIST_TRAVERSE(DEPENDS(tlmp), idx, bdp)) {
372 NAME(bdp->b_depend),
373 conv_bnd_type(bdp->b_flags,
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_main.c309 rge_bd_t *bdp; local
317 bdp = rgep->tx_ring;
319 bdp->host_buf_addr =
321 bdp->host_buf_addr_hi =
325 bdp->flags_len = RGE_BSWAP_32(BD_FLAG_EOR);
327 bdp++;
340 rge_bd_t *bdp; local
350 bdp = rgep->rx_ring;
353 bdp->host_buf_addr =
355 bdp
[all...]
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/desktop/common/
H A Ddesktop.c100 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep);
323 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep)
329 bdp = bdp;
322 read_platform_kstats(Sys_tree *tree, struct system_kstat_data *sys_kstat, struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep) argument
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/sunfire/common/
H A Dsunfire.c1256 struct board_info *bdp; local
1290 bdp = &rst_info->bd_reset_info[0];
1291 for (i = 0; i < MAX_BOARDS; i++, bdp++) {
1294 if ((bdp->board_desc & BD_STATE_MASK) == BD_NOT_PRESENT) {
1299 if (BOARD_TYPE(bdp->board_desc) == CPU_TYPE) {
1301 if (bdp->board_desc & CPU0_OK) {
1303 bdp->cpu[0].afsr);
1309 if (bdp->board_desc & CPU1_OK) {
1311 bdp->cpu[1].afsr);
1318 count = analyze_ac(msgs, bdp
[all...]
/illumos-gate/usr/src/lib/libprtdiag/inc/
H A Dlibprtdiag.h135 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep);
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/javelin/common/
H A Djavelin.c83 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep);
764 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep)
775 bdp = bdp;
763 read_platform_kstats(Sys_tree *tree, struct system_kstat_data *sys_kstat, struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep) argument
/illumos-gate/usr/src/lib/libprtdiag_psr/sparc/tazmo/common/
H A Dtazmo.c83 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep);
766 struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep)
776 bdp = bdp;
765 read_platform_kstats(Sys_tree *tree, struct system_kstat_data *sys_kstat, struct bd_kstat_data *bdp, struct envctrl_kstat_data *ep) argument
/illumos-gate/usr/src/uts/sun4u/lw8/io/
H A Dsgenv.c1382 sg_board_info_t *bdp; local
1413 bdp = &board_cache_snapshot[i];
1416 f, i, bdp->node_id);
1417 if (bdp->node_id >= 0) {
1436 " board=%d", f, i, bdp->node_id,
1437 bdp->board_num);
1438 bcopy(bdp, buf, sizeof (sg_board_info_t));
/illumos-gate/usr/src/cmd/sgs/rtld/mdbmod/common/
H A Drtld.c280 Bnd_desc *bdp; local
303 if (mdb_vread(&bdp, sizeof (Bnd_desc *), datap) == -1) {
312 if (dcmd_Bind((uintptr_t)bdp, flags, argc, argv) == DCMD_ERR) {
319 if (mdb_vread(&bdp, sizeof (Bnd_desc *), datap) == -1) {
326 if (dcmd_Bind((uintptr_t)bdp, flags, argc, argv) == DCMD_ERR) {

Completed in 131 milliseconds

12