Lines Matching defs:lockptr
284 * "lockptr" is the kernel virtual address to the lock itself
285 * The page offset portion of lockptr is the page offset portion of sy_ident
327 int *lockptr; /* kernel virtual addr of lock */
334 #define LOCK(lp) (*((lp)->lockptr))
602 * The offset bits in mmap(2) offset has to be same as in lockptr
606 ((off ^ (uintptr_t)(lp->lockptr)) & (offset_t)PAGEOFFSET) != 0) {
608 "mmap offset %llx mismatch with lockptr %p\n",
609 off, (void *)lp->lockptr));
901 lp->lockptr = (int *)ddi_umem_alloc(PAGESIZE,
904 lp->lockptr = ((int *)lockpage) + ((lp->cookie/PAGESIZE) - 1);
908 ASSERT(lp->lockptr != NULL);
946 lp->lockptr = NULL;
1159 (uint_t)((uintptr_t)(lp->lockptr) & PAGEOFFSET);
1618 lp->lockptr != 0 && LOCK(lp) ? 'Y' : 'N',
1629 lp->lockptr != 0 && LOCK(lp) ? 'Y' : 'N',
1647 lp->lockptr != 0 ? LOCK(lp) : -1, lp->sleepers);
1650 "style=%d, lockptr=%p, timeout=%ld, clients=%p, owner=%p\n",
1651 lp->style, (void *)lp->lockptr, lp->timeout,