tag | line | file | source code |
idx | 487 | drivers/block/ide-tape.c | unsigned idx :1; /* Reserved */ |
idx | 1513 | drivers/cdrom/mcdx.c | unsigned int idx; |
idx | 1520 | drivers/cdrom/mcdx.c | idx = bcd2uint(q.index); |
idx | 1522 | drivers/cdrom/mcdx.c | if ((idx > 0) |
idx | 1523 | drivers/cdrom/mcdx.c | && (idx <= stuffp->di.n_last) |
idx | 1525 | drivers/cdrom/mcdx.c | && (stuffp->toc[idx - stuffp->di.n_first].index == 0)) { |
idx | 1526 | drivers/cdrom/mcdx.c | stuffp->toc[idx - stuffp->di.n_first] = q; |
idx | 1527 | drivers/cdrom/mcdx.c | TRACE((READTOC, "ioctl() toc idx %d (trk %d)\n", idx, trk)); |
idx | 2247 | drivers/char/console.c | unsigned int idx; |
idx | 2250 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 2252 | drivers/char/console.c | i = vc_allocate(idx); |
idx | 2256 | drivers/char/console.c | vt_cons[idx]->vc_num = idx; |
idx | 2257 | 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 | 803 | drivers/char/tty_io.c | int idx; |
idx | 809 | drivers/char/tty_io.c | idx = MINOR(device) - driver->minor_start; |
idx | 816 | drivers/char/tty_io.c | tty_loc = &driver->table[idx]; |
idx | 817 | drivers/char/tty_io.c | tp_loc = &driver->termios[idx]; |
idx | 818 | drivers/char/tty_io.c | ltp_loc = &driver->termios_locked[idx]; |
idx | 852 | drivers/char/tty_io.c | o_tty_loc = &driver->other->table[idx]; |
idx | 853 | drivers/char/tty_io.c | o_tp_loc = &driver->other->termios[idx]; |
idx | 854 | drivers/char/tty_io.c | o_ltp_loc = &driver->other->termios_locked[idx]; |
idx | 864 | drivers/char/tty_io.c | driver->other->minor_start + idx); |
idx | 979 | drivers/char/tty_io.c | int idx; |
idx | 992 | drivers/char/tty_io.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 994 | drivers/char/tty_io.c | if (idx < 0 || idx >= tty->driver.num) { |
idx | 999 | drivers/char/tty_io.c | if (tty != tty->driver.table[idx]) { |
idx | 1001 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1004 | drivers/char/tty_io.c | if (tp != tty->driver.termios[idx]) { |
idx | 1007 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1010 | drivers/char/tty_io.c | if (ltp != tty->driver.termios_locked[idx]) { |
idx | 1013 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1029 | drivers/char/tty_io.c | if (o_tty != tty->driver.other->table[idx]) { |
idx | 1032 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1035 | drivers/char/tty_io.c | if (o_tp != tty->driver.other->termios[idx]) { |
idx | 1038 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1041 | drivers/char/tty_io.c | if (o_ltp != tty->driver.other->termios_locked[idx]) { |
idx | 1044 | drivers/char/tty_io.c | idx, kdevname(tty->device)); |
idx | 1079 | drivers/char/tty_io.c | tty->driver.other->table[idx] = NULL; |
idx | 1080 | drivers/char/tty_io.c | tty->driver.other->termios[idx] = NULL; |
idx | 1116 | drivers/char/tty_io.c | tty->driver.table[idx] = NULL; |
idx | 1118 | drivers/char/tty_io.c | tty->driver.termios[idx] = NULL; |
idx | 123 | drivers/isdn/isdn_net.c | isdn_net_bind_channel(isdn_net_local * lp, int idx) |
idx | 129 | drivers/isdn/isdn_net.c | lp->isdn_device = dev->drvmap[idx]; |
idx | 130 | drivers/isdn/isdn_net.c | lp->isdn_channel = dev->chanmap[idx]; |
idx | 131 | drivers/isdn/isdn_net.c | dev->rx_netdev[idx] = lp->netdev; |
idx | 132 | drivers/isdn/isdn_net.c | dev->st_netdev[idx] = lp->netdev; |
idx | 193 | drivers/isdn/isdn_net.c | isdn_net_stat_callback(int idx, int cmd) |
idx | 195 | drivers/isdn/isdn_net.c | isdn_net_dev *p = dev->st_netdev[idx]; |
idx | 232 | drivers/isdn/isdn_net.c | dev->st_netdev[idx] = NULL; |
idx | 233 | drivers/isdn/isdn_net.c | dev->rx_netdev[idx] = NULL; |
idx | 241 | drivers/isdn/isdn_net.c | dev->usage[idx] |= ISDN_USAGE_OUTGOING; |
idx | 244 | drivers/isdn/isdn_net.c | dev->rx_netdev[idx] = p; |
idx | 994 | drivers/isdn/isdn_net.c | isdn_net_receive_callback(int idx, u_char * buf, int len) |
idx | 996 | drivers/isdn/isdn_net.c | isdn_net_dev *p = dev->rx_netdev[idx]; |
idx | 1021 | drivers/isdn/isdn_net.c | isdn_net_rcv_skb(int idx, struct sk_buff *skb) |
idx | 1023 | drivers/isdn/isdn_net.c | isdn_net_dev *p = dev->rx_netdev[idx]; |
idx | 1361 | drivers/isdn/isdn_net.c | isdn_net_find_icall(int di, int ch, int idx, char *num) |
idx | 1418 | drivers/isdn/isdn_net.c | printk(KERN_DEBUG "n_fi: di=%d ch=%d idx=%d usg=%d\n", di, ch, idx, |
idx | 1419 | drivers/isdn/isdn_net.c | dev->usage[idx]); |
idx | 1426 | drivers/isdn/isdn_net.c | isdn_net_swap_usage(idx, sidx); |
idx | 1441 | drivers/isdn/isdn_net.c | (USG_NONE(dev->usage[idx]))) || /* and ch. unused or */ |
idx | 1449 | drivers/isdn/isdn_net.c | if (dev->usage[idx] & ISDN_USAGE_EXCLUSIVE) { |
idx | 1489 | drivers/isdn/isdn_net.c | isdn_net_swap_usage(idx, sidx); |
idx | 1497 | drivers/isdn/isdn_net.c | if ((dev->usage[idx] & ISDN_USAGE_EXCLUSIVE) && |
idx | 1619 | drivers/isdn/isdn_net.c | dev->usage[idx] &= ISDN_USAGE_EXCLUSIVE; |
idx | 1620 | drivers/isdn/isdn_net.c | dev->usage[idx] |= ISDN_USAGE_NET; |
idx | 1621 | drivers/isdn/isdn_net.c | strcpy(dev->num[idx], nr); |
idx | 1623 | drivers/isdn/isdn_net.c | dev->st_netdev[idx] = lp->netdev; |
idx | 1219 | drivers/isdn/isdn_tty.c | int idx; |
idx | 1270 | drivers/isdn/isdn_tty.c | idx = isdn_dc2minor(di, ch); |
idx | 1273 | drivers/isdn/isdn_tty.c | printk(KERN_DEBUG "m_fi: idx=%d flags=%08lx drv=%d ch=%d usg=%d\n", idx, |
idx | 1275 | drivers/isdn/isdn_tty.c | dev->usage[idx]); |
idx | 1280 | drivers/isdn/isdn_tty.c | (USG_NONE(dev->usage[idx]))) { |
idx | 1283 | drivers/isdn/isdn_tty.c | info->drv_index = idx; |
idx | 1284 | drivers/isdn/isdn_tty.c | dev->m_idx[idx] = info->line; |
idx | 1285 | drivers/isdn/isdn_tty.c | dev->usage[idx] &= ISDN_USAGE_EXCLUSIVE; |
idx | 1286 | drivers/isdn/isdn_tty.c | dev->usage[idx] |= ISDN_USAGE_MODEM; |
idx | 1287 | drivers/isdn/isdn_tty.c | strcpy(dev->num[idx], nr); |
idx | 1590 | drivers/isdn/teles/card.c | teles_shiftcards(int idx) |
idx | 1594 | drivers/isdn/teles/card.c | for (i = idx; i < 15; i++) |
idx | 1364 | drivers/net/3c505.c | int idx=0; |
idx | 1371 | 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 | 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 | 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; |
idx | 309 | net/core/net_alias.c | unsigned idx, n_aliases; |
idx | 317 | net/core/net_alias.c | for (idx=0; idx < 16 ; idx++) |
idx | 318 | net/core/net_alias.c | for (aliasp = &alias_info->hash_tab[idx];*aliasp;aliasp = &(*aliasp)->next) |
idx | 891 | net/core/net_alias.c | unsigned idx; |
idx | 893 | net/core/net_alias.c | for (idx=0 ; idx < 16 ; idx++) |
idx | 894 | net/core/net_alias.c | for (nat = nat_base[idx]; nat ; nat = nat->next) |