tag | line | file | source code |
idx | 2148 | drivers/char/console.c | unsigned int idx; |
idx | 2151 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 2153 | drivers/char/console.c | i = vc_allocate(idx); |
idx | 2157 | drivers/char/console.c | vt_cons[idx]->vc_num = idx; |
idx | 2158 | drivers/char/console.c | tty->driver_data = vt_cons[idx]; |
idx | 722 | drivers/char/tty_io.c | int idx; |
idx | 728 | drivers/char/tty_io.c | idx = MINOR(device) - driver->minor_start; |
idx | 735 | drivers/char/tty_io.c | tty_loc = &driver->table[idx]; |
idx | 736 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
idx | 737 | drivers/char/tty_io.c | ltp_loc = &driver->termios_locked[idx]; |
idx | 771 | drivers/char/tty_io.c | o_tty_loc = &driver->other->table[idx]; |
idx | 772 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
idx | 773 | drivers/char/tty_io.c | o_ltp_loc = &driver->other->termios_locked[idx]; |
idx | 783 | drivers/char/tty_io.c | driver->other->minor_start + idx); |
idx | 891 | drivers/char/tty_io.c | int idx; |
idx | 903 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 905 | drivers/char/tty_io.c | if (idx < 0 || idx >= tty->driver.num) { |
idx | 910 | drivers/char/tty_io.c | if (tty != tty->driver.table[idx]) { |
idx | 912 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 915 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
idx | 917 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 920 | drivers/char/tty_io.c | if (ltp != tty->driver.termios_locked[idx]) { |
idx | 922 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 938 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
idx | 940 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 943 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
idx | 945 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 948 | drivers/char/tty_io.c | if (o_ltp != tty->driver.other->termios_locked[idx]) { |
idx | 950 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 982 | drivers/char/tty_io.c | tty->driver.other->table[idx] = NULL; |
idx | 983 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
idx | 1019 | drivers/char/tty_io.c | tty->driver.table[idx] = NULL; |
idx | 1021 | drivers/char/tty_io.c | tty->driver.termios[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 | 618 | ipc/shm.c | unsigned int id, idx; |
idx | 630 | ipc/shm.c | idx = (code >> SHM_IDX_SHIFT) & SHM_IDX_MASK; |
idx | 631 | ipc/shm.c | if (idx >= shp->shm_npages) { |
idx | 636 | ipc/shm.c | if (!(shp->shm_pages[idx] & PAGE_PRESENT)) { |
idx | 641 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
idx | 645 | ipc/shm.c | if (shp->shm_pages[idx]) { |
idx | 646 | ipc/shm.c | read_swap_page (shp->shm_pages[idx], (char *) page); |
idx | 647 | ipc/shm.c | if (shp->shm_pages[idx] & PAGE_PRESENT) { |
idx | 651 | ipc/shm.c | swap_free (shp->shm_pages[idx]); |
idx | 655 | ipc/shm.c | shp->shm_pages[idx] = page | (PAGE_SHARED | PAGE_DIRTY); |
idx | 661 | ipc/shm.c | page = shp->shm_pages[idx]; |
idx | 680 | ipc/shm.c | unsigned long id, idx, invalid = 0; |
idx | 698 | ipc/shm.c | idx = swap_idx++; |
idx | 699 | ipc/shm.c | if (idx >= shp->shm_npages) { |
idx | 706 | ipc/shm.c | page = shp->shm_pages[idx]; |
idx | 723 | ipc/shm.c | tmp = shmd->vm_start + (idx << PAGE_SHIFT) - shmd->vm_offset; |
idx | 729 | ipc/shm.c | id, shmd->vm_start, idx); |
idx | 742 | ipc/shm.c | tmp = shmd->vm_pte | idx << SHM_IDX_SHIFT; |
idx | 752 | ipc/shm.c | shp->shm_pages[idx] = swap_nr; |