| tag | line | file | source code |
| idx | 1406 | drivers/cdrom/mcdx.c | unsigned int idx; |
| idx | 1413 | drivers/cdrom/mcdx.c | idx = bcd2uint(q.index); |
| idx | 1415 | drivers/cdrom/mcdx.c | if ((idx > 0) |
| idx | 1416 | drivers/cdrom/mcdx.c | && (idx <= stuffp->di.n_last) |
| idx | 1418 | drivers/cdrom/mcdx.c | && (stuffp->toc[idx - stuffp->di.n_first].index == 0)) { |
| idx | 1419 | drivers/cdrom/mcdx.c | stuffp->toc[idx - stuffp->di.n_first] = q; |
| idx | 1420 | drivers/cdrom/mcdx.c | TRACE((IOCTL, "ioctl() toc idx %d (trk %d)\n", idx, trk)); |
| idx | 2145 | drivers/char/console.c | unsigned int idx; |
| idx | 2148 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
| idx | 2150 | drivers/char/console.c | i = vc_allocate(idx); |
| idx | 2154 | drivers/char/console.c | vt_cons[idx]->vc_num = idx; |
| idx | 2155 | drivers/char/console.c | tty->driver_data = vt_cons[idx]; |
| idx | 260 | drivers/char/tga.c | unsigned int idx, xt, yt, row, col; |
| idx | 272 | drivers/char/tga.c | idx = (pos - video_mem_base) >> 1; |
| idx | 273 | drivers/char/tga.c | col = idx % 80; |
| idx | 274 | drivers/char/tga.c | row = (idx - col) / 80; |
| idx | 779 | drivers/char/tty_io.c | int idx; |
| idx | 785 | drivers/char/tty_io.c | idx = MINOR(device) - driver->minor_start; |
| idx | 792 | drivers/char/tty_io.c | tty_loc = &driver->table[idx]; |
| idx | 793 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
| idx | 794 | drivers/char/tty_io.c | ltp_loc = &driver->termios_locked[idx]; |
| idx | 828 | drivers/char/tty_io.c | o_tty_loc = &driver->other->table[idx]; |
| idx | 829 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
| idx | 830 | drivers/char/tty_io.c | o_ltp_loc = &driver->other->termios_locked[idx]; |
| idx | 840 | drivers/char/tty_io.c | driver->other->minor_start + idx); |
| idx | 955 | drivers/char/tty_io.c | int idx; |
| idx | 968 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
| idx | 970 | drivers/char/tty_io.c | if (idx < 0 || idx >= tty->driver.num) { |
| idx | 975 | drivers/char/tty_io.c | if (tty != tty->driver.table[idx]) { |
| idx | 977 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
| idx | 980 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
| idx | 983 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
| idx | 986 | drivers/char/tty_io.c | if (ltp != tty->driver.termios_locked[idx]) { |
| idx | 989 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
| idx | 1005 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
| idx | 1008 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
| idx | 1011 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
| idx | 1014 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
| idx | 1017 | drivers/char/tty_io.c | if (o_ltp != tty->driver.other->termios_locked[idx]) { |
| idx | 1020 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
| idx | 1055 | drivers/char/tty_io.c | tty->driver.other->table[idx] = NULL; |
| idx | 1056 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
| idx | 1092 | drivers/char/tty_io.c | tty->driver.table[idx] = NULL; |
| idx | 1094 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
| idx | 1342 | drivers/net/3c505.c | int idx=0; |
| idx | 1349 | drivers/net/3c505.c | } else while ( (dev->base_addr=addr_list[idx++]) ) { |
| idx | 558 | drivers/net/bsd_comp.c | #define dict_ptrx(p,idx) &(p->dict[idx]) |
| idx | 559 | drivers/net/bsd_comp.c | #define lens_ptrx(p,idx) &(p->lens[idx]) |
| idx | 562 | drivers/net/bsd_comp.c | static unsigned short *lens_ptr(struct bsd_db *db, int idx) |
| idx | 564 | drivers/net/bsd_comp.c | if ((unsigned int) idx > (unsigned int) db->maxmaxcode) |
| idx | 566 | drivers/net/bsd_comp.c | printk ("<9>ppp: lens_ptr(%d) > max\n", idx); |
| idx | 567 | drivers/net/bsd_comp.c | idx = 0; |
| idx | 569 | drivers/net/bsd_comp.c | return lens_ptrx (db, idx); |
| idx | 572 | drivers/net/bsd_comp.c | static struct bsd_dict *dict_ptr(struct bsd_db *db, int idx) |
| idx | 574 | drivers/net/bsd_comp.c | if ((unsigned int) idx >= (unsigned int) db->hsize) |
| idx | 576 | drivers/net/bsd_comp.c | printk ("<9>ppp: dict_ptr(%d) > max\n", idx); |
| idx | 577 | drivers/net/bsd_comp.c | idx = 0; |
| idx | 579 | drivers/net/bsd_comp.c | return dict_ptrx (db, idx); |
| idx | 583 | drivers/net/bsd_comp.c | #define lens_ptr(db,idx) lens_ptrx(db,idx) |
| idx | 584 | 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 | 607 | ipc/shm.c | unsigned int id, idx; |
| idx | 624 | ipc/shm.c | idx = (SWP_OFFSET(code) >> SHM_IDX_SHIFT) & SHM_IDX_MASK; |
| idx | 625 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
| idx | 627 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
| idx | 630 | ipc/shm.c | if (idx >= shp->shm_npages) { |
| idx | 635 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
| idx | 642 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
| idx | 649 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
| idx | 659 | ipc/shm.c | shp->shm_pages[idx] = pte_val(pte); |
| idx | 681 | ipc/shm.c | unsigned long id, idx; |
| idx | 705 | ipc/shm.c | idx = swap_idx++; |
| idx | 706 | ipc/shm.c | if (idx >= shp->shm_npages) |
| idx | 709 | ipc/shm.c | pte_val(page) = shp->shm_pages[idx]; |
| idx | 736 | ipc/shm.c | tmp = shmd->vm_start + (idx << PAGE_SHIFT) - shmd->vm_offset; |
| idx | 742 | ipc/shm.c | id, shmd->vm_start, idx); |
| idx | 749 | ipc/shm.c | id, shmd->vm_start, idx); |
| idx | 764 | ipc/shm.c | __pte(shmd->vm_pte + SWP_ENTRY(0, idx << SHM_IDX_SHIFT))); |
| idx | 777 | ipc/shm.c | shp->shm_pages[idx] = swap_nr; |