Searched refs:baddr (Results 1 - 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/rpcbind/
H A Dcheck_bound.c89 struct t_bind taddr, *baddr; local
103 baddr = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
104 if (baddr == NULL) {
109 if (t_bind(fd, &taddr, baddr) != 0) {
112 (void) t_free((char *)baddr, T_BIND);
123 ans = memcmp(taddr.addr.buf, baddr->addr.buf, baddr->addr.len);
125 (void) t_free((char *)baddr, T_BIND);
133 * We are ignoring errors here. It trashes taddr and baddr;
146 add_bndlist(struct netconfig *nconf, struct t_bind *taddr, struct t_bind *baddr) argument
[all...]
H A Drpcbind.c498 struct t_bind *taddr, *baddr; local
539 baddr = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR);
540 if ((baddr == NULL) || (taddr == NULL)) {
573 if (t_bind(fd, taddr, baddr) != 0) {
579 if (nconf->nc_semantics != NC_TPI_CLTS && taddr->qlen != baddr->qlen)
582 baddr->qlen);
584 if (memcmp(taddr->addr.buf, baddr->addr.buf, (int)baddr->addr.len)) {
589 my_xprt = svc_tli_create(fd, nconf, baddr, 0, 0);
644 tcp_uaddr = taddr2uaddr(nconf, &baddr
[all...]
/illumos-gate/usr/src/lib/libast/common/vmalloc/
H A Dvmsegment.c58 (Vmuchar_t*)addr < (Vmuchar_t*)seg->baddr )
H A Dvmclear.c72 size = seg->baddr - ((Vmuchar_t*)tp) - 2*sizeof(Head_t);
84 tp = BLOCK(seg->baddr);
H A Dvmprivate.c121 bp = BLOCK(seg->baddr);
151 seg->baddr += size;
164 seg->baddr = addr + size - (s ? 2*ALIGN : 0);
168 SIZE(bp) = seg->baddr - (Vmuchar_t*)bp - 2*sizeof(Head_t);
247 seg->baddr -= less;
248 SEG(BLOCK(seg->baddr)) = seg;
249 SIZE(BLOCK(seg->baddr)) = BUSY;
H A Dvmlast.c143 else s = (Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data;
150 SIZE(fp) = ((Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data) - sizeof(Head_t);
209 if(data >= seg->addr && data < (Void_t*)seg->baddr)
223 else oldsize = (Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data;
227 { s = (Vmuchar_t*)BLOCK(seg->baddr) - (Vmuchar_t*)data;
246 seg->baddr += ds;
247 SIZE(BLOCK(seg->baddr)) = BUSY;
277 s = (Vmuchar_t*)BLOCK(seg->baddr) -
322 if(!vd->free || addr < (Void_t*)vd->free || addr >= (Void_t*)vd->seg->baddr)
343 else return (Vmuchar_t*)vd->seg->baddr
[all...]
H A Dvmopen.c146 seg->baddr = addr + s - (a ? ALIGN : 0);
154 SIZE(b) = seg->baddr - (Vmuchar_t*)b - 2*sizeof(Head_t);
H A Dvmstat.c80 endb = BLOCK(seg->baddr);
118 st->n_busy += ((seg->baddr - (Vmuchar_t*)b) - sizeof(Head_t))/s;
H A Dvmpool.c134 reg Vmuchar_t *laddr, *baddr; local
154 baddr = seg->baddr-sizeof(Head_t);
155 if((Vmuchar_t*)addr < laddr || (Vmuchar_t*)addr >= baddr)
H A Dvmbest.c197 endb = (Block_t*)(seg->baddr - sizeof(Head_t));
282 (Vmuchar_t*)root < seg->baddr)
420 if(fp >= SEGBLOCK(seg) && fp < (Block_t*)seg->baddr )
484 if(np->body.data >= vd->seg->baddr)
585 bp = BLOCK(seg->baddr);
623 /**/ASSERT(SEG(BLOCK(seg->baddr)) == seg);
625 if((size = (seg->baddr - ((Vmuchar_t*)bp) - sizeof(Head_t))) > 0)
808 endb = (Block_t*)(seg->baddr - sizeof(Head_t));
1009 seg->baddr += s;
1086 endb = (Block_t*)(seg->baddr
[all...]
H A Dvmhdr.h368 Vmuchar_t* baddr; /* bottom of usable memory */ member in struct:_seg_s
414 #define SEGWILD(b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= SEG(b)->baddr)
415 #define VMWILD(vd,b) (((b)->body.data+SIZE(b)+sizeof(Head_t)) >= vd->seg->baddr)
H A Dvmtrace.c264 for(b = SEGBLOCK(seg), endb = BLOCK(seg->baddr); b < endb; )
H A Dvmdebug.c290 endb = (Block_t*)(seg->baddr - sizeof(Head_t));
354 endb = (Block_t*)(seg->baddr - sizeof(Head_t));
626 endb = (Block_t*)(seg->baddr - sizeof(Head_t));
/illumos-gate/usr/src/uts/intel/io/intel_nhm/
H A Dmem_addr.c412 uint64_t baddr; local
480 baddr = cbaddr;
484 baddr = (((baddr >> 6) * 3) << 6);
489 baddr = (baddr & ~0x3f) << 1;
494 baddr = ((baddr & ~0x7f) << 1) | (baddr & 0x40);
499 baddr
[all...]
/illumos-gate/usr/src/cmd/devfsadm/
H A Dsgen_link.c66 char *baddr, *cnum, *tstr; local
163 if ((baddr = di_bus_addr(node)) == NULL)
166 if (sscanf(baddr, "%X,%X", &targ, &lun) != 2)
/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_dma.c235 uint64_t baddr; local
239 &baddr) != DDI_ENOTSUP)
961 uint64_t baddr, seg_pfn0 = pfn; local
986 baddr = MMU_PTOB(seg_pfn0);
988 if (px_lib_iommu_getbypass(dip, baddr, attr, &baddr)
990 baddr = px_lib_ro_bypass(dip, attr, baddr);
995 MAKE_DMA_COOKIE(cookie_p, baddr, MMU_PTOB(pfn_no));
1004 baddr
[all...]
/illumos-gate/usr/src/uts/common/os/
H A Dbp_map.c267 #define BP_COPY(dir, driverbuf, baddr, sz) \
269 bcopy(baddr, driverbuf, sz) : bcopy(driverbuf, baddr, sz)
/illumos-gate/usr/src/cmd/sgs/librtld_db/demo/common/
H A Dmaps.c203 load_map(struct ps_prochandle *procp, caddr_t baddr, map_info_t *mp) argument
226 if ((mapptr->pr_vaddr <= (uintptr_t)baddr) &&
228 (uintptr_t)baddr)) {
244 "mapping address 0x%08llx\n", EC_NATPTR(baddr));
/illumos-gate/usr/src/uts/sun4/os/
H A Dvisinstr.c557 uint64_t laddr, bsize, baddr; local
579 baddr = 0;
580 baddr |= (laddr >> (11 - 0)) & (0x03 << 0); /* X_integer<1:0> */
581 baddr |= (laddr >> (33 - 2)) & (0x03 << 2); /* Y_integer<1:0> */
582 baddr |= (laddr >> (55 - 4)) & (0x01 << 4); /* Z_integer<0> */
583 baddr |= (laddr >> (13 - 5)) & (0x0f << 5); /* X_integer<5:2> */
584 baddr |= (laddr >> (35 - 9)) & (0x0f << 9); /* Y_integer<5:2> */
585 baddr |= (laddr >> (56 - 13)) & (0x0f << 13); /* Z_integer<4:1> */
586 baddr |= (laddr >> (17 - 17)) & (nbit << 17); /* X_integer<6+n-1:6> */
587 baddr |
[all...]
/illumos-gate/usr/src/lib/libpicltree/
H A Dpicltree.c2587 parse_prl(char *prl, char **name, char **baddr, prop_list_t **plist) argument
2621 *baddr = ptr + 1;
2622 if (strlen(*baddr) == 0) /* no bus value after @ */
2788 char *baddr; local
2802 baddr = NULL;
2804 err = parse_prl(path, &nodename, &baddr, &plist);
2819 if (baddr != NULL) {
2820 busval = alloca(strlen(baddr) + 1);
2854 if (baddr != NULL) { /* compare bus-addr prop */
2856 busval, (strlen(baddr)
[all...]
/illumos-gate/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_driver.c501 uint64_t baddr; local
527 baddr = seg->ss_baddr + segoff;
530 pt->pt_seg_base_hi = SBP2_SWAP16(baddr >> 32);
531 pt->pt_seg_base_lo = SBP2_SWAP32(baddr & 0xFFFFFFFF);
/illumos-gate/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1161 struct sockaddr_in baddr; local
1164 baddr.sin_family = AF_INET;
1183 baddr.sin_addr = li->li_bcastaddr;
1186 pr_name(baddr.sin_addr));
1188 (struct sockaddr *)&baddr, sizeof (struct sockaddr));
1192 pr_name(baddr.sin_addr));
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprsubr.c4028 caddr_t saddr, naddr, baddr; local
4037 * to its end, pausing at each address boundary (baddr) between
4040 for (saddr = seg->s_base; saddr < eaddr; saddr = baddr) {
4041 prot = pr_getprot(seg, 0, &tmp, &saddr, &baddr, eaddr);
4042 ASSERT(baddr >= saddr && baddr <= eaddr);
4050 for (; saddr < baddr; saddr = naddr) {
4051 psz = pr_getpagesize(seg, saddr, &naddr, baddr);
4052 ASSERT(naddr >= saddr && naddr <= baddr);
4224 caddr_t saddr, naddr, baddr; local
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c2193 uintptr_t baddr)
2205 if (baddr != 0 && !call_printer)
2206 mdb_printf("bufctl %p ", baddr);
2211 if (baddr != 0 && call_printer) {
2212 whatis_call_printer(bufctl, baddr);
2240 whatis_walk_bufctl(uintptr_t baddr, const kmem_bufctl_t *bcp, whatis_info_t *wi) argument
2249 whatis_print_kmem(wi, cur, addr, baddr);
2860 uintptr_t laddr, haddr, baddr = NULL; local
2874 'a', MDB_OPT_UINTPTR, &baddr, NULL) != argc)
2970 if (baddr !
2192 whatis_print_kmem(whatis_info_t *wi, uintptr_t maddr, uintptr_t addr, uintptr_t baddr) argument
[all...]
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c2035 uintptr_t baddr)
2045 if (baddr != 0 && !call_printer)
2046 mdb_printf("bufctl %p ", baddr);
2051 if (call_printer && baddr != 0) {
2052 whatis_call_printer(bufctl, baddr);
2075 whatis_walk_bufctl(uintptr_t baddr, const umem_bufctl_t *bcp, whatis_info_t *wi) argument
2084 whatis_print_umem(wi, cur, addr, baddr);
2499 uintptr_t laddr, haddr, baddr = NULL; local
2515 'a', MDB_OPT_UINTPTR, &baddr, NULL) != argc)
2612 if (baddr !
2034 whatis_print_umem(whatis_info_t *wi, uintptr_t maddr, uintptr_t addr, uintptr_t baddr) argument
[all...]

Completed in 131 milliseconds

12