Searched refs:winsize (Results 1 - 46 of 46) sorted by relevance

/linux-4.1.27/tools/perf/util/
H A Dtop.h36 struct winsize winsize; member in struct:perf_top
H A Dhelp.c78 struct winsize win; pretty_print_string_list()
H A Dutil.h285 void get_term_dimensions(struct winsize *ws);
H A Dutil.c279 void get_term_dimensions(struct winsize *ws) get_term_dimensions()
/linux-4.1.27/drivers/isdn/capi/
H A Dcapilib.c20 u32 winsize; member in struct:capilib_ncci
39 for (i = 1; i < np->winsize; i++) { mq_init()
80 void capilib_new_ncci(struct list_head *head, u16 applid, u32 ncci, u32 winsize) capilib_new_ncci() argument
89 if (winsize > CAPI_MAXDATAWINDOW) { capilib_new_ncci()
90 printk(KERN_ERR "capi_new_ncci: winsize %d too big\n", capilib_new_ncci()
91 winsize); capilib_new_ncci()
92 winsize = CAPI_MAXDATAWINDOW; capilib_new_ncci()
96 np->winsize = winsize; capilib_new_ncci()
/linux-4.1.27/arch/sparc/include/uapi/asm/
H A Dtermios.h35 struct winsize { struct
H A Dioctls.h56 #define TIOCSWINSZ _IOW('t', 103, struct winsize)
57 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
/linux-4.1.27/include/uapi/asm-generic/
H A Dtermios.h14 struct winsize { struct
/linux-4.1.27/arch/s390/include/uapi/asm/
H A Dtermios.h13 struct winsize { struct
/linux-4.1.27/arch/parisc/include/uapi/asm/
H A Dtermios.h7 struct winsize { struct
/linux-4.1.27/arch/avr32/include/uapi/asm/
H A Dtermios.h14 struct winsize { struct
/linux-4.1.27/arch/cris/include/uapi/asm/
H A Dtermios.h9 struct winsize { struct
/linux-4.1.27/arch/frv/include/uapi/asm/
H A Dtermios.h7 struct winsize { struct
/linux-4.1.27/arch/ia64/include/uapi/asm/
H A Dtermios.h14 struct winsize { struct
/linux-4.1.27/arch/m32r/include/uapi/asm/
H A Dtermios.h7 struct winsize { struct
/linux-4.1.27/drivers/tty/hvc/
H A Dhvc_console.h60 struct winsize ws;
98 extern void __hvc_resize(struct hvc_struct *hp, struct winsize ws);
100 static inline void hvc_resize(struct hvc_struct *hp, struct winsize ws) hvc_resize()
H A Dhvc_console.c551 struct winsize ws; hvc_set_winsz()
725 void __hvc_resize(struct hvc_struct *hp, struct winsize ws) __hvc_resize()
H A Dhvc_iucv.c279 if (rb->mbuf->datalen != sizeof(struct winsize)) hvc_iucv_write()
283 __hvc_resize(priv->hvc, *((struct winsize *) rb->mbuf->data)); hvc_iucv_write()
/linux-4.1.27/arch/powerpc/include/uapi/asm/
H A Dioctls.h34 #define TIOCSWINSZ _IOW('t', 103, struct winsize)
35 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
H A Dtermios.h45 struct winsize { struct
/linux-4.1.27/arch/mips/include/uapi/asm/
H A Dtermios.h45 struct winsize { struct
H A Dioctls.h45 #define TIOCSWINSZ _IOW('t', 103, struct winsize) /* set window size */
46 #define TIOCGWINSZ _IOR('t', 104, struct winsize) /* get window size */
/linux-4.1.27/arch/mn10300/include/uapi/asm/
H A Dtermios.h7 struct winsize { struct
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dtermios.h33 struct winsize { struct
H A Dioctls.h34 #define TIOCSWINSZ _IOW('t', 103, struct winsize)
35 #define TIOCGWINSZ _IOR('t', 104, struct winsize)
/linux-4.1.27/arch/xtensa/include/uapi/asm/
H A Dioctls.h40 #define TIOCSWINSZ 0x40087467 /* _IOW('t', 103, struct winsize) */
41 #define TIOCGWINSZ 0x80087468 /* _IOR('t', 104, struct winsize) */
/linux-4.1.27/arch/sh/include/uapi/asm/
H A Dioctls.h28 #define TIOCSWINSZ 0x40087467 /* _IOW('t', 103, struct winsize) */
29 #define TIOCGWINSZ 0x80087468 /* _IOR('t', 104, struct winsize) */
/linux-4.1.27/drivers/net/wan/
H A Dhd64570.c261 page = buff / winsize(card); sca_rx()
262 buff = buff % winsize(card); sca_rx()
263 maxlen = winsize(card) - buff; sca_rx()
642 page = buff / winsize(card); sca_xmit()
643 buff = buff % winsize(card); sca_xmit()
644 maxlen = winsize(card) - buff; sca_xmit()
682 u32 size = winsize(card); sca_detect_ram()
H A Dc101.c100 #define winsize(card) (C101_WINDOW_SIZE) macro
H A Dn2.c145 #define winsize(card) (USE_WINDOWSIZE) macro
/linux-4.1.27/arch/sparc/kernel/
H A Dprocess_64.c511 int winsize = sizeof(struct reg_window); synchronize_user_stack() local
519 winsize = sizeof(struct reg_window32); synchronize_user_stack()
521 if (!copy_to_user((char __user *)sp, rwin, winsize)) { synchronize_user_stack()
553 int winsize = sizeof(struct reg_window); fault_in_user_windows() local
561 winsize = sizeof(struct reg_window32); fault_in_user_windows()
567 rwin, winsize))) fault_in_user_windows()
/linux-4.1.27/include/linux/isdn/
H A Dcapilli.h106 void capilib_new_ncci(struct list_head *head, u16 applid, u32 ncci, u32 winsize);
/linux-4.1.27/arch/xtensa/include/asm/
H A Dprocessor.h81 /* Build a valid return address for the specified call winsize.
82 * winsize must be 1 (call4), 2 (call8), or 3 (call12)
/linux-4.1.27/net/x25/
H A Dx25_facilities.c346 pr_debug("incoming winsize limited to 7\n"); x25_limit_facilities()
351 pr_debug("outgoing winsize limited to 7\n"); x25_limit_facilities()
/linux-4.1.27/drivers/s390/char/
H A Dsclp_vt220.c515 if (!tty->winsize.ws_row && !tty->winsize.ws_col) { sclp_vt220_open()
516 tty->winsize.ws_row = 24; sclp_vt220_open()
517 tty->winsize.ws_col = 80; sclp_vt220_open()
H A Dtty3270.c806 struct winsize ws; tty3270_resize_work()
919 tty->winsize.ws_row = tp->view.rows - 2; tty3270_install()
920 tty->winsize.ws_col = tp->view.cols; tty3270_install()
953 tty->winsize.ws_row = tp->view.rows - 2; tty3270_install()
954 tty->winsize.ws_col = tp->view.cols; tty3270_install()
/linux-4.1.27/arch/um/drivers/
H A Dline.c306 chan_window_size(line, &tty->winsize.ws_row, line_activate()
307 &tty->winsize.ws_col); line_activate()
659 chan_window_size(line, &tty->winsize.ws_row, winch_interrupt()
660 &tty->winsize.ws_col); winch_interrupt()
H A Dchan_user.c55 struct winsize size; generic_window_size()
/linux-4.1.27/drivers/tty/
H A Dpty.c296 static int pty_resize(struct tty_struct *tty, struct winsize *ws) pty_resize()
303 if (!memcmp(ws, &tty->winsize, sizeof(*ws))) pty_resize()
318 tty->winsize = *ws; pty_resize()
319 pty->winsize = *ws; /* Never used so will go away soon */ pty_resize()
H A Dtty_io.c2308 * Locking: tty->winsize_mutex is taken to ensure the winsize data
2312 static int tiocgwinsz(struct tty_struct *tty, struct winsize __user *arg) tiocgwinsz()
2317 err = copy_to_user(arg, &tty->winsize, sizeof(*arg)); tiocgwinsz()
2333 int tty_do_resize(struct tty_struct *tty, struct winsize *ws) tty_do_resize()
2339 if (!memcmp(ws, &tty->winsize, sizeof(*ws))) tty_do_resize()
2348 tty->winsize = *ws; tty_do_resize()
2370 static int tiocswinsz(struct tty_struct *tty, struct winsize __user *arg) tiocswinsz()
2372 struct winsize tmp_ws; tiocswinsz()
/linux-4.1.27/include/linux/
H A Dtty.h251 * here. Possible the winsize structure should have the same
287 struct winsize winsize; /* winsize_mutex */ member in struct:tty_struct
452 extern int tty_do_resize(struct tty_struct *tty, struct winsize *ws);
H A Dtty_driver.h215 * int (*resize)(struct tty_struct *tty, struct winsize *ws)
284 int (*resize)(struct tty_struct *tty, struct winsize *ws);
/linux-4.1.27/tools/perf/
H A Dbuiltin-top.c77 top->print_entries = top->winsize.ws_row - HEADER_LINE_NR; perf_top__update_print_entries()
85 get_term_dimensions(&top->winsize); perf_top__sig_winch()
252 const int win_width = top->winsize.ws_col - 1; perf_top__print_sym_table()
1257 get_term_dimensions(&top.winsize); cmd_top()
/linux-4.1.27/drivers/tty/vt/
H A Dvt.c832 * If the caller passes a tty structure then update the termios winsize
936 /* Rewrite the requested winsize data with the actual vc_do_resize()
938 struct winsize ws; vc_do_resize()
972 * @ws: winsize attributes
981 static int vt_resize(struct tty_struct *tty, struct winsize *ws) vt_resize()
2874 if (!tty->winsize.ws_row && !tty->winsize.ws_col) { con_install()
2875 tty->winsize.ws_row = vc_cons[currcons].d->vc_rows; con_install()
2876 tty->winsize.ws_col = vc_cons[currcons].d->vc_cols; con_install()
/linux-4.1.27/drivers/bluetooth/
H A Dhci_bcsp.c306 is < than the winsize */ bcsp_dequeue()
/linux-4.1.27/drivers/char/
H A Dvirtio_console.c93 struct winsize ws;

Completed in 1414 milliseconds