Searched refs:clhp (Results 1 – 5 of 5) sorted by relevance
/titanic_50/usr/src/lib/libumem/common/ |
H A D | umem.c | 1309 umem_cpu_log_header_t *clhp = &lhp->lh_cpu[i]; in umem_log_init() local 1310 (void) mutex_init(&clhp->clh_lock, USYNC_THREAD, NULL); in umem_log_init() 1311 clhp->clh_chunk = i; in umem_log_init() 1337 umem_cpu_log_header_t *clhp = in umem_log_enter() local 1343 (void) mutex_lock(&clhp->clh_lock); in umem_log_enter() 1344 clhp->clh_hits++; in umem_log_enter() 1345 if (size > clhp->clh_avail) { in umem_log_enter() 1348 lhp->lh_free[lhp->lh_tail] = clhp->clh_chunk; in umem_log_enter() 1350 clhp->clh_chunk = lhp->lh_free[lhp->lh_head]; in umem_log_enter() 1352 clhp->clh_current = lhp->lh_base + in umem_log_enter() [all …]
|
/titanic_50/usr/src/uts/common/os/ |
H A D | kmem.c | 1410 kmem_cpu_log_header_t *clhp = &lhp->lh_cpu[i]; in kmem_log_init() local 1411 mutex_init(&clhp->clh_lock, NULL, MUTEX_DEFAULT, NULL); in kmem_log_init() 1412 clhp->clh_chunk = i; in kmem_log_init() 1428 kmem_cpu_log_header_t *clhp; in kmem_log_enter() local 1433 clhp = &lhp->lh_cpu[CPU->cpu_seqid]; in kmem_log_enter() 1435 mutex_enter(&clhp->clh_lock); in kmem_log_enter() 1436 clhp->clh_hits++; in kmem_log_enter() 1437 if (size > clhp->clh_avail) { in kmem_log_enter() 1440 lhp->lh_free[lhp->lh_tail] = clhp->clh_chunk; in kmem_log_enter() 1442 clhp->clh_chunk = lhp->lh_free[lhp->lh_head]; in kmem_log_enter() [all …]
|
/titanic_50/usr/src/psm/stand/boot/sparc/common/ |
H A D | wbcli.c | 165 static claction_t clcid, clkey, clip, clstr, clurl, clhp; variable 198 { BI_HTTP_PROXY, clhp, CLF_IF, 427 clhp(cli_ent_t *cliptr, char *valstr, boolean_t out) in clhp() function
|
/titanic_50/usr/src/cmd/mdb/common/modules/libumem/ |
H A D | umem.c | 2378 uintptr_t lhp, clhp; in umem_log() local 2397 clhp = lhp + ((uintptr_t)&lh.lh_cpu[0] - (uintptr_t)&lh); in umem_log() 2403 if (mdb_vread(&clh, sizeof (clh), clhp) == -1) { in umem_log() 2405 i, clhp); in umem_log() 2413 clhp += sizeof (umem_cpu_log_header_t); in umem_log()
|
/titanic_50/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | kmem.c | 2702 uintptr_t lhp, clhp; in kmem_log() local 2732 clhp = lhp + ((uintptr_t)&lh.lh_cpu[0] - (uintptr_t)&lh); in kmem_log() 2761 if (mdb_vread(&clh, sizeof (clh), clhp) == -1) { in kmem_log() 2763 i, clhp); in kmem_log() 2771 clhp += sizeof (kmem_cpu_log_header_t); in kmem_log()
|