tag | line | file | source code |
idx | 1693 | drivers/char/console.c | int idx; |
idx | 1695 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 1697 | drivers/char/console.c | if (idx > NR_CONSOLES) |
idx | 1699 | drivers/char/console.c | vt_cons[idx].vc_num = idx; |
idx | 1700 | drivers/char/console.c | tty->driver_data = &vt_cons[idx]; |
idx | 717 | drivers/char/tty_io.c | int idx; |
idx | 723 | drivers/char/tty_io.c | idx = MINOR(device) - driver->minor_start; |
idx | 730 | drivers/char/tty_io.c | tty_loc = &driver->table[idx]; |
idx | 731 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
idx | 732 | drivers/char/tty_io.c | ltp_loc = &driver->termios_locked[idx]; |
idx | 766 | drivers/char/tty_io.c | o_tty_loc = &driver->other->table[idx]; |
idx | 767 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
idx | 768 | drivers/char/tty_io.c | o_ltp_loc = &driver->other->termios_locked[idx]; |
idx | 778 | drivers/char/tty_io.c | driver->other->minor_start + idx); |
idx | 880 | drivers/char/tty_io.c | int idx; |
idx | 892 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 894 | drivers/char/tty_io.c | if (idx < 0 || idx >= tty->driver.num) { |
idx | 899 | drivers/char/tty_io.c | if (tty != tty->driver.table[idx]) { |
idx | 901 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 904 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
idx | 906 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 909 | drivers/char/tty_io.c | if (ltp != tty->driver.termios_locked[idx]) { |
idx | 911 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 927 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
idx | 929 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 932 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
idx | 934 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 937 | drivers/char/tty_io.c | if (o_ltp != tty->driver.other->termios_locked[idx]) { |
idx | 939 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 980 | drivers/char/tty_io.c | tty->driver.other->table[idx] = NULL; |
idx | 981 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
idx | 982 | drivers/char/tty_io.c | tty->driver.other->termios_locked[idx] = NULL; |
idx | 998 | drivers/char/tty_io.c | tty->driver.table[idx] = NULL; |
idx | 1000 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
idx | 1001 | drivers/char/tty_io.c | tty->driver.termios_locked[idx] = NULL; |
idx | 438 | drivers/scsi/wd7000.c | unchar idx[2]; /* index (MSB-LSB) */ |
idx | 589 | ipc/shm.c | unsigned int id, idx; |
idx | 601 | ipc/shm.c | idx = (code >> SHM_IDX_SHIFT) & SHM_IDX_MASK; |
idx | 602 | ipc/shm.c | if (idx >= shp->shm_npages) { |
idx | 607 | ipc/shm.c | if (!(shp->shm_pages[idx] & PAGE_PRESENT)) { |
idx | 613 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
idx | 617 | ipc/shm.c | if (shp->shm_pages[idx]) { |
idx | 618 | ipc/shm.c | read_swap_page (shp->shm_pages[idx], (char *) page); |
idx | 619 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
idx | 623 | ipc/shm.c | swap_free (shp->shm_pages[idx]); |
idx | 627 | ipc/shm.c | shp->shm_pages[idx] = page | (PAGE_SHARED | PAGE_DIRTY); |
idx | 633 | ipc/shm.c | page = shp->shm_pages[idx]; |
idx | 653 | ipc/shm.c | unsigned long id, idx, invalid = 0; |
idx | 671 | ipc/shm.c | idx = swap_idx++; |
idx | 672 | ipc/shm.c | if (idx >= shp->shm_npages) { |
idx | 679 | ipc/shm.c | page = shp->shm_pages[idx]; |
idx | 696 | ipc/shm.c | tmp = shmd->start + (idx << PAGE_SHIFT); |
idx | 698 | ipc/shm.c | printk ("shm_swap: too large idx=%ld id=%ld PANIC\n",idx, id); |
idx | 704 | ipc/shm.c | id, shmd->start, idx); |
idx | 717 | ipc/shm.c | tmp = shmd->shm_sgn | idx << SHM_IDX_SHIFT; |
idx | 727 | ipc/shm.c | shp->shm_pages[idx] = swap_nr; |