Searched refs:gcount (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/uts/common/sys/
H A Dflock_impl.h470 int gcount; /* list size */ member in struct:proc_graph
/illumos-gate/usr/src/uts/common/os/
H A Dflock.c3269 for (i = 0; i < pgraph.gcount; i++) {
3281 for (i = 0; i < pgraph.gcount; i++) {
3290 palloc = kmem_zalloc((pgraph.gcount + PROC_CHUNK) *
3295 pgraph.gcount * sizeof (proc_vertex_t *));
3298 pgraph.gcount * sizeof (proc_vertex_t *));
3302 pv->index = lock->pvertex = pgraph.gcount;
3303 pgraph.gcount += PROC_CHUNK;
3344 for (i = 0; i < pgraph.gcount; i++)
/illumos-gate/usr/src/uts/common/fs/zfs/
H A Dspa.c2058 uint_t i, gcount; local
2068 &glist, &gcount) != 0)
2071 vd = kmem_zalloc(gcount * sizeof (vdev_t *), KM_SLEEP);
2075 for (i = 0; i < gcount; i++) {
2096 for (extracted = 0, i = 0; i < gcount; i++) {
2109 if (!attempt_reopen || gcount == extracted) {
2110 for (i = 0; i < gcount; i++)
2116 kmem_free(vd, gcount * sizeof (vdev_t *));

Completed in 98 milliseconds