Lines Matching defs:style
324 enum winlock_style style; /* style of lock - OLDSTYLE, NEWSTYLE */
876 seglock_createlock(enum winlock_style style)
900 if (style == OLDSTYLE_LOCK) {
909 lp->style = style;
942 if (lp->style == OLDSTYLE_LOCK) {
1104 seglock_graballoc(intptr_t arg, enum winlock_style style, int mode) /* IOCTL */
1111 if (style == OLDSTYLE_LOCK) {
1122 "seglock_graballoc: key=%u, style=%d\n", key, style));
1125 /* Allocate lockpage on first new style alloc */
1126 if ((lockpage == NULL) && (style == NEWSTYLE_LOCK)) {
1131 /* Allocate trashpage on first alloc (any style) */
1141 } else if ((lp = seglock_createlock(style)) != NULL) {
1154 if (style == OLDSTYLE_LOCK) {
1650 "style=%d, lockptr=%p, timeout=%ld, clients=%p, owner=%p\n",
1651 lp->style, (void *)lp->lockptr, lp->timeout,