Home
last modified time | relevance | path

Searched refs:clhp (Results 1 – 5 of 5) sorted by relevance

/titanic_41/usr/src/lib/libumem/common/
H A Dumem.c1309 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_41/usr/src/uts/common/os/
H A Dkmem.c1453 kmem_cpu_log_header_t *clhp = &lhp->lh_cpu[i]; in kmem_log_init() local
1454 mutex_init(&clhp->clh_lock, NULL, MUTEX_DEFAULT, NULL); in kmem_log_init()
1455 clhp->clh_chunk = i; in kmem_log_init()
1471 kmem_cpu_log_header_t *clhp = &lhp->lh_cpu[CPU->cpu_seqid]; in kmem_log_enter() local
1476 mutex_enter(&clhp->clh_lock); in kmem_log_enter()
1477 clhp->clh_hits++; in kmem_log_enter()
1478 if (size > clhp->clh_avail) { in kmem_log_enter()
1481 lhp->lh_free[lhp->lh_tail] = clhp->clh_chunk; in kmem_log_enter()
1483 clhp->clh_chunk = lhp->lh_free[lhp->lh_head]; in kmem_log_enter()
1485 clhp->clh_current = lhp->lh_base + in kmem_log_enter()
[all …]
/titanic_41/usr/src/psm/stand/boot/sparc/common/
H A Dwbcli.c165 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_41/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c2378 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_41/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c2702 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()