# control_check_subs_all_panes

- **Language:** C
- **Kind:** function
- **Source:** https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L904
- **Page:** https://libtmux.org/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_all_panes/

```c
static void control_check_subs_all_panes(struct client *c, struct control_sub *csub)
```

## Parameters

- `c` (`struct client *`)
- `csub` (`struct control_sub *`)

## Called by

- [`control_check_subs_timer`](/en/tmux/3.2a/reference/c-function-control-c-control_check_subs_timer/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L1054)

## Calls

- [`control_write`](/en/tmux/3.2a/reference/c-function-control_write/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L937)
- [`format_create_defaults`](/en/tmux/3.2a/reference/c-function-format_create_defaults/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L917)
- [`format_expand`](/en/tmux/3.2a/reference/c-function-format_expand/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L918)
- [`format_free`](/en/tmux/3.2a/reference/c-function-format_free/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L919)
- [`xcalloc`](/en/tmux/3.2a/reference/c-function-xcalloc/) (function) [Call site](https://github.com/tmux/tmux/blob/3b929f332aafa7f1080eacc31feb11ffbb1d1841/control.c#L926)

## Referenced declarations

- [`client`](/en/tmux/3.2a/reference/c-struct-client/) (struct)
- [`control_sub`](/en/tmux/3.2a/reference/c-struct-control_sub/) (struct)
- [`control_sub_pane.entry`](/en/tmux/3.2a/reference/c-struct-control_sub_pane-entry/) (attribute)
- [`control_sub.format`](/en/tmux/3.2a/reference/c-struct-control_sub-format/) (attribute)
- [`session.id`](/en/tmux/3.2a/reference/c-struct-session-id/) (attribute)
- [`window_pane.id`](/en/tmux/3.2a/reference/c-struct-window_pane-id/) (attribute)
- [`window.id`](/en/tmux/3.2a/reference/c-struct-window-id/) (attribute)
- [`control_sub_pane.idx`](/en/tmux/3.2a/reference/c-struct-control_sub_pane-idx/) (attribute)
- [`winlink.idx`](/en/tmux/3.2a/reference/c-struct-winlink-idx/) (attribute)
- [`control_sub_pane.last`](/en/tmux/3.2a/reference/c-struct-control_sub_pane-last/) (attribute)
- [`control_sub.name`](/en/tmux/3.2a/reference/c-struct-control_sub-name/) (attribute)
- [`control_sub_pane.pane`](/en/tmux/3.2a/reference/c-struct-control_sub_pane-pane/) (attribute)
- [`control_sub.panes`](/en/tmux/3.2a/reference/c-struct-control_sub-panes/) (attribute)
- [`window.panes`](/en/tmux/3.2a/reference/c-struct-window-panes/) (attribute)
- [`client.session`](/en/tmux/3.2a/reference/c-struct-client-session/) (attribute)
- [`winlink.window`](/en/tmux/3.2a/reference/c-struct-winlink-window/) (attribute)
- [`session.windows`](/en/tmux/3.2a/reference/c-struct-session-windows/) (attribute)
