Symbol: wl
lib/libcurses/base/lib_set_term.c
154
WINDOWLIST *wl;
lib/libcurses/base/lib_set_term.c
173
for (each_window(sp, wl)) {
lib/libcurses/base/lib_set_term.c
174
if (_nc_freewin(&(wl->win)) == OK) {
sbin/unwind/libunbound/services/cache/dns.c
968
size_t wl;
sbin/unwind/libunbound/services/cache/dns.c
972
if(!(val_rrset_wildcard(rrset, &wc, &wl) && wc != NULL)) {
sbin/unwind/libunbound/validator/val_utils.c
937
size_t i, wl;
sbin/unwind/libunbound/validator/val_utils.c
953
wl = rrset->rk.dname_len;
sbin/unwind/libunbound/validator/val_utils.c
957
wl -= 2;
sbin/unwind/libunbound/validator/val_utils.c
962
dname_remove_labels(wc, &wl, labdiff);
sbin/unwind/libunbound/validator/val_utils.c
963
*wc_len = wl;
sbin/unwind/libunbound/validator/validator.c
1013
size_t wl;
sbin/unwind/libunbound/validator/validator.c
1028
if(!val_rrset_wildcard(s, &wc, &wl)) {
sbin/unwind/libunbound/validator/validator.c
1037
rrset_cache_update_wildcard(env->rrset_cache, s, wc, wl,
sbin/unwind/libunbound/validator/validator.c
1410
size_t wl;
sbin/unwind/libunbound/validator/validator.c
1431
if(!val_rrset_wildcard(s, &wc, &wl)) {
sbin/unwind/libunbound/validator/validator.c
1534
size_t wl;
sbin/unwind/libunbound/validator/validator.c
1548
if(!val_rrset_wildcard(s, &wc, &wl)) {
sys/arch/sparc64/dev/fb.c
197
int cols, rows, fw, fh, wt, wl;
sys/arch/sparc64/dev/fb.c
224
if (fb_get_console_metrics(&fw, &fh, &wt, &wl) != 0) {
sys/arch/sparc64/dev/fb.c
230
wt = wl = 0;
sys/arch/sparc64/dev/fb.c
237
wl <= 0 || wl > sf->sf_width - cols * fw)
sys/arch/sparc64/dev/fb.c
238
wt = wl = 0;
sys/arch/sparc64/dev/fb.c
284
ri->ri_bits += wl * ri->ri_pelbytes;
sys/arch/sparc64/dev/fb.c
286
ri->ri_bits += (wl * ri->ri_depth) >> 3;
sys/arch/sparc64/dev/fb.c
288
ri->ri_xorigin = wl;
sys/crypto/idgen.c
101
return (wl << 16) | wr;
sys/crypto/idgen.c
87
u_int16_t wl, wr;
sys/crypto/idgen.c
89
wl = (in >> 16) & 0x7fff;
sys/crypto/idgen.c
94
wr ^= (idgen32_g(ctx->id32_key, r, wl) ^ r);
sys/crypto/idgen.c
96
wl ^= (idgen32_g(ctx->id32_key, r, wr) ^ r) & 0x7fff;
sys/crypto/idgen.c
99
wr ^= (idgen32_g(ctx->id32_key, r, wl) ^ r);
sys/dev/pci/drm/i915/display/intel_display_core.h
595
struct intel_dmc_wl wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
157
struct intel_dmc_wl *wl = &display->wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
159
WARN_ON(refcount_read(&wl->refcount));
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
161
queue_delayed_work(display->wq.unordered, &wl->work,
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
167
struct intel_dmc_wl *wl =
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
170
container_of(wl, struct intel_display, wl);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
173
spin_lock_irqsave(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
179
if (refcount_read(&wl->refcount))
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
191
wl->taken = false;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
194
spin_unlock_irqrestore(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
199
struct intel_dmc_wl *wl = &display->wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
207
if (wl->taken)
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
225
wl->taken = true;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
329
struct intel_dmc_wl *wl = &display->wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
336
INIT_DELAYED_WORK(&wl->work, intel_dmc_wl_work);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
337
mtx_init(&wl->lock, IPL_TTY);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
338
refcount_set(&wl->refcount,
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
345
struct intel_dmc_wl *wl = &display->wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
351
spin_lock_irqsave(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
353
wl->dc_state = dc_state;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
355
if (drm_WARN_ON(display->drm, wl->enabled))
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
365
wl->enabled = true;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
381
if (refcount_read(&wl->refcount))
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
385
spin_unlock_irqrestore(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
391
struct intel_dmc_wl *wl = &display->wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
399
spin_lock_irqsave(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
401
if (drm_WARN_ON(display->drm, !wl->enabled))
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
407
wl->enabled = false;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
419
wl->taken = false;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
422
spin_unlock_irqrestore(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
427
struct intel_dmc_wl *wl = &display->wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
432
flush_delayed_work(&wl->work);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
437
struct intel_dmc_wl *wl = &display->wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
443
spin_lock_irqsave(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
446
!intel_dmc_wl_check_range(display, reg, wl->dc_state))
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
449
if (!wl->enabled) {
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
450
if (!refcount_inc_not_zero(&wl->refcount))
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
451
refcount_set(&wl->refcount, 1);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
455
cancel_delayed_work(&wl->work);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
457
if (refcount_inc_not_zero(&wl->refcount))
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
460
refcount_set(&wl->refcount, 1);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
465
spin_unlock_irqrestore(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
470
struct intel_dmc_wl *wl = &display->wl;
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
476
spin_lock_irqsave(&wl->lock, flags);
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
479
!intel_dmc_wl_check_range(display, reg, wl->dc_state))
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
482
if (WARN_RATELIMIT(!refcount_read(&wl->refcount),
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
486
if (refcount_dec_and_test(&wl->refcount)) {
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
487
if (!wl->enabled)
sys/dev/pci/drm/i915/display/intel_dmc_wl.c
496
spin_unlock_irqrestore(&wl->lock, flags);
sys/netinet/ip_esp.c
1010
if ((tl >= window - 1 && seq >= wl) ||
sys/netinet/ip_esp.c
1011
(tl < window - 1 && seq < wl)) {
sys/netinet/ip_esp.c
1050
if (tl < window - 1 && seq >= wl) {
sys/netinet/ip_esp.c
984
u_int32_t tl, th, wl;
sys/netinet/ip_esp.c
999
wl = tl - window + 1;
usr.bin/tmux/alerts.c
106
struct winlink *wl;
usr.bin/tmux/alerts.c
108
RB_FOREACH(wl, winlinks, &s->windows)
usr.bin/tmux/alerts.c
109
alerts_check_all(wl->window);
usr.bin/tmux/alerts.c
186
struct winlink *wl;
usr.bin/tmux/alerts.c
194
TAILQ_FOREACH(wl, &w->winlinks, wentry)
usr.bin/tmux/alerts.c
195
wl->session->flags &= ~SESSION_ALERTED;
usr.bin/tmux/alerts.c
197
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/alerts.c
202
s = wl->session;
usr.bin/tmux/alerts.c
203
if (s->curw != wl || s->attached == 0) {
usr.bin/tmux/alerts.c
204
wl->flags |= WINLINK_BELL;
usr.bin/tmux/alerts.c
207
if (!alerts_action_applies(wl, "bell-action"))
usr.bin/tmux/alerts.c
209
notify_winlink("alert-bell", wl);
usr.bin/tmux/alerts.c
215
alerts_set_message(wl, "Bell", "visual-bell");
usr.bin/tmux/alerts.c
224
struct winlink *wl;
usr.bin/tmux/alerts.c
232
TAILQ_FOREACH(wl, &w->winlinks, wentry)
usr.bin/tmux/alerts.c
233
wl->session->flags &= ~SESSION_ALERTED;
usr.bin/tmux/alerts.c
235
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/alerts.c
236
if (wl->flags & WINLINK_ACTIVITY)
usr.bin/tmux/alerts.c
238
s = wl->session;
usr.bin/tmux/alerts.c
239
if (s->curw != wl || s->attached == 0) {
usr.bin/tmux/alerts.c
240
wl->flags |= WINLINK_ACTIVITY;
usr.bin/tmux/alerts.c
243
if (!alerts_action_applies(wl, "activity-action"))
usr.bin/tmux/alerts.c
245
notify_winlink("alert-activity", wl);
usr.bin/tmux/alerts.c
251
alerts_set_message(wl, "Activity", "visual-activity");
usr.bin/tmux/alerts.c
260
struct winlink *wl;
usr.bin/tmux/alerts.c
268
TAILQ_FOREACH(wl, &w->winlinks, wentry)
usr.bin/tmux/alerts.c
269
wl->session->flags &= ~SESSION_ALERTED;
usr.bin/tmux/alerts.c
271
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/alerts.c
272
if (wl->flags & WINLINK_SILENCE)
usr.bin/tmux/alerts.c
274
s = wl->session;
usr.bin/tmux/alerts.c
275
if (s->curw != wl || s->attached == 0) {
usr.bin/tmux/alerts.c
276
wl->flags |= WINLINK_SILENCE;
usr.bin/tmux/alerts.c
279
if (!alerts_action_applies(wl, "silence-action"))
usr.bin/tmux/alerts.c
281
notify_winlink("alert-silence", wl);
usr.bin/tmux/alerts.c
287
alerts_set_message(wl, "Silence", "visual-silence");
usr.bin/tmux/alerts.c
294
alerts_set_message(struct winlink *wl, const char *type, const char *option)
usr.bin/tmux/alerts.c
309
visual = options_get_number(wl->session->options, option);
usr.bin/tmux/alerts.c
311
if (c->session != wl->session || c->flags & CLIENT_CONTROL)
usr.bin/tmux/alerts.c
318
if (c->session->curw == wl) {
usr.bin/tmux/alerts.c
323
"%s in window %d", type, wl->idx);
usr.bin/tmux/alerts.c
72
alerts_action_applies(struct winlink *wl, const char *name)
usr.bin/tmux/alerts.c
82
action = options_get_number(wl->session->options, name);
usr.bin/tmux/alerts.c
86
return (wl == wl->session->curw);
usr.bin/tmux/alerts.c
88
return (wl != wl->session->curw);
usr.bin/tmux/cmd-attach-session.c
103
cwd = format_single(item, cflag, c, s, wl, wp);
usr.bin/tmux/cmd-attach-session.c
60
struct winlink *wl;
usr.bin/tmux/cmd-attach-session.c
89
wl = target.wl;
usr.bin/tmux/cmd-attach-session.c
92
if (wl != NULL) {
usr.bin/tmux/cmd-attach-session.c
95
session_set_current(s, wl);
usr.bin/tmux/cmd-attach-session.c
97
cmd_find_from_winlink_pane(current, wl, wp, 0);
usr.bin/tmux/cmd-attach-session.c
99
cmd_find_from_winlink(current, wl, 0);
usr.bin/tmux/cmd-break-pane.c
125
wl = session_attach(dst_s, w, idx, &cause); /* can't fail */
usr.bin/tmux/cmd-break-pane.c
127
session_select(dst_s, wl->idx);
usr.bin/tmux/cmd-break-pane.c
142
cp = format_single(item, template, tc, dst_s, wl, wp);
usr.bin/tmux/cmd-break-pane.c
56
struct winlink *wl = source->wl;
usr.bin/tmux/cmd-break-pane.c
60
struct window *w = wl->window;
usr.bin/tmux/cmd-break-pane.c
67
if (target->wl != NULL)
usr.bin/tmux/cmd-break-pane.c
68
idx = winlink_shuffle_up(dst_s, target->wl, before);
usr.bin/tmux/cmd-break-pane.c
77
if (server_link_window(src_s, wl, dst_s, idx, 0,
usr.bin/tmux/cmd-break-pane.c
87
server_unlink_window(src_s, wl);
usr.bin/tmux/cmd-break-pane.c
88
wl = winlink_find_by_window(&dst_s->windows, w);
usr.bin/tmux/cmd-break-pane.c
89
if (wl == NULL)
usr.bin/tmux/cmd-display-menu.c
103
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-display-menu.c
148
if (sr->argument == (u_int)wl->idx)
usr.bin/tmux/cmd-display-message.c
130
format_defaults(ft, c, s, wl, wp);
usr.bin/tmux/cmd-display-message.c
67
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-find.c
1003
fs->wl = c->session->curw;
usr.bin/tmux/cmd-find.c
1014
fs->wp = cmd_mouse_pane(m, &fs->s, &fs->wl);
usr.bin/tmux/cmd-find.c
1016
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
1022
fs->wl = cmd_mouse_window(m, &fs->s);
usr.bin/tmux/cmd-find.c
1023
if (fs->wl == NULL && fs->s != NULL)
usr.bin/tmux/cmd-find.c
1024
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
1025
if (fs->wl != NULL) {
usr.bin/tmux/cmd-find.c
1026
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
1152
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
1154
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
1164
if (fs->wl != NULL) /* can be NULL if index only */
usr.bin/tmux/cmd-find.c
1165
fs->wp = fs->wl->window->active;
usr.bin/tmux/cmd-find.c
1205
if (fs->wl != NULL) /* can be NULL if index only */
usr.bin/tmux/cmd-find.c
1206
fs->wp = fs->wl->window->active;
usr.bin/tmux/cmd-find.c
212
struct winlink *wl, *wl_loop;
usr.bin/tmux/cmd-find.c
216
wl = NULL;
usr.bin/tmux/cmd-find.c
218
wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
222
wl = wl_loop;
usr.bin/tmux/cmd-find.c
227
if (wl == NULL)
usr.bin/tmux/cmd-find.c
229
fs->wl = wl;
usr.bin/tmux/cmd-find.c
230
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
334
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
335
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
337
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
351
struct winlink *wl;
usr.bin/tmux/cmd-find.c
363
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
364
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
394
fs->wl = winlink_next_by_number(s->curw, s, n);
usr.bin/tmux/cmd-find.c
396
fs->wl = winlink_previous_by_number(s->curw, s, n);
usr.bin/tmux/cmd-find.c
397
if (fs->wl != NULL) {
usr.bin/tmux/cmd-find.c
398
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
399
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
407
fs->wl = TAILQ_FIRST(&fs->s->lastw);
usr.bin/tmux/cmd-find.c
408
if (fs->wl == NULL)
usr.bin/tmux/cmd-find.c
410
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
411
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
414
fs->wl = RB_MIN(winlinks, &fs->s->windows);
usr.bin/tmux/cmd-find.c
415
if (fs->wl == NULL)
usr.bin/tmux/cmd-find.c
417
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
418
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
421
fs->wl = RB_MAX(winlinks, &fs->s->windows);
usr.bin/tmux/cmd-find.c
422
if (fs->wl == NULL)
usr.bin/tmux/cmd-find.c
424
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
425
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
434
fs->wl = winlink_find_by_index(&fs->s->windows, idx);
usr.bin/tmux/cmd-find.c
435
if (fs->wl != NULL) {
usr.bin/tmux/cmd-find.c
436
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
437
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
448
fs->wl = NULL;
usr.bin/tmux/cmd-find.c
449
RB_FOREACH(wl, winlinks, &fs->s->windows) {
usr.bin/tmux/cmd-find.c
450
if (strcmp(window, wl->window->name) == 0) {
usr.bin/tmux/cmd-find.c
451
if (fs->wl != NULL)
usr.bin/tmux/cmd-find.c
453
fs->wl = wl;
usr.bin/tmux/cmd-find.c
456
if (fs->wl != NULL) {
usr.bin/tmux/cmd-find.c
457
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
458
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
467
fs->wl = NULL;
usr.bin/tmux/cmd-find.c
468
RB_FOREACH(wl, winlinks, &fs->s->windows) {
usr.bin/tmux/cmd-find.c
469
if (strncmp(window, wl->window->name, strlen(window)) == 0) {
usr.bin/tmux/cmd-find.c
470
if (fs->wl != NULL)
usr.bin/tmux/cmd-find.c
472
fs->wl = wl;
usr.bin/tmux/cmd-find.c
475
if (fs->wl != NULL) {
usr.bin/tmux/cmd-find.c
476
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
477
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
482
fs->wl = NULL;
usr.bin/tmux/cmd-find.c
483
RB_FOREACH(wl, winlinks, &fs->s->windows) {
usr.bin/tmux/cmd-find.c
484
if (fnmatch(window, wl->window->name, 0) == 0) {
usr.bin/tmux/cmd-find.c
485
if (fs->wl != NULL)
usr.bin/tmux/cmd-find.c
487
fs->wl = wl;
usr.bin/tmux/cmd-find.c
490
if (fs->wl != NULL) {
usr.bin/tmux/cmd-find.c
491
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
492
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
516
fs->wl = fs->current->wl;
usr.bin/tmux/cmd-find.c
552
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
553
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
554
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
658
if (fs->s == NULL && fs->wl == NULL && fs->w == NULL && fs->wp == NULL)
usr.bin/tmux/cmd-find.c
667
struct winlink *wl;
usr.bin/tmux/cmd-find.c
669
if (fs->s == NULL || fs->wl == NULL || fs->w == NULL || fs->wp == NULL)
usr.bin/tmux/cmd-find.c
675
RB_FOREACH(wl, winlinks, &fs->s->windows) {
usr.bin/tmux/cmd-find.c
676
if (wl->window == fs->w && wl == fs->wl)
usr.bin/tmux/cmd-find.c
679
if (wl == NULL)
usr.bin/tmux/cmd-find.c
682
if (fs->w != fs->wl->window)
usr.bin/tmux/cmd-find.c
693
dst->wl = src->wl;
usr.bin/tmux/cmd-find.c
707
if (fs->wl != NULL) {
usr.bin/tmux/cmd-find.c
708
log_debug("%s: wl=%u %d w=@%u %s", prefix, fs->wl->idx,
usr.bin/tmux/cmd-find.c
709
fs->wl->window == fs->w, fs->w->id, fs->w->name);
usr.bin/tmux/cmd-find.c
729
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
730
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
738
cmd_find_from_winlink(struct cmd_find_state *fs, struct winlink *wl, int flags)
usr.bin/tmux/cmd-find.c
742
fs->s = wl->session;
usr.bin/tmux/cmd-find.c
743
fs->wl = wl;
usr.bin/tmux/cmd-find.c
744
fs->w = wl->window;
usr.bin/tmux/cmd-find.c
745
fs->wp = wl->window->active;
usr.bin/tmux/cmd-find.c
792
cmd_find_from_winlink_pane(struct cmd_find_state *fs, struct winlink *wl,
usr.bin/tmux/cmd-find.c
797
fs->s = wl->session;
usr.bin/tmux/cmd-find.c
798
fs->wl = wl;
usr.bin/tmux/cmd-find.c
799
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
800
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
829
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
830
fs->idx = fs->wl->idx;
usr.bin/tmux/cmd-find.c
831
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
847
fs->wp = cmd_mouse_pane(m, &fs->s, &fs->wl);
usr.bin/tmux/cmd-find.c
852
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
878
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
879
fs->w = fs->wl->window;
usr.bin/tmux/cmd-find.c
907
fs->wl = fs->s->curw;
usr.bin/tmux/cmd-find.c
908
fs->w = fs->wl->window;
usr.bin/tmux/cmd-join-pane.c
82
dst_wl = target->wl;
usr.bin/tmux/cmd-join-pane.c
88
src_wl = source->wl;
usr.bin/tmux/cmd-kill-pane.c
49
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-kill-pane.c
53
server_unzoom_window(wl->window);
usr.bin/tmux/cmd-kill-pane.c
54
TAILQ_FOREACH_SAFE(loopwp, &wl->window->panes, entry, tmpwp) {
usr.bin/tmux/cmd-kill-pane.c
59
window_remove_pane(wl->window, loopwp);
usr.bin/tmux/cmd-kill-pane.c
61
server_redraw_window(wl->window);
usr.bin/tmux/cmd-kill-session.c
51
struct winlink *wl;
usr.bin/tmux/cmd-kill-session.c
54
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/cmd-kill-session.c
55
wl->window->flags &= ~WINDOW_ALERTFLAGS;
usr.bin/tmux/cmd-kill-session.c
56
wl->flags &= ~WINLINK_ALERTFLAGS;
usr.bin/tmux/cmd-kill-window.c
102
server_kill_window(wl->window, 0);
usr.bin/tmux/cmd-kill-window.c
108
server_kill_window(wl->window, 1);
usr.bin/tmux/cmd-kill-window.c
60
struct winlink *wl = target->wl, *loop;
usr.bin/tmux/cmd-kill-window.c
61
struct window *w = wl->window;
usr.bin/tmux/cmd-kill-window.c
70
server_unlink_window(s, wl);
usr.bin/tmux/cmd-kill-window.c
76
if (RB_PREV(winlinks, &s->windows, wl) == NULL &&
usr.bin/tmux/cmd-kill-window.c
77
RB_NEXT(winlinks, &s->windows, wl) == NULL)
usr.bin/tmux/cmd-kill-window.c
84
if (loop->window != wl->window) {
usr.bin/tmux/cmd-kill-window.c
98
if (loop->window == wl->window)
usr.bin/tmux/cmd-list-panes.c
139
l = sort_get_panes_window(wl->window, &n, &sort_crit);
usr.bin/tmux/cmd-list-panes.c
144
format_defaults(ft, NULL, s, wl, wp);
usr.bin/tmux/cmd-list-panes.c
57
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-list-panes.c
71
cmd_list_panes_window(self, s, wl, item, 0);
usr.bin/tmux/cmd-list-panes.c
89
struct winlink *wl;
usr.bin/tmux/cmd-list-panes.c
91
RB_FOREACH(wl, winlinks, &s->windows)
usr.bin/tmux/cmd-list-panes.c
92
cmd_list_panes_window(self, s, wl, item, type);
usr.bin/tmux/cmd-list-panes.c
96
cmd_list_panes_window(struct cmd *self, struct session *s, struct winlink *wl,
usr.bin/tmux/cmd-list-windows.c
63
struct winlink *wl, **l;
usr.bin/tmux/cmd-list-windows.c
93
wl = l[i];
usr.bin/tmux/cmd-list-windows.c
94
s = wl->session;
usr.bin/tmux/cmd-list-windows.c
97
format_defaults(ft, NULL, s, wl, NULL);
usr.bin/tmux/cmd-move-window.c
103
if (server_link_window(src, wl, dst, idx, kflag, !dflag, &cause) != 0) {
usr.bin/tmux/cmd-move-window.c
109
server_unlink_window(src, wl);
usr.bin/tmux/cmd-move-window.c
68
struct winlink *wl = source->wl;
usr.bin/tmux/cmd-move-window.c
95
if (target.wl != NULL)
usr.bin/tmux/cmd-move-window.c
96
idx = winlink_shuffle_up(dst, target.wl, before);
usr.bin/tmux/cmd-new-window.c
102
idx = winlink_shuffle_up(s, wl, before);
usr.bin/tmux/cmd-new-window.c
62
struct winlink *wl = target->wl, *new_wl = NULL;
usr.bin/tmux/cmd-new-window.c
76
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/cmd-new-window.c
77
if (strcmp(wl->window->name, expanded) != 0)
usr.bin/tmux/cmd-new-window.c
80
new_wl = wl;
usr.bin/tmux/cmd-parse.y
212
format_defaults(ft, c, fsp->s, fsp->wl, fsp->wp);
usr.bin/tmux/cmd-pipe-pane.c
120
format_defaults(ft, tc, s, wl, wp);
usr.bin/tmux/cmd-pipe-pane.c
64
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-rename-window.c
50
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-rename-window.c
54
window_set_name(wl->window, newname);
usr.bin/tmux/cmd-rename-window.c
55
options_set_number(wl->window->options, "automatic-rename", 0);
usr.bin/tmux/cmd-rename-window.c
57
server_redraw_window_borders(wl->window);
usr.bin/tmux/cmd-rename-window.c
58
server_status_window(wl->window);
usr.bin/tmux/cmd-resize-pane.c
146
server_redraw_window(wl->window);
usr.bin/tmux/cmd-resize-pane.c
154
struct winlink *wl;
usr.bin/tmux/cmd-resize-pane.c
164
wl = cmd_mouse_window(m, NULL);
usr.bin/tmux/cmd-resize-pane.c
165
if (wl == NULL) {
usr.bin/tmux/cmd-resize-pane.c
169
w = wl->window;
usr.bin/tmux/cmd-resize-pane.c
56
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-resize-pane.c
57
struct window *w = wl->window;
usr.bin/tmux/cmd-resize-window.c
51
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-resize-window.c
52
struct window *w = wl->window;
usr.bin/tmux/cmd-respawn-pane.c
54
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-respawn-pane.c
61
sc.wl = wl;
usr.bin/tmux/cmd-respawn-window.c
55
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-respawn-window.c
61
sc.wl = wl;
usr.bin/tmux/cmd-respawn-window.c
89
server_redraw_window(wl->window);
usr.bin/tmux/cmd-rotate-window.c
110
cmd_find_from_winlink_pane(current, wl, wp, 0);
usr.bin/tmux/cmd-rotate-window.c
49
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-rotate-window.c
50
struct window *w = wl->window;
usr.bin/tmux/cmd-select-layout.c
76
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-select-layout.c
77
struct window *w = wl->window;
usr.bin/tmux/cmd-select-pane.c
128
cmd_find_from_winlink(current, wl, 0);
usr.bin/tmux/cmd-select-pane.c
145
if (args_has(args, 'M') || server_is_marked(s, wl, wp))
usr.bin/tmux/cmd-select-pane.c
148
server_set_marked(s, wl, wp);
usr.bin/tmux/cmd-select-pane.c
237
cmd_find_from_winlink_pane(current, wl, wp, 0);
usr.bin/tmux/cmd-select-pane.c
91
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-select-pane.c
92
struct window *w = wl->window;
usr.bin/tmux/cmd-select-window.c
131
if (args_has(args, 'T') && wl == s->curw) {
usr.bin/tmux/cmd-select-window.c
139
} else if (session_select(s, wl->idx) == 0) {
usr.bin/tmux/cmd-select-window.c
91
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-send-keys.c
160
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-send-keys.c
200
wme->mode->command(wme, tc, s, wl, args, m);
usr.bin/tmux/cmd-send-keys.c
210
window_pane_key(wp, tc, s, wl, m->key, m);
usr.bin/tmux/cmd-send-keys.c
67
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-send-keys.c
89
if (window_pane_key(wp, tc, s, wl, key, NULL) != 0)
usr.bin/tmux/cmd-split-window.c
129
sc.wl = wl;
usr.bin/tmux/cmd-split-window.c
178
cmd_find_from_winlink_pane(current, wl, new_wp, 0);
usr.bin/tmux/cmd-split-window.c
186
cp = format_single(item, template, tc, s, wl, new_wp);
usr.bin/tmux/cmd-split-window.c
191
cmd_find_from_winlink_pane(&fs, wl, new_wp, 0);
usr.bin/tmux/cmd-split-window.c
63
struct winlink *wl = target->wl;
usr.bin/tmux/cmd-split-window.c
64
struct window *w = wl->window;
usr.bin/tmux/cmd-swap-pane.c
56
dst_w = target->wl->window;
usr.bin/tmux/cmd-swap-pane.c
58
src_w = source->wl->window;
usr.bin/tmux/cmd-swap-window.c
53
struct winlink *wl_src = source->wl, *wl_dst = target->wl;
usr.bin/tmux/cmd-swap-window.c
80
if (marked_pane.wl == wl_src)
usr.bin/tmux/cmd-swap-window.c
81
marked_pane.wl = wl_dst;
usr.bin/tmux/cmd-switch-client.c
130
if (wl != NULL && wp != NULL && wp != wl->window->active) {
usr.bin/tmux/cmd-switch-client.c
131
w = wl->window;
usr.bin/tmux/cmd-switch-client.c
139
if (wl != NULL) {
usr.bin/tmux/cmd-switch-client.c
140
session_set_current(s, wl);
usr.bin/tmux/cmd-switch-client.c
58
struct winlink *wl;
usr.bin/tmux/cmd-switch-client.c
76
wl = target.wl;
usr.bin/tmux/cmd.c
796
struct winlink *wl;
usr.bin/tmux/cmd.c
803
wl = s->curw;
usr.bin/tmux/cmd.c
807
wl = winlink_find_by_window(&s->windows, w);
usr.bin/tmux/cmd.c
811
return (wl);
usr.bin/tmux/cmd.c
819
struct winlink *wl;
usr.bin/tmux/cmd.c
822
if ((wl = cmd_mouse_window(m, sp)) == NULL)
usr.bin/tmux/cmd.c
825
wp = wl->window->active;
usr.bin/tmux/cmd.c
829
if (!window_has_pane(wl->window, wp))
usr.bin/tmux/cmd.c
834
*wlp = wl;
usr.bin/tmux/control-notify.c
47
struct winlink *wl;
usr.bin/tmux/control-notify.c
59
wl = TAILQ_FIRST(&w->winlinks);
usr.bin/tmux/control-notify.c
60
if (wl == NULL || w->layout_root == NULL)
usr.bin/tmux/control-notify.c
62
cp = format_single(NULL, template, NULL, NULL, wl, NULL);
usr.bin/tmux/control.c
1000
struct format_tree *ft, struct winlink *wl)
usr.bin/tmux/control.c
1003
struct window *w = wl->window;
usr.bin/tmux/control.c
1010
find.idx = wl->idx;
usr.bin/tmux/control.c
1016
csw->idx = wl->idx;
usr.bin/tmux/control.c
1026
csub->name, s->id, w->id, wl->idx, value);
usr.bin/tmux/control.c
1040
struct winlink *wl;
usr.bin/tmux/control.c
1097
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/control.c
1098
TAILQ_FOREACH(wp, &wl->window->panes, entry) {
usr.bin/tmux/control.c
1099
ft = format_create_defaults(NULL, c, s, wl, wp);
usr.bin/tmux/control.c
1105
csub, ft, wl, wp);
usr.bin/tmux/control.c
1114
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/control.c
1115
ft = format_create_defaults(NULL, c, s, wl, NULL);
usr.bin/tmux/control.c
1121
wl);
usr.bin/tmux/control.c
876
struct winlink *wl;
usr.bin/tmux/control.c
886
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/control.c
887
if (wl->session != s)
usr.bin/tmux/control.c
890
ft = format_create_defaults(NULL, c, s, wl, wp);
usr.bin/tmux/control.c
895
find.idx = wl->idx;
usr.bin/tmux/control.c
901
csp->idx = wl->idx;
usr.bin/tmux/control.c
911
csub->name, s->id, w->id, wl->idx, wp->id, value);
usr.bin/tmux/control.c
920
struct format_tree *ft, struct winlink *wl, struct window_pane *wp)
usr.bin/tmux/control.c
923
struct window *w = wl->window;
usr.bin/tmux/control.c
930
find.idx = wl->idx;
usr.bin/tmux/control.c
936
csp->idx = wl->idx;
usr.bin/tmux/control.c
946
csub->name, s->id, w->id, wl->idx, wp->id, value);
usr.bin/tmux/control.c
957
struct winlink *wl;
usr.bin/tmux/control.c
966
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/control.c
967
if (wl->session != s)
usr.bin/tmux/control.c
970
ft = format_create_defaults(NULL, c, s, wl, NULL);
usr.bin/tmux/control.c
975
find.idx = wl->idx;
usr.bin/tmux/control.c
981
csw->idx = wl->idx;
usr.bin/tmux/control.c
991
csub->name, s->id, w->id, wl->idx, value);
usr.bin/tmux/format.c
148
struct winlink *wl;
usr.bin/tmux/format.c
2447
struct winlink *wl;
usr.bin/tmux/format.c
2450
RB_FOREACH(wl, winlinks, &ft->s->windows) {
usr.bin/tmux/format.c
2451
if (ft->wl->flags & WINLINK_ACTIVITY)
usr.bin/tmux/format.c
2463
struct winlink *wl;
usr.bin/tmux/format.c
2466
RB_FOREACH(wl, winlinks, &ft->s->windows) {
usr.bin/tmux/format.c
2467
if (wl->flags & WINLINK_BELL)
usr.bin/tmux/format.c
2479
struct winlink *wl;
usr.bin/tmux/format.c
2482
RB_FOREACH(wl, winlinks, &ft->s->windows) {
usr.bin/tmux/format.c
2483
if (ft->wl->flags & WINLINK_SILENCE)
usr.bin/tmux/format.c
2662
struct winlink *wl;
usr.bin/tmux/format.c
2665
wl = RB_MAX(winlinks, &ft->s->windows);
usr.bin/tmux/format.c
2666
return (format_printf("%u", wl->idx));
usr.bin/tmux/format.c
2675
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2676
if (ft->wl == ft->wl->session->curw)
usr.bin/tmux/format.c
2687
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2688
if (ft->wl->flags & WINLINK_ACTIVITY)
usr.bin/tmux/format.c
2699
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2700
if (ft->wl->flags & WINLINK_BELL)
usr.bin/tmux/format.c
2743
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2744
if (ft->wl == RB_MAX(winlinks, &ft->wl->session->windows))
usr.bin/tmux/format.c
2755
if (ft->wl != NULL)
usr.bin/tmux/format.c
2756
return (xstrdup(window_printable_flags(ft->wl, 1)));
usr.bin/tmux/format.c
2791
if (ft->wl != NULL)
usr.bin/tmux/format.c
2792
return (format_printf("%d", ft->wl->idx));
usr.bin/tmux/format.c
2800
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2801
if (ft->wl == TAILQ_FIRST(&ft->wl->session->lastw))
usr.bin/tmux/format.c
2812
struct winlink *wl;
usr.bin/tmux/format.c
2816
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2818
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/format.c
2819
if (wl->window == ft->wl->window) {
usr.bin/tmux/format.c
2840
if (ft->wl == NULL)
usr.bin/tmux/format.c
2842
w = ft->wl->window;
usr.bin/tmux/format.c
2862
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2863
if (server_check_marked() && marked_pane.wl == ft->wl)
usr.bin/tmux/format.c
2920
if (ft->wl != NULL)
usr.bin/tmux/format.c
2921
return (xstrdup(window_printable_flags(ft->wl, 0)));
usr.bin/tmux/format.c
2929
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2930
if (ft->wl->flags & WINLINK_SILENCE)
usr.bin/tmux/format.c
2941
if (ft->wl != NULL) {
usr.bin/tmux/format.c
2942
if (ft->wl == RB_MIN(winlinks, &ft->wl->session->windows))
usr.bin/tmux/format.c
4574
struct winlink *wl;
usr.bin/tmux/format.c
4582
RB_FOREACH(wl, winlinks, &ft->s->windows) {
usr.bin/tmux/format.c
4583
if (strcmp(wl->window->name, name) == 0) {
usr.bin/tmux/format.c
4594
format_add_window_neighbor(struct format_tree *nft, struct winlink *wl,
usr.bin/tmux/format.c
4602
format_add(nft, key, "%u", wl->idx);
usr.bin/tmux/format.c
4606
format_add(nft, key, "%d", wl == s->curw);
usr.bin/tmux/format.c
4609
o = options_first(wl->window->options);
usr.bin/tmux/format.c
4635
struct winlink *wl, **l;
usr.bin/tmux/format.c
4654
wl = l[i];
usr.bin/tmux/format.c
4655
w = wl->window;
usr.bin/tmux/format.c
4656
format_log(es, "window loop: %u @%u", wl->idx, w->id);
usr.bin/tmux/format.c
4657
if (active != NULL && wl == ft->s->curw)
usr.bin/tmux/format.c
4665
format_defaults(nft, ft->c, ft->s, wl, NULL);
usr.bin/tmux/format.c
4735
format_defaults(nft, ft->c, ft->s, ft->wl, wp);
usr.bin/tmux/format.c
4778
format_defaults(nft, c, ft->s, ft->wl, ft->wp);
usr.bin/tmux/format.c
558
struct winlink *wl;
usr.bin/tmux/format.c
566
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/format.c
567
if ((wl->flags & WINLINK_ALERTFLAGS) == 0)
usr.bin/tmux/format.c
569
if (~alerted & wl->flags & WINLINK_ACTIVITY) {
usr.bin/tmux/format.c
5698
struct session *s, struct winlink *wl, struct window_pane *wp)
usr.bin/tmux/format.c
5703
ft = format_create_defaults(item, c, s, wl, wp);
usr.bin/tmux/format.c
5714
return (format_single(item, fmt, c, fs->s, fs->wl, fs->wp));
usr.bin/tmux/format.c
5729
struct session *s, struct winlink *wl, struct window_pane *wp)
usr.bin/tmux/format.c
573
if (~alerted & wl->flags & WINLINK_BELL) {
usr.bin/tmux/format.c
5737
format_defaults(ft, c, s, wl, wp);
usr.bin/tmux/format.c
5746
return (format_create_defaults(item, c, fs->s, fs->wl, fs->wp));
usr.bin/tmux/format.c
5761
struct winlink *wl, struct window_pane *wp)
usr.bin/tmux/format.c
577
if (~alerted & wl->flags & WINLINK_SILENCE) {
usr.bin/tmux/format.c
5773
if (wl != NULL)
usr.bin/tmux/format.c
5774
log_debug("%s: wl=%u", __func__, wl->idx);
usr.bin/tmux/format.c
5787
else if (wl != NULL)
usr.bin/tmux/format.c
5796
if (wl == NULL && s != NULL)
usr.bin/tmux/format.c
5797
wl = s->curw;
usr.bin/tmux/format.c
5798
if (wp == NULL && wl != NULL)
usr.bin/tmux/format.c
5799
wp = wl->window->active;
usr.bin/tmux/format.c
5805
if (wl != NULL)
usr.bin/tmux/format.c
5806
format_defaults_winlink(ft, wl);
usr.bin/tmux/format.c
5840
format_defaults_winlink(struct format_tree *ft, struct winlink *wl)
usr.bin/tmux/format.c
5843
format_defaults_window(ft, wl->window);
usr.bin/tmux/format.c
5844
ft->wl = wl;
usr.bin/tmux/format.c
590
struct winlink *wl;
usr.bin/tmux/format.c
597
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/format.c
598
if ((wl->flags & WINLINK_ALERTFLAGS) == 0)
usr.bin/tmux/format.c
600
xsnprintf(tmp, sizeof tmp, "%u", wl->idx);
usr.bin/tmux/format.c
605
if (wl->flags & WINLINK_ACTIVITY)
usr.bin/tmux/format.c
607
if (wl->flags & WINLINK_BELL)
usr.bin/tmux/format.c
609
if (wl->flags & WINLINK_SILENCE)
usr.bin/tmux/format.c
620
struct winlink *wl;
usr.bin/tmux/format.c
627
TAILQ_FOREACH(wl, &s->lastw, sentry) {
usr.bin/tmux/format.c
628
xsnprintf(tmp, sizeof tmp, "%u", wl->idx);
usr.bin/tmux/format.c
642
struct winlink *wl;
usr.bin/tmux/format.c
646
if (ft->wl == NULL)
usr.bin/tmux/format.c
648
s = ft->wl->session;
usr.bin/tmux/format.c
651
TAILQ_FOREACH(wl, &s->lastw, sentry) {
usr.bin/tmux/format.c
653
if (wl == ft->wl)
usr.bin/tmux/format.c
656
if (wl == NULL)
usr.bin/tmux/format.c
667
struct winlink *wl;
usr.bin/tmux/format.c
672
if (ft->wl == NULL)
usr.bin/tmux/format.c
674
w = ft->wl->window;
usr.bin/tmux/format.c
680
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/format.c
683
evbuffer_add_printf(buffer, "%s", wl->session->name);
usr.bin/tmux/format.c
697
struct winlink *wl;
usr.bin/tmux/format.c
701
if (ft->wl == NULL)
usr.bin/tmux/format.c
703
w = ft->wl->window;
usr.bin/tmux/format.c
705
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/format.c
706
if (wl->session->curw == wl)
usr.bin/tmux/format.c
719
struct winlink *wl;
usr.bin/tmux/format.c
724
if (ft->wl == NULL)
usr.bin/tmux/format.c
726
w = ft->wl->window;
usr.bin/tmux/format.c
732
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/format.c
733
if (wl->session->curw == wl) {
usr.bin/tmux/format.c
736
evbuffer_add_printf(buffer, "%s", wl->session->name);
usr.bin/tmux/format.c
756
if (ft->wl == NULL)
usr.bin/tmux/format.c
758
w = ft->wl->window;
usr.bin/tmux/format.c
784
if (ft->wl == NULL)
usr.bin/tmux/format.c
786
w = ft->wl->window;
usr.bin/tmux/notify.c
276
notify_winlink(const char *name, struct winlink *wl)
usr.bin/tmux/notify.c
280
cmd_find_from_winlink(&fs, wl, 0);
usr.bin/tmux/notify.c
281
notify_add(name, &fs, NULL, wl->session, wl->window, NULL, NULL);
usr.bin/tmux/notify.c
86
if (o == NULL && fs.wl != NULL) {
usr.bin/tmux/notify.c
87
oo = fs.wl->window->options;
usr.bin/tmux/options.c
856
struct winlink *wl = fs->wl;
usr.bin/tmux/options.c
908
} else if (wl == NULL && target != NULL)
usr.bin/tmux/options.c
910
else if (wl == NULL)
usr.bin/tmux/options.c
913
*oo = wl->window->options;
usr.bin/tmux/options.c
926
struct winlink *wl = fs->wl;
usr.bin/tmux/options.c
950
if (wl == NULL) {
usr.bin/tmux/options.c
957
*oo = wl->window->options;
usr.bin/tmux/server-client.c
1132
struct winlink *wl;
usr.bin/tmux/server-client.c
1146
wl = s->curw;
usr.bin/tmux/server-client.c
1375
window_pane_key(wp, c, s, wl, key, m);
usr.bin/tmux/server-client.c
1515
struct winlink *wl;
usr.bin/tmux/server-client.c
1520
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/server-client.c
1521
if (wl->session->attached != 0 && wl->session->curw == wl)
usr.bin/tmux/server-client.c
1524
if (wl == NULL)
usr.bin/tmux/server-fn.c
204
struct winlink *wl;
usr.bin/tmux/server-fn.c
211
while ((wl = winlink_find_by_window(&s->windows, w)) != NULL) {
usr.bin/tmux/server-fn.c
212
if (session_detach(s, wl)) {
usr.bin/tmux/server-fn.c
296
if (marked_pane.wl == srcwl)
usr.bin/tmux/server-fn.c
297
marked_pane.wl = dstwl;
usr.bin/tmux/server-fn.c
306
server_unlink_window(struct session *s, struct winlink *wl)
usr.bin/tmux/server-fn.c
308
if (session_detach(s, wl))
usr.bin/tmux/server.c
70
server_set_marked(struct session *s, struct winlink *wl, struct window_pane *wp)
usr.bin/tmux/server.c
74
marked_pane.wl = wl;
usr.bin/tmux/server.c
75
if (wl != NULL)
usr.bin/tmux/server.c
76
marked_pane.w = wl->window;
usr.bin/tmux/server.c
89
server_is_marked(struct session *s, struct winlink *wl, struct window_pane *wp)
usr.bin/tmux/server.c
91
if (s == NULL || wl == NULL || wp == NULL)
usr.bin/tmux/server.c
93
if (marked_pane.s != s || marked_pane.wl != wl)
usr.bin/tmux/session.c
202
struct winlink *wl;
usr.bin/tmux/session.c
224
wl = RB_ROOT(&s->windows);
usr.bin/tmux/session.c
225
notify_session_window("window-unlinked", s, wl->window);
usr.bin/tmux/session.c
226
winlink_remove(&s->windows, wl);
usr.bin/tmux/session.c
346
struct winlink *wl;
usr.bin/tmux/session.c
348
if ((wl = winlink_add(&s->windows, idx)) == NULL) {
usr.bin/tmux/session.c
352
wl->session = s;
usr.bin/tmux/session.c
353
winlink_set_window(wl, w);
usr.bin/tmux/session.c
357
return (wl);
usr.bin/tmux/session.c
362
session_detach(struct session *s, struct winlink *wl)
usr.bin/tmux/session.c
364
if (s->curw == wl &&
usr.bin/tmux/session.c
369
wl->flags &= ~WINLINK_ALERTFLAGS;
usr.bin/tmux/session.c
370
notify_session_window("window-unlinked", s, wl->window);
usr.bin/tmux/session.c
371
winlink_stack_remove(&s->lastw, wl);
usr.bin/tmux/session.c
372
winlink_remove(&s->windows, wl);
usr.bin/tmux/session.c
385
struct winlink *wl;
usr.bin/tmux/session.c
387
TAILQ_FOREACH(wl, &w->winlinks, wentry) {
usr.bin/tmux/session.c
388
if (wl->session == s)
usr.bin/tmux/session.c
409
session_next_alert(struct winlink *wl)
usr.bin/tmux/session.c
411
while (wl != NULL) {
usr.bin/tmux/session.c
412
if (wl->flags & WINLINK_ALERTFLAGS)
usr.bin/tmux/session.c
414
wl = winlink_next(wl);
usr.bin/tmux/session.c
416
return (wl);
usr.bin/tmux/session.c
423
struct winlink *wl;
usr.bin/tmux/session.c
428
wl = winlink_next(s->curw);
usr.bin/tmux/session.c
430
wl = session_next_alert(wl);
usr.bin/tmux/session.c
431
if (wl == NULL) {
usr.bin/tmux/session.c
432
wl = RB_MIN(winlinks, &s->windows);
usr.bin/tmux/session.c
433
if (alert && ((wl = session_next_alert(wl)) == NULL))
usr.bin/tmux/session.c
436
return (session_set_current(s, wl));
usr.bin/tmux/session.c
440
session_previous_alert(struct winlink *wl)
usr.bin/tmux/session.c
442
while (wl != NULL) {
usr.bin/tmux/session.c
443
if (wl->flags & WINLINK_ALERTFLAGS)
usr.bin/tmux/session.c
445
wl = winlink_previous(wl);
usr.bin/tmux/session.c
447
return (wl);
usr.bin/tmux/session.c
454
struct winlink *wl;
usr.bin/tmux/session.c
459
wl = winlink_previous(s->curw);
usr.bin/tmux/session.c
461
wl = session_previous_alert(wl);
usr.bin/tmux/session.c
462
if (wl == NULL) {
usr.bin/tmux/session.c
463
wl = RB_MAX(winlinks, &s->windows);
usr.bin/tmux/session.c
464
if (alert && (wl = session_previous_alert(wl)) == NULL)
usr.bin/tmux/session.c
467
return (session_set_current(s, wl));
usr.bin/tmux/session.c
474
struct winlink *wl;
usr.bin/tmux/session.c
476
wl = winlink_find_by_index(&s->windows, idx);
usr.bin/tmux/session.c
477
return (session_set_current(s, wl));
usr.bin/tmux/session.c
484
struct winlink *wl;
usr.bin/tmux/session.c
486
wl = TAILQ_FIRST(&s->lastw);
usr.bin/tmux/session.c
487
if (wl == NULL)
usr.bin/tmux/session.c
489
if (wl == s->curw)
usr.bin/tmux/session.c
492
return (session_set_current(s, wl));
usr.bin/tmux/session.c
497
session_set_current(struct session *s, struct winlink *wl)
usr.bin/tmux/session.c
501
if (wl == NULL)
usr.bin/tmux/session.c
503
if (wl == s->curw)
usr.bin/tmux/session.c
506
winlink_stack_remove(&s->lastw, wl);
usr.bin/tmux/session.c
508
s->curw = wl;
usr.bin/tmux/session.c
512
window_update_focus(wl->window);
usr.bin/tmux/session.c
514
winlink_clear_flags(wl);
usr.bin/tmux/session.c
515
window_update_activity(wl->window);
usr.bin/tmux/session.c
516
tty_update_window_offset(wl->window);
usr.bin/tmux/session.c
659
struct winlink *wl, *wl2;
usr.bin/tmux/session.c
677
RB_FOREACH(wl, winlinks, ww) {
usr.bin/tmux/session.c
678
wl2 = winlink_add(&s->windows, wl->idx);
usr.bin/tmux/session.c
680
winlink_set_window(wl2, wl->window);
usr.bin/tmux/session.c
682
wl2->flags |= wl->flags & WINLINK_ALERTFLAGS;
usr.bin/tmux/session.c
694
TAILQ_FOREACH(wl, &old_lastw, sentry) {
usr.bin/tmux/session.c
695
wl2 = winlink_find_by_index(&s->windows, wl->idx);
usr.bin/tmux/session.c
704
wl = RB_ROOT(&old_windows);
usr.bin/tmux/session.c
705
wl2 = winlink_find_by_window_id(&s->windows, wl->window->id);
usr.bin/tmux/session.c
707
notify_session_window("window-unlinked", s, wl->window);
usr.bin/tmux/session.c
708
winlink_remove(&old_windows, wl);
usr.bin/tmux/session.c
716
struct winlink *wl, *wl1, *wl_new;
usr.bin/tmux/session.c
730
RB_FOREACH(wl, winlinks, &old_wins) {
usr.bin/tmux/session.c
733
winlink_set_window(wl_new, wl->window);
usr.bin/tmux/session.c
734
wl_new->flags |= wl->flags & WINLINK_ALERTFLAGS;
usr.bin/tmux/session.c
736
if (wl == marked_pane.wl)
usr.bin/tmux/session.c
738
if (wl == s->curw)
usr.bin/tmux/session.c
747
TAILQ_FOREACH(wl, &old_lastw, sentry) {
usr.bin/tmux/session.c
748
wl->flags &= ~WINLINK_VISITED;
usr.bin/tmux/session.c
749
wl_new = winlink_find_by_window(&s->windows, wl->window);
usr.bin/tmux/session.c
758
marked_pane.wl = winlink_find_by_index(&s->windows, marked_idx);
usr.bin/tmux/session.c
759
if (marked_pane.wl == NULL)
usr.bin/tmux/session.c
765
RB_FOREACH_SAFE(wl, winlinks, &old_wins, wl1)
usr.bin/tmux/session.c
766
winlink_remove(&old_wins, wl);
usr.bin/tmux/session.c
774
struct winlink *wl;
usr.bin/tmux/session.c
777
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/session.c
778
TAILQ_FOREACH(wp, &wl->window->panes, entry)
usr.bin/tmux/session.c
788
struct winlink *wl;
usr.bin/tmux/session.c
794
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/session.c
795
TAILQ_FOREACH(wp, &wl->window->panes, entry) {
usr.bin/tmux/sort.c
468
struct winlink *wl;
usr.bin/tmux/sort.c
477
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/sort.c
478
w = wl->window;
usr.bin/tmux/sort.c
499
struct winlink *wl = NULL;
usr.bin/tmux/sort.c
507
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/sort.c
508
w = wl->window;
usr.bin/tmux/sort.c
552
struct winlink *wl;
usr.bin/tmux/sort.c
559
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/sort.c
564
l[i++] = wl;
usr.bin/tmux/sort.c
578
struct winlink *wl;
usr.bin/tmux/sort.c
584
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/sort.c
589
l[i++] = wl;
usr.bin/tmux/spawn.c
103
s->name, sc->wl->idx);
usr.bin/tmux/spawn.c
127
wl = winlink_find_by_index(&s->windows, idx);
usr.bin/tmux/spawn.c
128
if (wl != NULL && (~sc->flags & SPAWN_KILL)) {
usr.bin/tmux/spawn.c
132
if (wl != NULL) {
usr.bin/tmux/spawn.c
137
wl->flags &= ~WINLINK_ALERTFLAGS;
usr.bin/tmux/spawn.c
138
notify_session_window("window-unlinked", s, wl->window);
usr.bin/tmux/spawn.c
139
winlink_stack_remove(&s->lastw, wl);
usr.bin/tmux/spawn.c
140
winlink_remove(&s->windows, wl);
usr.bin/tmux/spawn.c
142
if (s->curw == wl) {
usr.bin/tmux/spawn.c
153
if ((sc->wl = winlink_add(&s->windows, idx)) == NULL) {
usr.bin/tmux/spawn.c
160
winlink_remove(&s->windows, sc->wl);
usr.bin/tmux/spawn.c
165
s->curw = sc->wl;
usr.bin/tmux/spawn.c
166
sc->wl->session = s;
usr.bin/tmux/spawn.c
168
winlink_set_window(sc->wl, w);
usr.bin/tmux/spawn.c
177
winlink_remove(&s->windows, sc->wl);
usr.bin/tmux/spawn.c
194
session_select(s, sc->wl->idx);
usr.bin/tmux/spawn.c
201
return (sc->wl);
usr.bin/tmux/spawn.c
211
struct window *w = sc->wl->window;
usr.bin/tmux/spawn.c
256
s->name, sc->wl->idx, idx);
usr.bin/tmux/spawn.c
57
struct winlink *wl = sc->wl;
usr.bin/tmux/spawn.c
64
if (wl != NULL && wp0 != NULL)
usr.bin/tmux/spawn.c
65
xsnprintf(tmp, sizeof tmp, "wl=%d wp0=%%%u", wl->idx, wp0->id);
usr.bin/tmux/spawn.c
66
else if (wl != NULL)
usr.bin/tmux/spawn.c
67
xsnprintf(tmp, sizeof tmp, "wl=%d wp0=none", wl->idx);
usr.bin/tmux/spawn.c
84
struct winlink *wl;
usr.bin/tmux/spawn.c
95
w = sc->wl->window;
usr.bin/tmux/status.c
1964
struct winlink *wl;
usr.bin/tmux/status.c
1982
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/status.c
1984
xasprintf(&tmp, "%d", wl->idx);
usr.bin/tmux/status.c
1994
xasprintf(&tmp, "%d (%s)", wl->idx, wl->window->name);
usr.bin/tmux/status.c
1995
xasprintf(&list[size++], "%d", wl->idx);
usr.bin/tmux/status.c
1997
xasprintf(&tmp, "%s:%d (%s)", s->name, wl->idx,
usr.bin/tmux/status.c
1998
wl->window->name);
usr.bin/tmux/status.c
1999
xasprintf(&list[size++], "%s:%d", s->name, wl->idx);
usr.bin/tmux/window-buffer.c
140
struct winlink *wl = NULL;
usr.bin/tmux/window-buffer.c
159
wl = data->fs.wl;
usr.bin/tmux/window-buffer.c
170
format_defaults(ft, NULL, s, wl, wp);
usr.bin/tmux/window-buffer.c
296
struct winlink *wl = NULL;
usr.bin/tmux/window-buffer.c
304
wl = data->fs.wl;
usr.bin/tmux/window-buffer.c
313
format_defaults(ft, NULL, s, wl, wp);
usr.bin/tmux/window-buffer.c
536
__unused struct session *s, __unused struct winlink *wl, key_code key,
usr.bin/tmux/window-client.c
358
__unused struct session *s, __unused struct winlink *wl, key_code key,
usr.bin/tmux/window-clock.c
215
__unused struct session *s, __unused struct winlink *wl,
usr.bin/tmux/window-copy.c
1187
struct winlink *wl = cs->wl;
usr.bin/tmux/window-copy.c
1200
prefix = format_single(NULL, arg1, c, s, wl, wp);
usr.bin/tmux/window-copy.c
1202
command = format_single(NULL, arg0, c, s, wl, wp);
usr.bin/tmux/window-copy.c
1205
prefix = format_single(NULL, arg0, c, s, wl, wp);
usr.bin/tmux/window-copy.c
1273
struct winlink *wl = cs->wl;
usr.bin/tmux/window-copy.c
1286
prefix = format_single(NULL, arg1, c, s, wl, wp);
usr.bin/tmux/window-copy.c
1288
command = format_single(NULL, arg0, c, s, wl, wp);
usr.bin/tmux/window-copy.c
1291
prefix = format_single(NULL, arg0, c, s, wl, wp);
usr.bin/tmux/window-copy.c
1360
struct winlink *wl = cs->wl;
usr.bin/tmux/window-copy.c
1368
prefix = format_single(NULL, arg0, c, s, wl, wp);
usr.bin/tmux/window-copy.c
218
struct winlink *wl;
usr.bin/tmux/window-copy.c
2352
struct winlink *wl = cs->wl;
usr.bin/tmux/window-copy.c
2361
prefix = format_single(NULL, arg1, c, s, wl, wp);
usr.bin/tmux/window-copy.c
2364
command = format_single(NULL, arg0, c, s, wl, wp);
usr.bin/tmux/window-copy.c
2399
struct winlink *wl = cs->wl;
usr.bin/tmux/window-copy.c
2405
command = format_single(NULL, arg0, c, s, wl, wp);
usr.bin/tmux/window-copy.c
3326
struct session *s, struct winlink *wl, struct args *args,
usr.bin/tmux/window-copy.c
3353
cs.wl = wl;
usr.bin/tmux/window-customize.c
1428
__unused struct session *s, __unused struct winlink *wl, key_code key,
usr.bin/tmux/window-customize.c
202
xasprintf(&s, "window %u", fs->wl->idx);
usr.bin/tmux/window-customize.c
814
"Window value (from window %u): %s%s%s", fs.wl->idx,
usr.bin/tmux/window-tree.c
1008
if (s == NULL || wl == NULL)
usr.bin/tmux/window-tree.c
1010
xasprintf(&target, "=%s:%u.", s->name, wl->idx);
usr.bin/tmux/window-tree.c
1013
if (s == NULL || wl == NULL || wp == NULL)
usr.bin/tmux/window-tree.c
1015
xasprintf(&target, "=%s:%u.%%%u", s->name, wl->idx, wp->id);
usr.bin/tmux/window-tree.c
1021
cmd_find_from_winlink_pane(fs, wl, wp, 0);
usr.bin/tmux/window-tree.c
1088
struct winlink *wl;
usr.bin/tmux/window-tree.c
1091
window_tree_pull_item(item, &s, &wl, &wp);
usr.bin/tmux/window-tree.c
1103
if (wl != NULL)
usr.bin/tmux/window-tree.c
1104
server_kill_window(wl->window, 0);
usr.bin/tmux/window-tree.c
1160
struct winlink *wl;
usr.bin/tmux/window-tree.c
1184
window_tree_pull_item(item, &s, &wl, &wp);
usr.bin/tmux/window-tree.c
1190
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/window-tree.c
1195
if (wl != NULL)
usr.bin/tmux/window-tree.c
1196
mode_tree_set_current(data->data, (uint64_t)wl);
usr.bin/tmux/window-tree.c
1200
if (wl == NULL)
usr.bin/tmux/window-tree.c
1204
TAILQ_FOREACH(wp, &wl->window->panes, entry) {
usr.bin/tmux/window-tree.c
1218
__unused struct session *s, __unused struct winlink *wl, key_code key,
usr.bin/tmux/window-tree.c
1254
mode_tree_expand(data->data, (uint64_t)fsp->wl);
usr.bin/tmux/window-tree.c
1256
mode_tree_set_current(data->data, (uint64_t)fsp->wl);
usr.bin/tmux/window-tree.c
195
window_tree_build_pane(struct session *s, struct winlink *wl,
usr.bin/tmux/window-tree.c
210
item->winlink = wl->idx;
usr.bin/tmux/window-tree.c
214
format_defaults(ft, NULL, s, wl, wp);
usr.bin/tmux/window-tree.c
227
window_tree_filter_pane(struct session *s, struct winlink *wl,
usr.bin/tmux/window-tree.c
236
cp = format_single(NULL, filter, NULL, s, wl, wp);
usr.bin/tmux/window-tree.c
244
window_tree_build_window(struct session *s, struct winlink *wl,
usr.bin/tmux/window-tree.c
260
item->winlink = wl->idx;
usr.bin/tmux/window-tree.c
263
ft = format_create(NULL, NULL, FORMAT_PANE|wl->window->active->id, 0);
usr.bin/tmux/window-tree.c
264
format_defaults(ft, NULL, s, wl, NULL);
usr.bin/tmux/window-tree.c
266
xasprintf(&name, "%u", wl->idx);
usr.bin/tmux/window-tree.c
274
mti = mode_tree_add(data->data, parent, item, (uint64_t)wl, name, text,
usr.bin/tmux/window-tree.c
280
if ((wp = TAILQ_FIRST(&wl->window->panes)) == NULL)
usr.bin/tmux/window-tree.c
283
if (!window_tree_filter_pane(s, wl, wp, filter))
usr.bin/tmux/window-tree.c
287
l = sort_get_panes_window(wl->window, &n, sort_crit);
usr.bin/tmux/window-tree.c
291
if (window_tree_filter_pane(s, wl, l[i], filter))
usr.bin/tmux/window-tree.c
292
window_tree_build_pane(s, wl, l[i], modedata, mti);
usr.bin/tmux/window-tree.c
311
struct winlink *wl = s->curw, **l;
usr.bin/tmux/window-tree.c
322
ft = format_create(NULL, NULL, FORMAT_PANE|wl->window->active->id, 0);
usr.bin/tmux/window-tree.c
387
*tag = (uint64_t)data->fs.wl;
usr.bin/tmux/window-tree.c
390
if (window_count_panes(data->fs.wl->window) == 1)
usr.bin/tmux/window-tree.c
391
*tag = (uint64_t)data->fs.wl;
usr.bin/tmux/window-tree.c
425
struct winlink *wl;
usr.bin/tmux/window-tree.c
448
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/window-tree.c
449
if (wl == s->curw)
usr.bin/tmux/window-tree.c
511
RB_FOREACH(wl, winlinks, &s->windows) {
usr.bin/tmux/window-tree.c
518
w = wl->window;
usr.bin/tmux/window-tree.c
520
if (wl == s->curw)
usr.bin/tmux/window-tree.c
537
xasprintf(&label, " %u:%s ", wl->idx, w->name);
usr.bin/tmux/window-tree.c
540
xasprintf(&label, " %u ", wl->idx);
usr.bin/tmux/window-tree.c
722
struct winlink *wl;
usr.bin/tmux/window-tree.c
727
window_tree_pull_item(item, &s, &wl, &wp);
usr.bin/tmux/window-tree.c
739
if (s == NULL || wl == NULL)
usr.bin/tmux/window-tree.c
742
return (strcasestr(wl->window->name, ss) != NULL);
usr.bin/tmux/window-tree.c
743
return (strstr(wl->window->name, ss) != NULL);
usr.bin/tmux/window-tree.c
745
if (s == NULL || wl == NULL || wp == NULL)
usr.bin/tmux/window-tree.c
782
struct winlink *wl;
usr.bin/tmux/window-tree.c
788
window_tree_pull_item(item, &s, &wl, &wp);
usr.bin/tmux/window-tree.c
792
format_defaults(ft, NULL, s, wl, NULL);
usr.bin/tmux/window-tree.c
794
format_defaults(ft, NULL, s, wl, wp);
usr.bin/tmux/window-tree.c
992
struct winlink *wl;
usr.bin/tmux/window-tree.c
996
window_tree_pull_item(item, &s, &wl, &wp);
usr.bin/tmux/window.c
103
struct winlink *wl;
usr.bin/tmux/window.c
105
RB_FOREACH(wl, winlinks, wwl) {
usr.bin/tmux/window.c
106
if (wl->window == w)
usr.bin/tmux/window.c
107
return (wl);
usr.bin/tmux/window.c
116
struct winlink wl;
usr.bin/tmux/window.c
121
wl.idx = idx;
usr.bin/tmux/window.c
122
return (RB_FIND(winlinks, wwl, &wl));
usr.bin/tmux/window.c
1262
struct winlink *wl, key_code key, struct mouse_event *m)
usr.bin/tmux/window.c
1273
wme->mode->key(wme, c, s, wl, key, m);
usr.bin/tmux/window.c
128
struct winlink *wl;
usr.bin/tmux/window.c
130
RB_FOREACH(wl, winlinks, wwl) {
usr.bin/tmux/window.c
131
if (wl->window->id == id)
usr.bin/tmux/window.c
132
return (wl);
usr.bin/tmux/window.c
157
struct winlink *wl;
usr.bin/tmux/window.c
161
RB_FOREACH(wl, winlinks, wwl)
usr.bin/tmux/window.c
1652
winlink_clear_flags(struct winlink *wl)
usr.bin/tmux/window.c
1656
wl->window->flags &= ~WINDOW_ALERTFLAGS;
usr.bin/tmux/window.c
1657
TAILQ_FOREACH(loop, &wl->window->winlinks, wentry) {
usr.bin/tmux/window.c
1667
winlink_shuffle_up(struct session *s, struct winlink *wl, int before)
usr.bin/tmux/window.c
1671
if (wl == NULL)
usr.bin/tmux/window.c
1674
idx = wl->idx;
usr.bin/tmux/window.c
1676
idx = wl->idx + 1;
usr.bin/tmux/window.c
1688
wl = winlink_find_by_index(&s->windows, last - 1);
usr.bin/tmux/window.c
1689
RB_REMOVE(winlinks, &s->windows, wl);
usr.bin/tmux/window.c
1690
wl->idx++;
usr.bin/tmux/window.c
1691
RB_INSERT(winlinks, &s->windows, wl);
usr.bin/tmux/window.c
170
struct winlink *wl;
usr.bin/tmux/window.c
178
wl = xcalloc(1, sizeof *wl);
usr.bin/tmux/window.c
179
wl->idx = idx;
usr.bin/tmux/window.c
180
RB_INSERT(winlinks, wwl, wl);
usr.bin/tmux/window.c
182
return (wl);
usr.bin/tmux/window.c
186
winlink_set_window(struct winlink *wl, struct window *w)
usr.bin/tmux/window.c
188
if (wl->window != NULL) {
usr.bin/tmux/window.c
189
TAILQ_REMOVE(&wl->window->winlinks, wl, wentry);
usr.bin/tmux/window.c
190
window_remove_ref(wl->window, __func__);
usr.bin/tmux/window.c
192
TAILQ_INSERT_TAIL(&w->winlinks, wl, wentry);
usr.bin/tmux/window.c
193
wl->window = w;
usr.bin/tmux/window.c
198
winlink_remove(struct winlinks *wwl, struct winlink *wl)
usr.bin/tmux/window.c
200
struct window *w = wl->window;
usr.bin/tmux/window.c
203
TAILQ_REMOVE(&w->winlinks, wl, wentry);
usr.bin/tmux/window.c
207
RB_REMOVE(winlinks, wwl, wl);
usr.bin/tmux/window.c
208
free(wl);
usr.bin/tmux/window.c
212
winlink_next(struct winlink *wl)
usr.bin/tmux/window.c
214
return (RB_NEXT(winlinks, wwl, wl));
usr.bin/tmux/window.c
218
winlink_previous(struct winlink *wl)
usr.bin/tmux/window.c
220
return (RB_PREV(winlinks, wwl, wl));
usr.bin/tmux/window.c
224
winlink_next_by_number(struct winlink *wl, struct session *s, int n)
usr.bin/tmux/window.c
227
if ((wl = RB_NEXT(winlinks, wwl, wl)) == NULL)
usr.bin/tmux/window.c
228
wl = RB_MIN(winlinks, &s->windows);
usr.bin/tmux/window.c
231
return (wl);
usr.bin/tmux/window.c
235
winlink_previous_by_number(struct winlink *wl, struct session *s, int n)
usr.bin/tmux/window.c
238
if ((wl = RB_PREV(winlinks, wwl, wl)) == NULL)
usr.bin/tmux/window.c
239
wl = RB_MAX(winlinks, &s->windows);
usr.bin/tmux/window.c
242
return (wl);
usr.bin/tmux/window.c
246
winlink_stack_push(struct winlink_stack *stack, struct winlink *wl)
usr.bin/tmux/window.c
248
if (wl == NULL)
usr.bin/tmux/window.c
251
winlink_stack_remove(stack, wl);
usr.bin/tmux/window.c
252
TAILQ_INSERT_HEAD(stack, wl, sentry);
usr.bin/tmux/window.c
253
wl->flags |= WINLINK_VISITED;
usr.bin/tmux/window.c
257
winlink_stack_remove(struct winlink_stack *stack, struct winlink *wl)
usr.bin/tmux/window.c
259
if (wl != NULL && (wl->flags & WINLINK_VISITED)) {
usr.bin/tmux/window.c
260
TAILQ_REMOVE(stack, wl, sentry);
usr.bin/tmux/window.c
261
wl->flags &= ~WINLINK_VISITED;
usr.bin/tmux/window.c
881
window_printable_flags(struct winlink *wl, int escape)
usr.bin/tmux/window.c
883
struct session *s = wl->session;
usr.bin/tmux/window.c
887
if (wl->flags & WINLINK_ACTIVITY) {
usr.bin/tmux/window.c
892
if (wl->flags & WINLINK_BELL)
usr.bin/tmux/window.c
894
if (wl->flags & WINLINK_SILENCE)
usr.bin/tmux/window.c
896
if (wl == s->curw)
usr.bin/tmux/window.c
898
if (wl == TAILQ_FIRST(&s->lastw))
usr.bin/tmux/window.c
900
if (server_check_marked() && wl == marked_pane.wl)
usr.bin/tmux/window.c
902
if (wl->window->flags & WINDOW_ZOOMED)
usr.sbin/nsd/rrl.c
356
uint16_t c, c2, wl = 0;
usr.sbin/nsd/rrl.c
367
wl = 1;
usr.sbin/nsd/rrl.c
370
wl?"(whitelisted)":"", rrlsource2str(s, c2),
usr.sbin/unbound/services/cache/dns.c
968
size_t wl;
usr.sbin/unbound/services/cache/dns.c
972
if(!(val_rrset_wildcard(rrset, &wc, &wl) && wc != NULL)) {
usr.sbin/unbound/validator/val_utils.c
937
size_t i, wl;
usr.sbin/unbound/validator/val_utils.c
953
wl = rrset->rk.dname_len;
usr.sbin/unbound/validator/val_utils.c
957
wl -= 2;
usr.sbin/unbound/validator/val_utils.c
962
dname_remove_labels(wc, &wl, labdiff);
usr.sbin/unbound/validator/val_utils.c
963
*wc_len = wl;
usr.sbin/unbound/validator/validator.c
1013
size_t wl;
usr.sbin/unbound/validator/validator.c
1028
if(!val_rrset_wildcard(s, &wc, &wl)) {
usr.sbin/unbound/validator/validator.c
1037
rrset_cache_update_wildcard(env->rrset_cache, s, wc, wl,
usr.sbin/unbound/validator/validator.c
1410
size_t wl;
usr.sbin/unbound/validator/validator.c
1431
if(!val_rrset_wildcard(s, &wc, &wl)) {
usr.sbin/unbound/validator/validator.c
1534
size_t wl;
usr.sbin/unbound/validator/validator.c
1548
if(!val_rrset_wildcard(s, &wc, &wl)) {