taglinefilesource code
winsize1595drivers/char/tty_io.ctty->winsize.ws_row = 0;
winsize1596drivers/char/tty_io.ctty->winsize.ws_col = 0;
winsize1599drivers/char/tty_io.ctty->winsize.ws_row = video_num_lines;
winsize1600drivers/char/tty_io.ctty->winsize.ws_col = video_num_columns;
winsize346drivers/char/tty_ioctl.cstatic int set_window_size(struct tty_struct * tty, struct winsize * ws)
winsize353drivers/char/tty_ioctl.ctmp = (char *) &tty->winsize;
winsize367drivers/char/tty_ioctl.cstatic int get_window_size(struct tty_struct * tty, struct winsize * ws)
winsize378drivers/char/tty_ioctl.cfor (i = 0; i < sizeof (struct winsize) ; i++,tmp++)
winsize379drivers/char/tty_ioctl.cput_fs_byte(((char *) &tty->winsize)[i], tmp);
winsize545drivers/char/tty_ioctl.creturn get_window_size(tty,(struct winsize *) arg);
winsize548drivers/char/tty_ioctl.cset_window_size(other_tty,(struct winsize *) arg);
winsize549drivers/char/tty_ioctl.creturn set_window_size(tty,(struct winsize *) arg);
winsize225include/linux/tty.hstruct winsize winsize;