tag | line | file | source code |
idx | 1808 | drivers/char/console.c | int idx; |
idx | 1810 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 1812 | drivers/char/console.c | if (idx > NR_CONSOLES) |
idx | 1814 | drivers/char/console.c | vt_cons[idx].vc_num = idx; |
idx | 1815 | 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 | 886 | drivers/char/tty_io.c | int idx; |
idx | 898 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 900 | drivers/char/tty_io.c | if (idx < 0 || idx >= tty->driver.num) { |
idx | 905 | drivers/char/tty_io.c | if (tty != tty->driver.table[idx]) { |
idx | 907 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 910 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
idx | 912 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 915 | drivers/char/tty_io.c | if (ltp != tty->driver.termios_locked[idx]) { |
idx | 917 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 933 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
idx | 935 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 938 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
idx | 940 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 943 | drivers/char/tty_io.c | if (o_ltp != tty->driver.other->termios_locked[idx]) { |
idx | 945 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 986 | drivers/char/tty_io.c | tty->driver.other->table[idx] = NULL; |
idx | 987 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
idx | 988 | drivers/char/tty_io.c | tty->driver.other->termios_locked[idx] = NULL; |
idx | 1004 | drivers/char/tty_io.c | tty->driver.table[idx] = NULL; |
idx | 1006 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
idx | 1007 | drivers/char/tty_io.c | tty->driver.termios_locked[idx] = NULL; |
idx | 1424 | drivers/net/3c505.c | int idx=0, addr; |
idx | 1438 | drivers/net/3c505.c | } else while ( (addr=addr_list[idx++]) ) { |
idx | 437 | drivers/scsi/wd7000.c | unchar idx[2]; /* index (MSB-LSB) */ |
idx | 635 | ipc/shm.c | unsigned int id, idx; |
idx | 647 | ipc/shm.c | idx = (code >> SHM_IDX_SHIFT) & SHM_IDX_MASK; |
idx | 648 | ipc/shm.c | if (idx >= shp->shm_npages) { |
idx | 653 | ipc/shm.c | if (!(shp->shm_pages[idx] & PAGE_PRESENT)) { |
idx | 658 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
idx | 662 | ipc/shm.c | if (shp->shm_pages[idx]) { |
idx | 663 | ipc/shm.c | read_swap_page (shp->shm_pages[idx], (char *) page); |
idx | 664 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
idx | 668 | ipc/shm.c | swap_free (shp->shm_pages[idx]); |
idx | 672 | ipc/shm.c | shp->shm_pages[idx] = page | (PAGE_SHARED | PAGE_DIRTY); |
idx | 678 | ipc/shm.c | page = shp->shm_pages[idx]; |
idx | 697 | ipc/shm.c | unsigned long id, idx, invalid = 0; |
idx | 715 | ipc/shm.c | idx = swap_idx++; |
idx | 716 | ipc/shm.c | if (idx >= shp->shm_npages) { |
idx | 723 | ipc/shm.c | page = shp->shm_pages[idx]; |
idx | 740 | ipc/shm.c | tmp = shmd->start + (idx << PAGE_SHIFT); |
idx | 742 | ipc/shm.c | printk ("shm_swap: too large idx=%ld id=%ld PANIC\n",idx, id); |
idx | 748 | ipc/shm.c | id, shmd->start, idx); |
idx | 761 | ipc/shm.c | tmp = shmd->shm_sgn | idx << SHM_IDX_SHIFT; |
idx | 771 | ipc/shm.c | shp->shm_pages[idx] = swap_nr; |