tag | line | file | source code |
idx | 2153 | drivers/char/console.c | unsigned int idx; |
idx | 2156 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 2158 | drivers/char/console.c | i = vc_allocate(idx); |
idx | 2162 | drivers/char/console.c | vt_cons[idx]->vc_num = idx; |
idx | 2163 | drivers/char/console.c | tty->driver_data = vt_cons[idx]; |
idx | 759 | drivers/char/tty_io.c | int idx; |
idx | 765 | drivers/char/tty_io.c | idx = MINOR(device) - driver->minor_start; |
idx | 772 | drivers/char/tty_io.c | tty_loc = &driver->table[idx]; |
idx | 773 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
idx | 774 | drivers/char/tty_io.c | ltp_loc = &driver->termios_locked[idx]; |
idx | 808 | drivers/char/tty_io.c | o_tty_loc = &driver->other->table[idx]; |
idx | 809 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
idx | 810 | drivers/char/tty_io.c | o_ltp_loc = &driver->other->termios_locked[idx]; |
idx | 820 | drivers/char/tty_io.c | driver->other->minor_start + idx); |
idx | 928 | drivers/char/tty_io.c | int idx; |
idx | 941 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 943 | drivers/char/tty_io.c | if (idx < 0 || idx >= tty->driver.num) { |
idx | 948 | drivers/char/tty_io.c | if (tty != tty->driver.table[idx]) { |
idx | 950 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 953 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
idx | 955 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 958 | drivers/char/tty_io.c | if (ltp != tty->driver.termios_locked[idx]) { |
idx | 960 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 976 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
idx | 978 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 981 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
idx | 983 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 986 | drivers/char/tty_io.c | if (o_ltp != tty->driver.other->termios_locked[idx]) { |
idx | 988 | drivers/char/tty_io.c | idx, MAJOR(tty->device), MINOR(tty->device)); |
idx | 1020 | drivers/char/tty_io.c | tty->driver.other->table[idx] = NULL; |
idx | 1021 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
idx | 1059 | drivers/char/tty_io.c | tty->driver.table[idx] = NULL; |
idx | 1061 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
idx | 1422 | drivers/net/3c505.c | int idx=0, addr; |
idx | 1436 | drivers/net/3c505.c | } else while ( (addr=addr_list[idx++]) ) { |
idx | 437 | drivers/scsi/wd7000.c | unchar idx[2]; /* index (MSB-LSB) */ |
idx | 601 | ipc/shm.c | unsigned int id, idx; |
idx | 618 | ipc/shm.c | idx = (code >> SHM_IDX_SHIFT) & SHM_IDX_MASK; |
idx | 619 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
idx | 621 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
idx | 624 | ipc/shm.c | if (idx >= shp->shm_npages) { |
idx | 629 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
idx | 636 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
idx | 643 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
idx | 653 | ipc/shm.c | shp->shm_pages[idx] = pte_val(pte); |
idx | 675 | ipc/shm.c | unsigned long id, idx; |
idx | 699 | ipc/shm.c | idx = swap_idx++; |
idx | 700 | ipc/shm.c | if (idx >= shp->shm_npages) |
idx | 703 | ipc/shm.c | pte_val(page) = shp->shm_pages[idx]; |
idx | 727 | ipc/shm.c | tmp = shmd->vm_start + (idx << PAGE_SHIFT) - shmd->vm_offset; |
idx | 733 | ipc/shm.c | id, shmd->vm_start, idx); |
idx | 740 | ipc/shm.c | id, shmd->vm_start, idx); |
idx | 754 | ipc/shm.c | pte_val(*page_table) = shmd->vm_pte | idx << SHM_IDX_SHIFT; |
idx | 767 | ipc/shm.c | shp->shm_pages[idx] = swap_nr; |