Home
last modified time | relevance | path

Searched refs:lockptr (Results 1 – 2 of 2) sorted by relevance

/titanic_50/usr/src/uts/common/io/
H A Dwinlockio.c327 int *lockptr; /* kernel virtual addr of lock */ member
334 #define LOCK(lp) (*((lp)->lockptr))
606 ((off ^ (uintptr_t)(lp->lockptr)) & (offset_t)PAGEOFFSET) != 0) { in winlock_devmap()
609 off, (void *)lp->lockptr)); in winlock_devmap()
901 lp->lockptr = (int *)ddi_umem_alloc(PAGESIZE, in seglock_createlock()
904 lp->lockptr = ((int *)lockpage) + ((lp->cookie/PAGESIZE) - 1); in seglock_createlock()
908 ASSERT(lp->lockptr != NULL); in seglock_createlock()
946 lp->lockptr = NULL; in seglock_destroylock()
1159 (uint_t)((uintptr_t)(lp->lockptr) & PAGEOFFSET); in seglock_graballoc()
1618 lp->lockptr != 0 && LOCK(lp) ? 'Y' : 'N', in seglock_dump_all()
[all …]
/titanic_50/usr/src/lib/libc/port/threads/
H A Dsynch.c3009 mutex_t **lockptr; in find_lock_entry() local
3013 lockptr = self->ul_heldlocks.array; in find_lock_entry()
3016 lockptr = &self->ul_heldlocks.single; in find_lock_entry()
3019 for (; nlocks; nlocks--, lockptr++) { in find_lock_entry()
3020 if (*lockptr == lock) in find_lock_entry()
3021 return (lockptr); in find_lock_entry()
3022 if (*lockptr == NULL && remembered == NULL) in find_lock_entry()
3023 remembered = lockptr; in find_lock_entry()
3040 lockptr = lmalloc(nlocks * sizeof (mutex_t *)); in find_lock_entry()
3044 *lockptr = self->ul_heldlocks.single; in find_lock_entry()
[all …]