tag | line | file | source code |
idx | 491 | drivers/block/ide-tape.c | unsigned idx :1; /* Reserved */ |
idx | 1524 | drivers/cdrom/mcdx.c | unsigned int idx; |
idx | 1531 | drivers/cdrom/mcdx.c | idx = bcd2uint(q.index); |
idx | 1533 | drivers/cdrom/mcdx.c | if ((idx > 0) |
idx | 1534 | drivers/cdrom/mcdx.c | && (idx <= stuffp->di.n_last) |
idx | 1536 | drivers/cdrom/mcdx.c | && (stuffp->toc[idx - stuffp->di.n_first].index == 0)) { |
idx | 1537 | drivers/cdrom/mcdx.c | stuffp->toc[idx - stuffp->di.n_first] = q; |
idx | 1538 | drivers/cdrom/mcdx.c | TRACE((READTOC, "ioctl() toc idx %d (trk %d)\n", idx, trk)); |
idx | 2246 | drivers/char/console.c | unsigned int idx; |
idx | 2249 | drivers/char/console.c | idx = MINOR(tty->device) - tty->driver.minor_start; |
idx | 2251 | drivers/char/console.c | i = vc_allocate(idx); |
idx | 2255 | drivers/char/console.c | vt_cons[idx]->vc_num = idx; |
idx | 2256 | 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 | 132 | drivers/isdn/isdn_net.c | isdn_net_bind_channel(isdn_net_local * lp, int idx) |
idx | 138 | drivers/isdn/isdn_net.c | lp->isdn_device = dev->drvmap[idx]; |
idx | 139 | drivers/isdn/isdn_net.c | lp->isdn_channel = dev->chanmap[idx]; |
idx | 140 | drivers/isdn/isdn_net.c | dev->rx_netdev[idx] = lp->netdev; |
idx | 141 | drivers/isdn/isdn_net.c | dev->st_netdev[idx] = lp->netdev; |
idx | 202 | drivers/isdn/isdn_net.c | isdn_net_stat_callback(int idx, int cmd) |
idx | 204 | drivers/isdn/isdn_net.c | isdn_net_dev *p = dev->st_netdev[idx]; |
idx | 246 | drivers/isdn/isdn_net.c | dev->st_netdev[idx] = NULL; |
idx | 247 | drivers/isdn/isdn_net.c | dev->rx_netdev[idx] = NULL; |
idx | 262 | drivers/isdn/isdn_net.c | dev->usage[idx] |= ISDN_USAGE_OUTGOING; |
idx | 265 | drivers/isdn/isdn_net.c | dev->rx_netdev[idx] = p; |
idx | 1031 | drivers/isdn/isdn_net.c | isdn_net_receive_callback(int idx, u_char * buf, int len) |
idx | 1033 | drivers/isdn/isdn_net.c | isdn_net_dev *p = dev->rx_netdev[idx]; |
idx | 1058 | drivers/isdn/isdn_net.c | isdn_net_rcv_skb(int idx, struct sk_buff *skb) |
idx | 1060 | drivers/isdn/isdn_net.c | isdn_net_dev *p = dev->rx_netdev[idx]; |
idx | 1405 | drivers/isdn/isdn_net.c | isdn_net_find_icall(int di, int ch, int idx, char *num) |
idx | 1462 | drivers/isdn/isdn_net.c | printk(KERN_DEBUG "n_fi: di=%d ch=%d idx=%d usg=%d\n", di, ch, idx, |
idx | 1463 | drivers/isdn/isdn_net.c | dev->usage[idx]); |
idx | 1470 | drivers/isdn/isdn_net.c | isdn_net_swap_usage(idx, sidx); |
idx | 1485 | drivers/isdn/isdn_net.c | (USG_NONE(dev->usage[idx]))) || /* and ch. unused or */ |
idx | 1493 | drivers/isdn/isdn_net.c | if (dev->usage[idx] & ISDN_USAGE_EXCLUSIVE) { |
idx | 1533 | drivers/isdn/isdn_net.c | isdn_net_swap_usage(idx, sidx); |
idx | 1541 | drivers/isdn/isdn_net.c | if ((dev->usage[idx] & ISDN_USAGE_EXCLUSIVE) && |
idx | 1664 | drivers/isdn/isdn_net.c | dev->usage[idx] &= ISDN_USAGE_EXCLUSIVE; |
idx | 1665 | drivers/isdn/isdn_net.c | dev->usage[idx] |= ISDN_USAGE_NET; |
idx | 1666 | drivers/isdn/isdn_net.c | strcpy(dev->num[idx], nr); |
idx | 1668 | drivers/isdn/isdn_net.c | dev->st_netdev[idx] = lp->netdev; |
idx | 1223 | drivers/isdn/isdn_tty.c | int idx; |
idx | 1274 | drivers/isdn/isdn_tty.c | idx = isdn_dc2minor(di, ch); |
idx | 1277 | drivers/isdn/isdn_tty.c | printk(KERN_DEBUG "m_fi: idx=%d flags=%08lx drv=%d ch=%d usg=%d\n", idx, |
idx | 1279 | drivers/isdn/isdn_tty.c | dev->usage[idx]); |
idx | 1284 | drivers/isdn/isdn_tty.c | (USG_NONE(dev->usage[idx]))) { |
idx | 1287 | drivers/isdn/isdn_tty.c | info->drv_index = idx; |
idx | 1288 | drivers/isdn/isdn_tty.c | dev->m_idx[idx] = info->line; |
idx | 1289 | drivers/isdn/isdn_tty.c | dev->usage[idx] &= ISDN_USAGE_EXCLUSIVE; |
idx | 1290 | drivers/isdn/isdn_tty.c | dev->usage[idx] |= ISDN_USAGE_MODEM; |
idx | 1291 | drivers/isdn/isdn_tty.c | strcpy(dev->num[idx], nr); |
idx | 1592 | drivers/isdn/teles/card.c | teles_shiftcards(int idx) |
idx | 1596 | drivers/isdn/teles/card.c | for (i = idx; i < 15; i++) |
idx | 1456 | drivers/net/3c505.c | int idx = 0; |
idx | 1464 | drivers/net/3c505.c | 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 | 241 | drivers/sbus/char/suncons.c | int j, idx, oldpos; |
idx | 252 | drivers/sbus/char/suncons.c | idx = (pos - video_mem_base) >> 1; |
idx | 254 | drivers/sbus/char/suncons.c | cursor_pos = idx; |
idx | 264 | drivers/sbus/char/suncons.c | dst = (unsigned char *)((unsigned long)con_fb_base + FBUF_OFFSET(idx)); |
idx | 279 | drivers/sbus/char/suncons.c | dst = (unsigned long *)((unsigned long)con_fb_base + COLOR_FBUF_OFFSET(idx)); |
idx | 1527 | drivers/sbus/char/suncons.c | int j, idx; |
idx | 1534 | drivers/sbus/char/suncons.c | idx = (addr - video_mem_base) >> 1; |
idx | 1537 | drivers/sbus/char/suncons.c | if(idx == cursor_pos) |
idx | 1545 | drivers/sbus/char/suncons.c | dst = (unsigned char *)(((unsigned long)con_fb_base) + FBUF_OFFSET(idx)); |
idx | 1555 | drivers/sbus/char/suncons.c | dst = (unsigned long *)(((unsigned long)con_fb_base) + COLOR_FBUF_OFFSET(idx)); |
idx | 448 | drivers/scsi/wd7000.c | unchar idx[2]; /* index (MSB-LSB) */ |
idx | 1596 | drivers/sound/dmasound.c | int mode, i, idx; |
idx | 1601 | drivers/sound/dmasound.c | idx = -1; |
idx | 1607 | drivers/sound/dmasound.c | idx = i; |
idx | 1608 | drivers/sound/dmasound.c | if (idx > -1) { |
idx | 1609 | drivers/sound/dmasound.c | sound.soft.speed = freq[idx]; |
idx | 1710 | drivers/sound/dmasound.c | int divider, i, idx; |
idx | 1715 | drivers/sound/dmasound.c | idx = -1; |
idx | 1722 | drivers/sound/dmasound.c | idx = i; |
idx | 1723 | drivers/sound/dmasound.c | if (idx > -1) { |
idx | 1724 | drivers/sound/dmasound.c | sound.soft.speed = freq[idx]; |
idx | 616 | ipc/shm.c | unsigned int id, idx; |
idx | 633 | ipc/shm.c | idx = (SWP_OFFSET(code) >> SHM_IDX_SHIFT) & SHM_IDX_MASK; |
idx | 634 | ipc/shm.c | if (idx != (offset >> PAGE_SHIFT)) { |
idx | 636 | ipc/shm.c | idx, offset >> PAGE_SHIFT); |
idx | 639 | ipc/shm.c | if (idx >= shp->shm_npages) { |
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 | 658 | ipc/shm.c | pte_val(pte) = shp->shm_pages[idx]; |
idx | 668 | ipc/shm.c | shp->shm_pages[idx] = pte_val(pte); |
idx | 690 | ipc/shm.c | unsigned long id, idx; |
idx | 714 | ipc/shm.c | idx = swap_idx++; |
idx | 715 | ipc/shm.c | if (idx >= shp->shm_npages) |
idx | 718 | ipc/shm.c | pte_val(page) = shp->shm_pages[idx]; |
idx | 743 | ipc/shm.c | tmp = shmd->vm_start + (idx << PAGE_SHIFT) - shmd->vm_offset; |
idx | 749 | ipc/shm.c | id, shmd->vm_start, idx); |
idx | 756 | ipc/shm.c | id, shmd->vm_start, idx); |
idx | 772 | ipc/shm.c | __pte(shmd->vm_pte + SWP_ENTRY(0, idx << SHM_IDX_SHIFT))); |
idx | 785 | 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) |
idx | 685 | net/ipv4/ip_masq.c | int idx = 0; |
idx | 699 | net/ipv4/ip_masq.c | for(idx = 0; idx < IP_MASQ_TAB_SIZE; idx++) |
idx | 700 | net/ipv4/ip_masq.c | for(ms = ip_masq_m_tab[idx]; ms ; ms = ms->m_link) |
idx | 439 | net/ipv4/ip_masq_app.c | unsigned idx; |
idx | 445 | net/ipv4/ip_masq_app.c | for (idx=0 ; idx < IP_MASQ_APP_TAB_SIZE; idx++) |
idx | 446 | net/ipv4/ip_masq_app.c | for (mapp = ip_masq_app_base[idx]; mapp ; mapp = mapp->next) { |