/titanic_41/usr/src/lib/libumem/common/ |
H A D | umem.c | 1076 umem_bufctl_t *bcp = NULL; in umem_error() local 1112 for (bcp = *UMEM_HASH(cp, buf); bcp; bcp = bcp->bc_next) in umem_error() 1113 if (bcp->bc_addr == buf) in umem_error() 1116 if (bcp == NULL && btp != NULL) in umem_error() 1117 bcp = btp->bt_bufctl; in umem_error() 1118 if (umem_findslab(cp->cache_bufctl_cache, bcp) == in umem_error() 1119 NULL || P2PHASE((uintptr_t)bcp, UMEM_ALIGN) || in umem_error() 1120 bcp->bc_addr != buf) { in umem_error() 1122 bcp = NULL; in umem_error() 1133 umem_abort_info.ump_bufctl = bcp; in umem_error() [all …]
|
H A D | umem_impl.h | 176 #define UMEM_BUF(cp, bcp) \ argument 177 ((void *)((char *)(bcp) - (cp)->cache_bufctl))
|
/titanic_41/usr/src/uts/sun4u/io/ |
H A D | gptwo_cpu.c | 93 static int set_cpu_common_props(dev_info_t *new_child, struct bca *bcp); 94 static int set_cpu_us3_props(dev_info_t *new_child, struct bca *bcp); 95 static int set_cpu_us4_props(dev_info_t *new_child, struct bca *bcp); 328 struct bca *bcp = arg; in set_cpu_props() local 329 uint_t impl = bcp->impl; in set_cpu_props() 332 if (set_cpu_common_props(new_child, bcp) != DDI_WALK_CONTINUE) in set_cpu_props() 338 rc = set_cpu_us3_props(new_child, bcp); in set_cpu_props() 342 rc = set_cpu_us4_props(new_child, bcp); in set_cpu_props() 366 set_cpu_common_props(dev_info_t *new_child, struct bca *bcp) in set_cpu_common_props() argument 372 cpuid = bcp->cpuid; in set_cpu_common_props() [all …]
|
/titanic_41/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 786 umem_bufctl_t *bcp; in umem_hash_lookup() local 789 if (mdb_vread(&bcp, sizeof (umem_bufctl_t *), bucket) == -1) { in umem_hash_lookup() 795 while (bcp != NULL) { in umem_hash_lookup() 797 (uintptr_t)bcp) == -1) { in umem_hash_lookup() 798 mdb_warn("unable to read bufctl at %p", bcp); in umem_hash_lookup() 802 *out = (uintptr_t)bcp; in umem_hash_lookup() 805 bcp = bc.bc_next; in umem_hash_lookup() 1299 const umem_bufctl_t *bcp; in umem_walk_step() local 1412 bcp = sp->slab_head; in umem_walk_step() 1424 dprintf(("bcp is %p\n", bcp)); in umem_walk_step() [all …]
|
H A D | leaky_subr.c | 97 leaky_mtab(uintptr_t addr, const umem_bufctl_audit_t *bcp, leak_mtab_t **lmp) in leaky_mtab() argument 101 lm->lkm_base = (uintptr_t)bcp->bc_addr; in leaky_mtab() 793 umem_bufctl_audit_t *bcp; in leaky_subr_add_leak() local 794 UMEM_LOCAL_BUFCTL_AUDIT(&bcp); in leaky_subr_add_leak() 798 if (mdb_vread(bcp, UMEM_BUFCTL_AUDIT_SIZE, addr) == -1) { in leaky_subr_add_leak() 804 depth = MIN(bcp->bc_depth, umem_stack_depth); in leaky_subr_add_leak() 816 leaky_add_leak(TYPE_UMEM, addr, (uintptr_t)bcp->bc_addr, in leaky_subr_add_leak() 817 bcp->bc_timestamp, bcp->bc_stack + 1, depth, in leaky_subr_add_leak() 818 (uintptr_t)bcp->bc_cache, (uintptr_t)bcp->bc_cache); in leaky_subr_add_leak() 1127 umem_bufctl_audit_t *bcp; in leaky_subr_invoke_callback() local [all …]
|
/titanic_41/usr/src/uts/common/os/ |
H A D | kmem.c | 1286 kmem_bufctl_t *bcp = NULL; in kmem_error() local 1320 for (bcp = *KMEM_HASH(cp, buf); bcp; bcp = bcp->bc_next) in kmem_error() 1321 if (bcp->bc_addr == buf) in kmem_error() 1324 if (bcp == NULL && btp != NULL) in kmem_error() 1325 bcp = btp->bt_bufctl; in kmem_error() 1326 if (kmem_findslab(cp->cache_bufctl_cache, bcp) == in kmem_error() 1327 NULL || P2PHASE((uintptr_t)bcp, KMEM_ALIGN) || in kmem_error() 1328 bcp->bc_addr != buf) { in kmem_error() 1330 bcp = NULL; in kmem_error() 1341 kmem_panic_info.kmp_bufctl = bcp; in kmem_error() [all …]
|
H A D | strsubr.c | 3566 strbufcall_t *bcp; in runbufcalls() local 3581 for (bcp = strbcalls.bc_head; bcp; bcp = bcp->bc_next) in runbufcalls() 3591 while ((bcp = strbcalls.bc_head) != NULL && nevent) { in runbufcalls() 3594 if (bcp->bc_size <= count) { in runbufcalls() 3595 bcp->bc_executor = curthread; in runbufcalls() 3597 (*bcp->bc_func)(bcp->bc_arg); in runbufcalls() 3599 bcp->bc_executor = NULL; in runbufcalls() 3601 strbcalls.bc_head = bcp->bc_next; in runbufcalls() 3602 kmem_free(bcp, sizeof (strbufcall_t)); in runbufcalls() 3610 if (bcp->bc_next != NULL) { in runbufcalls() [all …]
|
/titanic_41/usr/src/uts/common/io/ |
H A D | stream.c | 244 bcache_t *bcp = cdrarg; in bcache_dblk_constructor() local 249 dbp->db_base = kmem_cache_alloc(bcp->buffer_cache, kmflags); in bcache_dblk_constructor() 256 dbp->db_cache = (void *)bcp; in bcache_dblk_constructor() 257 dbp->db_lim = dbp->db_base + bcp->size; in bcache_dblk_constructor() 291 bcache_t *bcp = cdrarg; in bcache_dblk_destructor() local 293 kmem_cache_free(bcp->buffer_cache, dbp->db_base); in bcache_dblk_destructor() 995 bcache_t *bcp = dbp->db_cache; in bcache_dblk_lastfree() local 1010 mutex_enter(&bcp->mutex); in bcache_dblk_lastfree() 1011 kmem_cache_free(bcp->dblk_cache, dbp); in bcache_dblk_lastfree() 1012 bcp->alloc--; in bcache_dblk_lastfree() [all …]
|
H A D | bridge.c | 260 bridge_ctl_t *bcp; in link_sdu_fail() local 325 bcp = (bridge_ctl_t *)mp->b_rptr; in link_sdu_fail() 326 bcp->bc_linkid = blp->bl_linkid; in link_sdu_fail() 327 bcp->bc_failed = failed; in link_sdu_fail() 328 mp->b_wptr = (uchar_t *)(bcp + 1); in link_sdu_fail()
|
/titanic_41/usr/src/stand/lib/fs/common/ |
H A D | cache.c | 513 cache_t *bcp; in get_bcache() local 518 bcp = get_cache(bc_hash[BC_HASH(x_dev, x_blkno, x_len)], &bc_head); in get_bcache() 520 return (bcp ? (caddr_t)bcp->data : 0); in get_bcache() 537 bc_t *bcp; in set_bcache() local 556 bcp = (bc_t *) in set_bcache() 559 bcp->bc_blk = x_blkno; in set_bcache() 560 bcp->bc_hdr.dev = x_dev; in set_bcache() 561 bcp->bc_hdr.size = x_len; in set_bcache() 562 bcp->bc_hdr.data = (void *)fp->fi_memp; in set_bcache()
|
/titanic_41/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kmem.c | 870 kmem_bufctl_t *bcp; in kmem_hash_lookup() local 873 if (mdb_vread(&bcp, sizeof (kmem_bufctl_t *), bucket) == -1) { in kmem_hash_lookup() 879 while (bcp != NULL) { in kmem_hash_lookup() 881 (uintptr_t)bcp) == -1) { in kmem_hash_lookup() 882 mdb_warn("unable to read bufctl at %p", bcp); in kmem_hash_lookup() 886 *out = (uintptr_t)bcp; in kmem_hash_lookup() 889 bcp = bc.bc_next; in kmem_hash_lookup() 1344 const kmem_bufctl_t *bcp; in kmem_walk_step() local 1464 bcp = sp->slab_head; in kmem_walk_step() 1476 dprintf(("bcp is %p\n", bcp)); in kmem_walk_step() [all …]
|
H A D | leaky_subr.c | 72 leaky_mtab(uintptr_t addr, const kmem_bufctl_audit_t *bcp, leak_mtab_t **lmp) in leaky_mtab() argument 76 lm->lkm_base = (uintptr_t)bcp->bc_addr; in leaky_mtab()
|
/titanic_41/usr/src/lib/libresolv2/common/resolv/ |
H A D | res_debug.c | 943 u_char *bcp; local 1035 bcp = binary; 1036 *bcp++ = (u_int8_t) 0; /*%< version byte */ 1037 *bcp++ = siz; 1038 *bcp++ = hp; 1039 *bcp++ = vp; 1040 PUTLONG(latit,bcp); 1041 PUTLONG(longit,bcp); 1042 PUTLONG(alt,bcp);
|
/titanic_41/usr/src/uts/common/sys/ |
H A D | kmem_impl.h | 171 #define KMEM_BUF(cp, bcp) \ argument 172 ((void *)((char *)(bcp) - (cp)->cache_bufctl))
|
/titanic_41/usr/src/cmd/sgs/packages/common/ |
H A D | SUNWonld-README | 1278 6568447 bcp is broken by 6551627
|