Home
last modified time | relevance | path

Searched refs:winsize (Results 1 – 25 of 42) sorted by relevance

12

/linux-6.12.1/drivers/tty/hvc/
Dhvc_console.h46 struct winsize ws;
87 extern void __hvc_resize(struct hvc_struct *hp, struct winsize ws);
89 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) in hvc_resize()
/linux-6.12.1/tools/perf/util/
Dterm.h6 struct winsize;
8 void get_term_dimensions(struct winsize *ws);
Dtop.h46 struct winsize winsize; member
Dterm.c8 void get_term_dimensions(struct winsize *ws) in get_term_dimensions()
/linux-6.12.1/arch/mips/include/uapi/asm/
Dioctls.h46 #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */
47 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */
Dtermios.h46 struct winsize { struct
/linux-6.12.1/arch/sparc/kernel/
Dprocess_64.c489 int winsize = sizeof(struct reg_window); in synchronize_user_stack() local
497 winsize = sizeof(struct reg_window32); in synchronize_user_stack()
499 if (!copy_to_user((char __user *)sp, rwin, winsize)) { in synchronize_user_stack()
529 int winsize = sizeof(struct reg_window); in fault_in_user_windows() local
537 winsize = sizeof(struct reg_window32); in fault_in_user_windows()
543 rwin, winsize))) { in fault_in_user_windows()
/linux-6.12.1/arch/powerpc/include/uapi/asm/
Dioctls.h35 #define TIOCSWINSZ _IOW('t', 103, struct winsize)
36 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
Dtermios.h46 struct winsize { struct
/linux-6.12.1/arch/alpha/include/uapi/asm/
Dioctls.h40 #define TIOCSWINSZ _IOW('t', 103, struct winsize)
41 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
Dtermios.h34 struct winsize { struct
/linux-6.12.1/drivers/pci/controller/cadence/
Dpcie-cadence-host.c314 u64 cpu_addr, pci_addr, size, winsize; in cdns_pcie_host_bar_config() local
368 winsize = bar_max_size[bar]; in cdns_pcie_host_bar_config()
369 ret = cdns_pcie_host_bar_ib_config(rc, bar, cpu_addr, winsize, in cdns_pcie_host_bar_config()
376 size -= winsize; in cdns_pcie_host_bar_config()
377 cpu_addr += winsize; in cdns_pcie_host_bar_config()
/linux-6.12.1/arch/sparc/include/uapi/asm/
Dioctls.h59 #define TIOCSWINSZ _IOW('t', 103, struct winsize)
60 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
Dtermios.h36 struct winsize { struct
/linux-6.12.1/drivers/net/wan/
Dhd64570.c255 page = buff / winsize(card); in sca_rx()
256 buff = buff % winsize(card); in sca_rx()
257 maxlen = winsize(card) - buff; in sca_rx()
648 page = buff / winsize(card); in sca_xmit()
649 buff = buff % winsize(card); in sca_xmit()
650 maxlen = winsize(card) - buff; in sca_xmit()
688 u32 size = winsize(card); in sca_detect_ram()
/linux-6.12.1/include/uapi/asm-generic/
Dtermios.h15 struct winsize { struct
/linux-6.12.1/drivers/s390/char/
Dsclp_vt220.c557 if (!tty->winsize.ws_row && !tty->winsize.ws_col) { in sclp_vt220_open()
558 tty->winsize.ws_row = 24; in sclp_vt220_open()
559 tty->winsize.ws_col = 80; in sclp_vt220_open()
/linux-6.12.1/include/linux/
Dtty.h209 struct winsize winsize; member
414 int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
Dtty_driver.h389 int (*resize)(struct tty_struct *tty, struct winsize *ws);
/linux-6.12.1/arch/um/drivers/
Dline.c299 chan_window_size(line, &tty->winsize.ws_row, in line_activate()
300 &tty->winsize.ws_col); in line_activate()
657 chan_window_size(line, &tty->winsize.ws_row, in winch_interrupt()
658 &tty->winsize.ws_col); in winch_interrupt()
Dchan_user.c67 struct winsize size; in generic_window_size()
/linux-6.12.1/tools/lib/subcmd/
Dpager.c74 struct winsize sz; in setup_pager()
Dhelp.c106 static void get_term_dimensions(struct winsize *ws) in get_term_dimensions()
132 struct winsize win; in pretty_print_string_list()
/linux-6.12.1/drivers/tty/
Dpty.c283 static int pty_resize(struct tty_struct *tty, struct winsize *ws) in pty_resize()
290 if (!memcmp(ws, &tty->winsize, sizeof(*ws))) in pty_resize()
305 tty->winsize = *ws; in pty_resize()
306 pty->winsize = *ws; /* Never used so will go away soon */ in pty_resize()
/linux-6.12.1/net/rxrpc/
Dcall_event.c236 unsigned int winsize = min_t(unsigned int, call->tx_winsize, in rxrpc_tx_window_has_space() local
238 rxrpc_seq_t window = call->acks_hard_ack, wtop = window + winsize; in rxrpc_tx_window_has_space()

12