Home
last modified time | relevance | path

Searched refs:hb (Results 1 – 25 of 31) sorted by relevance

12

/titanic_41/usr/src/lib/fm/topo/modules/sun4/hostbridge/
H A Dhb_sun4.c153 tnode_t *hb; in hb_process() local
155 if ((hb = pcihostbridge_declare(mod, ptn, bn, hbi)) == NULL) in hb_process()
157 if (topo_mod_enumerate(mod, hb, PCI_BUS, PCI_BUS, bi, bi, hbdid) == 0) in hb_process()
158 return (hb); in hb_process()
160 topo_node_unbind(hb); in hb_process()
208 tnode_t **hb; in declare_exbuses() local
215 if ((hb = topo_mod_zalloc(mod, nhb * sizeof (tnode_t *))) == NULL) in declare_exbuses()
222 topo_mod_free(mod, hb, nhb * sizeof (tnode_t *)); in declare_exbuses()
236 if (hb[br] == NULL) { in declare_exbuses()
237 hb[br] = pciexhostbridge_declare(mod, ptn, p->br_din, in declare_exbuses()
[all …]
/titanic_41/usr/src/cmd/tcpd/
H A Dscaffold.c51 struct hostent_block *hb; local
59 if ((hb = (struct hostent_block *) malloc(sizeof(struct hostent_block)
64 memset((char *) &hb->host, 0, sizeof(hb->host));
65 hb->host.h_addrtype = hp->h_addrtype;;
66 hb->host.h_length = hp->h_length;
67 hb->host.h_addr_list = hb->addr_list;
68 hb->host.h_addr_list[count] = 0;
69 data = (char *) (hb->host.h_addr_list + count + 1);
72 hb->host.h_addr_list[count] = data + hp->h_length * count;
73 memcpy(hb->host.h_addr_list[count], addr, hp->h_length);
[all …]
/titanic_41/usr/src/lib/libc/sparc/fp/
H A D_Q_cplx_div_ix.c95 int hb, hc, hd, hw, i, j; local
109 hb = bb.i[0] & ~0x80000000;
144 if (hb >= 0x7fff0000) { /* a is inf or nan */
161 hb = (hb - 0x3fff0000) >> 16;
162 _Q_scl(&b, -hb);
164 hb -= (hw + hw);
169 hc += hb;
174 hd += hb;
H A D_D_cplx_div_ix.c103 int hb, hc, hd, hw, i, j; in _D_cplx_div_ix() local
115 hb = bb.i[0] & ~0x80000000; in _D_cplx_div_ix()
164 if (hb >= 0x7ff00000) { /* a is inf or nan */ in _D_cplx_div_ix()
179 hb = (hb - 0x38000000) >> 28; in _D_cplx_div_ix()
180 b = (b * scl[hb + 4].d) / r; in _D_cplx_div_ix()
181 hb -= (hw + hw); in _D_cplx_div_ix()
185 hc += hb; in _D_cplx_div_ix()
189 hd += hb; in _D_cplx_div_ix()
H A D_Q_cplx_div.c100 int ha, hb, hc, hd, hz, hw, hs, i, j; local
117 hb = bb.i[0] & ~0x80000000;
118 hz = (ha > hb)? ha : hb;
H A D_D_cplx_div.c93 int ha, hb, hc, hd, hz, hw, hs, i, j; in _D_cplx_div() local
110 hb = bb.i[0] & ~0x80000000; in _D_cplx_div()
111 hz = (ha > hb)? ha : hb; in _D_cplx_div()
/titanic_41/usr/src/lib/fm/topo/modules/i86pc/hostbridge/
H A Dhb_i86pc.c39 tnode_t *hb; in hb_process() local
44 if ((hb = pcihostbridge_declare(mod, ptn, bn, hbi)) == NULL) in hb_process()
47 hb, PCI_BUS, PCI_BUS, 0, MAX_HB_BUSES, (void *)hbdid) < 0) { in hb_process()
48 topo_node_unbind(hb); in hb_process()
58 tnode_t *hb; in rc_process() local
64 if ((hb = pciexhostbridge_declare(mod, ptn, bn, hbi)) == NULL) in rc_process()
66 if ((rc = pciexrc_declare(mod, hb, bn, hbi)) == NULL) in rc_process()
70 topo_node_unbind(hb); in rc_process()
/titanic_41/usr/src/cmd/eqn/
H A Dmatrix.c37 int nrow, ncol, i, j, k, hb, b, val[100]; in matrix() local
48 hb = b = 0; in matrix()
51 hb = max(hb, eht[lp[j]]-ebase[lp[j]]); in matrix()
55 if (dbg) printf(".\trow %d: b=%d, hb=%d\n", k, b, hb); in matrix()
59 eht[lp[j]] = b + hb; in matrix()
/titanic_41/usr/src/lib/fm/topo/modules/SUNW,SPARC-Enterprise/ioboard/
H A Dopl_hostbridge.c263 int hb; in opl_hb_enum() local
279 for (hb = 0; hb < OPL_HB_MAX; hb++) { in opl_hb_enum()
283 p = iob->rcs[hb][rc]; in opl_hb_enum()
292 brd, hb, rc); in opl_hb_enum()
299 hbnode = opl_hb_node_create(mp, ion, hb); in opl_hb_enum()
H A Dopl_ioboard.c306 int a, lsb, hb, rc; in opl_iob_enum() local
316 hb = OPL_PX_HB(a); in opl_iob_enum()
325 ioboard_list[psb].rcs[hb][rc] = pnode; in opl_iob_enum()
/titanic_41/usr/src/cmd/hal/hald/
H A Dhald_runner.c426 HelperData *hb = (HelperData *)user_data; in call_notify() local
456 hb->cb(hb->d, exitt, return_code, in call_notify()
457 (gchar **)error->data, hb->data1, hb->data2); in call_notify()
459 g_object_unref (hb->d); in call_notify()
469 hb->cb(hb->d, HALD_RUN_FAILED, return_code, NULL, hb->data1, hb->data2); in call_notify()
471 g_object_unref (hb->d); in call_notify()
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/cpuboard/
H A Dcpuboard_hostbridge.c245 int hb; in cpuboard_hb_enum() local
261 hb = rc = brd; in cpuboard_hb_enum()
266 "pciexrc=%d\n", brd, hb, rc); in cpuboard_hb_enum()
269 hbnode = cpuboard_hb_node_create(mp, cpubn, hb); in cpuboard_hb_enum()
/titanic_41/usr/src/uts/common/ipp/
H A Dippconf.c2134 int hb; in find_mod() local
2153 hb = hash(modname); in find_mod()
2154 rp = ipp_mod_byname[hb]; in find_mod()
2193 int hb; in alloc_mod() local
2204 hb = hash(modname); in alloc_mod()
2205 rpp = &ipp_mod_byname[hb]; in alloc_mod()
2278 int hb; in free_mod() local
2286 hb = hash(imp->ippm_name); in free_mod()
2287 rpp = &ipp_mod_byname[hb]; in free_mod()
2816 int hb; in find_action() local
[all …]
/titanic_41/usr/src/lib/fm/topo/modules/sun4u/hostbridge/
H A DMakefile32 include ../../sun4/hostbridge/Makefile.hb
/titanic_41/usr/src/lib/fm/topo/modules/common/hostbridge/
H A Dhostbridge.c320 tnode_t *hb; in specific_hb_enum() local
336 if ((hb = pcihostbridge_declare(mod, pn, did_dinode(didp), imin)) in specific_hb_enum()
343 hb, PCI_BUS, PCI_BUS, bus, bus, didp) != 0) { in specific_hb_enum()
/titanic_41/usr/src/uts/common/os/
H A Dvmem.c919 int hb; in vmem_canalloc() local
925 else if ((hb = highbit(size)) < VMEM_FREELISTS) in vmem_canalloc()
926 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_canalloc()
946 int hb, flist, resv; in vmem_xalloc() local
999 hb = highbit(size); in vmem_xalloc()
1000 if ((vmp->vm_freemap >> hb) == 0 || in vmem_xalloc()
1001 hb == VMEM_FREELISTS || in vmem_xalloc()
1003 hb--; in vmem_xalloc()
1004 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
1267 int hb; in vmem_alloc() local
[all …]
/titanic_41/usr/src/lib/fm/topo/modules/sun4v/hostbridge/
H A DMakefile32 include ../../sun4/hostbridge/Makefile.hb
/titanic_41/usr/src/lib/fm/topo/modules/common/pcibus/
H A Dpcibus.c622 int rc, hb; in pciexbus_enum() local
632 hb = topo_node_instance(hbtn); in pciexbus_enum()
634 hb = rc; in pciexbus_enum()
644 if ((did_create(mp, pdn, 0, hb, rc, TRUST_BDF)) == NULL) in pciexbus_enum()
647 retval = pci_children_instantiate(mp, ptn, pdn, 0, hb, rc, in pciexbus_enum()
/titanic_41/usr/src/lib/libadutils/common/
H A Dadutils.c260 uchar_t *binsid, b, hb; in adutils_txtsid2hexbinsid() local
345 hb = (b >> 4) & 0xF; in adutils_txtsid2hexbinsid()
346 *ecp++ = (hb <= 0x9 ? hb + '0' : hb - 10 + 'A'); in adutils_txtsid2hexbinsid()
347 hb = b & 0xF; in adutils_txtsid2hexbinsid()
348 *ecp++ = (hb <= 0x9 ? hb + '0' : hb - 10 + 'A'); in adutils_txtsid2hexbinsid()
/titanic_41/usr/src/lib/libumem/common/
H A Dvmem.c822 int hb, flist, resv; in vmem_xalloc() local
882 hb = highbit(size); in vmem_xalloc()
883 if ((vmp->vm_freemap >> hb) == 0 || in vmem_xalloc()
884 hb == VMEM_FREELISTS || in vmem_xalloc()
886 hb--; in vmem_xalloc()
887 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_xalloc()
1070 int hb; in vmem_alloc() local
1100 else if ((hb = highbit(size)) < VMEM_FREELISTS) in vmem_alloc()
1101 flist = lowbit(P2ALIGN(vmp->vm_freemap, 1UL << hb)); in vmem_alloc()
/titanic_41/usr/src/cmd/mailx/
H A DMakefile71 LINTFLAGS= -hb
/titanic_41/usr/src/cmd/fm/eversholt/files/sparc/sun4u/
H A Doberon.esc116 event fault.io.fire.hb.sw-config@hostbridge/pciexrc, retire=0, response=0,
119 prop fault.io.fire.hb.sw-config@hostbridge/pciexrc (0)->
/titanic_41/usr/src/cmd/mdb/common/modules/sdbc/
H A Dsdbc.c1912 display_hash_bucket(_sd_hash_bucket_t *addr, _sd_hash_bucket_t *hb) in display_hash_bucket() argument
1918 (uintptr_t)hb->hb_lock)) == -1) in display_hash_bucket()
1919 mdb_warn("failed to read bucket lock at %p", hb->hb_lock); in display_hash_bucket()
1924 hb->hb_head, hb->hb_tail, in display_hash_bucket()
1925 (rc == -1) ? hb->hb_lock : lock._opaque[0], in display_hash_bucket()
1927 mdb_printf("inlist %d seq %d\n", hb->hb_inlist, hb->hb_seq); in display_hash_bucket()
/titanic_41/usr/src/cmd/fm/dicts/
H A DSUN4.dict47 fault.io.fire.hb.sw-config=16
/titanic_41/usr/src/uts/common/avs/ns/sv/
H A Dsv.c614 sv_dev_t **hb, *next, *svp; in sv_dev_to_sv() local
633 hb = &(maj->sm_hash[SV_MINOR_HASH(umin)]); in sv_dev_to_sv()
641 for (svp = *hb; svp; svp = next) { in sv_dev_to_sv()
670 sv_dev_t **hb, **insert, *svp; in sv_get_state() local
681 hb = &(maj->sm_hash[SV_MINOR_HASH(umin)]); in sv_get_state()
685 insert = hb; in sv_get_state()
687 for (svp = *hb; svp; svp = svp->sv_hash) { in sv_get_state()

12