Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libumem/common/
H A Dumem.c1314 clhp->clh_chunk = i; in umem_log_init()
1340 umem_cpu_log_header_t *clhp; in umem_log_enter() local
1347 (void) mutex_lock(&clhp->clh_lock); in umem_log_enter()
1348 clhp->clh_hits++; in umem_log_enter()
1349 if (size > clhp->clh_avail) { in umem_log_enter()
1356 clhp->clh_current = lhp->lh_base + in umem_log_enter()
1358 clhp->clh_avail = lhp->lh_chunksize; in umem_log_enter()
1363 logspace = clhp->clh_current; in umem_log_enter()
1364 clhp->clh_current += size; in umem_log_enter()
1365 clhp->clh_avail -= size; in umem_log_enter()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dkmem.c1425 clhp->clh_chunk = i; in kmem_log_init()
1441 kmem_cpu_log_header_t *clhp; in kmem_log_enter() local
1446 clhp = &lhp->lh_cpu[CPU->cpu_seqid]; in kmem_log_enter()
1448 mutex_enter(&clhp->clh_lock); in kmem_log_enter()
1449 clhp->clh_hits++; in kmem_log_enter()
1450 if (size > clhp->clh_avail) { in kmem_log_enter()
1457 clhp->clh_current = lhp->lh_base + in kmem_log_enter()
1464 logspace = clhp->clh_current; in kmem_log_enter()
1465 clhp->clh_current += size; in kmem_log_enter()
1466 clhp->clh_avail -= size; in kmem_log_enter()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/modules/libumem/
H A Dumem.c2379 uintptr_t lhp, clhp; in umem_log() local
2398 clhp = lhp + ((uintptr_t)&lh.lh_cpu[0] - (uintptr_t)&lh); in umem_log()
2404 if (mdb_vread(&clh, sizeof (clh), clhp) == -1) { in umem_log()
2406 i, clhp); in umem_log()
2414 clhp += sizeof (umem_cpu_log_header_t); in umem_log()
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dkmem.c2703 uintptr_t lhp, clhp; in kmem_log() local
2733 clhp = lhp + ((uintptr_t)&lh.lh_cpu[0] - (uintptr_t)&lh); in kmem_log()
2762 if (mdb_vread(&clh, sizeof (clh), clhp) == -1) { in kmem_log()
2764 i, clhp); in kmem_log()
2772 clhp += sizeof (kmem_cpu_log_header_t); in kmem_log()