Home
last modified time | relevance | path

Searched refs:bcp (Results 1 – 16 of 16) sorted by relevance

/illumos-gate/usr/src/lib/smbclnt/libfknsmb/common/
H A Dfake_stream.c684 bcp->alloc--; in bcache_dblk_lastfree()
686 if (bcp->alloc == 0 && bcp->destroy != 0) { in bcache_dblk_lastfree()
700 bcache_t *bcp; in bcache_create() local
708 bcp->size = size; in bcache_create()
709 bcp->align = align; in bcache_create()
710 bcp->alloc = 0; in bcache_create()
711 bcp->destroy = 0; in bcache_create()
723 return (bcp); in bcache_create()
729 ASSERT(bcp != NULL); in bcache_destroy()
739 bcp->destroy++; in bcache_destroy()
[all …]
/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c1112 for (bcp = *UMEM_HASH(cp, buf); bcp; bcp = bcp->bc_next) in umem_error()
1122 bcp = NULL; in umem_error()
1390 bcp->bc_addr = addr; in umem_log_event()
1391 bcp->bc_slab = sp; in umem_log_event()
1392 bcp->bc_cache = cp; in umem_log_event()
1408 umem_bufctl_t *bcp; in umem_slab_create() local
1446 if (bcp == NULL) in umem_slab_create()
1455 bcp->bc_slab = sp; in umem_slab_create()
1508 umem_bufctl_t *bcp; in umem_slab_destroy() local
1559 bcp = sp->slab_head; in umem_slab_alloc()
[all …]
H A Dumem_impl.h179 #define UMEM_BUF(cp, bcp) \ argument
180 ((void *)((char *)(bcp) - (cp)->cache_bufctl))
/illumos-gate/usr/src/uts/sun4u/io/
H A Dgptwo_cpu.c328 struct bca *bcp = arg; in set_cpu_props() local
372 cpuid = bcp->cpuid; in set_cpu_common_props()
373 pcd = bcp->pcd; in set_cpu_common_props()
374 impl = bcp->impl; in set_cpu_common_props()
471 pcd = bcp->pcd; in set_cpu_us3_props()
472 portid = bcp->portid; in set_cpu_us3_props()
473 impl = bcp->impl; in set_cpu_us3_props()
659 pcd = bcp->pcd; in set_cpu_us4_props()
660 coreid = bcp->coreid; in set_cpu_us4_props()
661 impl = bcp->impl; in set_cpu_us4_props()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c787 umem_bufctl_t *bcp; in umem_hash_lookup() local
796 while (bcp != NULL) { in umem_hash_lookup()
806 bcp = bc.bc_next; in umem_hash_lookup()
1413 bcp = sp->slab_head; in umem_walk_step()
1427 if (bcp == NULL) { in umem_walk_step()
1439 bcp); in umem_walk_step()
1497 bcp = bc.bc_next; in umem_walk_step()
1500 if (bcp != NULL) { in umem_walk_step()
2624 addr, bcp->bc_addr, bcp->bc_timestamp, bcp->bc_thread, in bufctl()
2625 "", bcp->bc_cache, bcp->bc_lastlog, bcp->bc_contents); in bufctl()
[all …]
H A Dleaky_subr.c99 lm->lkm_base = (uintptr_t)bcp->bc_addr; in leaky_mtab()
791 umem_bufctl_audit_t *bcp; in leaky_subr_add_leak() local
792 UMEM_LOCAL_BUFCTL_AUDIT(&bcp); in leaky_subr_add_leak()
802 depth = MIN(bcp->bc_depth, umem_stack_depth); in leaky_subr_add_leak()
814 leaky_add_leak(TYPE_UMEM, addr, (uintptr_t)bcp->bc_addr, in leaky_subr_add_leak()
815 bcp->bc_timestamp, bcp->bc_stack + 1, depth, in leaky_subr_add_leak()
816 (uintptr_t)bcp->bc_cache, (uintptr_t)bcp->bc_cache); in leaky_subr_add_leak()
1125 umem_bufctl_audit_t *bcp; in leaky_subr_invoke_callback() local
1126 UMEM_LOCAL_BUFCTL_AUDIT(&bcp); in leaky_subr_invoke_callback()
1138 if (mdb_vread(bcp, UMEM_BUFCTL_AUDIT_SIZE, in leaky_subr_invoke_callback()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c1290 for (bcp = *KMEM_HASH(cp, buf); bcp; bcp = bcp->bc_next) in kmem_error()
1300 bcp = NULL; in kmem_error()
1506 kmem_bufctl_t *bcp; in kmem_slab_create() local
1555 if (bcp == NULL) in kmem_slab_create()
3362 bcp = next_bcp; in kmem_hash_rescale()
4603 (bcp != NULL) && (bcp->bc_addr != buf); in kmem_slab_allocated()
4604 bcp = bcp->bc_next) { in kmem_slab_allocated()
4607 ASSERT(sp != NULL && bcp != NULL ? sp == bcp->bc_slab : 1); in kmem_slab_allocated()
4608 return (bcp == NULL ? NULL : bcp->bc_slab); in kmem_slab_allocated()
4616 (bcp != NULL) && (bcp != bufbcp); in kmem_slab_allocated()
[all …]
H A Dstrsubr.c3591 strbufcall_t *bcp; in runbufcalls() local
3606 for (bcp = strbcalls.bc_head; bcp; bcp = bcp->bc_next) in runbufcalls()
3619 if (bcp->bc_size <= count) { in runbufcalls()
3620 bcp->bc_executor = curthread; in runbufcalls()
3622 (*bcp->bc_func)(bcp->bc_arg); in runbufcalls()
3624 bcp->bc_executor = NULL; in runbufcalls()
3626 strbcalls.bc_head = bcp->bc_next; in runbufcalls()
3635 if (bcp->bc_next != NULL) { in runbufcalls()
3636 strbcalls.bc_head = bcp->bc_next; in runbufcalls()
3637 bcp->bc_next = NULL; in runbufcalls()
[all …]
/illumos-gate/usr/src/uts/common/io/
H A Dstream.c1049 bcp->alloc--; in bcache_dblk_lastfree()
1051 if (bcp->alloc == 0 && bcp->destroy != 0) { in bcache_dblk_lastfree()
1065 bcache_t *bcp; in bcache_create() local
1073 bcp->size = size; in bcache_create()
1075 bcp->alloc = 0; in bcache_create()
1088 return (bcp); in bcache_create()
1104 bcp->destroy++; in bcache_destroy()
1128 bcp->alloc++; in bcache_allocb()
1363 for (bcp = strbcalls.bc_head; bcp; bcp = bcp->bc_next) { in unbufcall()
1366 pbcp = bcp; in unbufcall()
[all …]
H A Dbridge.c263 bridge_ctl_t *bcp; in link_sdu_fail() local
328 bcp = (bridge_ctl_t *)mp->b_rptr; in link_sdu_fail()
329 bcp->bc_linkid = blp->bl_linkid; in link_sdu_fail()
330 bcp->bc_failed = failed; in link_sdu_fail()
331 mp->b_wptr = (uchar_t *)(bcp + 1); in link_sdu_fail()
/illumos-gate/usr/src/stand/lib/fs/common/
H A Dcache.c513 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()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c871 kmem_bufctl_t *bcp; in kmem_hash_lookup() local
880 while (bcp != NULL) { in kmem_hash_lookup()
890 bcp = bc.bc_next; in kmem_hash_lookup()
1465 bcp = sp->slab_head; in kmem_walk_step()
1479 if (bcp == NULL) { in kmem_walk_step()
1491 bcp); in kmem_walk_step()
1541 (uintptr_t)bcp); in kmem_walk_step()
1549 bcp = bc.bc_next; in kmem_walk_step()
1552 if (bcp != NULL) { in kmem_walk_step()
1554 sp, addr, bcp)); in kmem_walk_step()
[all …]
H A Dleaky_subr.c70 leaky_mtab(uintptr_t addr, const kmem_bufctl_audit_t *bcp, leak_mtab_t **lmp) in leaky_mtab() argument
74 lm->lkm_base = (uintptr_t)bcp->bc_addr; in leaky_mtab()
/illumos-gate/usr/src/lib/libresolv2/common/resolv/
H A Dres_debug.c938 u_char *bcp; local
1030 bcp = binary;
1031 *bcp++ = (u_int8_t) 0; /*%< version byte */
1032 *bcp++ = siz;
1033 *bcp++ = hp;
1034 *bcp++ = vp;
1035 PUTLONG(latit,bcp);
1036 PUTLONG(longit,bcp);
1037 PUTLONG(alt,bcp);
/illumos-gate/usr/src/uts/common/sys/
H A Dkmem_impl.h171 #define KMEM_BUF(cp, bcp) \ argument
172 ((void *)((char *)(bcp) - (cp)->cache_bufctl))
/illumos-gate/usr/src/cmd/sgs/tools/
H A DSUNWonld-README1278 6568447 bcp is broken by 6551627