/openbmc/ipmitool/lib/ |
H A D | ipmi_tsol.c | 73 static struct winsize _saved_winsize; 333 struct winsize winsize; in set_terminal_size() local 340 winsize.ws_row = rows; in set_terminal_size() 341 winsize.ws_col = cols; in set_terminal_size() 342 ioctl(fileno(stdout), TIOCSWINSZ, &winsize); in set_terminal_size() 348 struct winsize winsize; in print_tsol_usage() local 358 ioctl(fileno(stdout), TIOCGWINSZ, &winsize); in print_tsol_usage() 361 winsize.ws_row); in print_tsol_usage() 364 winsize.ws_col); in print_tsol_usage()
|
/openbmc/linux/drivers/tty/hvc/ |
H A D | hvc_console.h | 47 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()
|
/openbmc/linux/tools/perf/util/ |
H A D | term.h | 6 struct winsize; 8 void get_term_dimensions(struct winsize *ws);
|
H A D | top.h | 46 struct winsize winsize; member
|
H A D | term.c | 8 void get_term_dimensions(struct winsize *ws) in get_term_dimensions()
|
/openbmc/qemu/linux-user/sh4/ |
H A D | termbits.h | 190 #define TARGET_TIOCSWINSZ TARGET_IOW('t', 103, struct winsize) 191 #define TARGET_TIOCGWINSZ TARGET_IOR('t', 104, struct winsize) 206 #define TARGET_TIOCSWINSZ TARGET_IOW('t', 103, struct winsize) 207 #define TARGET_TIOCGWINSZ TARGET_IOR('t', 104, struct winsize)
|
/openbmc/linux/arch/mips/include/uapi/asm/ |
H A D | ioctls.h | 46 #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */ 47 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */
|
H A D | termios.h | 46 struct winsize { struct
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | process_64.c | 489 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()
|
/openbmc/linux/arch/powerpc/include/uapi/asm/ |
H A D | ioctls.h | 35 #define TIOCSWINSZ _IOW('t', 103, struct winsize) 36 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
|
H A D | termios.h | 46 struct winsize { struct
|
/openbmc/linux/arch/alpha/include/uapi/asm/ |
H A D | ioctls.h | 40 #define TIOCSWINSZ _IOW('t', 103, struct winsize) 41 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
|
H A D | termios.h | 34 struct winsize { struct
|
/openbmc/linux/drivers/pci/controller/cadence/ |
H A D | pcie-cadence-host.c | 314 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()
|
/openbmc/linux/arch/sparc/include/uapi/asm/ |
H A D | ioctls.h | 59 #define TIOCSWINSZ _IOW('t', 103, struct winsize) 60 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
|
H A D | termios.h | 36 struct winsize { struct
|
/openbmc/linux/drivers/net/wan/ |
H A D | hd64570.c | 255 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()
|
/openbmc/qemu/linux-user/sparc/ |
H A D | termbits.h | 223 #define TARGET_TIOCSWINSZ TARGET_IOW('t', 103, struct winsize) 224 #define TARGET_TIOCGWINSZ TARGET_IOR('t', 104, struct winsize)
|
/openbmc/qemu/linux-user/mips/ |
H A D | termbits.h | 195 #define TARGET_TIOCSWINSZ TARGET_IOW('t', 103, struct winsize) /* set window size */ 196 #define TARGET_TIOCGWINSZ TARGET_IOR('t', 104, struct winsize) /* get window size */
|
/openbmc/linux/include/uapi/asm-generic/ |
H A D | termios.h | 15 struct winsize { struct
|
/openbmc/linux/drivers/s390/char/ |
H A D | sclp_vt220.c | 557 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()
|
/openbmc/linux/include/linux/ |
H A D | tty.h | 214 struct winsize winsize; member 421 int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
|
/openbmc/linux/arch/um/drivers/ |
H A D | line.c | 299 chan_window_size(line, &tty->winsize.ws_row, in line_activate() 300 &tty->winsize.ws_col); in line_activate() 654 chan_window_size(line, &tty->winsize.ws_row, in winch_interrupt() 655 &tty->winsize.ws_col); in winch_interrupt()
|
/openbmc/linux/tools/lib/subcmd/ |
H A D | pager.c | 74 struct winsize sz; in setup_pager()
|
/openbmc/linux/drivers/tty/ |
H A D | pty.c | 283 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()
|