Home
last modified time | relevance | path

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

12

/titanic_41/usr/src/cmd/rpcbind/
H A Dcheck_bound.c89 struct t_bind taddr, *baddr; in check_bound() local
103 baddr = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in check_bound()
104 if (baddr == NULL) { in check_bound()
109 if (t_bind(fd, &taddr, baddr) != 0) { in check_bound()
112 (void) t_free((char *)baddr, T_BIND); in check_bound()
123 ans = memcmp(taddr.addr.buf, baddr->addr.buf, baddr->addr.len); in check_bound()
125 (void) t_free((char *)baddr, T_BIND); in check_bound()
146 add_bndlist(struct netconfig *nconf, struct t_bind *taddr, struct t_bind *baddr) in add_bndlist() argument
200 if (t_bind(fdl->fd, taddr, baddr) != 0) { in add_bndlist()
214 if (!memcmp(taddr->addr.buf, baddr->addr.buf, in add_bndlist()
[all …]
H A Drpcbind.c498 struct t_bind *taddr, *baddr; in init_transport() local
539 baddr = (struct t_bind *)t_alloc(fd, T_BIND, T_ADDR); in init_transport()
540 if ((baddr == NULL) || (taddr == NULL)) { in init_transport()
573 if (t_bind(fd, taddr, baddr) != 0) { in init_transport()
579 if (nconf->nc_semantics != NC_TPI_CLTS && taddr->qlen != baddr->qlen) in init_transport()
582 baddr->qlen); in init_transport()
584 if (memcmp(taddr->addr.buf, baddr->addr.buf, (int)baddr->addr.len)) { in init_transport()
589 my_xprt = svc_tli_create(fd, nconf, baddr, 0, 0); in init_transport()
644 tcp_uaddr = taddr2uaddr(nconf, &baddr->addr); in init_transport()
656 udp_uaddr = taddr2uaddr(nconf, &baddr->addr); in init_transport()
[all …]
/titanic_41/usr/src/uts/intel/io/intel_nhm/
H A Dmem_addr.c412 uint64_t baddr; in dimm_to_addr() local
480 baddr = cbaddr; in dimm_to_addr()
484 baddr = (((baddr >> 6) * 3) << 6); in dimm_to_addr()
489 baddr = (baddr & ~0x3f) << 1; in dimm_to_addr()
494 baddr = ((baddr & ~0x7f) << 1) | (baddr & 0x40); in dimm_to_addr()
499 baddr = ((baddr & ~0xff) << 1) | (baddr & 0xc0); in dimm_to_addr()
503 baddr -= (int64_t) in dimm_to_addr()
525 if (baddr + (rank_sz * rinterleave * in dimm_to_addr()
535 rank_sz = (tad[node][i].limit - baddr) / in dimm_to_addr()
543 *rank_base_p = baddr; in dimm_to_addr()
[all …]
/titanic_41/usr/src/lib/libast/common/vmalloc/
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 - (Vmuchar_t*)addr - sizeof(Head_t);
[all …]
H A Dvmclear.c72 size = seg->baddr - ((Vmuchar_t*)tp) - 2*sizeof(Head_t);
84 tp = BLOCK(seg->baddr);
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 Dvmstat.c80 endb = BLOCK(seg->baddr);
118 st->n_busy += ((seg->baddr - (Vmuchar_t*)b) - sizeof(Head_t))/s;
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 Dvmsegment.c58 (Vmuchar_t*)addr < (Vmuchar_t*)seg->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 - sizeof(Head_t));
H A Dvmhdr.h368 Vmuchar_t* baddr; /* bottom of usable memory */ member
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 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));
H A Dvmtrace.c264 for(b = SEGBLOCK(seg), endb = BLOCK(seg->baddr); b < endb; )
/titanic_41/usr/src/uts/sun4/io/px/
H A Dpx_dma.c235 uint64_t baddr; in px_dma_attach() local
239 &baddr) != DDI_ENOTSUP) in px_dma_attach()
961 uint64_t baddr, seg_pfn0 = pfn; in px_dma_newwin() local
986 baddr = MMU_PTOB(seg_pfn0); in px_dma_newwin()
988 if (px_lib_iommu_getbypass(dip, baddr, attr, &baddr) in px_dma_newwin()
990 baddr = px_lib_ro_bypass(dip, attr, baddr); in px_dma_newwin()
995 MAKE_DMA_COOKIE(cookie_p, baddr, MMU_PTOB(pfn_no)); in px_dma_newwin()
1004 baddr = MMU_PTOB(seg_pfn0); in px_dma_newwin()
1006 if (px_lib_iommu_getbypass(dip, baddr, attr, &baddr) in px_dma_newwin()
1008 baddr = px_lib_ro_bypass(dip, attr, baddr); in px_dma_newwin()
[all …]
/titanic_41/usr/src/cmd/devfsadm/
H A Dsgen_link.c66 char *baddr, *cnum, *tstr; in sgen_callback() local
163 if ((baddr = di_bus_addr(node)) == NULL) in sgen_callback()
166 if (sscanf(baddr, "%X,%X", &targ, &lun) != 2) in sgen_callback()
/titanic_41/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) in load_map() argument
226 if ((mapptr->pr_vaddr <= (uintptr_t)baddr) && in load_map()
228 (uintptr_t)baddr)) { in load_map()
244 "mapping address 0x%08llx\n", EC_NATPTR(baddr)); in load_map()
/titanic_41/usr/src/uts/common/os/
H A Dbp_map.c267 #define BP_COPY(dir, driverbuf, baddr, sz) \ argument
269 bcopy(baddr, driverbuf, sz) : bcopy(driverbuf, baddr, sz)
/titanic_41/usr/src/uts/sun4/os/
H A Dvisinstr.c557 uint64_t laddr, bsize, baddr; in vis_array() local
579 baddr = 0; in vis_array()
580 baddr |= (laddr >> (11 - 0)) & (0x03 << 0); /* X_integer<1:0> */ in vis_array()
581 baddr |= (laddr >> (33 - 2)) & (0x03 << 2); /* Y_integer<1:0> */ in vis_array()
582 baddr |= (laddr >> (55 - 4)) & (0x01 << 4); /* Z_integer<0> */ in vis_array()
583 baddr |= (laddr >> (13 - 5)) & (0x0f << 5); /* X_integer<5:2> */ in vis_array()
584 baddr |= (laddr >> (35 - 9)) & (0x0f << 9); /* Y_integer<5:2> */ in vis_array()
585 baddr |= (laddr >> (56 - 13)) & (0x0f << 13); /* Z_integer<4:1> */ in vis_array()
586 baddr |= (laddr >> (17 - 17)) & (nbit << 17); /* X_integer<6+n-1:6> */ in vis_array()
587 baddr |= (laddr >> (39 - oy)) & (nbit << oy); /* Y_integer<6+n-1:6> */ in vis_array()
[all …]
/titanic_41/usr/src/lib/libpicltree/
H A Dpicltree.c2587 parse_prl(char *prl, char **name, char **baddr, prop_list_t **plist) in parse_prl() argument
2621 *baddr = ptr + 1; in parse_prl()
2622 if (strlen(*baddr) == 0) /* no bus value after @ */ in parse_prl()
2788 char *baddr; in get_child_by_path() local
2802 baddr = NULL; in get_child_by_path()
2804 err = parse_prl(path, &nodename, &baddr, &plist); in get_child_by_path()
2819 if (baddr != NULL) { in get_child_by_path()
2820 busval = alloca(strlen(baddr) + 1); in get_child_by_path()
2854 if (baddr != NULL) { /* compare bus-addr prop */ in get_child_by_path()
2856 busval, (strlen(baddr) + 1)) != PICL_SUCCESS) && in get_child_by_path()
[all …]
/titanic_41/usr/src/uts/common/io/1394/targets/scsa1394/
H A Dsbp2_driver.c501 uint64_t baddr; in scsa1394_sbp2_seg2pt_symbios() local
527 baddr = seg->ss_baddr + segoff; in scsa1394_sbp2_seg2pt_symbios()
530 pt->pt_seg_base_hi = SBP2_SWAP16(baddr >> 32); in scsa1394_sbp2_seg2pt_symbios()
531 pt->pt_seg_base_lo = SBP2_SWAP32(baddr & 0xFFFFFFFF); in scsa1394_sbp2_seg2pt_symbios()
/titanic_41/usr/src/uts/common/fs/proc/
H A Dprsubr.c4028 caddr_t saddr, naddr, baddr; in prgetxmap() local
4040 for (saddr = seg->s_base; saddr < eaddr; saddr = baddr) { in prgetxmap()
4041 prot = pr_getprot(seg, 0, &tmp, &saddr, &baddr, eaddr); in prgetxmap()
4042 ASSERT(baddr >= saddr && baddr <= eaddr); in prgetxmap()
4050 for (; saddr < baddr; saddr = naddr) { in prgetxmap()
4051 psz = pr_getpagesize(seg, saddr, &naddr, baddr); in prgetxmap()
4052 ASSERT(naddr >= saddr && naddr <= baddr); in prgetxmap()
4212 caddr_t saddr, naddr, baddr; in prgetxmap32() local
4224 for (saddr = seg->s_base; saddr < eaddr; saddr = baddr) { in prgetxmap32()
4225 prot = pr_getprot(seg, 0, &tmp, &saddr, &baddr, eaddr); in prgetxmap32()
[all …]
/titanic_41/usr/src/cmd/cmd-inet/usr.sbin/in.rdisc/
H A Din.rdisc.c1161 struct sockaddr_in baddr; in sendbcastif() local
1164 baddr.sin_family = AF_INET; in sendbcastif()
1183 baddr.sin_addr = li->li_bcastaddr; in sendbcastif()
1186 pr_name(baddr.sin_addr)); in sendbcastif()
1188 (struct sockaddr *)&baddr, sizeof (struct sockaddr)); in sendbcastif()
1192 pr_name(baddr.sin_addr)); in sendbcastif()
/titanic_41/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c2034 uintptr_t baddr) in whatis_print_umem() argument
2044 if (baddr != 0 && !call_printer) in whatis_print_umem()
2045 mdb_printf("bufctl %p ", baddr); in whatis_print_umem()
2050 if (call_printer && baddr != 0) { in whatis_print_umem()
2051 whatis_call_printer(bufctl, baddr); in whatis_print_umem()
2074 whatis_walk_bufctl(uintptr_t baddr, const umem_bufctl_t *bcp, whatis_info_t *wi) in whatis_walk_bufctl() argument
2083 whatis_print_umem(wi, cur, addr, baddr); in whatis_walk_bufctl()
2498 uintptr_t laddr, haddr, baddr = NULL; in bufctl() local
2514 'a', MDB_OPT_UINTPTR, &baddr, NULL) != argc) in bufctl()
2611 if (baddr != 0 && (uintptr_t)bcp->bc_addr != baddr) in bufctl()
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c2193 uintptr_t baddr) in whatis_print_kmem() argument
2205 if (baddr != 0 && !call_printer) in whatis_print_kmem()
2206 mdb_printf("bufctl %p ", baddr); in whatis_print_kmem()
2211 if (baddr != 0 && call_printer) { in whatis_print_kmem()
2212 whatis_call_printer(bufctl, baddr); in whatis_print_kmem()
2240 whatis_walk_bufctl(uintptr_t baddr, const kmem_bufctl_t *bcp, whatis_info_t *wi) in whatis_walk_bufctl() argument
2249 whatis_print_kmem(wi, cur, addr, baddr); in whatis_walk_bufctl()
2860 uintptr_t laddr, haddr, baddr = NULL; in bufctl() local
2874 'a', MDB_OPT_UINTPTR, &baddr, NULL) != argc) in bufctl()
2970 if (baddr != 0 && (uintptr_t)bc.bc_addr != baddr) in bufctl()

12