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 | 438 | arch/i386/kernel/bios32.c | if (check->fields.entry >= 0x100000) { |
entry | 441 | arch/i386/kernel/bios32.c | bios32_indirect.address = bios32_entry = check->fields.entry; |
entry | 71 | arch/mips/kernel/jazzdma.c | VDMA_PGTBL_ENTRY *entry = (VDMA_PGTBL_ENTRY *)vdma_pagetable_start; |
entry | 99 | arch/mips/kernel/jazzdma.c | while (entry[first].owner != VDMA_PAGE_EMPTY && |
entry | 106 | arch/mips/kernel/jazzdma.c | while (entry[last].owner == VDMA_PAGE_EMPTY && last-first < pages) |
entry | 120 | arch/mips/kernel/jazzdma.c | entry[i].frame = frame; |
entry | 121 | arch/mips/kernel/jazzdma.c | entry[i].owner = laddr; |
entry | 142 | arch/mips/kernel/jazzdma.c | printk("%08x ",entry[i].frame); |
entry | 145 | arch/mips/kernel/jazzdma.c | printk("%08x ",entry[i].owner); |
entry | 148 | arch/sparc/kernel/sparc-stub.c | unsigned long entry; |
entry | 151 | arch/sparc/kernel/sparc-stub.c | "=r" (entry) : |
entry | 153 | arch/sparc/kernel/sparc-stub.c | return entry; |
entry | 158 | arch/sparc/kernel/sparc-stub.c | unsigned long entry; |
entry | 161 | arch/sparc/kernel/sparc-stub.c | "=r" (entry) : |
entry | 163 | arch/sparc/kernel/sparc-stub.c | return entry; |
entry | 325 | arch/sparc/mm/sun4c.c | static inline void add_ring(struct sun4c_mmu_ring *ring, struct sun4c_mmu_entry *entry) |
entry | 329 | arch/sparc/mm/sun4c.c | entry->prev = head; |
entry | 330 | arch/sparc/mm/sun4c.c | (entry->next = head->next)->prev = entry; |
entry | 331 | arch/sparc/mm/sun4c.c | head->next = entry; |
entry | 335 | arch/sparc/mm/sun4c.c | static inline void remove_ring(struct sun4c_mmu_ring *ring, struct sun4c_mmu_entry *entry) |
entry | 337 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *next = entry->next; |
entry | 339 | arch/sparc/mm/sun4c.c | (next->prev = entry->prev)->next = next; |
entry | 343 | arch/sparc/mm/sun4c.c | static inline void recycle_ring(struct sun4c_mmu_ring *ring, struct sun4c_mmu_entry *entry) |
entry | 346 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *next = entry->next; |
entry | 348 | arch/sparc/mm/sun4c.c | (next->prev = entry->prev)->next = next; |
entry | 349 | arch/sparc/mm/sun4c.c | entry->prev = head; (entry->next = head->next)->prev = entry; |
entry | 350 | arch/sparc/mm/sun4c.c | head->next = entry; |
entry | 354 | arch/sparc/mm/sun4c.c | static inline void free_user_entry(int ctx, struct sun4c_mmu_entry *entry) |
entry | 356 | arch/sparc/mm/sun4c.c | remove_ring(sun4c_context_ring+ctx, entry); |
entry | 357 | arch/sparc/mm/sun4c.c | add_ring(&sun4c_ufree_ring, entry); |
entry | 360 | arch/sparc/mm/sun4c.c | static inline void assign_user_entry(int ctx, struct sun4c_mmu_entry *entry) |
entry | 362 | arch/sparc/mm/sun4c.c | remove_ring(&sun4c_ufree_ring, entry); |
entry | 363 | arch/sparc/mm/sun4c.c | add_ring(sun4c_context_ring+ctx, entry); |
entry | 366 | arch/sparc/mm/sun4c.c | static inline void free_kernel_entry(struct sun4c_mmu_entry *entry, struct sun4c_mmu_ring *ring) |
entry | 368 | arch/sparc/mm/sun4c.c | remove_ring(ring, entry); |
entry | 369 | arch/sparc/mm/sun4c.c | add_ring(&sun4c_kfree_ring, entry); |
entry | 372 | arch/sparc/mm/sun4c.c | static inline void assign_kernel_entry(struct sun4c_mmu_entry *entry, struct sun4c_mmu_ring *ring) |
entry | 374 | arch/sparc/mm/sun4c.c | remove_ring(ring, entry); |
entry | 375 | arch/sparc/mm/sun4c.c | add_ring(&sun4c_kernel_ring, entry); |
entry | 378 | arch/sparc/mm/sun4c.c | static inline void reassign_kernel_entry(struct sun4c_mmu_entry *entry) |
entry | 380 | arch/sparc/mm/sun4c.c | recycle_ring(&sun4c_kernel_ring, entry); |
entry | 474 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *entry = crp->ringhd.next; |
entry | 479 | arch/sparc/mm/sun4c.c | sun4c_user_unmap(entry); |
entry | 480 | arch/sparc/mm/sun4c.c | free_user_entry(ctx, entry); |
entry | 527 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *entry; |
entry | 530 | arch/sparc/mm/sun4c.c | entry = sun4c_user_strategy(); |
entry | 531 | arch/sparc/mm/sun4c.c | assign_user_entry(ctx, entry); |
entry | 532 | arch/sparc/mm/sun4c.c | entry->vaddr = address; |
entry | 533 | arch/sparc/mm/sun4c.c | sun4c_user_map(entry); |
entry | 538 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *entry; |
entry | 541 | arch/sparc/mm/sun4c.c | entry = sun4c_kernel_strategy(); |
entry | 543 | arch/sparc/mm/sun4c.c | assign_kernel_entry(entry, &sun4c_kfree_ring); |
entry | 544 | arch/sparc/mm/sun4c.c | entry->vaddr = address; |
entry | 545 | arch/sparc/mm/sun4c.c | sun4c_kernel_map(entry); |
entry | 661 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *entry; |
entry | 668 | arch/sparc/mm/sun4c.c | entry = &mmu_entry_pool[pseg]; |
entry | 670 | arch/sparc/mm/sun4c.c | sun4c_kernel_unmap(entry); |
entry | 671 | arch/sparc/mm/sun4c.c | add_ring(&sun4c_ufree_ring, entry); |
entry | 675 | arch/sparc/mm/sun4c.c | static inline void garbage_collect(int entry) |
entry | 680 | arch/sparc/mm/sun4c.c | entry &= ~15; |
entry | 681 | arch/sparc/mm/sun4c.c | start = entry; |
entry | 686 | arch/sparc/mm/sun4c.c | free_task_segment(BUCKET_ADDR(entry)); |
entry | 692 | arch/sparc/mm/sun4c.c | int entry; |
entry | 702 | arch/sparc/mm/sun4c.c | for(entry = 0; entry < NR_TASKS; entry++) |
entry | 703 | arch/sparc/mm/sun4c.c | if(sun4c_bucket[entry] == BUCKET_EMPTY) |
entry | 705 | arch/sparc/mm/sun4c.c | if(entry == NR_TASKS) { |
entry | 709 | arch/sparc/mm/sun4c.c | addr = BUCKET_ADDR(entry); |
entry | 710 | arch/sparc/mm/sun4c.c | sun4c_bucket[entry] = (struct task_bucket *) addr; |
entry | 756 | arch/sparc/mm/sun4c.c | int entry = BUCKET_NUM(tsaddr); |
entry | 760 | arch/sparc/mm/sun4c.c | sun4c_bucket[entry] = BUCKET_EMPTY; |
entry | 762 | arch/sparc/mm/sun4c.c | garbage_collect(entry); |
entry | 767 | arch/sparc/mm/sun4c.c | int entry; |
entry | 773 | arch/sparc/mm/sun4c.c | for(entry = 0; entry < NR_TASKS; entry++) |
entry | 774 | arch/sparc/mm/sun4c.c | sun4c_bucket[entry] = BUCKET_EMPTY; |
entry | 617 | drivers/cdrom/aztcd.c | struct cdrom_tocentry entry; |
entry | 774 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
entry | 776 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 778 | drivers/cdrom/aztcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 780 | drivers/cdrom/aztcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 782 | drivers/cdrom/aztcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 783 | drivers/cdrom/aztcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 787 | drivers/cdrom/aztcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 788 | drivers/cdrom/aztcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 789 | drivers/cdrom/aztcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 790 | drivers/cdrom/aztcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 791 | drivers/cdrom/aztcd.c | entry.cdte_addr.lba = azt_msf2hsg(&tocPtr -> diskTime); |
entry | 792 | drivers/cdrom/aztcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 793 | drivers/cdrom/aztcd.c | { entry.cdte_addr.msf.minute = azt_bcd2bin(tocPtr -> diskTime.min); |
entry | 794 | drivers/cdrom/aztcd.c | entry.cdte_addr.msf.second = azt_bcd2bin(tocPtr -> diskTime.sec); |
entry | 795 | drivers/cdrom/aztcd.c | entry.cdte_addr.msf.frame = azt_bcd2bin(tocPtr -> diskTime.frame); |
entry | 800 | drivers/cdrom/aztcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 2493 | drivers/cdrom/cdu31a.c | struct cdrom_tocentry *entry; |
entry | 2504 | drivers/cdrom/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
entry | 2505 | drivers/cdrom/cdu31a.c | i=verify_area(VERIFY_READ, entry, sizeof(*entry)); |
entry | 2508 | drivers/cdrom/cdu31a.c | i=verify_area(VERIFY_WRITE, entry, sizeof(*entry)); |
entry | 2512 | drivers/cdrom/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
entry | 2545 | drivers/cdrom/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |
entry | 941 | drivers/cdrom/cm206.c | struct cdrom_tocentry entry; |
entry | 944 | drivers/cdrom/cm206.c | st=verify_area(VERIFY_WRITE, (void *) arg, sizeof(entry)); |
entry | 946 | drivers/cdrom/cm206.c | memcpy_fromfs(&entry, (struct cdrom_tocentry *) arg, sizeof entry); |
entry | 947 | drivers/cdrom/cm206.c | get_toc_entry(&entry); |
entry | 948 | drivers/cdrom/cm206.c | memcpy_tofs((struct cdrom_tocentry *) arg, &entry, sizeof entry); |
entry | 293 | drivers/cdrom/mcd.c | struct cdrom_tocentry entry; |
entry | 462 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 466 | drivers/cdrom/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 467 | drivers/cdrom/mcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 471 | drivers/cdrom/mcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 472 | drivers/cdrom/mcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 476 | drivers/cdrom/mcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 478 | drivers/cdrom/mcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 479 | drivers/cdrom/mcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 481 | drivers/cdrom/mcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 482 | drivers/cdrom/mcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 484 | drivers/cdrom/mcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 486 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
entry | 487 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
entry | 488 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
entry | 494 | drivers/cdrom/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 341 | drivers/cdrom/mcdx.c | struct cdrom_tocentry entry; |
entry | 349 | drivers/cdrom/mcdx.c | if ((ans = verify_area(VERIFY_READ, (void *) arg, sizeof(entry)))) return ans; |
entry | 350 | drivers/cdrom/mcdx.c | memcpy_fromfs(&entry, (void *) arg, sizeof(entry)); |
entry | 352 | drivers/cdrom/mcdx.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 354 | drivers/cdrom/mcdx.c | else if (entry.cdte_track > stuffp->di.n_last |
entry | 355 | drivers/cdrom/mcdx.c | || entry.cdte_track < stuffp->di.n_first) return -EINVAL; |
entry | 356 | drivers/cdrom/mcdx.c | else tp = &stuffp->toc[entry.cdte_track - stuffp->di.n_first]; |
entry | 360 | drivers/cdrom/mcdx.c | entry.cdte_adr = tp->control; |
entry | 361 | drivers/cdrom/mcdx.c | entry.cdte_ctrl = tp->control >> 4; |
entry | 363 | drivers/cdrom/mcdx.c | if (entry.cdte_format == CDROM_MSF) { |
entry | 364 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.minute = bcd2uint(tp->dt.minute); |
entry | 365 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.second = bcd2uint(tp->dt.second); |
entry | 366 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.frame = bcd2uint(tp->dt.frame); |
entry | 367 | drivers/cdrom/mcdx.c | } else if (entry.cdte_format == CDROM_LBA) |
entry | 368 | drivers/cdrom/mcdx.c | entry.cdte_addr.lba = msf2log(&tp->dt); |
entry | 371 | drivers/cdrom/mcdx.c | if ((ans = verify_area(VERIFY_WRITE, (void*) arg, sizeof(entry)))) return ans; |
entry | 372 | drivers/cdrom/mcdx.c | memcpy_tofs((void*) arg, &entry, sizeof(entry)); |
entry | 1521 | drivers/cdrom/optcd.c | struct cdrom_tocentry entry; |
entry | 1524 | drivers/cdrom/optcd.c | status = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
entry | 1527 | drivers/cdrom/optcd.c | status = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 1530 | drivers/cdrom/optcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 1532 | drivers/cdrom/optcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 1534 | drivers/cdrom/optcd.c | else if (entry.cdte_track > disk_info.last |
entry | 1535 | drivers/cdrom/optcd.c | || entry.cdte_track < disk_info.first) |
entry | 1538 | drivers/cdrom/optcd.c | tocptr = &toc[entry.cdte_track]; |
entry | 1540 | drivers/cdrom/optcd.c | entry.cdte_adr = tocptr->cdsc_adr; |
entry | 1541 | drivers/cdrom/optcd.c | entry.cdte_ctrl = tocptr->cdsc_ctrl; |
entry | 1542 | drivers/cdrom/optcd.c | entry.cdte_addr.msf.minute = tocptr->cdsc_absaddr.msf.minute; |
entry | 1543 | drivers/cdrom/optcd.c | entry.cdte_addr.msf.second = tocptr->cdsc_absaddr.msf.second; |
entry | 1544 | drivers/cdrom/optcd.c | entry.cdte_addr.msf.frame = tocptr->cdsc_absaddr.msf.frame; |
entry | 1547 | drivers/cdrom/optcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 1548 | drivers/cdrom/optcd.c | msf2lba(&entry.cdte_addr); |
entry | 1549 | drivers/cdrom/optcd.c | else if (entry.cdte_format != CDROM_MSF) |
entry | 1552 | drivers/cdrom/optcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 1224 | drivers/cdrom/sonycd535.c | struct cdrom_tocentry *entry; |
entry | 1233 | drivers/cdrom/sonycd535.c | entry = (struct cdrom_tocentry *)arg; |
entry | 1234 | drivers/cdrom/sonycd535.c | err = verify_area(VERIFY_WRITE /* and read */ , entry, sizeof *entry); |
entry | 1238 | drivers/cdrom/sonycd535.c | memcpy_fromfs(&loc_entry, entry, sizeof loc_entry); |
entry | 1262 | drivers/cdrom/sonycd535.c | memcpy_tofs(entry, &loc_entry, sizeof *entry); |
entry | 38 | drivers/char/ftape/ecc.h | #define BAD_CLEAR(entry) ((entry)=0) |
entry | 39 | drivers/char/ftape/ecc.h | #define BAD_SET(entry,sector) ((entry)|=(1<<(sector))) |
entry | 40 | drivers/char/ftape/ecc.h | #define BAD_CHECK(entry,sector) ((entry)&(1<<(sector))) |
entry | 57 | drivers/char/ftape/ftape-eof.c | unsigned long entry; |
entry | 234 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
entry | 243 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
entry | 251 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
entry | 1173 | drivers/net/de4x5.c | int i, entry; |
entry | 1177 | drivers/net/de4x5.c | for (entry=lp->rx_new; lp->rx_ring[entry].status>=0;entry=lp->rx_new) { |
entry | 1178 | drivers/net/de4x5.c | status = lp->rx_ring[entry].status; |
entry | 1181 | drivers/net/de4x5.c | lp->rx_old = entry; |
entry | 1198 | drivers/net/de4x5.c | short pkt_len = (short)(lp->rx_ring[entry].status >> 16) - 4; |
entry | 1209 | drivers/net/de4x5.c | if (entry < lp->rx_old) { /* Wrapped buffer */ |
entry | 1248 | drivers/net/de4x5.c | for (;lp->rx_old!=entry;lp->rx_old=(++lp->rx_old)%lp->rxRingSize) { |
entry | 1252 | drivers/net/de4x5.c | lp->rx_ring[entry].status = R_OWN; |
entry | 1273 | drivers/net/de4x5.c | int entry; |
entry | 1276 | drivers/net/de4x5.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 1277 | drivers/net/de4x5.c | status = lp->tx_ring[entry].status; |
entry | 1300 | drivers/net/de4x5.c | if (lp->skb[entry] != NULL) { |
entry | 1301 | drivers/net/de4x5.c | dev_kfree_skb(lp->skb[entry], FREE_WRITE); |
entry | 1302 | drivers/net/de4x5.c | lp->skb[entry] = NULL; |
entry | 893 | drivers/net/depca.c | int i, entry; |
entry | 896 | drivers/net/depca.c | for (entry=lp->rx_new; |
entry | 897 | drivers/net/depca.c | !(readl(&lp->rx_ring[entry].base) & R_OWN); |
entry | 898 | drivers/net/depca.c | entry=lp->rx_new){ |
entry | 899 | drivers/net/depca.c | status = readl(&lp->rx_ring[entry].base) >> 16 ; |
entry | 901 | drivers/net/depca.c | lp->rx_old = entry; |
entry | 911 | drivers/net/depca.c | short len, pkt_len = readw(&lp->rx_ring[entry].msg_length); |
entry | 920 | drivers/net/depca.c | if (entry < lp->rx_old) { /* Wrapped buffer */ |
entry | 970 | drivers/net/depca.c | for (; lp->rx_old!=entry; lp->rx_old=(++lp->rx_old)&lp->rxRingMask) { |
entry | 974 | drivers/net/depca.c | writel(readl(&lp->rx_ring[entry].base) | R_OWN, &lp->rx_ring[entry].base); |
entry | 993 | drivers/net/depca.c | int entry; |
entry | 997 | drivers/net/depca.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 998 | drivers/net/depca.c | status = readl(&lp->tx_ring[entry].base) >> 16 ; |
entry | 1003 | drivers/net/depca.c | status = readl(&lp->tx_ring[entry].misc); |
entry | 1535 | drivers/net/depca.c | int i, entry, end, len, status = 0; |
entry | 1537 | drivers/net/depca.c | entry = lp->tx_new; /* Ring around buffer number. */ |
entry | 1538 | drivers/net/depca.c | end = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask; |
entry | 1544 | drivers/net/depca.c | if (end < entry) { /* wrapped buffer */ |
entry | 1545 | drivers/net/depca.c | len = (lp->txRingMask - entry + 1) * TX_BUFF_SZ; |
entry | 1546 | drivers/net/depca.c | memcpy_toio(lp->tx_memcpy[entry], skb->data, len); |
entry | 1549 | drivers/net/depca.c | memcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len); |
entry | 1554 | drivers/net/depca.c | for (i = entry; i != end; i = (++i) & lp->txRingMask) { |
entry | 1567 | drivers/net/depca.c | writel(readl(&lp->tx_ring[entry].base) | T_STP, &lp->tx_ring[entry].base); |
entry | 1571 | drivers/net/depca.c | for (i=end; i!=entry; --i) { |
entry | 1576 | drivers/net/depca.c | writel(readl(&lp->tx_ring[entry].base) | T_OWN, &lp->tx_ring[entry].base); |
entry | 709 | drivers/net/lance.c | int entry; |
entry | 779 | drivers/net/lance.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 786 | drivers/net/lance.c | lp->tx_ring[entry].length = |
entry | 789 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
entry | 791 | drivers/net/lance.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 799 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len); |
entry | 800 | drivers/net/lance.c | lp->tx_ring[entry].base = |
entry | 801 | drivers/net/lance.c | (int)(lp->tx_bounce_buffs + entry) | 0x83000000; |
entry | 804 | drivers/net/lance.c | lp->tx_skbuff[entry] = skb; |
entry | 805 | drivers/net/lance.c | lp->tx_ring[entry].base = (int)(skb->data) | 0x83000000; |
entry | 818 | drivers/net/lance.c | if (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0) |
entry | 867 | drivers/net/lance.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 868 | drivers/net/lance.c | int status = lp->tx_ring[entry].base; |
entry | 873 | drivers/net/lance.c | lp->tx_ring[entry].base = 0; |
entry | 877 | drivers/net/lance.c | int err_status = lp->tx_ring[entry].misc; |
entry | 899 | drivers/net/lance.c | if (lp->tx_skbuff[entry]) { |
entry | 900 | drivers/net/lance.c | dev_kfree_skb(lp->tx_skbuff[entry],FREE_WRITE); |
entry | 901 | drivers/net/lance.c | lp->tx_skbuff[entry] = 0; |
entry | 960 | drivers/net/lance.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 964 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
entry | 965 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
entry | 978 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
entry | 983 | drivers/net/lance.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
entry | 998 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
entry | 1004 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 1013 | drivers/net/lance.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
entry | 1022 | drivers/net/lance.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
entry | 1023 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 1024 | drivers/net/lance.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 582 | drivers/net/sunlance.c | int entry, skblen, len; |
entry | 637 | drivers/net/sunlance.c | entry = lp->tx_new & TX_RING_MOD_MASK; |
entry | 638 | drivers/net/sunlance.c | ib->btx_ring [entry].length = (-len) | 0xf000; |
entry | 639 | drivers/net/sunlance.c | ib->btx_ring [entry].misc = 0; |
entry | 641 | drivers/net/sunlance.c | memcpy ((char *)&ib->tx_buf [entry][0], skb->data, skblen); |
entry | 645 | drivers/net/sunlance.c | memset ((char *) &ib->tx_buf [entry][skblen], 0, len - skblen); |
entry | 650 | drivers/net/sunlance.c | ib->btx_ring [entry].tmd1_bits = (LE_T1_SOP|LE_T1_EOP|LE_T1_OWN); |
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 | 42 | drivers/scsi/scsi_proc.c | struct proc_dir_entry entry; |
entry | 119 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.low_ino = PROC_SCSI_FILE + hpnt->host_no; |
entry | 120 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.namelen = sprintf(scsi_hba_dir->name,"%d", |
entry | 122 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.name = scsi_hba_dir->name; |
entry | 123 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.mode = S_IFREG | S_IRUGO | S_IWUSR; |
entry | 124 | drivers/scsi/scsi_proc.c | proc_scsi_register(tpnt->proc_dir, &scsi_hba_dir->entry); |
entry | 340 | fs/fat/misc.c | done = !strncmp(data[entry].name,name,MSDOS_NAME) && \ |
entry | 341 | fs/fat/misc.c | !(data[entry].attr & ATTR_VOLUME); |
entry | 344 | fs/fat/misc.c | done = !IS_FREE(data[entry].name) && CF_LE_W(data[entry].start) == *number; |
entry | 348 | fs/fat/misc.c | done = IS_FREE(data[entry].name); \ |
entry | 350 | fs/fat/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
entry | 362 | fs/fat/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
entry | 373 | fs/fat/misc.c | int entry,start,done; |
entry | 377 | fs/fat/misc.c | for (entry = 0; entry < MSDOS_DPS; entry++) { |
entry | 382 | fs/fat/misc.c | done = (data[entry].attr & ATTR_HIDDEN) |
entry | 394 | fs/fat/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
entry | 395 | fs/fat/misc.c | start = CF_LE_W(data[entry].start); |
entry | 399 | fs/fat/misc.c | *res_de = &data[entry]; |
entry | 38 | fs/ncpfs/dir.c | int cache_size, struct ncp_dirent *entry); |
entry | 203 | fs/ncpfs/dir.c | struct ncp_dirent *entry = NULL; |
entry | 260 | fs/ncpfs/dir.c | entry = &c_entry[i]; |
entry | 266 | fs/ncpfs/dir.c | if ((entry == NULL) && c_seen_eof) |
entry | 272 | fs/ncpfs/dir.c | if (entry == NULL) |
entry | 304 | fs/ncpfs/dir.c | entry = c_entry; |
entry | 315 | fs/ncpfs/dir.c | if (entry == NULL) |
entry | 332 | fs/ncpfs/dir.c | ino = (ino_t)(entry->i.DosDirNum); |
entry | 338 | fs/ncpfs/dir.c | entry->i.entryName); |
entry | 350 | fs/ncpfs/dir.c | DDPRINTK("ncp_readdir: entry->path= %s\n", entry->i.entryName); |
entry | 351 | fs/ncpfs/dir.c | DDPRINTK("ncp_readdir: entry->f_pos = %ld\n", entry->f_pos); |
entry | 353 | fs/ncpfs/dir.c | if (filldir(dirent, entry->i.entryName, entry->i.nameLen, |
entry | 354 | fs/ncpfs/dir.c | entry->f_pos, ino) < 0) |
entry | 361 | fs/ncpfs/dir.c | || (entry->f_pos != filp->f_pos)) |
entry | 369 | fs/ncpfs/dir.c | entry += 1; |
entry | 377 | fs/ncpfs/dir.c | struct ncp_dirent *entry = c_entry; |
entry | 417 | fs/ncpfs/dir.c | &(entry->i)) != 0) |
entry | 424 | fs/ncpfs/dir.c | entry->f_pos = total_count; |
entry | 425 | fs/ncpfs/dir.c | entry += 1; |
entry | 435 | fs/ncpfs/dir.c | int cache_size, struct ncp_dirent *entry) |
entry | 474 | fs/ncpfs/dir.c | &(entry->i)) != 0) |
entry | 482 | fs/ncpfs/dir.c | entry->i.entryName); |
entry | 487 | fs/ncpfs/dir.c | entry->i.entryName, fpos, total_count); |
entry | 488 | fs/ncpfs/dir.c | entry->s = seq; |
entry | 489 | fs/ncpfs/dir.c | entry->f_pos = total_count; |
entry | 490 | fs/ncpfs/dir.c | entry += 1; |
entry | 327 | fs/ncpfs/sock.c | struct select_table_entry entry; |
entry | 401 | fs/ncpfs/sock.c | wait_table.entry = &entry; |
entry | 417 | fs/ncpfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 451 | fs/ncpfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 99 | fs/nfs/dir.c | struct nfs_entry *entry; |
entry | 128 | fs/nfs/dir.c | entry = NULL; |
entry | 140 | fs/nfs/dir.c | entry = c_entry + (index = i + 1); |
entry | 148 | fs/nfs/dir.c | if (!entry) { |
entry | 159 | fs/nfs/dir.c | entry = c_entry + (index = 0); |
entry | 164 | fs/nfs/dir.c | if (!entry) |
entry | 167 | fs/nfs/dir.c | int nextpos = entry->cookie; |
entry | 168 | fs/nfs/dir.c | if (filldir(dirent, entry->name, strlen(entry->name), filp->f_pos, entry->fileid) < 0) |
entry | 176 | fs/nfs/dir.c | if (nextpos != entry->cookie) |
entry | 179 | fs/nfs/dir.c | entry++; |
entry | 227 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 231 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 232 | fs/nfs/dir.c | if (entry->dev == dir->i_dev |
entry | 233 | fs/nfs/dir.c | && entry->inode == dir->i_ino |
entry | 234 | fs/nfs/dir.c | && !strncmp(filename, entry->filename, NFS_MAXNAMLEN)) |
entry | 235 | fs/nfs/dir.c | return entry; |
entry | 246 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 252 | fs/nfs/dir.c | if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 253 | fs/nfs/dir.c | if (jiffies > entry->expiration_date) { |
entry | 254 | fs/nfs/dir.c | entry->dev = 0; |
entry | 257 | fs/nfs/dir.c | *fhandle = entry->fhandle; |
entry | 258 | fs/nfs/dir.c | *fattr = entry->fattr; |
entry | 269 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 275 | fs/nfs/dir.c | if (!(entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 276 | fs/nfs/dir.c | entry = nfs_lookup_cache + nfs_lookup_cache_pos++; |
entry | 280 | fs/nfs/dir.c | entry->dev = dir->i_dev; |
entry | 281 | fs/nfs/dir.c | entry->inode = dir->i_ino; |
entry | 282 | fs/nfs/dir.c | strcpy(entry->filename, filename); |
entry | 283 | fs/nfs/dir.c | entry->fhandle = *fhandle; |
entry | 284 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 285 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
entry | 292 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 301 | fs/nfs/dir.c | else if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 302 | fs/nfs/dir.c | dev = entry->dev; |
entry | 303 | fs/nfs/dir.c | fileid = entry->fattr.fileid; |
entry | 308 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 309 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 310 | fs/nfs/dir.c | entry->dev = 0; |
entry | 317 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 323 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 324 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 325 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 199 | fs/nfs/proc.c | static int *xdr_decode_entry(int *p, struct nfs_entry *entry) |
entry | 201 | fs/nfs/proc.c | entry->fileid = ntohl(*p++); |
entry | 202 | fs/nfs/proc.c | if (!(p = xdr_decode_string(p, entry->name, NFS_MAXNAMLEN))) |
entry | 204 | fs/nfs/proc.c | entry->cookie = ntohl(*p++); |
entry | 205 | fs/nfs/proc.c | entry->eof = 0; |
entry | 729 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
entry | 755 | fs/nfs/proc.c | if (!(p = xdr_decode_entry(p, entry++))) |
entry | 766 | fs/nfs/proc.c | entry[-1].eof = 1; |
entry | 108 | fs/nfs/rpcsock.c | struct select_table_entry entry; |
entry | 114 | fs/nfs/rpcsock.c | wait_table.entry = &entry; |
entry | 119 | fs/nfs/rpcsock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 126 | fs/nfs/rpcsock.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 | 163 | fs/smbfs/dir.c | struct smb_dirent *entry = NULL; |
entry | 205 | fs/smbfs/dir.c | entry = &c_entry[i]; |
entry | 211 | fs/smbfs/dir.c | if ((entry == NULL) && c_seen_eof) |
entry | 215 | fs/smbfs/dir.c | if (entry == NULL) { |
entry | 230 | fs/smbfs/dir.c | entry = c_entry; |
entry | 248 | fs/smbfs/dir.c | if (entry == NULL) { |
entry | 265 | fs/smbfs/dir.c | len = strlen(entry->path); |
entry | 266 | fs/smbfs/dir.c | if ((result = get_pname_static(inode, entry->path, len, |
entry | 280 | fs/smbfs/dir.c | DDPRINTK("smb_readdir: entry->path = %s\n", entry->path); |
entry | 281 | fs/smbfs/dir.c | DDPRINTK("smb_readdir: entry->f_pos = %ld\n", entry->f_pos); |
entry | 283 | fs/smbfs/dir.c | if (filldir(dirent, entry->path, len, |
entry | 284 | fs/smbfs/dir.c | entry->f_pos, (ino_t)ino_info) < 0) { |
entry | 289 | fs/smbfs/dir.c | || (entry->f_pos != filp->f_pos)) { |
entry | 296 | fs/smbfs/dir.c | entry += 1; |
entry | 767 | fs/smbfs/dir.c | struct smb_dirent entry; |
entry | 783 | fs/smbfs/dir.c | entry.attr = 0; |
entry | 784 | fs/smbfs/dir.c | entry.ctime = CURRENT_TIME; |
entry | 785 | fs/smbfs/dir.c | entry.atime = CURRENT_TIME; |
entry | 786 | fs/smbfs/dir.c | entry.mtime = CURRENT_TIME; |
entry | 787 | fs/smbfs/dir.c | entry.size = 0; |
entry | 789 | fs/smbfs/dir.c | error = smb_proc_create(SMB_SERVER(dir), path, len, &entry); |
entry | 798 | fs/smbfs/dir.c | if (!(*result = smb_iget(dir, path, &entry)) < 0) { |
entry | 535 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 579 | fs/smbfs/proc.c | entry->fileid = WVAL(buf, smb_vwv0); |
entry | 580 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv1); |
entry | 581 | fs/smbfs/proc.c | entry->ctime = entry->atime = |
entry | 582 | fs/smbfs/proc.c | entry->mtime = local2utc(DVAL(buf, smb_vwv2)); |
entry | 583 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv4); |
entry | 584 | fs/smbfs/proc.c | entry->access = WVAL(buf, smb_vwv6); |
entry | 588 | fs/smbfs/proc.c | entry->access &= 3; |
entry | 589 | fs/smbfs/proc.c | DPRINTK("smb_proc_open: entry->access = %d\n", entry->access); |
entry | 761 | fs/smbfs/proc.c | struct smb_dirent *entry, word command) |
entry | 770 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, entry->attr); |
entry | 771 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, utc2local(entry->ctime)); |
entry | 782 | fs/smbfs/proc.c | entry->opened = 1; |
entry | 783 | fs/smbfs/proc.c | entry->fileid = WVAL(buf, smb_vwv0); |
entry | 786 | fs/smbfs/proc.c | smb_proc_close(server, entry); |
entry | 793 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 795 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBcreate); |
entry | 800 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 802 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBmknew); |
entry | 923 | fs/smbfs/proc.c | smb_decode_dirent(char *p, struct smb_dirent *entry) |
entry | 926 | fs/smbfs/proc.c | entry->attr = BVAL(p, 0); |
entry | 927 | fs/smbfs/proc.c | entry->mtime = entry->atime = entry->ctime = |
entry | 929 | fs/smbfs/proc.c | entry->size = DVAL(p, 5); |
entry | 930 | fs/smbfs/proc.c | memcpy(entry->path, p+9, 13); |
entry | 931 | fs/smbfs/proc.c | DDPRINTK("smb_decode_dirent: path = %s\n", entry->path); |
entry | 941 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 970 | fs/smbfs/proc.c | current_entry = entry; |
entry | 1047 | fs/smbfs/proc.c | "%lu\n", entry->f_pos); |
entry | 1145 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 1191 | fs/smbfs/proc.c | current_entry = entry; |
entry | 1335 | fs/smbfs/proc.c | "%lu\n", entry->f_pos); |
entry | 1373 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 1377 | fs/smbfs/proc.c | entry); |
entry | 1380 | fs/smbfs/proc.c | entry); |
entry | 1385 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 1407 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv0); |
entry | 1408 | fs/smbfs/proc.c | entry->ctime = entry->atime = /* The server only tells us 1 time */ |
entry | 1409 | fs/smbfs/proc.c | entry->mtime = local2utc(DVAL(buf, smb_vwv1)); |
entry | 1411 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv3); |
entry | 1419 | fs/smbfs/proc.c | smb_proc_getattrE(struct smb_server *server, struct smb_dirent *entry) |
entry | 1425 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, entry->fileid); |
entry | 1432 | fs/smbfs/proc.c | entry->ctime = date_dos2unix(WVAL(buf, smb_vwv1), WVAL(buf, smb_vwv0)); |
entry | 1433 | fs/smbfs/proc.c | entry->atime = date_dos2unix(WVAL(buf, smb_vwv3), WVAL(buf, smb_vwv2)); |
entry | 1434 | fs/smbfs/proc.c | entry->mtime = date_dos2unix(WVAL(buf, smb_vwv5), WVAL(buf, smb_vwv4)); |
entry | 1435 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv6); |
entry | 1436 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv10); |
entry | 1444 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 1455 | fs/smbfs/proc.c | return smb_proc_getattr_core(server,path,len,entry); |
entry | 1459 | fs/smbfs/proc.c | entry->attr = temp_entry.attr; |
entry | 1460 | fs/smbfs/proc.c | entry->atime = temp_entry.atime; |
entry | 1461 | fs/smbfs/proc.c | entry->mtime = temp_entry.mtime; |
entry | 1462 | fs/smbfs/proc.c | entry->ctime = temp_entry.ctime; |
entry | 1463 | fs/smbfs/proc.c | entry->size = temp_entry.size; |
entry | 1470 | fs/smbfs/proc.c | return smb_proc_getattr_core(server, path, len, entry); |
entry | 166 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 168 | fs/umsdos/dir.c | if (umsdos_emd_dir_readentry (emd_dir,filp,&entry)!=0){ |
entry | 171 | fs/umsdos/dir.c | }else if (entry.name_len != 0){ |
entry | 193 | fs/umsdos/dir.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 199 | fs/umsdos/dir.c | ,info.fake.fname,lret,entry.flags)); |
entry | 201 | fs/umsdos/dir.c | && (entry.flags & UMSDOS_HLINK) |
entry | 217 | fs/umsdos/dir.c | || !(entry.flags & UMSDOS_HIDDEN))){ |
entry | 219 | fs/umsdos/dir.c | ,entry.name,entry.name_len |
entry | 224 | fs/umsdos/dir.c | if (u_entry != NULL) *u_entry = entry; |
entry | 275 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 277 | fs/umsdos/dir.c | ret = umsdos_readdir_x (dir,filp,&bufk,0,&entry,1,umsdos_dir_once); |
entry | 291 | fs/umsdos/dir.c | struct umsdos_dirent *entry, |
entry | 343 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
entry | 344 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
entry | 345 | fs/umsdos/dir.c | inode->i_rdev = to_kdev_t(entry->rdev); |
entry | 346 | fs/umsdos/dir.c | inode->i_atime = entry->atime; |
entry | 347 | fs/umsdos/dir.c | inode->i_ctime = entry->ctime; |
entry | 348 | fs/umsdos/dir.c | inode->i_mtime = entry->mtime; |
entry | 349 | fs/umsdos/dir.c | inode->i_uid = entry->uid; |
entry | 350 | fs/umsdos/dir.c | inode->i_gid = entry->gid; |
entry | 395 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
entry | 396 | fs/umsdos/dir.c | if (entry->nlink > 0){ |
entry | 397 | fs/umsdos/dir.c | inode->i_nlink = entry->nlink; |
entry | 430 | fs/umsdos/dir.c | struct umsdos_dirent *entry; |
entry | 446 | fs/umsdos/dir.c | memcpy (d->entry->name,name,name_len); |
entry | 447 | fs/umsdos/dir.c | d->entry->name[name_len] = '\0'; |
entry | 448 | fs/umsdos/dir.c | d->entry->name_len = name_len; |
entry | 465 | fs/umsdos/dir.c | struct umsdos_dirent *entry) /* Will hold the entry */ |
entry | 473 | fs/umsdos/dir.c | memcpy (entry->name,UMSDOS_PSDROOT_NAME,UMSDOS_PSDROOT_LEN+1); |
entry | 474 | fs/umsdos/dir.c | entry->name_len = UMSDOS_PSDROOT_LEN; |
entry | 485 | fs/umsdos/dir.c | bufk.entry = entry; |
entry | 502 | fs/umsdos/dir.c | ,1,entry,0,umsdos_filldir_k) < 0){ |
entry | 508 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,entry,bufk.f_pos); |
entry | 523 | fs/umsdos/dir.c | struct umsdos_dirent *entry) |
entry | 531 | fs/umsdos/dir.c | ret = umsdos_inode2entry (adir,dir,entry); |
entry | 552 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 560 | fs/umsdos/dir.c | ret = umsdos_inode2entry (dir,inode,&entry); |
entry | 562 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 563 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 573 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (dir,&adir,&entry); |
entry | 579 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 580 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 660 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 661 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (*result,&aadir,&entry); |
entry | 695 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
entry | 697 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
entry | 699 | fs/umsdos/dir.c | ,info.entry.flags)); |
entry | 700 | fs/umsdos/dir.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 144 | fs/umsdos/emd.c | struct umsdos_dirent *entry) |
entry | 146 | fs/umsdos/emd.c | int ret = umsdos_emd_dir_read(emd_dir,filp,(char*)entry,UMSDOS_REC_SIZE); |
entry | 149 | fs/umsdos/emd.c | int recsize = umsdos_evalrecsize (entry->name_len); |
entry | 152 | fs/umsdos/emd.c | ,((char*)entry)+UMSDOS_REC_SIZE,recsize - UMSDOS_REC_SIZE); |
entry | 170 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 180 | fs/umsdos/emd.c | entry = &entry0; |
entry | 181 | fs/umsdos/emd.c | }else if (entry->name_len > 0){ |
entry | 182 | fs/umsdos/emd.c | memset (entry->name+entry->name_len,'\0' |
entry | 183 | fs/umsdos/emd.c | ,sizeof(entry->name)-entry->name_len); |
entry | 190 | fs/umsdos/emd.c | memset (entry->spare,0,sizeof(entry->spare)); |
entry | 194 | fs/umsdos/emd.c | ret = umsdos_emd_dir_write(emd_dir,&filp,(char*)entry,info->recsize); |
entry | 280 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 311 | fs/umsdos/emd.c | if (entry->name_len == 0){ |
entry | 340 | fs/umsdos/emd.c | if (entry->name_len == rentry->name_len |
entry | 341 | fs/umsdos/emd.c | && memcmp(entry->name,rentry->name,rentry->name_len) |
entry | 344 | fs/umsdos/emd.c | *entry = *rentry; |
entry | 391 | fs/umsdos/emd.c | info->entry.name_len = 0; |
entry | 400 | fs/umsdos/emd.c | info->entry.name_len = sprintf (info->entry.name,"..LINK%ld" |
entry | 420 | fs/umsdos/emd.c | if (info->entry.name_len != 0){ |
entry | 421 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
entry | 422 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 456 | fs/umsdos/emd.c | struct umsdos_dirent entry; |
entry | 457 | fs/umsdos/emd.c | if (umsdos_emd_dir_readentry(emd_dir,&filp,&entry)!=0){ |
entry | 460 | fs/umsdos/emd.c | }else if (entry.name_len != 0){ |
entry | 485 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 315 | fs/umsdos/inode.c | struct umsdos_dirent entry; |
entry | 321 | fs/umsdos/inode.c | ret = umsdos_emd_dir_read (emd_owner,&filp,(char*)&entry |
entry | 325 | fs/umsdos/inode.c | entry.uid = attr->ia_uid; |
entry | 327 | fs/umsdos/inode.c | entry.gid = attr->ia_gid; |
entry | 329 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
entry | 331 | fs/umsdos/inode.c | entry.atime = attr->ia_atime; |
entry | 333 | fs/umsdos/inode.c | entry.mtime = attr->ia_mtime; |
entry | 335 | fs/umsdos/inode.c | entry.ctime = attr->ia_ctime; |
entry | 337 | fs/umsdos/inode.c | entry.nlink = inode->i_nlink; |
entry | 339 | fs/umsdos/inode.c | ret = umsdos_emd_dir_write (emd_owner,&filp,(char*)&entry |
entry | 344 | fs/umsdos/inode.c | ,ret,entry.nlink)); |
entry | 143 | fs/umsdos/ioctl.c | struct umsdos_dirent entry; |
entry | 145 | fs/umsdos/ioctl.c | ret = umsdos_emd_dir_readentry (emd_dir,filp,&entry); |
entry | 148 | fs/umsdos/ioctl.c | }else if (entry.name_len > 0){ |
entry | 150 | fs/umsdos/ioctl.c | ret = entry.name_len; |
entry | 151 | fs/umsdos/ioctl.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 154 | fs/umsdos/ioctl.c | memcpy_tofs(&idata->umsdos_dirent,&entry |
entry | 155 | fs/umsdos/ioctl.c | ,sizeof(entry)); |
entry | 202 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 234 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 374 | fs/umsdos/mangle.c | memcpy (info->entry.name,fname,len); |
entry | 375 | fs/umsdos/mangle.c | info->entry.name_len = len; |
entry | 216 | fs/umsdos/namei.c | info.entry.mode = mode; |
entry | 217 | fs/umsdos/namei.c | info.entry.rdev = rdev; |
entry | 218 | fs/umsdos/namei.c | info.entry.flags = flags; |
entry | 219 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
entry | 220 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
entry | 222 | fs/umsdos/namei.c | info.entry.ctime = info.entry.atime = info.entry.mtime |
entry | 224 | fs/umsdos/namei.c | info.entry.nlink = 1; |
entry | 233 | fs/umsdos/namei.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
entry | 286 | fs/umsdos/namei.c | new_info->entry.mode = old_info->entry.mode; |
entry | 287 | fs/umsdos/namei.c | new_info->entry.rdev = old_info->entry.rdev; |
entry | 288 | fs/umsdos/namei.c | new_info->entry.uid = old_info->entry.uid; |
entry | 289 | fs/umsdos/namei.c | new_info->entry.gid = old_info->entry.gid; |
entry | 290 | fs/umsdos/namei.c | new_info->entry.ctime = old_info->entry.ctime; |
entry | 291 | fs/umsdos/namei.c | new_info->entry.atime = old_info->entry.atime; |
entry | 292 | fs/umsdos/namei.c | new_info->entry.mtime = old_info->entry.mtime; |
entry | 293 | fs/umsdos/namei.c | new_info->entry.flags = flags ? flags : old_info->entry.flags; |
entry | 294 | fs/umsdos/namei.c | new_info->entry.nlink = old_info->entry.nlink; |
entry | 335 | fs/umsdos/namei.c | current->fsuid == old_info.entry.uid || |
entry | 342 | fs/umsdos/namei.c | current->fsuid == new_info.entry.uid || |
entry | 361 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
entry | 365 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
entry | 378 | fs/umsdos/namei.c | PRINTK (("rename lookup len %d %d -- ",new_len,new_info.entry.flags)); |
entry | 384 | fs/umsdos/namei.c | ,new_info.entry.name); |
entry | 573 | fs/umsdos/namei.c | struct umsdos_dirent entry; |
entry | 575 | fs/umsdos/namei.c | ret = umsdos_inode2entry (olddir,oldinode,&entry); |
entry | 578 | fs/umsdos/namei.c | ,entry.name |
entry | 579 | fs/umsdos/namei.c | ,oldinode->i_ino,entry.flags)); |
entry | 580 | fs/umsdos/namei.c | if (!(entry.flags & UMSDOS_HIDDEN)){ |
entry | 597 | fs/umsdos/namei.c | ret = umsdos_rename_f (olddir,entry.name |
entry | 598 | fs/umsdos/namei.c | ,entry.name_len |
entry | 599 | fs/umsdos/namei.c | ,olddir,info.entry.name,info.entry.name_len |
entry | 612 | fs/umsdos/namei.c | ,entry.name |
entry | 613 | fs/umsdos/namei.c | ,entry.name_len,path |
entry | 689 | fs/umsdos/namei.c | info.entry.mode = mode | S_IFDIR; |
entry | 690 | fs/umsdos/namei.c | info.entry.rdev = 0; |
entry | 691 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
entry | 692 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
entry | 694 | fs/umsdos/namei.c | info.entry.ctime = info.entry.atime = info.entry.mtime |
entry | 696 | fs/umsdos/namei.c | info.entry.flags = 0; |
entry | 698 | fs/umsdos/namei.c | info.entry.nlink = 1; |
entry | 943 | fs/umsdos/namei.c | current->fsuid == info.entry.uid || |
entry | 945 | fs/umsdos/namei.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 967 | fs/umsdos/namei.c | struct umsdos_dirent entry; |
entry | 968 | fs/umsdos/namei.c | ret = umsdos_inode2entry (hdir,inode,&entry); |
entry | 970 | fs/umsdos/namei.c | ret = UMSDOS_unlink (hdir,entry.name |
entry | 971 | fs/umsdos/namei.c | ,entry.name_len); |
entry | 991 | fs/umsdos/namei.c | ,info.entry.mode,ret)); |
entry | 31 | include/asm-alpha/a.out.h | __u64 entry; |
entry | 68 | include/asm-alpha/a.out.h | #define a_entry ah.entry |
entry | 477 | include/asm-alpha/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 32) & 0xff) |
entry | 478 | include/asm-alpha/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 40) |
entry | 488 | include/asm-i386/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 489 | include/asm-i386/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 556 | include/asm-mips/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 32) & 0xff) |
entry | 557 | include/asm-mips/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 40) |
entry | 562 | include/asm-mips/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 563 | include/asm-mips/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 501 | include/asm-ppc/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 502 | include/asm-ppc/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 34 | include/asm-sparc/cache.h | extern inline void put_icache_tag(int setnum, int tagnum, unsigned int entry) |
entry | 40 | include/asm-sparc/cache.h | "r" (entry), "r" (vaddr), "i" (ASI_M_TXTC_TAG) : |
entry | 273 | include/asm-sparc/pgtable.h | #define SWP_TYPE(entry) (((entry)>>2) & 0x7f) |
entry | 274 | include/asm-sparc/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 9) |
entry | 290 | include/asm-sparc/pgtable.h | extern inline void remove_from_ctx_list(struct ctx_list *entry) |
entry | 292 | include/asm-sparc/pgtable.h | entry->next->prev = entry->prev; |
entry | 293 | include/asm-sparc/pgtable.h | entry->prev->next = entry->next; |
entry | 296 | include/asm-sparc/pgtable.h | extern inline void add_to_ctx_list(struct ctx_list *head, struct ctx_list *entry) |
entry | 298 | include/asm-sparc/pgtable.h | entry->next = head; |
entry | 299 | include/asm-sparc/pgtable.h | (entry->prev = head->prev)->next = entry; |
entry | 300 | include/asm-sparc/pgtable.h | head->prev = entry; |
entry | 302 | include/asm-sparc/pgtable.h | #define add_to_free_ctxlist(entry) add_to_ctx_list(&ctx_free, entry) |
entry | 303 | include/asm-sparc/pgtable.h | #define add_to_used_ctxlist(entry) add_to_ctx_list(&ctx_used, entry) |
entry | 94 | include/asm-sparc/pgtsun4c.h | register unsigned long entry; |
entry | 97 | include/asm-sparc/pgtsun4c.h | "=r" (entry) : |
entry | 100 | include/asm-sparc/pgtsun4c.h | return entry; |
entry | 103 | include/asm-sparc/pgtsun4c.h | extern __inline__ void sun4c_put_segmap(unsigned long addr, unsigned long entry) |
entry | 107 | include/asm-sparc/pgtsun4c.h | "r" (addr), "r" (entry), |
entry | 115 | include/asm-sparc/pgtsun4c.h | register unsigned long entry; |
entry | 118 | include/asm-sparc/pgtsun4c.h | "=r" (entry) : |
entry | 120 | include/asm-sparc/pgtsun4c.h | return entry; |
entry | 123 | include/asm-sparc/pgtsun4c.h | extern __inline__ void sun4c_put_pte(unsigned long addr, unsigned long entry) |
entry | 127 | include/asm-sparc/pgtsun4c.h | "r" (entry), "i" (ASI_PTE)); |
entry | 136 | include/linux/coff.h | char entry[4]; /* entry pt. */ |
entry | 92 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
entry | 451 | include/linux/sched.h | struct select_table_entry * entry; |
entry | 457 | include/linux/sched.h | entry = p->entry + p->nr; |
entry | 458 | include/linux/sched.h | entry->wait_address = wait_address; |
entry | 459 | include/linux/sched.h | entry->wait.task = current; |
entry | 460 | include/linux/sched.h | entry->wait.next = NULL; |
entry | 461 | include/linux/sched.h | add_wait_queue(wait_address,&entry->wait); |
entry | 126 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 137 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 139 | include/linux/smb_fs.h | struct smb_dirent *entry); |
entry | 148 | include/linux/smb_fs.h | struct smb_dirent *entry); |
entry | 150 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 107 | include/linux/swap.h | unsigned long entry; |
entry | 112 | include/linux/swap.h | entry = xchg(swap_cache + MAP_NR(addr), 0); |
entry | 114 | include/linux/swap.h | if (entry) |
entry | 117 | include/linux/swap.h | return entry; |
entry | 122 | include/linux/swap.h | unsigned long entry; |
entry | 127 | include/linux/swap.h | entry= xchg(swap_cache + MAP_NR(addr), 0); |
entry | 128 | include/linux/swap.h | if (entry) { |
entry | 132 | include/linux/swap.h | swap_free(entry); |
entry | 65 | include/linux/umsdos_fs.h | struct umsdos_dirent entry; |
entry | 31 | include/linux/wait.h | struct select_table_entry * entry; |
entry | 565 | mm/filemap.c | unsigned long entry = SWP_ENTRY(SHM_SWP_TYPE, MAP_NR(page)); |
entry | 567 | mm/filemap.c | set_pte(page_table, __pte(entry)); |
entry | 571 | mm/filemap.c | if (pte_val(*page_table) == entry) |
entry | 584 | mm/filemap.c | unsigned long entry) |
entry | 586 | mm/filemap.c | unsigned long page = SWP_OFFSET(entry); |
entry | 860 | mm/memory.c | pte_t * page_table, pte_t entry, int write_access) |
entry | 865 | mm/memory.c | swap_in(tsk, vma, page_table, pte_val(entry), write_access); |
entry | 868 | mm/memory.c | page = vma->vm_ops->swapin(vma, address - vma->vm_start + vma->vm_offset, pte_val(entry)); |
entry | 869 | mm/memory.c | if (pte_val(*page_table) != pte_val(entry)) { |
entry | 891 | mm/memory.c | pte_t entry; |
entry | 897 | mm/memory.c | entry = *page_table; |
entry | 898 | mm/memory.c | if (pte_present(entry)) |
entry | 900 | mm/memory.c | if (!pte_none(entry)) { |
entry | 901 | mm/memory.c | do_swap_page(tsk, vma, address, page_table, entry, write_access); |
entry | 934 | mm/memory.c | entry = mk_pte(page, vma->vm_page_prot); |
entry | 936 | mm/memory.c | entry = pte_mkwrite(pte_mkdirty(entry)); |
entry | 938 | mm/memory.c | entry = pte_wrprotect(entry); |
entry | 939 | 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 | set_pte(pte, pte_modify(entry, newprot)); |
entry | 26 | mm/page_alloc.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 28 | mm/page_alloc.c | entry->prev = head; |
entry | 29 | mm/page_alloc.c | (entry->next = head->next)->prev = entry; |
entry | 30 | mm/page_alloc.c | head->next = entry; |
entry | 33 | mm/page_alloc.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 35 | mm/page_alloc.c | struct mem_list * next = entry->next; |
entry | 36 | mm/page_alloc.c | (next->prev = entry->prev)->next = next; |
entry | 275 | mm/page_alloc.c | pte_t * page_table, unsigned long entry, int write_access) |
entry | 279 | mm/page_alloc.c | if (pte_val(*page_table) != entry) { |
entry | 285 | mm/page_alloc.c | swap_free(entry); |
entry | 289 | mm/page_alloc.c | read_swap_page(entry, (char *) page); |
entry | 290 | mm/page_alloc.c | if (pte_val(*page_table) != entry) { |
entry | 296 | mm/page_alloc.c | if (!write_access && add_to_swap_cache(page, entry)) { |
entry | 301 | mm/page_alloc.c | swap_free(entry); |
entry | 31 | mm/page_io.c | void rw_swap_page(int rw, unsigned long entry, char * buf, int wait) |
entry | 37 | mm/page_io.c | type = SWP_TYPE(entry); |
entry | 43 | mm/page_io.c | offset = SWP_OFFSET(entry); |
entry | 49 | mm/page_io.c | printk("Hmm.. Trying to use unallocated swap (%08lx)\n", entry); |
entry | 52 | mm/swap_state.c | int add_to_swap_cache(unsigned long addr, unsigned long entry) |
entry | 54 | mm/swap_state.c | struct swap_info_struct * p = &swap_info[SWP_TYPE(entry)]; |
entry | 60 | mm/swap_state.c | entry = xchg(swap_cache + MAP_NR(addr), entry); |
entry | 61 | mm/swap_state.c | if (entry) { |
entry | 84 | mm/swap_state.c | void swap_duplicate(unsigned long entry) |
entry | 89 | mm/swap_state.c | if (!entry) |
entry | 91 | mm/swap_state.c | offset = SWP_OFFSET(entry); |
entry | 92 | mm/swap_state.c | type = SWP_TYPE(entry); |
entry | 78 | mm/swapfile.c | unsigned long offset, entry; |
entry | 90 | mm/swapfile.c | entry = SWP_ENTRY(type,offset); |
entry | 101 | mm/swapfile.c | return entry; |
entry | 116 | mm/swapfile.c | void swap_free(unsigned long entry) |
entry | 121 | mm/swapfile.c | if (!entry) |
entry | 123 | mm/swapfile.c | type = SWP_TYPE(entry); |
entry | 131 | mm/swapfile.c | offset = SWP_OFFSET(entry); |
entry | 145 | mm/swapfile.c | printk("swap_free: swap-space map bad (entry %08lx)\n",entry); |
entry | 30 | mm/vmalloc.c | static inline void set_pgdir(unsigned long address, pgd_t entry) |
entry | 37 | mm/vmalloc.c | *pgd_offset(p->mm,address) = entry; |
entry | 74 | mm/vmscan.c | unsigned long entry; |
entry | 111 | mm/vmscan.c | if (!(entry = get_swap_page())) |
entry | 114 | mm/vmscan.c | set_pte(page_table, __pte(entry)); |
entry | 117 | mm/vmscan.c | rw_swap_page(WRITE, entry, (char *) page, wait); |
entry | 122 | mm/vmscan.c | if ((entry = find_in_swap_cache(page))) { |
entry | 129 | mm/vmscan.c | set_pte(page_table, __pte(entry)); |
entry | 137 | mm/vmscan.c | entry = page_unuse(page); |
entry | 139 | mm/vmscan.c | return 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 | 251 | net/ipv4/arp.c | static void arp_enqueue(struct arp_table **q, struct arp_table *entry) |
entry | 260 | net/ipv4/arp.c | entry->next = entry; |
entry | 263 | net/ipv4/arp.c | entry->next = tail->next; |
entry | 264 | net/ipv4/arp.c | tail->next = entry; |
entry | 266 | net/ipv4/arp.c | *q = entry; |
entry | 278 | net/ipv4/arp.c | struct arp_table * entry; |
entry | 282 | net/ipv4/arp.c | entry = (*q)->next; |
entry | 283 | net/ipv4/arp.c | (*q)->next = entry->next; |
entry | 284 | net/ipv4/arp.c | if (entry->next == entry) |
entry | 286 | net/ipv4/arp.c | entry->next = NULL; |
entry | 287 | net/ipv4/arp.c | return entry; |
entry | 296 | net/ipv4/arp.c | static void arp_release_entry(struct arp_table *entry) |
entry | 304 | net/ipv4/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 320 | net/ipv4/arp.c | static void arp_free_entry(struct arp_table *entry) |
entry | 325 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 329 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 331 | net/ipv4/arp.c | for (hh = entry->hh; hh; hh = next) |
entry | 341 | net/ipv4/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 349 | net/ipv4/arp.c | static __inline__ int arp_count_hhs(struct arp_table * entry) |
entry | 354 | net/ipv4/arp.c | hhp = &entry->hh; |
entry | 374 | net/ipv4/arp.c | static __inline__ void arp_invalidate_hhs(struct arp_table * entry) |
entry | 378 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 386 | net/ipv4/arp.c | static __inline__ void arp_update_hhs(struct arp_table * entry) |
entry | 390 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 391 | net/ipv4/arp.c | entry->dev->header_cache_update(hh, entry->dev, entry->ha); |
entry | 416 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 421 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 424 | net/ipv4/arp.c | if (now - entry->last_used > ARP_TIMEOUT |
entry | 425 | net/ipv4/arp.c | && !(entry->flags & ATF_PERM) |
entry | 426 | net/ipv4/arp.c | && !arp_count_hhs(entry)) |
entry | 428 | net/ipv4/arp.c | *pentry = entry->next; |
entry | 431 | net/ipv4/arp.c | printk("arp_expire: %08x expired\n", entry->ip); |
entry | 433 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 435 | net/ipv4/arp.c | else if (entry->last_updated |
entry | 436 | net/ipv4/arp.c | && now - entry->last_updated > ARP_CONFIRM_INTERVAL |
entry | 437 | net/ipv4/arp.c | && !(entry->flags & ATF_PERM)) |
entry | 439 | net/ipv4/arp.c | struct device * dev = entry->dev; |
entry | 440 | net/ipv4/arp.c | pentry = &entry->next; |
entry | 441 | net/ipv4/arp.c | entry->flags &= ~ATF_COM; |
entry | 442 | net/ipv4/arp.c | arp_invalidate_hhs(entry); |
entry | 444 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES+1; |
entry | 445 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 446 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_CONFIRM_TIMEOUT; |
entry | 447 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 448 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, |
entry | 449 | net/ipv4/arp.c | dev, dev->pa_addr, entry->ha, |
entry | 452 | net/ipv4/arp.c | printk("arp_expire: %08x requires confirmation\n", entry->ip); |
entry | 456 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 480 | net/ipv4/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
entry | 494 | net/ipv4/arp.c | if (entry->flags & ATF_COM) |
entry | 503 | net/ipv4/arp.c | printk("arp_expire_request: %08x postponed\n", entry->ip); |
entry | 505 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 506 | net/ipv4/arp.c | entry->timer.expires = jiffies + HZ/10; |
entry | 507 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 515 | net/ipv4/arp.c | if (entry->last_updated && --entry->retries > 0) |
entry | 517 | net/ipv4/arp.c | struct device *dev = entry->dev; |
entry | 520 | net/ipv4/arp.c | printk("arp_expire_request: %08x timed out\n", entry->ip); |
entry | 523 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 524 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 525 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 526 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
entry | 532 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 535 | net/ipv4/arp.c | if (arp_count_hhs(entry)) |
entry | 537 | net/ipv4/arp.c | struct device *dev = entry->dev; |
entry | 539 | net/ipv4/arp.c | printk("arp_expire_request: %08x is dead\n", entry->ip); |
entry | 541 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 542 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 544 | net/ipv4/arp.c | entry->last_updated = 0; |
entry | 545 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 546 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_DEAD_RES_TIME; |
entry | 547 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 548 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
entry | 555 | net/ipv4/arp.c | hash = HASH(entry->ip); |
entry | 561 | net/ipv4/arp.c | if (*pentry == entry) |
entry | 564 | net/ipv4/arp.c | *pentry = entry->next; |
entry | 567 | net/ipv4/arp.c | printk("arp_expire_request: %08x is killed\n", entry->ip); |
entry | 569 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 602 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 605 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 607 | net/ipv4/arp.c | if (entry->dev == dev) |
entry | 609 | net/ipv4/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 610 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 613 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 701 | net/ipv4/arp.c | static void arp_send_q(struct arp_table *entry) |
entry | 711 | net/ipv4/arp.c | if(!(entry->flags&ATF_COM)) |
entry | 714 | net/ipv4/arp.c | in_ntoa(entry->ip)); |
entry | 725 | net/ipv4/arp.c | while((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 747 | net/ipv4/arp.c | static void arp_destroy(struct arp_table * entry) |
entry | 752 | net/ipv4/arp.c | if (entry->flags & ATF_PUBL) |
entry | 755 | net/ipv4/arp.c | pentry = &arp_tables[HASH(entry->ip)]; |
entry | 759 | net/ipv4/arp.c | if (entry1 == entry) |
entry | 762 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 763 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 784 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 994 | net/ipv4/arp.c | for (entry=arp_tables[hash]; entry; entry=entry->next) |
entry | 995 | net/ipv4/arp.c | if (entry->ip == sip && entry->dev == dev) |
entry | 998 | net/ipv4/arp.c | if (entry) |
entry | 1003 | net/ipv4/arp.c | if (!(entry->flags & ATF_PERM)) { |
entry | 1004 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
entry | 1005 | net/ipv4/arp.c | entry->last_updated = jiffies; |
entry | 1007 | net/ipv4/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 1013 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 1014 | net/ipv4/arp.c | entry->flags |= ATF_COM; |
entry | 1015 | net/ipv4/arp.c | arp_update_hhs(entry); |
entry | 1021 | net/ipv4/arp.c | arp_send_q(entry); |
entry | 1029 | net/ipv4/arp.c | entry = (struct arp_table *)kmalloc(sizeof(struct arp_table),GFP_ATOMIC); |
entry | 1030 | net/ipv4/arp.c | if(entry == NULL) |
entry | 1038 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1039 | net/ipv4/arp.c | entry->ip = sip; |
entry | 1040 | net/ipv4/arp.c | entry->flags = ATF_COM; |
entry | 1041 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1042 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1043 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1044 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1045 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
entry | 1046 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1052 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1054 | net/ipv4/arp.c | entry->dev = skb->dev; |
entry | 1056 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1059 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1060 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1065 | net/ipv4/arp.c | printk("arp_rcv: %08x backlogged\n", entry->ip); |
entry | 1067 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1089 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1093 | net/ipv4/arp.c | for (entry = arp_tables[HASH(paddr)]; |
entry | 1094 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1095 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
entry | 1097 | net/ipv4/arp.c | return entry; |
entry | 1102 | net/ipv4/arp.c | for (entry = arp_proxy_list; |
entry | 1103 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1104 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
entry | 1106 | net/ipv4/arp.c | return entry; |
entry | 1109 | net/ipv4/arp.c | for (entry=arp_proxy_list; entry != NULL; entry = entry->next) |
entry | 1110 | net/ipv4/arp.c | if (!((entry->ip^paddr)&entry->mask) && |
entry | 1111 | net/ipv4/arp.c | (!dev || entry->dev == dev)) |
entry | 1113 | net/ipv4/arp.c | return entry; |
entry | 1122 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1126 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1128 | net/ipv4/arp.c | if (entry != NULL) |
entry | 1130 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1131 | net/ipv4/arp.c | if (entry->flags & ATF_COM) |
entry | 1133 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 1186 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1202 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1204 | net/ipv4/arp.c | if (entry != NULL) /* It exists */ |
entry | 1206 | net/ipv4/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 1215 | net/ipv4/arp.c | if (entry->last_updated) |
entry | 1217 | net/ipv4/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 1250 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1251 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 1262 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1264 | net/ipv4/arp.c | if (entry != NULL) |
entry | 1266 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1267 | net/ipv4/arp.c | entry->flags = 0; |
entry | 1268 | net/ipv4/arp.c | entry->ip = paddr; |
entry | 1269 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1270 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 1271 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1272 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1273 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1274 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1275 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1276 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1277 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1280 | net/ipv4/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 1285 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1286 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1287 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1288 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1293 | net/ipv4/arp.c | printk("arp_find: %08x backlogged\n", entry->ip); |
entry | 1295 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1325 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1339 | net/ipv4/arp.c | for(entry=arp_tables[i]; entry!=NULL; entry=entry->next) |
entry | 1346 | net/ipv4/arp.c | if (entry->dev->type == ARPHRD_AX25 || entry->dev->type == ARPHRD_NETROM) |
entry | 1347 | net/ipv4/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 1350 | net/ipv4/arp.c | if(entry->dev->type==ARPHRD_AX25) |
entry | 1351 | net/ipv4/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 1356 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->dev->addr_len;j++) |
entry | 1358 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
entry | 1359 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
entry | 1369 | net/ipv4/arp.c | in_ntoa(entry->ip), |
entry | 1370 | net/ipv4/arp.c | (unsigned int)entry->dev->type, |
entry | 1371 | net/ipv4/arp.c | entry->flags, |
entry | 1376 | net/ipv4/arp.c | entry->mask==DEF_ARP_NETMASK ? |
entry | 1377 | net/ipv4/arp.c | "*" : in_ntoa(entry->mask), entry->dev->name); |
entry | 1381 | net/ipv4/arp.c | entry->mask==DEF_ARP_NETMASK ? |
entry | 1382 | net/ipv4/arp.c | "*" : in_ntoa(entry->mask), entry->dev->name, |
entry | 1383 | net/ipv4/arp.c | entry->hh ? entry->hh->hh_refcnt : -1, |
entry | 1384 | net/ipv4/arp.c | entry->hh ? entry->hh->hh_uptodate : 0); |
entry | 1410 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1441 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1443 | net/ipv4/arp.c | if (entry) |
entry | 1446 | net/ipv4/arp.c | for (hh = entry->hh; hh; hh=hh->hh_next) |
entry | 1473 | net/ipv4/arp.c | if (entry) |
entry | 1475 | net/ipv4/arp.c | dev->header_cache_update(hh, dev, entry->ha); |
entry | 1478 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1479 | net/ipv4/arp.c | entry->hh = hh; |
entry | 1482 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1492 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1494 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1501 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1502 | net/ipv4/arp.c | entry->flags = 0; |
entry | 1503 | net/ipv4/arp.c | entry->ip = paddr; |
entry | 1504 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1505 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 1506 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1507 | net/ipv4/arp.c | entry->hh = hh; |
entry | 1509 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1510 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1511 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1512 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1513 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1519 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1520 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1521 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1522 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1525 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1531 | net/ipv4/arp.c | printk("arp_cache_bind: %08x backlogged\n", entry->ip); |
entry | 1533 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1544 | net/ipv4/arp.c | struct arp_table *entry, *entry1; |
entry | 1554 | net/ipv4/arp.c | while ((entry = arp_dequeue(&arp_backlog)) != NULL) |
entry | 1558 | net/ipv4/arp.c | sip = entry->ip; |
entry | 1566 | net/ipv4/arp.c | if (entry1->ip==sip && entry1->dev == entry->dev) |
entry | 1571 | net/ipv4/arp.c | struct device * dev = entry->dev; |
entry | 1573 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1574 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1575 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 1576 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1578 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 1579 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1580 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1581 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1582 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, NULL, dev->dev_addr, NULL); |
entry | 1596 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=next) |
entry | 1603 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1608 | net/ipv4/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 1619 | net/ipv4/arp.c | printk("arp_run_bh: entry %08x was born dead\n", entry->ip); |
entry | 1621 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 1658 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1715 | net/ipv4/arp.c | entry = arp_lookup(ip, r->arp_flags & ~ATF_NETMASK, dev); |
entry | 1717 | net/ipv4/arp.c | if (entry) |
entry | 1719 | net/ipv4/arp.c | arp_destroy(entry); |
entry | 1720 | net/ipv4/arp.c | entry = NULL; |
entry | 1727 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1729 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1731 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1736 | net/ipv4/arp.c | entry->ip = ip; |
entry | 1737 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1738 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1739 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1740 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1745 | net/ipv4/arp.c | entry->next = arp_proxy_list; |
entry | 1746 | net/ipv4/arp.c | arp_proxy_list = entry; |
entry | 1753 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1754 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1757 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1765 | net/ipv4/arp.c | memcpy(entry->ha, ha, dev->addr_len); |
entry | 1766 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1767 | net/ipv4/arp.c | entry->flags = r->arp_flags | ATF_COM; |
entry | 1768 | net/ipv4/arp.c | if ((entry->flags & ATF_PUBL) && (entry->flags & ATF_NETMASK)) |
entry | 1771 | net/ipv4/arp.c | entry->mask = si->sin_addr.s_addr; |
entry | 1774 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1775 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1776 | net/ipv4/arp.c | arp_update_hhs(entry); |
entry | 1789 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1800 | net/ipv4/arp.c | entry = arp_lookup(si->sin_addr.s_addr, r->arp_flags|ATF_NETMASK, dev); |
entry | 1802 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1812 | net/ipv4/arp.c | memcpy(r->arp_ha.sa_data, &entry->ha, entry->dev->addr_len); |
entry | 1813 | net/ipv4/arp.c | r->arp_ha.sa_family = entry->dev->type; |
entry | 1814 | net/ipv4/arp.c | r->arp_flags = entry->flags; |
entry | 1815 | net/ipv4/arp.c | strncpy(r->arp_dev, entry->dev->name, 16); |
entry | 1822 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1834 | net/ipv4/arp.c | for (entry = arp_tables[HASH(si->sin_addr.s_addr)]; |
entry | 1835 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1836 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
entry | 1837 | net/ipv4/arp.c | && (!dev || entry->dev == dev)) |
entry | 1839 | net/ipv4/arp.c | arp_destroy(entry); |
entry | 1846 | net/ipv4/arp.c | for (entry = arp_proxy_list; |
entry | 1847 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1848 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
entry | 1849 | net/ipv4/arp.c | && (!dev || entry->dev == dev)) |
entry | 1851 | net/ipv4/arp.c | arp_destroy(entry); |
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 | 118 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 123 | net/ipv4/rarp.c | while ((entry = *pentry) != NULL) |
entry | 125 | net/ipv4/rarp.c | if (entry->ip == ip_addr) |
entry | 127 | net/ipv4/rarp.c | *pentry = entry->next; |
entry | 129 | net/ipv4/rarp.c | rarp_release_entry(entry); |
entry | 132 | net/ipv4/rarp.c | pentry = &entry->next; |
entry | 143 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 148 | net/ipv4/rarp.c | while ((entry = *pentry) != NULL) |
entry | 150 | net/ipv4/rarp.c | if (entry->dev == dev) |
entry | 152 | net/ipv4/rarp.c | *pentry = entry->next; |
entry | 154 | net/ipv4/rarp.c | rarp_release_entry(entry); |
entry | 157 | net/ipv4/rarp.c | pentry = &entry->next; |
entry | 201 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 260 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 261 | net/ipv4/rarp.c | if (!memcmp(entry->ha, tha, rarp->ar_hln)) |
entry | 264 | net/ipv4/rarp.c | if (entry != NULL) |
entry | 266 | net/ipv4/rarp.c | sip=entry->ip; |
entry | 287 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 342 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 343 | net/ipv4/rarp.c | if (entry->ip == ip) |
entry | 350 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 352 | net/ipv4/rarp.c | entry = (struct rarp_table *) kmalloc(sizeof(struct rarp_table), |
entry | 354 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 365 | net/ipv4/rarp.c | entry->next = rarp_tables; |
entry | 366 | net/ipv4/rarp.c | rarp_tables = entry; |
entry | 369 | net/ipv4/rarp.c | entry->ip = ip; |
entry | 370 | net/ipv4/rarp.c | entry->hlen = hlen; |
entry | 371 | net/ipv4/rarp.c | entry->htype = htype; |
entry | 372 | net/ipv4/rarp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 373 | net/ipv4/rarp.c | entry->dev = dev; |
entry | 391 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 412 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 413 | net/ipv4/rarp.c | if (entry->ip == ip) |
entry | 416 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 426 | net/ipv4/rarp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 427 | net/ipv4/rarp.c | r.arp_ha.sa_family = entry->htype; |
entry | 490 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 507 | net/ipv4/rarp.c | for(entry=rarp_tables; entry!=NULL; entry=entry->next) |
entry | 509 | net/ipv4/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |
entry | 520 | net/ipv4/rarp.c | (unsigned int)entry->ha[0], |
entry | 521 | net/ipv4/rarp.c | (unsigned int)entry->ha[1], |
entry | 522 | net/ipv4/rarp.c | (unsigned int)entry->ha[2], |
entry | 523 | net/ipv4/rarp.c | (unsigned int)entry->ha[3], |
entry | 524 | net/ipv4/rarp.c | (unsigned int)entry->ha[4], |
entry | 525 | net/ipv4/rarp.c | (unsigned int)entry->ha[5]); |