tag | line | file | source code |
entry | 95 | arch/i386/kernel/bios32.c | unsigned long entry; /* 32 bit physical address */ |
entry | 127 | arch/i386/kernel/bios32.c | unsigned long entry; /* %edx */ |
entry | 133 | arch/i386/kernel/bios32.c | "=d" (entry) |
entry | 140 | arch/i386/kernel/bios32.c | return address + entry; |
entry | 432 | arch/i386/kernel/bios32.c | if (check->fields.entry >= 0x100000) { |
entry | 435 | arch/i386/kernel/bios32.c | bios32_indirect.address = bios32_entry = check->fields.entry; |
entry | 539 | drivers/block/aztcd.c | struct cdrom_tocentry entry; |
entry | 702 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
entry | 704 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 706 | drivers/block/aztcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 708 | drivers/block/aztcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 710 | drivers/block/aztcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 711 | drivers/block/aztcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 715 | drivers/block/aztcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 716 | drivers/block/aztcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 717 | drivers/block/aztcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 718 | drivers/block/aztcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 719 | drivers/block/aztcd.c | entry.cdte_addr.lba = azt_msf2hsg(&tocPtr -> diskTime); |
entry | 720 | drivers/block/aztcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 721 | drivers/block/aztcd.c | { entry.cdte_addr.msf.minute = azt_bcd2bin(tocPtr -> diskTime.min); |
entry | 722 | drivers/block/aztcd.c | entry.cdte_addr.msf.second = azt_bcd2bin(tocPtr -> diskTime.sec); |
entry | 723 | drivers/block/aztcd.c | entry.cdte_addr.msf.frame = azt_bcd2bin(tocPtr -> diskTime.frame); |
entry | 728 | drivers/block/aztcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 2351 | drivers/block/cdu31a.c | struct cdrom_tocentry *entry; |
entry | 2362 | drivers/block/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
entry | 2363 | drivers/block/cdu31a.c | i=verify_area(VERIFY_READ, entry, sizeof(*entry)); |
entry | 2366 | drivers/block/cdu31a.c | i=verify_area(VERIFY_WRITE, entry, sizeof(*entry)); |
entry | 2370 | drivers/block/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
entry | 2403 | drivers/block/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |
entry | 949 | drivers/block/cm206.c | struct cdrom_tocentry entry; |
entry | 952 | drivers/block/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(entry)); |
entry | 954 | drivers/block/cm206.c | memcpy_fromfs(&entry, (struct cdrom_tocentry *) arg, sizeof entry); |
entry | 955 | drivers/block/cm206.c | get_toc_entry(&entry); |
entry | 956 | drivers/block/cm206.c | memcpy_tofs((struct cdrom_tocentry *) arg, &entry, sizeof entry); |
entry | 302 | drivers/block/mcd.c | struct cdrom_tocentry entry; |
entry | 471 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 475 | drivers/block/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 476 | drivers/block/mcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 480 | drivers/block/mcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 481 | drivers/block/mcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 485 | drivers/block/mcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 487 | drivers/block/mcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 488 | drivers/block/mcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 490 | drivers/block/mcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 491 | drivers/block/mcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 493 | drivers/block/mcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 495 | drivers/block/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
entry | 496 | drivers/block/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
entry | 497 | drivers/block/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
entry | 503 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 300 | drivers/block/mcdx.c | struct cdrom_tocentry entry; |
entry | 308 | drivers/block/mcdx.c | if ((ans = verify_area(VERIFY_READ, (void *) arg, sizeof(entry)))) return ans; |
entry | 309 | drivers/block/mcdx.c | memcpy_fromfs(&entry, (void *) arg, sizeof(entry)); |
entry | 311 | drivers/block/mcdx.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 313 | drivers/block/mcdx.c | else if (entry.cdte_track > stuffp->di.n_last |
entry | 314 | drivers/block/mcdx.c | || entry.cdte_track < stuffp->di.n_first) return -EINVAL; |
entry | 315 | drivers/block/mcdx.c | else tp = &stuffp->toc[entry.cdte_track - stuffp->di.n_first]; |
entry | 319 | drivers/block/mcdx.c | entry.cdte_adr = tp->control; |
entry | 320 | drivers/block/mcdx.c | entry.cdte_ctrl = tp->control >> 4; |
entry | 322 | drivers/block/mcdx.c | if (entry.cdte_format == CDROM_MSF) { |
entry | 323 | drivers/block/mcdx.c | entry.cdte_addr.msf.minute = bcd2uint(tp->dt.minute); |
entry | 324 | drivers/block/mcdx.c | entry.cdte_addr.msf.second = bcd2uint(tp->dt.second); |
entry | 325 | drivers/block/mcdx.c | entry.cdte_addr.msf.frame = bcd2uint(tp->dt.frame); |
entry | 326 | drivers/block/mcdx.c | } else if (entry.cdte_format == CDROM_LBA) |
entry | 327 | drivers/block/mcdx.c | entry.cdte_addr.lba = msf2log(&tp->dt); |
entry | 330 | drivers/block/mcdx.c | if ((ans = verify_area(VERIFY_WRITE, (void*) arg, sizeof(entry)))) return ans; |
entry | 331 | drivers/block/mcdx.c | memcpy_tofs((void*) arg, &entry, sizeof(entry)); |
entry | 1089 | drivers/block/optcd.c | struct cdrom_tocentry entry; |
entry | 1092 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, sizeof entry))) |
entry | 1094 | drivers/block/optcd.c | if ((st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry))) |
entry | 1096 | drivers/block/optcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 1099 | drivers/block/optcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 1101 | drivers/block/optcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 1102 | drivers/block/optcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 1105 | drivers/block/optcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 1106 | drivers/block/optcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 1107 | drivers/block/optcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 1108 | drivers/block/optcd.c | switch (entry.cdte_format) { |
entry | 1110 | drivers/block/optcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 1113 | drivers/block/optcd.c | entry.cdte_addr.msf.minute = |
entry | 1115 | drivers/block/optcd.c | entry.cdte_addr.msf.second = |
entry | 1117 | drivers/block/optcd.c | entry.cdte_addr.msf.frame = |
entry | 1123 | drivers/block/optcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 1261 | drivers/block/sonycd535.c | struct cdrom_tocentry *entry; |
entry | 1270 | drivers/block/sonycd535.c | entry = (struct cdrom_tocentry *)arg; |
entry | 1271 | drivers/block/sonycd535.c | err = verify_area(VERIFY_WRITE /* and read */ , entry, sizeof *entry); |
entry | 1275 | drivers/block/sonycd535.c | memcpy_fromfs(&loc_entry, entry, sizeof loc_entry); |
entry | 1299 | drivers/block/sonycd535.c | memcpy_tofs(entry, &loc_entry, sizeof *entry); |
entry | 1135 | drivers/net/de4x5.c | int i, entry; |
entry | 1139 | drivers/net/de4x5.c | for (entry = lp->rx_new; lp->rx_ring[entry].status >= 0;entry = lp->rx_new) { |
entry | 1140 | drivers/net/de4x5.c | status = lp->rx_ring[entry].status; |
entry | 1143 | drivers/net/de4x5.c | lp->rx_old = entry; |
entry | 1154 | drivers/net/de4x5.c | short pkt_len = (short)(lp->rx_ring[entry].status >> 16) - 4; |
entry | 1160 | drivers/net/de4x5.c | if (entry < lp->rx_old) { /* Wrapped buffer */ |
entry | 1204 | drivers/net/de4x5.c | for (; lp->rx_old!=entry; lp->rx_old=(++lp->rx_old)%lp->rxRingSize) { |
entry | 1208 | drivers/net/de4x5.c | lp->rx_ring[entry].status = R_OWN; |
entry | 1229 | drivers/net/de4x5.c | int entry; |
entry | 1232 | drivers/net/de4x5.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 1233 | drivers/net/de4x5.c | status = lp->tx_ring[entry].status; |
entry | 1259 | drivers/net/de4x5.c | if (lp->skb[entry] != NULL) { |
entry | 1260 | drivers/net/de4x5.c | dev_kfree_skb(lp->skb[entry], FREE_WRITE); |
entry | 1261 | drivers/net/de4x5.c | lp->skb[entry] = NULL; |
entry | 2021 | drivers/net/de4x5.c | int i, entry, linkBad; |
entry | 2027 | drivers/net/de4x5.c | entry = lp->tx_new; /* Remember the ring position */ |
entry | 2039 | drivers/net/de4x5.c | if (lp->tx_ring[entry].status >= 0) linkBad=0; |
entry | 2044 | drivers/net/de4x5.c | return ((linkBad || (lp->tx_ring[entry].status & TD_ES)) ? 1 : 0); |
entry | 925 | drivers/net/depca.c | int i, entry; |
entry | 928 | drivers/net/depca.c | for (entry=lp->rx_new; |
entry | 929 | drivers/net/depca.c | !(readl(&lp->rx_ring[entry].base) & R_OWN); |
entry | 930 | drivers/net/depca.c | entry=lp->rx_new){ |
entry | 931 | drivers/net/depca.c | status = readl(&lp->rx_ring[entry].base) >> 16 ; |
entry | 933 | drivers/net/depca.c | lp->rx_old = entry; |
entry | 943 | drivers/net/depca.c | short len, pkt_len = readw(&lp->rx_ring[entry].msg_length); |
entry | 952 | drivers/net/depca.c | if (entry < lp->rx_old) { /* Wrapped buffer */ |
entry | 999 | drivers/net/depca.c | for (; lp->rx_old!=entry; lp->rx_old=(++lp->rx_old)&lp->rxRingMask) { |
entry | 1003 | drivers/net/depca.c | writel(readl(&lp->rx_ring[entry].base) | R_OWN, &lp->rx_ring[entry].base); |
entry | 1022 | drivers/net/depca.c | int entry; |
entry | 1026 | drivers/net/depca.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 1027 | drivers/net/depca.c | status = readl(&lp->tx_ring[entry].base) >> 16 ; |
entry | 1032 | drivers/net/depca.c | status = readl(&lp->tx_ring[entry].misc); |
entry | 1568 | drivers/net/depca.c | int i, entry, end, len, status = 0; |
entry | 1570 | drivers/net/depca.c | entry = lp->tx_new; /* Ring around buffer number. */ |
entry | 1571 | drivers/net/depca.c | end = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask; |
entry | 1577 | drivers/net/depca.c | if (end < entry) { /* wrapped buffer */ |
entry | 1578 | drivers/net/depca.c | len = (lp->txRingMask - entry + 1) * TX_BUFF_SZ; |
entry | 1579 | drivers/net/depca.c | memcpy_toio(lp->tx_memcpy[entry], skb->data, len); |
entry | 1582 | drivers/net/depca.c | memcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len); |
entry | 1587 | drivers/net/depca.c | for (i = entry; i != end; i = (++i) & lp->txRingMask) { |
entry | 1600 | drivers/net/depca.c | writel(readl(&lp->tx_ring[entry].base) | T_STP, &lp->tx_ring[entry].base); |
entry | 1604 | drivers/net/depca.c | for (i=end; i!=entry; --i) { |
entry | 1609 | drivers/net/depca.c | writel(readl(&lp->tx_ring[entry].base) | T_OWN, &lp->tx_ring[entry].base); |
entry | 715 | drivers/net/lance.c | int entry; |
entry | 785 | drivers/net/lance.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 792 | drivers/net/lance.c | lp->tx_ring[entry].length = |
entry | 795 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
entry | 797 | drivers/net/lance.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 805 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len); |
entry | 806 | drivers/net/lance.c | lp->tx_ring[entry].base = |
entry | 807 | drivers/net/lance.c | (int)(lp->tx_bounce_buffs + entry) | 0x83000000; |
entry | 810 | drivers/net/lance.c | lp->tx_skbuff[entry] = skb; |
entry | 811 | drivers/net/lance.c | lp->tx_ring[entry].base = (int)(skb->data) | 0x83000000; |
entry | 824 | drivers/net/lance.c | if (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0) |
entry | 873 | drivers/net/lance.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 874 | drivers/net/lance.c | int status = lp->tx_ring[entry].base; |
entry | 879 | drivers/net/lance.c | lp->tx_ring[entry].base = 0; |
entry | 883 | drivers/net/lance.c | int err_status = lp->tx_ring[entry].misc; |
entry | 905 | drivers/net/lance.c | if (lp->tx_skbuff[entry]) { |
entry | 906 | drivers/net/lance.c | dev_kfree_skb(lp->tx_skbuff[entry],FREE_WRITE); |
entry | 907 | drivers/net/lance.c | lp->tx_skbuff[entry] = 0; |
entry | 966 | drivers/net/lance.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 970 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
entry | 971 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
entry | 984 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
entry | 987 | drivers/net/lance.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
entry | 994 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
entry | 999 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 1008 | drivers/net/lance.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
entry | 1017 | drivers/net/lance.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
entry | 1018 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 1019 | drivers/net/lance.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 380 | drivers/net/tulip.c | int entry; |
entry | 425 | drivers/net/tulip.c | entry = tp->cur_tx % TX_RING_SIZE; |
entry | 428 | drivers/net/tulip.c | tp->tx_skbuff[entry] = skb; |
entry | 429 | drivers/net/tulip.c | tp->tx_ring[entry].length = skb->len | |
entry | 430 | drivers/net/tulip.c | (entry == TX_RING_SIZE-1 ? 0xe2000000 : 0xe0000000); |
entry | 431 | drivers/net/tulip.c | tp->tx_ring[entry].buffer1 = skb->data; |
entry | 432 | drivers/net/tulip.c | tp->tx_ring[entry].buffer2 = 0; |
entry | 433 | drivers/net/tulip.c | tp->tx_ring[entry].status = 0x80000000; /* Pass ownership to the chip. */ |
entry | 484 | drivers/net/tulip.c | int entry = dirty_tx % TX_RING_SIZE; |
entry | 485 | drivers/net/tulip.c | int status = lp->tx_ring[entry].status; |
entry | 510 | drivers/net/tulip.c | dev_kfree_skb(lp->tx_skbuff[entry], FREE_WRITE); |
entry | 577 | drivers/net/tulip.c | int entry = lp->cur_rx % RX_RING_SIZE; |
entry | 583 | drivers/net/tulip.c | while (lp->rx_ring[entry].status >= 0) { |
entry | 584 | drivers/net/tulip.c | int status = lp->rx_ring[entry].status; |
entry | 600 | drivers/net/tulip.c | short pkt_len = lp->rx_ring[entry].status >> 16; |
entry | 609 | drivers/net/tulip.c | if (lp->rx_ring[(entry+i) % RX_RING_SIZE].status < 0) |
entry | 614 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |
entry | 621 | drivers/net/tulip.c | memcpy(skb_put(skb,pkt_len), lp->rx_ring[entry].buffer1, pkt_len); |
entry | 627 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |
entry | 628 | drivers/net/tulip.c | entry = (++lp->cur_rx) % RX_RING_SIZE; |
entry | 342 | fs/msdos/misc.c | done = !strncmp(data[entry].name,name,MSDOS_NAME) && \ |
entry | 343 | fs/msdos/misc.c | !(data[entry].attr & ATTR_VOLUME); |
entry | 346 | fs/msdos/misc.c | done = !IS_FREE(data[entry].name) && CF_LE_W(data[entry].start) == *number; |
entry | 350 | fs/msdos/misc.c | done = IS_FREE(data[entry].name); \ |
entry | 352 | fs/msdos/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
entry | 364 | fs/msdos/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
entry | 375 | fs/msdos/misc.c | int entry,start,done; |
entry | 379 | fs/msdos/misc.c | for (entry = 0; entry < MSDOS_DPS; entry++) { |
entry | 389 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
entry | 390 | fs/msdos/misc.c | start = CF_LE_W(data[entry].start); |
entry | 394 | fs/msdos/misc.c | *res_de = &data[entry]; |
entry | 100 | fs/nfs/dir.c | struct nfs_entry *entry; |
entry | 117 | fs/nfs/dir.c | entry = NULL; |
entry | 129 | fs/nfs/dir.c | entry = c_entry + (index = i + 1); |
entry | 137 | fs/nfs/dir.c | if (!entry) { |
entry | 148 | fs/nfs/dir.c | entry = c_entry + (index = 0); |
entry | 153 | fs/nfs/dir.c | if (!entry) |
entry | 156 | fs/nfs/dir.c | int nextpos = entry->cookie; |
entry | 157 | fs/nfs/dir.c | if (filldir(dirent, entry->name, strlen(entry->name), filp->f_pos, entry->fileid) < 0) |
entry | 165 | fs/nfs/dir.c | if (nextpos != entry->cookie) |
entry | 168 | fs/nfs/dir.c | entry++; |
entry | 198 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 202 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 203 | fs/nfs/dir.c | if (entry->dev == dir->i_dev && entry->inode == dir->i_ino |
entry | 204 | fs/nfs/dir.c | && !strncmp(filename, entry->filename, NFS_MAXNAMLEN)) |
entry | 205 | fs/nfs/dir.c | return entry; |
entry | 216 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 222 | fs/nfs/dir.c | if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 223 | fs/nfs/dir.c | if (jiffies > entry->expiration_date) { |
entry | 224 | fs/nfs/dir.c | entry->dev = 0; |
entry | 227 | fs/nfs/dir.c | *fhandle = entry->fhandle; |
entry | 228 | fs/nfs/dir.c | *fattr = entry->fattr; |
entry | 239 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 245 | fs/nfs/dir.c | if (!(entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 246 | fs/nfs/dir.c | entry = nfs_lookup_cache + nfs_lookup_cache_pos++; |
entry | 250 | fs/nfs/dir.c | entry->dev = dir->i_dev; |
entry | 251 | fs/nfs/dir.c | entry->inode = dir->i_ino; |
entry | 252 | fs/nfs/dir.c | strcpy(entry->filename, filename); |
entry | 253 | fs/nfs/dir.c | entry->fhandle = *fhandle; |
entry | 254 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 255 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
entry | 262 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 271 | fs/nfs/dir.c | else if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 272 | fs/nfs/dir.c | dev = entry->dev; |
entry | 273 | fs/nfs/dir.c | fileid = entry->fattr.fileid; |
entry | 278 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 279 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 280 | fs/nfs/dir.c | entry->dev = 0; |
entry | 287 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 293 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 294 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 295 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 205 | fs/nfs/proc.c | static int *xdr_decode_entry(int *p, struct nfs_entry *entry) |
entry | 207 | fs/nfs/proc.c | entry->fileid = ntohl(*p++); |
entry | 208 | fs/nfs/proc.c | if (!(p = xdr_decode_string(p, entry->name, NFS_MAXNAMLEN))) |
entry | 210 | fs/nfs/proc.c | entry->cookie = ntohl(*p++); |
entry | 211 | fs/nfs/proc.c | entry->eof = 0; |
entry | 730 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
entry | 756 | fs/nfs/proc.c | if (!(p = xdr_decode_entry(p, entry++))) |
entry | 767 | fs/nfs/proc.c | entry[-1].eof = 1; |
entry | 62 | fs/nfs/sock.c | struct select_table_entry entry; |
entry | 115 | fs/nfs/sock.c | wait_table.entry = &entry; |
entry | 129 | fs/nfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 159 | fs/nfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 50 | fs/select.c | struct select_table_entry * entry = p->entry + p->nr; |
entry | 54 | fs/select.c | entry--; |
entry | 55 | fs/select.c | remove_wait_queue(entry->wait_address,&entry->wait); |
entry | 90 | fs/select.c | struct select_table_entry *entry; |
entry | 114 | fs/select.c | if(!(entry = (struct select_table_entry*) __get_free_page(GFP_KERNEL))) |
entry | 121 | fs/select.c | wait_table.entry = entry; |
entry | 148 | fs/select.c | free_page((unsigned long) entry); |
entry | 166 | fs/smbfs/dir.c | struct smb_dirent *entry = NULL; |
entry | 199 | fs/smbfs/dir.c | entry = &c_entry[i]; |
entry | 204 | fs/smbfs/dir.c | if ((entry == NULL) && c_seen_eof) |
entry | 208 | fs/smbfs/dir.c | if (entry == NULL) { |
entry | 223 | fs/smbfs/dir.c | entry = c_entry; |
entry | 240 | fs/smbfs/dir.c | if (entry) { |
entry | 253 | fs/smbfs/dir.c | i = strlen(entry->path); |
entry | 254 | fs/smbfs/dir.c | if ((result = get_pname_static(inode, entry->path, i, |
entry | 268 | fs/smbfs/dir.c | DDPRINTK("smb_readdir: entry->path = %s\n", entry->path); |
entry | 269 | fs/smbfs/dir.c | DDPRINTK("smb_readdir: entry->f_pos = %ld\n", entry->f_pos); |
entry | 275 | fs/smbfs/dir.c | *ret = *entry; |
entry | 768 | fs/smbfs/dir.c | struct smb_dirent entry; |
entry | 784 | fs/smbfs/dir.c | entry.attr = 0; |
entry | 785 | fs/smbfs/dir.c | entry.ctime = CURRENT_TIME; |
entry | 786 | fs/smbfs/dir.c | entry.atime = CURRENT_TIME; |
entry | 787 | fs/smbfs/dir.c | entry.mtime = CURRENT_TIME; |
entry | 788 | fs/smbfs/dir.c | entry.size = 0; |
entry | 790 | fs/smbfs/dir.c | error = smb_proc_create(SMB_SERVER(dir), path, len, &entry); |
entry | 799 | fs/smbfs/dir.c | if (!(*result = smb_iget(dir, path, &entry)) < 0) { |
entry | 546 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 590 | fs/smbfs/proc.c | entry->fileid = WVAL(buf, smb_vwv0); |
entry | 591 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv1); |
entry | 592 | fs/smbfs/proc.c | entry->ctime = entry->atime = |
entry | 593 | fs/smbfs/proc.c | entry->mtime = local2utc(DVAL(buf, smb_vwv2)); |
entry | 594 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv4); |
entry | 595 | fs/smbfs/proc.c | entry->access = WVAL(buf, smb_vwv6); |
entry | 599 | fs/smbfs/proc.c | entry->access &= 3; |
entry | 600 | fs/smbfs/proc.c | DPRINTK("smb_proc_open: entry->access = %d\n", entry->access); |
entry | 690 | fs/smbfs/proc.c | struct smb_dirent *entry, word command) |
entry | 699 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, entry->attr); |
entry | 700 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, utc2local(entry->ctime)); |
entry | 711 | fs/smbfs/proc.c | entry->opened = 1; |
entry | 712 | fs/smbfs/proc.c | entry->fileid = WVAL(buf, smb_vwv0); |
entry | 715 | fs/smbfs/proc.c | smb_proc_close(server, entry); |
entry | 722 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 724 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBcreate); |
entry | 729 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 731 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBmknew); |
entry | 852 | fs/smbfs/proc.c | smb_decode_dirent(char *p, struct smb_dirent *entry) |
entry | 855 | fs/smbfs/proc.c | entry->attr = BVAL(p, 0); |
entry | 856 | fs/smbfs/proc.c | entry->mtime = entry->atime = entry->ctime = |
entry | 858 | fs/smbfs/proc.c | entry->size = DVAL(p, 5); |
entry | 859 | fs/smbfs/proc.c | memcpy(entry->path, p+9, 13); |
entry | 860 | fs/smbfs/proc.c | DDPRINTK("smb_decode_dirent: path = %s\n", entry->path); |
entry | 870 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 899 | fs/smbfs/proc.c | current_entry = entry; |
entry | 976 | fs/smbfs/proc.c | "%lu\n", entry->f_pos); |
entry | 1074 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 1119 | fs/smbfs/proc.c | current_entry = entry; |
entry | 1263 | fs/smbfs/proc.c | "%lu\n", entry->f_pos); |
entry | 1301 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 1305 | fs/smbfs/proc.c | entry); |
entry | 1308 | fs/smbfs/proc.c | entry); |
entry | 1313 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 1335 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv0); |
entry | 1336 | fs/smbfs/proc.c | entry->ctime = entry->atime = /* The server only tells us 1 time */ |
entry | 1337 | fs/smbfs/proc.c | entry->mtime = local2utc(DVAL(buf, smb_vwv1)); |
entry | 1339 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv3); |
entry | 1347 | fs/smbfs/proc.c | smb_proc_getattrE(struct smb_server *server, struct smb_dirent *entry) |
entry | 1353 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, entry->fileid); |
entry | 1360 | fs/smbfs/proc.c | entry->ctime = date_dos2unix(WVAL(buf, smb_vwv1), WVAL(buf, smb_vwv0)); |
entry | 1361 | fs/smbfs/proc.c | entry->atime = date_dos2unix(WVAL(buf, smb_vwv3), WVAL(buf, smb_vwv2)); |
entry | 1362 | fs/smbfs/proc.c | entry->mtime = date_dos2unix(WVAL(buf, smb_vwv5), WVAL(buf, smb_vwv4)); |
entry | 1363 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv6); |
entry | 1364 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv10); |
entry | 1372 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 1383 | fs/smbfs/proc.c | return smb_proc_getattr_core(server,path,len,entry); |
entry | 1387 | fs/smbfs/proc.c | entry->attr = temp_entry.attr; |
entry | 1388 | fs/smbfs/proc.c | entry->atime = temp_entry.atime; |
entry | 1389 | fs/smbfs/proc.c | entry->mtime = temp_entry.mtime; |
entry | 1390 | fs/smbfs/proc.c | entry->ctime = temp_entry.ctime; |
entry | 1391 | fs/smbfs/proc.c | entry->size = temp_entry.size; |
entry | 1398 | fs/smbfs/proc.c | return smb_proc_getattr_core(server, path, len, entry); |
entry | 170 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 172 | fs/umsdos/dir.c | if (umsdos_emd_dir_readentry (emd_dir,filp,&entry)!=0){ |
entry | 175 | fs/umsdos/dir.c | }else if (entry.name_len != 0){ |
entry | 197 | fs/umsdos/dir.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 203 | fs/umsdos/dir.c | ,info.fake.fname,lret,entry.flags)); |
entry | 205 | fs/umsdos/dir.c | && (entry.flags & UMSDOS_HLINK) |
entry | 221 | fs/umsdos/dir.c | || !(entry.flags & UMSDOS_HIDDEN))){ |
entry | 223 | fs/umsdos/dir.c | ,entry.name,entry.name_len |
entry | 228 | fs/umsdos/dir.c | if (u_entry != NULL) *u_entry = entry; |
entry | 279 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 281 | fs/umsdos/dir.c | ret = umsdos_readdir_x (dir,filp,&bufk,0,&entry,1,umsdos_dir_once); |
entry | 295 | fs/umsdos/dir.c | struct umsdos_dirent *entry, |
entry | 347 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
entry | 348 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
entry | 349 | fs/umsdos/dir.c | inode->i_rdev = entry->rdev; |
entry | 350 | fs/umsdos/dir.c | inode->i_atime = entry->atime; |
entry | 351 | fs/umsdos/dir.c | inode->i_ctime = entry->ctime; |
entry | 352 | fs/umsdos/dir.c | inode->i_mtime = entry->mtime; |
entry | 353 | fs/umsdos/dir.c | inode->i_uid = entry->uid; |
entry | 354 | fs/umsdos/dir.c | inode->i_gid = entry->gid; |
entry | 399 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
entry | 400 | fs/umsdos/dir.c | if (entry->nlink > 0){ |
entry | 401 | fs/umsdos/dir.c | inode->i_nlink = entry->nlink; |
entry | 434 | fs/umsdos/dir.c | struct umsdos_dirent *entry; |
entry | 450 | fs/umsdos/dir.c | memcpy (d->entry->name,name,name_len); |
entry | 451 | fs/umsdos/dir.c | d->entry->name[name_len] = '\0'; |
entry | 452 | fs/umsdos/dir.c | d->entry->name_len = name_len; |
entry | 469 | fs/umsdos/dir.c | struct umsdos_dirent *entry) /* Will hold the entry */ |
entry | 477 | fs/umsdos/dir.c | memcpy (entry->name,UMSDOS_PSDROOT_NAME,UMSDOS_PSDROOT_LEN+1); |
entry | 478 | fs/umsdos/dir.c | entry->name_len = UMSDOS_PSDROOT_LEN; |
entry | 489 | fs/umsdos/dir.c | bufk.entry = entry; |
entry | 506 | fs/umsdos/dir.c | ,1,entry,0,umsdos_filldir_k) < 0){ |
entry | 512 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,entry,bufk.f_pos); |
entry | 527 | fs/umsdos/dir.c | struct umsdos_dirent *entry) |
entry | 535 | fs/umsdos/dir.c | ret = umsdos_inode2entry (adir,dir,entry); |
entry | 556 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 564 | fs/umsdos/dir.c | ret = umsdos_inode2entry (dir,inode,&entry); |
entry | 566 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 567 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 577 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (dir,&adir,&entry); |
entry | 583 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 584 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 664 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 665 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (*result,&aadir,&entry); |
entry | 699 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
entry | 701 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
entry | 703 | fs/umsdos/dir.c | ,info.entry.flags)); |
entry | 704 | fs/umsdos/dir.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 146 | fs/umsdos/emd.c | struct umsdos_dirent *entry) |
entry | 148 | fs/umsdos/emd.c | int ret = umsdos_emd_dir_read(emd_dir,filp,(char*)entry,UMSDOS_REC_SIZE); |
entry | 151 | fs/umsdos/emd.c | int recsize = umsdos_evalrecsize (entry->name_len); |
entry | 154 | fs/umsdos/emd.c | ,((char*)entry)+UMSDOS_REC_SIZE,recsize - UMSDOS_REC_SIZE); |
entry | 172 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 182 | fs/umsdos/emd.c | entry = &entry0; |
entry | 183 | fs/umsdos/emd.c | }else if (entry->name_len > 0){ |
entry | 184 | fs/umsdos/emd.c | memset (entry->name+entry->name_len,'\0' |
entry | 185 | fs/umsdos/emd.c | ,sizeof(entry->name)-entry->name_len); |
entry | 192 | fs/umsdos/emd.c | memset (entry->spare,0,sizeof(entry->spare)); |
entry | 196 | fs/umsdos/emd.c | ret = umsdos_emd_dir_write(emd_dir,&filp,(char*)entry,info->recsize); |
entry | 282 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 313 | fs/umsdos/emd.c | if (entry->name_len == 0){ |
entry | 342 | fs/umsdos/emd.c | if (entry->name_len == rentry->name_len |
entry | 343 | fs/umsdos/emd.c | && memcmp(entry->name,rentry->name,rentry->name_len) |
entry | 346 | fs/umsdos/emd.c | *entry = *rentry; |
entry | 393 | fs/umsdos/emd.c | info->entry.name_len = 0; |
entry | 402 | fs/umsdos/emd.c | info->entry.name_len = sprintf (info->entry.name,"..LINK%ld" |
entry | 422 | fs/umsdos/emd.c | if (info->entry.name_len != 0){ |
entry | 423 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
entry | 424 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 458 | fs/umsdos/emd.c | struct umsdos_dirent entry; |
entry | 459 | fs/umsdos/emd.c | if (umsdos_emd_dir_readentry(emd_dir,&filp,&entry)!=0){ |
entry | 462 | fs/umsdos/emd.c | }else if (entry.name_len != 0){ |
entry | 487 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 321 | fs/umsdos/inode.c | struct umsdos_dirent entry; |
entry | 327 | fs/umsdos/inode.c | ret = umsdos_emd_dir_read (emd_owner,&filp,(char*)&entry |
entry | 331 | fs/umsdos/inode.c | entry.uid = attr->ia_uid; |
entry | 333 | fs/umsdos/inode.c | entry.gid = attr->ia_gid; |
entry | 335 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
entry | 337 | fs/umsdos/inode.c | entry.atime = attr->ia_atime; |
entry | 339 | fs/umsdos/inode.c | entry.mtime = attr->ia_mtime; |
entry | 341 | fs/umsdos/inode.c | entry.ctime = attr->ia_ctime; |
entry | 343 | fs/umsdos/inode.c | entry.nlink = inode->i_nlink; |
entry | 345 | fs/umsdos/inode.c | ret = umsdos_emd_dir_write (emd_owner,&filp,(char*)&entry |
entry | 350 | fs/umsdos/inode.c | ,ret,entry.nlink)); |
entry | 145 | fs/umsdos/ioctl.c | struct umsdos_dirent entry; |
entry | 147 | fs/umsdos/ioctl.c | ret = umsdos_emd_dir_readentry (emd_dir,filp,&entry); |
entry | 150 | fs/umsdos/ioctl.c | }else if (entry.name_len > 0){ |
entry | 152 | fs/umsdos/ioctl.c | ret = entry.name_len; |
entry | 153 | fs/umsdos/ioctl.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 156 | fs/umsdos/ioctl.c | memcpy_tofs(&idata->umsdos_dirent,&entry |
entry | 157 | fs/umsdos/ioctl.c | ,sizeof(entry)); |
entry | 204 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 236 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 378 | fs/umsdos/mangle.c | memcpy (info->entry.name,fname,len); |
entry | 379 | fs/umsdos/mangle.c | info->entry.name_len = len; |
entry | 220 | fs/umsdos/namei.c | info.entry.mode = mode; |
entry | 221 | fs/umsdos/namei.c | info.entry.rdev = rdev; |
entry | 222 | fs/umsdos/namei.c | info.entry.flags = flags; |
entry | 223 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
entry | 224 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
entry | 226 | fs/umsdos/namei.c | info.entry.ctime = info.entry.atime = info.entry.mtime |
entry | 228 | fs/umsdos/namei.c | info.entry.nlink = 1; |
entry | 237 | fs/umsdos/namei.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
entry | 290 | fs/umsdos/namei.c | new_info->entry.mode = old_info->entry.mode; |
entry | 291 | fs/umsdos/namei.c | new_info->entry.rdev = old_info->entry.rdev; |
entry | 292 | fs/umsdos/namei.c | new_info->entry.uid = old_info->entry.uid; |
entry | 293 | fs/umsdos/namei.c | new_info->entry.gid = old_info->entry.gid; |
entry | 294 | fs/umsdos/namei.c | new_info->entry.ctime = old_info->entry.ctime; |
entry | 295 | fs/umsdos/namei.c | new_info->entry.atime = old_info->entry.atime; |
entry | 296 | fs/umsdos/namei.c | new_info->entry.mtime = old_info->entry.mtime; |
entry | 297 | fs/umsdos/namei.c | new_info->entry.flags = flags ? flags : old_info->entry.flags; |
entry | 298 | fs/umsdos/namei.c | new_info->entry.nlink = old_info->entry.nlink; |
entry | 339 | fs/umsdos/namei.c | current->fsuid == old_info.entry.uid || |
entry | 346 | fs/umsdos/namei.c | current->fsuid == new_info.entry.uid || |
entry | 365 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
entry | 369 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
entry | 382 | fs/umsdos/namei.c | PRINTK (("rename lookup len %d %d -- ",new_len,new_info.entry.flags)); |
entry | 388 | fs/umsdos/namei.c | ,new_info.entry.name); |
entry | 577 | fs/umsdos/namei.c | struct umsdos_dirent entry; |
entry | 579 | fs/umsdos/namei.c | ret = umsdos_inode2entry (olddir,oldinode,&entry); |
entry | 582 | fs/umsdos/namei.c | ,entry.name |
entry | 583 | fs/umsdos/namei.c | ,oldinode->i_ino,entry.flags)); |
entry | 584 | fs/umsdos/namei.c | if (!(entry.flags & UMSDOS_HIDDEN)){ |
entry | 601 | fs/umsdos/namei.c | ret = umsdos_rename_f (olddir,entry.name |
entry | 602 | fs/umsdos/namei.c | ,entry.name_len |
entry | 603 | fs/umsdos/namei.c | ,olddir,info.entry.name,info.entry.name_len |
entry | 616 | fs/umsdos/namei.c | ,entry.name |
entry | 617 | fs/umsdos/namei.c | ,entry.name_len,path |
entry | 693 | fs/umsdos/namei.c | info.entry.mode = mode | S_IFDIR; |
entry | 694 | fs/umsdos/namei.c | info.entry.rdev = 0; |
entry | 695 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
entry | 696 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
entry | 698 | fs/umsdos/namei.c | info.entry.ctime = info.entry.atime = info.entry.mtime |
entry | 700 | fs/umsdos/namei.c | info.entry.flags = 0; |
entry | 702 | fs/umsdos/namei.c | info.entry.nlink = 1; |
entry | 947 | fs/umsdos/namei.c | current->fsuid == info.entry.uid || |
entry | 949 | fs/umsdos/namei.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 971 | fs/umsdos/namei.c | struct umsdos_dirent entry; |
entry | 972 | fs/umsdos/namei.c | ret = umsdos_inode2entry (hdir,inode,&entry); |
entry | 974 | fs/umsdos/namei.c | ret = UMSDOS_unlink (hdir,entry.name |
entry | 975 | fs/umsdos/namei.c | ,entry.name_len); |
entry | 995 | fs/umsdos/namei.c | ,info.entry.mode,ret)); |
entry | 29 | include/asm-alpha/a.out.h | __u64 entry; |
entry | 66 | include/asm-alpha/a.out.h | #define a_entry ah.entry |
entry | 419 | include/asm-alpha/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 32) & 0xff) |
entry | 420 | include/asm-alpha/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 40) |
entry | 333 | include/asm-i386/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 334 | include/asm-i386/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 33 | include/asm-sparc/cache.h | extern inline void put_icache_tag(int setnum, int tagnum, unsigned int entry) |
entry | 39 | include/asm-sparc/cache.h | "r" (entry), "r" (vaddr), "i" (ASI_M_TXTC_TAG) : |
entry | 249 | include/asm-sparc/page.h | register unsigned long entry; |
entry | 252 | include/asm-sparc/page.h | "=r" (entry) : |
entry | 255 | include/asm-sparc/page.h | return (entry&0xff); |
entry | 258 | include/asm-sparc/page.h | extern __inline__ void put_segmap(unsigned long addr, unsigned long entry) |
entry | 261 | include/asm-sparc/page.h | __asm__ __volatile__("stba %1, [%0] %2" : : "r" (addr), "r" (entry&0xff), |
entry | 269 | include/asm-sparc/page.h | register unsigned long entry; |
entry | 272 | include/asm-sparc/page.h | "=r" (entry) : |
entry | 274 | include/asm-sparc/page.h | return entry; |
entry | 277 | include/asm-sparc/page.h | extern __inline__ void put_pte(unsigned long addr, unsigned long entry) |
entry | 281 | include/asm-sparc/page.h | "r" (entry), "i" (ASI_PTE)); |
entry | 136 | include/linux/coff.h | char entry[4]; /* entry pt. */ |
entry | 30 | include/linux/ldt.h | extern int set_ldt_entry(int entry, unsigned long base, unsigned int limit, |
entry | 273 | include/linux/mm.h | unsigned long entry; |
entry | 278 | include/linux/mm.h | entry = xchg(swap_cache + MAP_NR(addr), 0); |
entry | 280 | include/linux/mm.h | if (entry) |
entry | 283 | include/linux/mm.h | return entry; |
entry | 288 | include/linux/mm.h | unsigned long entry; |
entry | 293 | include/linux/mm.h | entry= xchg(swap_cache + MAP_NR(addr), 0); |
entry | 294 | include/linux/mm.h | if (entry) { |
entry | 298 | include/linux/mm.h | swap_free(entry); |
entry | 86 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
entry | 368 | include/linux/sched.h | struct select_table_entry * entry; |
entry | 374 | include/linux/sched.h | entry = p->entry + p->nr; |
entry | 375 | include/linux/sched.h | entry->wait_address = wait_address; |
entry | 376 | include/linux/sched.h | entry->wait.task = current; |
entry | 377 | include/linux/sched.h | entry->wait.next = NULL; |
entry | 378 | include/linux/sched.h | add_wait_queue(wait_address,&entry->wait); |
entry | 128 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 135 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 137 | include/linux/smb_fs.h | struct smb_dirent *entry); |
entry | 146 | include/linux/smb_fs.h | struct smb_dirent *entry); |
entry | 148 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 62 | include/linux/umsdos_fs.h | struct umsdos_dirent entry; |
entry | 31 | include/linux/wait.h | struct select_table_entry * entry; |
entry | 103 | mm/filemap.c | unsigned long entry = SWP_ENTRY(SHM_SWP_TYPE, MAP_NR(page)); |
entry | 105 | mm/filemap.c | pte_val(*page_table) = entry; |
entry | 108 | mm/filemap.c | if (pte_val(*page_table) == entry) |
entry | 120 | mm/filemap.c | unsigned long entry) |
entry | 122 | mm/filemap.c | unsigned long page = SWP_OFFSET(entry); |
entry | 978 | mm/memory.c | pte_t * page_table, pte_t entry, int write_access) |
entry | 983 | mm/memory.c | swap_in(vma, page_table, pte_val(entry), write_access); |
entry | 986 | mm/memory.c | page = vma->vm_ops->swapin(vma, address - vma->vm_start + vma->vm_offset, pte_val(entry)); |
entry | 987 | mm/memory.c | if (pte_val(*page_table) != pte_val(entry)) { |
entry | 1009 | mm/memory.c | pte_t entry; |
entry | 1015 | mm/memory.c | entry = *page_table; |
entry | 1016 | mm/memory.c | if (pte_present(entry)) |
entry | 1018 | mm/memory.c | if (!pte_none(entry)) { |
entry | 1019 | mm/memory.c | do_swap_page(vma, address, page_table, entry, write_access); |
entry | 1063 | mm/memory.c | entry = mk_pte(page, vma->vm_page_prot); |
entry | 1065 | mm/memory.c | entry = pte_mkwrite(pte_mkdirty(entry)); |
entry | 1067 | mm/memory.c | entry = pte_wrprotect(entry); |
entry | 1068 | mm/memory.c | put_page(page_table, entry); |
entry | 39 | mm/mprotect.c | pte_t entry = *pte; |
entry | 40 | mm/mprotect.c | if (pte_present(entry)) |
entry | 41 | mm/mprotect.c | *pte = pte_modify(entry, newprot); |
entry | 77 | mm/swap.c | static int add_to_swap_cache(unsigned long addr, unsigned long entry) |
entry | 79 | mm/swap.c | struct swap_info_struct * p = &swap_info[SWP_TYPE(entry)]; |
entry | 85 | mm/swap.c | entry = xchg(swap_cache + MAP_NR(addr), entry); |
entry | 86 | mm/swap.c | if (entry) { |
entry | 109 | mm/swap.c | void rw_swap_page(int rw, unsigned long entry, char * buf) |
entry | 114 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 120 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 126 | mm/swap.c | printk("Hmm.. Trying to use unallocated swap (%08lx)\n", entry); |
entry | 190 | mm/swap.c | unsigned long offset, entry; |
entry | 210 | mm/swap.c | entry = SWP_ENTRY(type,offset); |
entry | 218 | mm/swap.c | return entry; |
entry | 233 | mm/swap.c | void swap_duplicate(unsigned long entry) |
entry | 238 | mm/swap.c | if (!entry) |
entry | 240 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 241 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 261 | mm/swap.c | void swap_free(unsigned long entry) |
entry | 266 | mm/swap.c | if (!entry) |
entry | 268 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 276 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 290 | mm/swap.c | printk("swap_free: swap-space map bad (entry %08lx)\n",entry); |
entry | 307 | mm/swap.c | unsigned long entry, int write_access) |
entry | 311 | mm/swap.c | if (pte_val(*page_table) != entry) { |
entry | 317 | mm/swap.c | swap_free(entry); |
entry | 321 | mm/swap.c | read_swap_page(entry, (char *) page); |
entry | 322 | mm/swap.c | if (pte_val(*page_table) != entry) { |
entry | 328 | mm/swap.c | if (!write_access && add_to_swap_cache(page, entry)) { |
entry | 333 | mm/swap.c | swap_free(entry); |
entry | 351 | mm/swap.c | unsigned long entry; |
entry | 375 | mm/swap.c | if (!(entry = get_swap_page())) |
entry | 378 | mm/swap.c | pte_val(*page_table) = entry; |
entry | 380 | mm/swap.c | write_swap_page(entry, (char *) page); |
entry | 385 | mm/swap.c | if ((entry = find_in_swap_cache(page))) { |
entry | 392 | mm/swap.c | pte_val(*page_table) = entry; |
entry | 400 | mm/swap.c | entry = mem_map[MAP_NR(page)]; |
entry | 402 | mm/swap.c | return entry; |
entry | 641 | mm/swap.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 643 | mm/swap.c | entry->prev = head; |
entry | 644 | mm/swap.c | (entry->next = head->next)->prev = entry; |
entry | 645 | mm/swap.c | head->next = entry; |
entry | 648 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 650 | mm/swap.c | entry->next->prev = entry->prev; |
entry | 651 | mm/swap.c | entry->prev->next = entry->next; |
entry | 30 | mm/vmalloc.c | static inline void set_pgdir(unsigned long address, pgd_t entry) |
entry | 35 | mm/vmalloc.c | *pgd_offset(p,address) = entry; |
entry | 126 | net/802/tr.c | rif_cache entry; |
entry | 137 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->daddr[0]),TR_ALEN);entry=entry->next); |
entry | 139 | net/802/tr.c | if(entry) { |
entry | 144 | net/802/tr.c | if((ntohs(entry->rcf) & TR_RCF_LEN_MASK) >> 8) { |
entry | 145 | net/802/tr.c | trh->rcf=entry->rcf; |
entry | 146 | net/802/tr.c | memcpy(&trh->rseg[0],&entry->rseg[0],8*sizeof(unsigned short)); |
entry | 151 | net/802/tr.c | entry->last_used=jiffies; |
entry | 167 | net/802/tr.c | rif_cache entry; |
entry | 176 | net/802/tr.c | for(entry=rif_table[hash];entry && memcmp(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN);entry=entry->next); |
entry | 178 | net/802/tr.c | if(entry==NULL) { |
entry | 185 | net/802/tr.c | entry=kmalloc(sizeof(struct rif_cache_s),GFP_ATOMIC); |
entry | 186 | net/802/tr.c | if(!entry) { |
entry | 190 | net/802/tr.c | entry->rcf=trh->rcf; |
entry | 191 | net/802/tr.c | memcpy(&(entry->rseg[0]),&(trh->rseg[0]),8*sizeof(unsigned short)); |
entry | 192 | net/802/tr.c | memcpy(&(entry->addr[0]),&(trh->saddr[0]),TR_ALEN); |
entry | 193 | net/802/tr.c | entry->next=rif_table[hash]; |
entry | 194 | net/802/tr.c | entry->last_used=jiffies; |
entry | 195 | net/802/tr.c | rif_table[hash]=entry; |
entry | 199 | net/802/tr.c | if ( entry->rcf != trh->rcf ) { |
entry | 207 | net/802/tr.c | entry->rcf = trh->rcf; |
entry | 208 | net/802/tr.c | memcpy(&(entry->rseg[0]),&(trh->rseg[0]),8*sizeof(unsigned short)); |
entry | 209 | net/802/tr.c | entry->last_used=jiffies; |
entry | 226 | net/802/tr.c | rif_cache entry, *pentry=rif_table+i; |
entry | 228 | net/802/tr.c | while((entry=*pentry)) |
entry | 229 | net/802/tr.c | if((now-entry->last_used) > RIF_TIMEOUT) { |
entry | 230 | net/802/tr.c | *pentry=entry->next; |
entry | 231 | net/802/tr.c | kfree_s(entry,sizeof(struct rif_cache_s)); |
entry | 234 | net/802/tr.c | pentry=&entry->next; |
entry | 251 | net/802/tr.c | rif_cache entry; |
entry | 259 | net/802/tr.c | for(entry=rif_table[i];entry;entry=entry->next) { |
entry | 261 | net/802/tr.c | entry->addr[0],entry->addr[1],entry->addr[2],entry->addr[3],entry->addr[4],entry->addr[5], |
entry | 262 | net/802/tr.c | entry->rcf,entry->rseg[0],entry->rseg[1],entry->rseg[2],entry->rseg[3], |
entry | 263 | net/802/tr.c | entry->rseg[4],entry->rseg[5],entry->rseg[6],entry->rseg[7],jiffies-entry->last_used); |
entry | 211 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 214 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 216 | net/ipv4/arp.c | if ((now - entry->last_used) > ARP_TIMEOUT |
entry | 217 | net/ipv4/arp.c | && !(entry->flags & ATF_PERM)) |
entry | 219 | net/ipv4/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 221 | net/ipv4/arp.c | del_timer(&entry->timer); /* Paranoia */ |
entry | 222 | net/ipv4/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 225 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 244 | net/ipv4/arp.c | static void arp_release_entry(struct arp_table *entry) |
entry | 252 | net/ipv4/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 259 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 260 | net/ipv4/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 284 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 287 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 289 | net/ipv4/arp.c | if(entry->dev==dev) |
entry | 291 | net/ipv4/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 292 | net/ipv4/arp.c | del_timer(&entry->timer); /* Paranoia */ |
entry | 293 | net/ipv4/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 296 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 387 | net/ipv4/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
entry | 401 | net/ipv4/arp.c | if (entry->flags & ATF_COM) |
entry | 407 | net/ipv4/arp.c | if (--entry->retries > 0) |
entry | 409 | net/ipv4/arp.c | u32 ip = entry->ip; |
entry | 410 | net/ipv4/arp.c | struct device *dev = entry->dev; |
entry | 413 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 414 | net/ipv4/arp.c | entry->timer.expires = ARP_RES_TIME; |
entry | 415 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 429 | net/ipv4/arp.c | hash = HASH(entry->ip); |
entry | 434 | net/ipv4/arp.c | if (entry->flags & ATF_PUBL) |
entry | 440 | net/ipv4/arp.c | if (*pentry == entry) |
entry | 442 | net/ipv4/arp.c | *pentry = entry->next; /* delete from linked list */ |
entry | 443 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 445 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 463 | net/ipv4/arp.c | static void arp_send_q(struct arp_table *entry, unsigned char *hw_dest) |
entry | 473 | net/ipv4/arp.c | if(!(entry->flags&ATF_COM)) |
entry | 476 | net/ipv4/arp.c | in_ntoa(entry->ip)); |
entry | 483 | net/ipv4/arp.c | while((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 508 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 518 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 520 | net/ipv4/arp.c | if (entry->ip == ip_addr) |
entry | 522 | net/ipv4/arp.c | if ((entry->flags & ATF_PERM) && !force) |
entry | 524 | net/ipv4/arp.c | *pentry = entry->next; |
entry | 525 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 527 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 535 | net/ipv4/arp.c | pentry = &entry->next; |
entry | 561 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 757 | net/ipv4/arp.c | for(entry=arp_tables[hash];entry;entry=entry->next) |
entry | 758 | net/ipv4/arp.c | if(entry->ip==sip && entry->htype==htype) |
entry | 761 | net/ipv4/arp.c | if(entry) |
entry | 766 | net/ipv4/arp.c | memcpy(entry->ha, sha, hlen); |
entry | 767 | net/ipv4/arp.c | entry->hlen = hlen; |
entry | 768 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 769 | net/ipv4/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 775 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 776 | net/ipv4/arp.c | entry->flags |= ATF_COM; |
entry | 783 | net/ipv4/arp.c | arp_send_q(entry, sha); |
entry | 795 | net/ipv4/arp.c | entry = (struct arp_table *)kmalloc(sizeof(struct arp_table),GFP_ATOMIC); |
entry | 796 | net/ipv4/arp.c | if(entry == NULL) |
entry | 805 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 806 | net/ipv4/arp.c | entry->ip = sip; |
entry | 807 | net/ipv4/arp.c | entry->hlen = hlen; |
entry | 808 | net/ipv4/arp.c | entry->htype = htype; |
entry | 809 | net/ipv4/arp.c | entry->flags = ATF_COM; |
entry | 810 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 811 | net/ipv4/arp.c | memcpy(entry->ha, sha, hlen); |
entry | 812 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 813 | net/ipv4/arp.c | entry->dev = skb->dev; |
entry | 814 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 815 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 816 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 834 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 842 | net/ipv4/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 843 | net/ipv4/arp.c | if (entry->ip == paddr && entry->htype == type) |
entry | 846 | net/ipv4/arp.c | if (entry != NULL) { |
entry | 851 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 852 | net/ipv4/arp.c | memcpy(haddr, entry->ha, entry->hlen); |
entry | 868 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 913 | net/ipv4/arp.c | entry = arp_lookup(paddr, PROXY_NONE); |
entry | 915 | net/ipv4/arp.c | if (entry != NULL) /* It exists */ |
entry | 917 | net/ipv4/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 926 | net/ipv4/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 937 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 938 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 949 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 951 | net/ipv4/arp.c | if (entry != NULL) |
entry | 953 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 954 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 955 | net/ipv4/arp.c | entry->flags = 0; |
entry | 956 | net/ipv4/arp.c | entry->ip = paddr; |
entry | 957 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 958 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 959 | net/ipv4/arp.c | entry->hlen = dev->addr_len; |
entry | 960 | net/ipv4/arp.c | entry->htype = dev->type; |
entry | 961 | net/ipv4/arp.c | entry->dev = dev; |
entry | 962 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 963 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 964 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 965 | net/ipv4/arp.c | entry->timer.expires = ARP_RES_TIME; |
entry | 966 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 967 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 968 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 969 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 972 | net/ipv4/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 1006 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1019 | net/ipv4/arp.c | for(entry=arp_tables[i]; entry!=NULL; entry=entry->next) |
entry | 1026 | net/ipv4/arp.c | if (entry->htype == ARPHRD_AX25 || entry->htype == ARPHRD_NETROM) |
entry | 1027 | net/ipv4/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 1030 | net/ipv4/arp.c | if(entry->htype==ARPHRD_AX25) |
entry | 1031 | net/ipv4/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 1036 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->hlen;j++) |
entry | 1038 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
entry | 1039 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
entry | 1049 | net/ipv4/arp.c | in_ntoa(entry->ip), |
entry | 1050 | net/ipv4/arp.c | (unsigned int)entry->htype, |
entry | 1051 | net/ipv4/arp.c | entry->flags, |
entry | 1055 | net/ipv4/arp.c | entry->mask==DEF_ARP_NETMASK? |
entry | 1056 | net/ipv4/arp.c | "*":in_ntoa(entry->mask)); |
entry | 1088 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1091 | net/ipv4/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 1092 | net/ipv4/arp.c | if (entry->ip == paddr) break; |
entry | 1095 | net/ipv4/arp.c | if (!entry && proxy != PROXY_NONE) |
entry | 1096 | net/ipv4/arp.c | for (entry=arp_tables[PROXY_HASH]; entry != NULL; entry = entry->next) |
entry | 1097 | net/ipv4/arp.c | if ((proxy==PROXY_EXACT) ? (entry->ip==paddr) |
entry | 1098 | net/ipv4/arp.c | : !((entry->ip^paddr)&entry->mask)) |
entry | 1101 | net/ipv4/arp.c | return entry; |
entry | 1110 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1146 | net/ipv4/arp.c | entry=arp_lookup(daddr, PROXY_NONE); |
entry | 1147 | net/ipv4/arp.c | if(entry) |
entry | 1149 | net/ipv4/arp.c | memcpy(dp,entry->ha, ETH_ALEN); |
entry | 1163 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1237 | net/ipv4/arp.c | entry = arp_lookup(ip, PROXY_EXACT); |
entry | 1238 | net/ipv4/arp.c | if (entry && (entry->flags & ATF_PUBL) != (r.arp_flags & ATF_PUBL)) |
entry | 1243 | net/ipv4/arp.c | entry = NULL; |
entry | 1250 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1256 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1258 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1263 | net/ipv4/arp.c | entry->ip = ip; |
entry | 1264 | net/ipv4/arp.c | entry->hlen = hlen; |
entry | 1265 | net/ipv4/arp.c | entry->htype = htype; |
entry | 1266 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1267 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1268 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1269 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1275 | net/ipv4/arp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 1276 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1277 | net/ipv4/arp.c | entry->flags = r.arp_flags | ATF_COM; |
entry | 1278 | net/ipv4/arp.c | if ((entry->flags & ATF_PUBL) && (entry->flags & ATF_NETMASK)) |
entry | 1281 | net/ipv4/arp.c | entry->mask = si->sin_addr.s_addr; |
entry | 1284 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1285 | net/ipv4/arp.c | entry->dev = rt->rt_dev; |
entry | 1300 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1318 | net/ipv4/arp.c | entry = arp_lookup(si->sin_addr.s_addr,PROXY_ANY); |
entry | 1320 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1330 | net/ipv4/arp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 1331 | net/ipv4/arp.c | r.arp_ha.sa_family = entry->htype; |
entry | 1332 | net/ipv4/arp.c | r.arp_flags = entry->flags; |
entry | 105 | net/ipv4/rarp.c | static inline void rarp_release_entry(struct rarp_table *entry) |
entry | 107 | net/ipv4/rarp.c | kfree_s(entry, sizeof(struct rarp_table)); |
entry | 117 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 122 | net/ipv4/rarp.c | while ((entry = *pentry) != NULL) |
entry | 124 | net/ipv4/rarp.c | if (entry->ip == ip_addr) |
entry | 126 | net/ipv4/rarp.c | *pentry = entry->next; |
entry | 128 | net/ipv4/rarp.c | rarp_release_entry(entry); |
entry | 131 | net/ipv4/rarp.c | pentry = &entry->next; |
entry | 150 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 209 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 210 | net/ipv4/rarp.c | if (!memcmp(entry->ha, tha, rarp->ar_hln)) |
entry | 213 | net/ipv4/rarp.c | if (entry != NULL) |
entry | 215 | net/ipv4/rarp.c | sip=entry->ip; |
entry | 236 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 288 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 289 | net/ipv4/rarp.c | if (entry->ip == ip) |
entry | 296 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 298 | net/ipv4/rarp.c | entry = (struct rarp_table *) kmalloc(sizeof(struct rarp_table), |
entry | 300 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 311 | net/ipv4/rarp.c | entry->next = rarp_tables; |
entry | 312 | net/ipv4/rarp.c | rarp_tables = entry; |
entry | 315 | net/ipv4/rarp.c | entry->ip = ip; |
entry | 316 | net/ipv4/rarp.c | entry->hlen = hlen; |
entry | 317 | net/ipv4/rarp.c | entry->htype = htype; |
entry | 318 | net/ipv4/rarp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 319 | net/ipv4/rarp.c | entry->dev = rt->rt_dev; |
entry | 334 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 355 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 356 | net/ipv4/rarp.c | if (entry->ip == ip) |
entry | 359 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 369 | net/ipv4/rarp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 370 | net/ipv4/rarp.c | r.arp_ha.sa_family = entry->htype; |
entry | 433 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 450 | net/ipv4/rarp.c | for(entry=rarp_tables; entry!=NULL; entry=entry->next) |
entry | 452 | net/ipv4/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |
entry | 463 | net/ipv4/rarp.c | (unsigned int)entry->ha[0], |
entry | 464 | net/ipv4/rarp.c | (unsigned int)entry->ha[1], |
entry | 465 | net/ipv4/rarp.c | (unsigned int)entry->ha[2], |
entry | 466 | net/ipv4/rarp.c | (unsigned int)entry->ha[3], |
entry | 467 | net/ipv4/rarp.c | (unsigned int)entry->ha[4], |
entry | 468 | net/ipv4/rarp.c | (unsigned int)entry->ha[5]); |