Lines Matching defs:seglock
318 typedef struct seglock { struct
319 struct seglock *next; /* next lock */ argument
320 uint_t sleepers; /* nthreads sleeping on this lock */
321 uint_t alloccount; /* how many times created? */
322 uint_t cookie; /* mmap() offset (page #) into device */
323 uint_t key; /* key, if any */
324 enum winlock_style style; /* style of lock - OLDSTYLE, NEWSTYLE */
325 clock_t timeout; /* sleep time in ticks */
326 ddi_umem_cookie_t umem_cookie; /* cookie for umem allocated memory */
327 int *lockptr; /* kernel virtual addr of lock */
328 struct segproc *clients; /* list of clients of this lock */
329 struct segproc *owner; /* current owner of lock */
330 kmutex_t mutex; /* mutex for lock */
331 kcondvar_t locksleep; /* for sleeping on lock */