tag | line | file | source code |
idx | 1417 | drivers/cdrom/mcdx.c | unsigned int idx; |
idx | 1424 | drivers/cdrom/mcdx.c | idx = bcd2uint(q.index); |
idx | 1426 | drivers/cdrom/mcdx.c | if ((idx > 0) |
idx | 1427 | drivers/cdrom/mcdx.c | && (idx <= stuffp->di.n_last) |
idx | 1429 | drivers/cdrom/mcdx.c | && (stuffp->toc[idx - stuffp->di.n_first].index == 0)) { |
idx | 1430 | drivers/cdrom/mcdx.c | stuffp->toc[idx - stuffp->di.n_first] = q; |
idx | 1431 | drivers/cdrom/mcdx.c | TRACE((IOCTL, "ioctl() toc idx %d (trk %d)\n", idx, trk)); |
idx | 2361 | drivers/char/console.c | unsigned int idx; |
idx | 2364 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 2366 | drivers/char/console.c | i = vc_allocate(idx); |
idx | 2370 | drivers/char/console.c | vt_cons[idx]->vc_num = idx; |
idx | 2371 | drivers/char/console.c | tty->driver_data = vt_cons[idx]; |
idx | 773 | drivers/char/tty_io.c | int idx; |
idx | 779 | drivers/char/tty_io.c | idx = MINOR(device) - driver->minor_start; |
idx | 786 | drivers/char/tty_io.c | tty_loc = &driver->table[idx]; |
idx | 787 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
idx | 788 | drivers/char/tty_io.c | ltp_loc = &driver->termios_locked[idx]; |
idx | 822 | drivers/char/tty_io.c | o_tty_loc = &driver->other->table[idx]; |
idx | 823 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
idx | 824 | drivers/char/tty_io.c | o_ltp_loc = &driver->other->termios_locked[idx]; |
idx | 834 | drivers/char/tty_io.c | driver->other->minor_start + idx); |
idx | 949 | drivers/char/tty_io.c | int idx; |
idx | 962 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 964 | drivers/char/tty_io.c | if (idx < 0 || idx >= tty->driver.num) { |
idx | 969 | drivers/char/tty_io.c | if (tty != tty->driver.table[idx]) { |
idx | 971 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 974 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
idx | 977 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 980 | drivers/char/tty_io.c | if (ltp != tty->driver.termios_locked[idx]) { |
idx | 983 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 999 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
idx | 1002 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1005 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
idx | 1008 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1011 | drivers/char/tty_io.c | if (o_ltp != tty->driver.other->termios_locked[idx]) { |
idx | 1014 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1049 | drivers/char/tty_io.c | tty->driver.other->table[idx] = NULL; |
idx | 1050 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
idx | 1086 | drivers/char/tty_io.c | tty->driver.table[idx] = NULL; |
idx | 1088 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
idx | 1349 | drivers/net/3c505.c | int idx=0; |
idx | 1356 | drivers/net/3c505.c | } else while ( (dev->base_addr=addr_list[idx++]) ) { |
idx | 559 | drivers/net/bsd_comp.c | #define dict_ptrx(p,idx) &(p->dict[idx]) |
idx | 560 | drivers/net/bsd_comp.c | #define lens_ptrx(p,idx) &(p->lens[idx]) |
idx | 563 | drivers/net/bsd_comp.c | static unsigned short *lens_ptr(struct bsd_db *db, int idx) |
idx | 565 | drivers/net/bsd_comp.c | if ((unsigned int) idx > (unsigned int) db->maxmaxcode) |
idx | 567 | drivers/net/bsd_comp.c | printk ("<9>ppp: lens_ptr(%d) > max\n", idx); |
idx | 568 | drivers/net/bsd_comp.c | idx = 0; |
idx | 570 | drivers/net/bsd_comp.c | return lens_ptrx (db, idx); |
idx | 573 | drivers/net/bsd_comp.c | static struct bsd_dict *dict_ptr(struct bsd_db *db, int idx) |
idx | 575 | drivers/net/bsd_comp.c | if ((unsigned int) idx >= (unsigned int) db->hsize) |
idx | 577 | drivers/net/bsd_comp.c | printk ("<9>ppp: dict_ptr(%d) > max\n", idx); |
idx | 578 | drivers/net/bsd_comp.c | idx = 0; |
idx | 580 | drivers/net/bsd_comp.c | return dict_ptrx (db, idx); |
idx | 584 | drivers/net/bsd_comp.c | #define lens_ptr(db,idx) lens_ptrx(db,idx) |
idx | 585 | drivers/net/bsd_comp.c | #define dict_ptr(db,idx) dict_ptrx(db,idx) |
idx | 448 | drivers/scsi/wd7000.c | unchar idx[2]; /* index (MSB-LSB) */ |
idx | 609 | ipc/shm.c | unsigned int id, idx; |
idx | 626 | ipc/shm.c | idx = (SWP_OFFSET(code) >> SHM_IDX_SHIFT) & SHM_IDX_MASK; |
idx | 627 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
idx | 629 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
idx | 632 | ipc/shm.c | if (idx >= shp->shm_npages) { |
idx | 637 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
idx | 644 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
idx | 651 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
idx | 661 | ipc/shm.c | shp->shm_pages[idx] = pte_val(pte); |
idx | 683 | ipc/shm.c | unsigned long id, idx; |
idx | 707 | ipc/shm.c | idx = swap_idx++; |
idx | 708 | ipc/shm.c | if (idx >= shp->shm_npages) |
idx | 711 | ipc/shm.c | pte_val(page) = shp->shm_pages[idx]; |
idx | 738 | ipc/shm.c | tmp = shmd->vm_start + (idx << PAGE_SHIFT) - shmd->vm_offset; |
idx | 744 | ipc/shm.c | id, shmd->vm_start, idx); |
idx | 751 | ipc/shm.c | id, shmd->vm_start, idx); |
idx | 766 | ipc/shm.c | __pte(shmd->vm_pte + SWP_ENTRY(0, idx << SHM_IDX_SHIFT))); |
idx | 779 | ipc/shm.c | shp->shm_pages[idx] = swap_nr; |