Symbol: ww
sys/dev/drm/include/linux/ww_mutex.h
103
ww_mutex_trylock(struct ww_mutex *ww)
sys/dev/drm/include/linux/ww_mutex.h
105
return (lockmgr(&ww->base, LK_EXCLUSIVE|LK_NOWAIT) == 0);
sys/dev/drm/include/linux/ww_mutex.h
78
extern void ww_mutex_init(struct ww_mutex *ww, struct ww_class *ww_class);
sys/dev/drm/include/linux/ww_mutex.h
79
extern int ww_mutex_lock(struct ww_mutex *ww, struct ww_acquire_ctx *ctx);
sys/dev/drm/include/linux/ww_mutex.h
80
extern int ww_mutex_lock_slow(struct ww_mutex *ww, struct ww_acquire_ctx *ctx);
sys/dev/drm/include/linux/ww_mutex.h
81
extern int ww_mutex_lock_interruptible(struct ww_mutex *ww,
sys/dev/drm/include/linux/ww_mutex.h
83
extern int ww_mutex_lock_slow_interruptible(struct ww_mutex *ww,
sys/dev/drm/include/linux/ww_mutex.h
85
extern void ww_mutex_unlock(struct ww_mutex *ww);
sys/dev/drm/include/linux/ww_mutex.h
86
extern void ww_mutex_destroy(struct ww_mutex *ww);
sys/dev/drm/include/linux/ww_mutex.h
92
ww_mutex_is_locked(struct ww_mutex *ww)
sys/dev/drm/include/linux/ww_mutex.h
94
return (lockstatus(&ww->base, NULL) != 0);
sys/dev/drm/linux_wwmutex.c
111
atomic_swap_int(&ww->blocked, 1);
sys/dev/drm/linux_wwmutex.c
113
tsleep_interlock(ww, (intr ? PCATCH : 0));
sys/dev/drm/linux_wwmutex.c
115
error = lockmgr(&ww->base, flags);
sys/dev/drm/linux_wwmutex.c
117
ww->ctx = ctx;
sys/dev/drm/linux_wwmutex.c
118
ww->stamp = ctx->stamp;
sys/dev/drm/linux_wwmutex.c
140
if (ctx->stamp > ww->stamp)
sys/dev/drm/linux_wwmutex.c
153
error = tsleep(ww, PINTERLOCKED | (intr ? PCATCH : 0),
sys/dev/drm/linux_wwmutex.c
164
ww_mutex_lock(struct ww_mutex *ww, struct ww_acquire_ctx *ctx)
sys/dev/drm/linux_wwmutex.c
166
return __wwlock(ww, ctx, 0, 0);
sys/dev/drm/linux_wwmutex.c
170
ww_mutex_lock_slow(struct ww_mutex *ww, struct ww_acquire_ctx *ctx)
sys/dev/drm/linux_wwmutex.c
172
return __wwlock(ww, ctx, 1, 0);
sys/dev/drm/linux_wwmutex.c
176
ww_mutex_lock_interruptible(struct ww_mutex *ww, struct ww_acquire_ctx *ctx)
sys/dev/drm/linux_wwmutex.c
178
return __wwlock(ww, ctx, 0, 1);
sys/dev/drm/linux_wwmutex.c
182
ww_mutex_lock_slow_interruptible(struct ww_mutex *ww,
sys/dev/drm/linux_wwmutex.c
185
return __wwlock(ww, ctx, 1, 1);
sys/dev/drm/linux_wwmutex.c
189
ww_mutex_unlock(struct ww_mutex *ww)
sys/dev/drm/linux_wwmutex.c
193
ctx = ww->ctx;
sys/dev/drm/linux_wwmutex.c
197
ww->ctx = NULL;
sys/dev/drm/linux_wwmutex.c
198
ww->stamp = 0xFFFFFFFFFFFFFFFFLU;
sys/dev/drm/linux_wwmutex.c
200
lockmgr(&ww->base, LK_RELEASE);
sys/dev/drm/linux_wwmutex.c
201
if (atomic_swap_int(&ww->blocked, 0))
sys/dev/drm/linux_wwmutex.c
202
wakeup(ww);
sys/dev/drm/linux_wwmutex.c
60
ww_mutex_init(struct ww_mutex *ww, struct ww_class *ww_class)
sys/dev/drm/linux_wwmutex.c
62
lockinit(&ww->base, ww_class->name, 0, LK_CANRECURSE);
sys/dev/drm/linux_wwmutex.c
63
ww->ctx = NULL;
sys/dev/drm/linux_wwmutex.c
64
ww->stamp = 0xFFFFFFFFFFFFFFFFLU;
sys/dev/drm/linux_wwmutex.c
65
ww->blocked = 0;
sys/dev/drm/linux_wwmutex.c
69
ww_mutex_destroy(struct ww_mutex *ww)
sys/dev/drm/linux_wwmutex.c
71
lockuninit(&ww->base);
sys/dev/drm/linux_wwmutex.c
82
__wwlock(struct ww_mutex *ww, struct ww_acquire_ctx *ctx,
sys/dev/drm/linux_wwmutex.c
95
error = lockmgr(&ww->base, flags);
usr.bin/window/cmd.c
216
struct ww *
usr.bin/window/cmd.c
220
struct ww *w = NULL;
usr.bin/window/cmd.c
247
checkproc(struct ww *w)
usr.bin/window/cmd.c
294
setselwin(struct ww *w)
usr.bin/window/cmd.c
40
int checkproc(struct ww *);
usr.bin/window/cmd.c
46
struct ww *w;
usr.bin/window/cmd2.c
104
struct ww *w;
usr.bin/window/cmd2.c
118
help_print(struct ww *w, const char *name, const char **list)
usr.bin/window/cmd2.c
99
int help_print(struct ww *, const char *, const char **);
usr.bin/window/cmd3.c
52
setlabel(struct ww *w, const char *label)
usr.bin/window/cmd5.c
45
c_move(struct ww *w)
usr.bin/window/cmd5.c
89
movewin(struct ww *w, int row, int col)
usr.bin/window/cmd5.c
91
struct ww *back = w->ww_back;
usr.bin/window/cmd6.c
49
struct ww *w;
usr.bin/window/cmd6.c
89
struct ww *w;
usr.bin/window/cmd7.c
102
struct ww *w = selwin;
usr.bin/window/cmd7.c
178
struct ww *w = selwin;
usr.bin/window/cmd7.c
202
struct ww *w = selwin;
usr.bin/window/cmd7.c
50
c_size(struct ww *w)
usr.bin/window/context.h
53
struct ww *X_errwin; /* error window */
usr.bin/window/defs.h
101
struct ww *findselwin(void);
usr.bin/window/defs.h
102
void front(struct ww *, char);
usr.bin/window/defs.h
104
struct ww *getwin(void);
usr.bin/window/defs.h
105
void labelwin(struct ww *);
usr.bin/window/defs.h
107
int more(struct ww *, char);
usr.bin/window/defs.h
108
void movewin(struct ww *, int, int);
usr.bin/window/defs.h
109
struct ww *openwin(int, int, int, int, int, int, char *, int, int,
usr.bin/window/defs.h
111
struct ww *openiwin(int, const char *);
usr.bin/window/defs.h
117
int setlabel(struct ww *, const char *);
usr.bin/window/defs.h
118
void setselwin(struct ww *);
usr.bin/window/defs.h
121
void sizewin(struct ww *, int, int);
usr.bin/window/defs.h
122
void startwin(struct ww *);
usr.bin/window/defs.h
123
void stopwin(struct ww *);
usr.bin/window/defs.h
126
void waitnl(struct ww *);
usr.bin/window/defs.h
127
int waitnl1(struct ww *, const char *);
usr.bin/window/defs.h
49
EXTERN struct ww *window[NWINDOW]; /* the windows */
usr.bin/window/defs.h
50
EXTERN struct ww *selwin; /* the selected window */
usr.bin/window/defs.h
51
EXTERN struct ww *lastselwin; /* the last selected window */
usr.bin/window/defs.h
52
EXTERN struct ww *cmdwin; /* the command window */
usr.bin/window/defs.h
53
EXTERN struct ww *framewin; /* the window for framing */
usr.bin/window/defs.h
54
EXTERN struct ww *boxwin; /* the window for the box */
usr.bin/window/defs.h
55
EXTERN struct ww *fgwin; /* the last foreground window */
usr.bin/window/defs.h
71
void addwin(struct ww *, char);
usr.bin/window/defs.h
80
void c_move(struct ww *);
usr.bin/window/defs.h
83
void c_size(struct ww *);
usr.bin/window/defs.h
86
void closeiwin(struct ww *);
usr.bin/window/defs.h
87
void closewin(struct ww *);
usr.bin/window/defs.h
88
void closewin1(struct ww *);
usr.bin/window/defs.h
92
void deletewin(struct ww *);
usr.bin/window/error.c
56
struct ww *w;
usr.bin/window/lcmd.h
83
struct ww *vtowin(struct value *, struct ww *);
usr.bin/window/lcmd1.c
152
struct ww *w;
usr.bin/window/lcmd1.c
186
struct ww *w;
usr.bin/window/lcmd1.c
192
if ((w = vtowin(a, (struct ww *)0)) == NULL)
usr.bin/window/lcmd1.c
240
struct ww *w;
usr.bin/window/lcmd1.c
258
struct ww *w;
usr.bin/window/lcmd1.c
312
struct ww *w;
usr.bin/window/lcmd1.c
335
struct ww *w;
usr.bin/window/lcmd1.c
338
closewin((struct ww *)0);
usr.bin/window/lcmd1.c
341
if ((w = vtowin(a, (struct ww *)0)) != NULL)
usr.bin/window/lcmd1.c
385
struct ww *
usr.bin/window/lcmd1.c
386
vtowin(struct value *v, struct ww *w)
usr.bin/window/lcmd1.c
64
struct ww *w;
usr.bin/window/lcmd2.c
105
struct ww *w;
usr.bin/window/lcmd2.c
175
struct ww *w, *wp;
usr.bin/window/lcmd2.c
207
struct ww *w;
usr.bin/window/lcmd2.c
221
struct ww *w = vw;
usr.bin/window/lcmd2.c
290
struct ww *w;
usr.bin/window/lcmd2.c
340
struct ww *w = vw;
usr.bin/window/lcmd2.c
370
struct ww *w;
usr.bin/window/lcmd2.c
53
struct ww *w;
usr.bin/window/mloop.c
54
struct ww *w = wwcurwin;
usr.bin/window/startup.c
63
struct ww *w;
usr.bin/window/win.c
115
struct ww *
usr.bin/window/win.c
118
struct ww *w, *s = NULL;
usr.bin/window/win.c
133
closewin(struct ww *w)
usr.bin/window/win.c
166
struct ww *
usr.bin/window/win.c
169
struct ww *w;
usr.bin/window/win.c
186
closeiwin(struct ww *w)
usr.bin/window/win.c
193
closewin1(struct ww *w)
usr.bin/window/win.c
215
front(struct ww *w, char doreframe)
usr.bin/window/win.c
231
addwin(struct ww *w, char fg)
usr.bin/window/win.c
246
deletewin(struct ww *w)
usr.bin/window/win.c
256
struct ww *w;
usr.bin/window/win.c
267
labelwin(struct ww *w)
usr.bin/window/win.c
293
stopwin(struct ww *w)
usr.bin/window/win.c
302
startwin(struct ww *w)
usr.bin/window/win.c
312
sizewin(struct ww *w, int nrow, int ncol)
usr.bin/window/win.c
314
struct ww *back = w->ww_back;
usr.bin/window/win.c
326
waitnl(struct ww *w)
usr.bin/window/win.c
332
more(struct ww *w, char always)
usr.bin/window/win.c
347
waitnl1(struct ww *w, const char *prompt)
usr.bin/window/win.c
60
struct ww *
usr.bin/window/win.c
63
struct ww *w;
usr.bin/window/win.c
90
setselwin((struct ww *)0);
usr.bin/window/ww.h
221
EXTERN struct ww wwhead;
usr.bin/window/ww.h
222
EXTERN struct ww *wwindex[NWW + 1]; /* last location is for wwnobody */
usr.bin/window/ww.h
223
EXTERN struct ww wwnobody;
usr.bin/window/ww.h
269
EXTERN struct ww *wwcurwin; /* window to copy input into */
usr.bin/window/ww.h
314
struct ww *wwopen(int, int, int, int, int, int, int);
usr.bin/window/ww.h
315
void wwadd(struct ww *, struct ww *);
usr.bin/window/ww.h
321
void wwbox(struct ww *, int, int, int, int);
usr.bin/window/ww.h
324
void wwclose(struct ww *);
usr.bin/window/ww.h
325
void wwclreol1(struct ww *, int, int, char);
usr.bin/window/ww.h
326
void wwclreos(struct ww *, int, int);
usr.bin/window/ww.h
328
void wwcursor(struct ww *, int);
usr.bin/window/ww.h
329
void wwdelchar(struct ww *, int, int);
usr.bin/window/ww.h
330
void wwdelete(struct ww *);
usr.bin/window/ww.h
331
void wwdelete1(struct ww *, int, int, int, int);
usr.bin/window/ww.h
332
void wwdelline(struct ww *, int);
usr.bin/window/ww.h
334
void wwdumpnvis(struct ww *);
usr.bin/window/ww.h
337
void wwdumpwin(struct ww *);
usr.bin/window/ww.h
339
int wwenviron(struct ww *);
usr.bin/window/ww.h
343
void wwframe(struct ww *, struct ww *);
usr.bin/window/ww.h
344
void wwframec(struct ww *, int, int, char);
usr.bin/window/ww.h
346
int wwgetpty(struct ww *);
usr.bin/window/ww.h
349
void wwgets(char *, int, struct ww *);
usr.bin/window/ww.h
351
void wwinschar(struct ww *, int, int, char, char);
usr.bin/window/ww.h
352
void wwinsline(struct ww *, int);
usr.bin/window/ww.h
354
void wwlabel(struct ww *, struct ww *, int, char *, int);
usr.bin/window/ww.h
355
void wwmove(struct ww *, int, int);
usr.bin/window/ww.h
356
void wwprintf(struct ww *, const char *, ...) __printflike(2, 3);
usr.bin/window/ww.h
357
void wwputc(char, struct ww *);
usr.bin/window/ww.h
358
void wwputs(const char *, struct ww *);
usr.bin/window/ww.h
360
void wwredrawwin1(struct ww *,int, int, int);
usr.bin/window/ww.h
364
void wwscroll(struct ww *, int);
usr.bin/window/ww.h
365
int wwscroll1(struct ww *, int, int, int, int);
usr.bin/window/ww.h
369
int wwsize(struct ww *, int, int);
usr.bin/window/ww.h
370
int wwspawn(struct ww *, char *, char **);
usr.bin/window/ww.h
376
void wwunframe(struct ww *);
usr.bin/window/ww.h
378
int wwvisible(struct ww *);
usr.bin/window/ww.h
379
void wwvprintf(struct ww *, const char *, va_list) __printflike(2, 0);
usr.bin/window/ww.h
380
int wwwrite(struct ww *, const char *, int);
usr.bin/window/ww.h
92
struct ww *ww_forw; /* doubly linked list, for overlapping info */
usr.bin/window/ww.h
93
struct ww *ww_back;
usr.bin/window/wwadd.c
42
wwadd(struct ww *w1, struct ww *w2)
usr.bin/window/wwadd.c
45
struct ww *w;
usr.bin/window/wwbox.c
40
wwbox(struct ww *w, int r, int c, int nr, int nc)
usr.bin/window/wwchild.c
45
struct ww **wp;
usr.bin/window/wwclose.c
41
wwclose(struct ww *w)
usr.bin/window/wwclreol.c
44
wwclreol1(struct ww *w, int row, int col, char cleared)
usr.bin/window/wwclreos.c
40
wwclreos(struct ww *w, int row, int col)
usr.bin/window/wwcursor.c
39
wwcursor(struct ww *w, int on)
usr.bin/window/wwcursor.c
73
struct ww *w;
usr.bin/window/wwdelchar.c
41
wwdelchar(struct ww *w, int row, int col)
usr.bin/window/wwdelete.c
42
wwdelete(struct ww *w)
usr.bin/window/wwdelete.c
63
struct ww *wp;
usr.bin/window/wwdelete.c
79
wwdelete1(struct ww *w, int t, int b, int l, int r)
usr.bin/window/wwdelline.c
39
wwdelline(struct ww *w, int row)
usr.bin/window/wwdump.c
44
wwdumpwin(struct ww *w)
usr.bin/window/wwdump.c
58
wwdumpnvis(struct ww *w)
usr.bin/window/wwenviron.c
51
wwenviron(struct ww *wp)
usr.bin/window/wwframe.c
189
wwframec(struct ww *f, int r, int c, char code)
usr.bin/window/wwframe.c
200
struct ww *w;
usr.bin/window/wwframe.c
43
wwframe(struct ww *w, struct ww *wframe)
usr.bin/window/wwframe.c
49
struct ww *w1;
usr.bin/window/wwgets.c
40
static void rub(int, struct ww *);
usr.bin/window/wwgets.c
43
wwgets(char *buf, int n, struct ww *w)
usr.bin/window/wwgets.c
97
rub(int c, struct ww *w)
usr.bin/window/wwinschar.c
41
wwinschar(struct ww *w, int row, int col, char c, char m)
usr.bin/window/wwinsline.c
39
wwinsline(struct ww *w, int row)
usr.bin/window/wwiomux.c
61
struct ww *w;
usr.bin/window/wwlabel.c
45
wwlabel(struct ww *w, struct ww *f, int where, char *l, int mode)
usr.bin/window/wwmisc.c
44
wwvisible(struct ww *w)
usr.bin/window/wwmove.c
42
wwmove(struct ww *w, int row, int col)
usr.bin/window/wwopen.c
43
struct ww *
usr.bin/window/wwopen.c
46
struct ww *w;
usr.bin/window/wwopen.c
51
w = (struct ww *)calloc(1, sizeof (struct ww));
usr.bin/window/wwprintf.c
39
wwprintf(struct ww *w, const char *fmt, ...)
usr.bin/window/wwprintf.c
49
wwvprintf(struct ww *w, const char *fmt, va_list ap)
usr.bin/window/wwpty.c
44
wwgetpty(struct ww *w)
usr.bin/window/wwputc.c
39
wwputc(char c, struct ww *w)
usr.bin/window/wwputs.c
39
wwputs(const char *s, struct ww *w)
usr.bin/window/wwredrawwin.c
39
wwredrawwin1(struct ww *w, int row1, int row2, int offset)
usr.bin/window/wwscroll.c
43
wwscroll(struct ww *w, int n)
usr.bin/window/wwscroll.c
78
wwscroll1(struct ww *w, int row1, int row2, int dir, int leaveit)
usr.bin/window/wwsize.c
43
wwsize(struct ww *w, int nrow, int ncol)
usr.bin/window/wwspawn.c
45
wwspawn(struct ww *wp, char *file, char **argv)
usr.bin/window/wwunframe.c
39
wwunframe(struct ww *w)
usr.bin/window/wwwrite.c
56
wwwrite(struct ww *w, const char *p, int n)