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 | 230 | arch/sparc/kernel/smp.c | unsigned long *entry = &sparc_cpu_startup; |
entry | 234 | arch/sparc/kernel/smp.c | entry += ((i-1) * 6); |
entry | 237 | arch/sparc/kernel/smp.c | printk("Starting CPU %d at %p\n", i, entry); |
entry | 241 | arch/sparc/kernel/smp.c | &penguin_ctable, 0, (char *)entry); |
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 | 885 | arch/sparc/kernel/sys_sunos.c | struct select_table_entry * entry = p->entry + p->nr; |
entry | 889 | arch/sparc/kernel/sys_sunos.c | entry--; |
entry | 890 | arch/sparc/kernel/sys_sunos.c | remove_wait_queue(entry->wait_address,&entry->wait); |
entry | 923 | arch/sparc/kernel/sys_sunos.c | struct select_table_entry *entry; |
entry | 931 | arch/sparc/kernel/sys_sunos.c | if (!(entry = (struct select_table_entry*)__get_free_page(GFP_KERNEL)) |
entry | 947 | arch/sparc/kernel/sys_sunos.c | wait_table.entry = entry; |
entry | 999 | arch/sparc/kernel/sys_sunos.c | free_page((unsigned long) entry); |
entry | 338 | arch/sparc/mm/sun4c.c | static inline void add_ring(struct sun4c_mmu_ring *ring, struct sun4c_mmu_entry *entry) |
entry | 342 | arch/sparc/mm/sun4c.c | entry->prev = head; |
entry | 343 | arch/sparc/mm/sun4c.c | (entry->next = head->next)->prev = entry; |
entry | 344 | arch/sparc/mm/sun4c.c | head->next = entry; |
entry | 348 | arch/sparc/mm/sun4c.c | static inline void remove_ring(struct sun4c_mmu_ring *ring, struct sun4c_mmu_entry *entry) |
entry | 350 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *next = entry->next; |
entry | 352 | arch/sparc/mm/sun4c.c | (next->prev = entry->prev)->next = next; |
entry | 356 | arch/sparc/mm/sun4c.c | static inline void recycle_ring(struct sun4c_mmu_ring *ring, struct sun4c_mmu_entry *entry) |
entry | 359 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *next = entry->next; |
entry | 361 | arch/sparc/mm/sun4c.c | (next->prev = entry->prev)->next = next; |
entry | 362 | arch/sparc/mm/sun4c.c | entry->prev = head; (entry->next = head->next)->prev = entry; |
entry | 363 | arch/sparc/mm/sun4c.c | head->next = entry; |
entry | 367 | arch/sparc/mm/sun4c.c | static inline void free_user_entry(int ctx, struct sun4c_mmu_entry *entry) |
entry | 369 | arch/sparc/mm/sun4c.c | remove_ring(sun4c_context_ring+ctx, entry); |
entry | 370 | arch/sparc/mm/sun4c.c | add_ring(&sun4c_ufree_ring, entry); |
entry | 373 | arch/sparc/mm/sun4c.c | static inline void assign_user_entry(int ctx, struct sun4c_mmu_entry *entry) |
entry | 375 | arch/sparc/mm/sun4c.c | remove_ring(&sun4c_ufree_ring, entry); |
entry | 376 | arch/sparc/mm/sun4c.c | add_ring(sun4c_context_ring+ctx, entry); |
entry | 379 | arch/sparc/mm/sun4c.c | static inline void free_kernel_entry(struct sun4c_mmu_entry *entry, struct sun4c_mmu_ring *ring) |
entry | 381 | arch/sparc/mm/sun4c.c | remove_ring(ring, entry); |
entry | 382 | arch/sparc/mm/sun4c.c | add_ring(&sun4c_kfree_ring, entry); |
entry | 385 | arch/sparc/mm/sun4c.c | static inline void assign_kernel_entry(struct sun4c_mmu_entry *entry, struct sun4c_mmu_ring *ring) |
entry | 387 | arch/sparc/mm/sun4c.c | remove_ring(ring, entry); |
entry | 388 | arch/sparc/mm/sun4c.c | add_ring(&sun4c_kernel_ring, entry); |
entry | 391 | arch/sparc/mm/sun4c.c | static inline void reassign_kernel_entry(struct sun4c_mmu_entry *entry) |
entry | 393 | arch/sparc/mm/sun4c.c | recycle_ring(&sun4c_kernel_ring, entry); |
entry | 487 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *entry = crp->ringhd.next; |
entry | 492 | arch/sparc/mm/sun4c.c | sun4c_user_unmap(entry); |
entry | 493 | arch/sparc/mm/sun4c.c | free_user_entry(ctx, entry); |
entry | 540 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *entry; |
entry | 543 | arch/sparc/mm/sun4c.c | entry = sun4c_user_strategy(); |
entry | 544 | arch/sparc/mm/sun4c.c | assign_user_entry(ctx, entry); |
entry | 545 | arch/sparc/mm/sun4c.c | entry->vaddr = address; |
entry | 546 | arch/sparc/mm/sun4c.c | sun4c_user_map(entry); |
entry | 551 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *entry; |
entry | 554 | arch/sparc/mm/sun4c.c | entry = sun4c_kernel_strategy(); |
entry | 556 | arch/sparc/mm/sun4c.c | assign_kernel_entry(entry, &sun4c_kfree_ring); |
entry | 557 | arch/sparc/mm/sun4c.c | entry->vaddr = address; |
entry | 558 | arch/sparc/mm/sun4c.c | sun4c_kernel_map(entry); |
entry | 673 | arch/sparc/mm/sun4c.c | struct sun4c_mmu_entry *entry; |
entry | 680 | arch/sparc/mm/sun4c.c | entry = &mmu_entry_pool[pseg]; |
entry | 682 | arch/sparc/mm/sun4c.c | sun4c_kernel_unmap(entry); |
entry | 683 | arch/sparc/mm/sun4c.c | add_ring(&sun4c_ufree_ring, entry); |
entry | 687 | arch/sparc/mm/sun4c.c | static inline void garbage_collect(int entry) |
entry | 692 | arch/sparc/mm/sun4c.c | entry &= ~15; |
entry | 693 | arch/sparc/mm/sun4c.c | start = entry; |
entry | 698 | arch/sparc/mm/sun4c.c | free_task_segment(BUCKET_ADDR(entry)); |
entry | 704 | arch/sparc/mm/sun4c.c | int entry; |
entry | 714 | arch/sparc/mm/sun4c.c | for(entry = 0; entry < NR_TASKS; entry++) |
entry | 715 | arch/sparc/mm/sun4c.c | if(sun4c_bucket[entry] == BUCKET_EMPTY) |
entry | 717 | arch/sparc/mm/sun4c.c | if(entry == NR_TASKS) { |
entry | 721 | arch/sparc/mm/sun4c.c | addr = BUCKET_ADDR(entry); |
entry | 722 | arch/sparc/mm/sun4c.c | sun4c_bucket[entry] = (struct task_bucket *) addr; |
entry | 777 | arch/sparc/mm/sun4c.c | int entry = BUCKET_NUM(tsaddr); |
entry | 781 | arch/sparc/mm/sun4c.c | sun4c_bucket[entry] = BUCKET_EMPTY; |
entry | 783 | arch/sparc/mm/sun4c.c | garbage_collect(entry); |
entry | 788 | arch/sparc/mm/sun4c.c | int entry; |
entry | 794 | arch/sparc/mm/sun4c.c | for(entry = 0; entry < NR_TASKS; entry++) |
entry | 795 | arch/sparc/mm/sun4c.c | sun4c_bucket[entry] = BUCKET_EMPTY; |
entry | 1071 | drivers/cdrom/aztcd.c | struct cdrom_tocentry entry; |
entry | 1228 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
entry | 1230 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 1232 | drivers/cdrom/aztcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 1234 | drivers/cdrom/aztcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 1236 | drivers/cdrom/aztcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 1237 | drivers/cdrom/aztcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 1241 | drivers/cdrom/aztcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 1242 | drivers/cdrom/aztcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 1243 | drivers/cdrom/aztcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 1244 | drivers/cdrom/aztcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 1245 | drivers/cdrom/aztcd.c | entry.cdte_addr.lba = azt_msf2hsg(&tocPtr -> diskTime); |
entry | 1246 | drivers/cdrom/aztcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 1247 | drivers/cdrom/aztcd.c | { entry.cdte_addr.msf.minute = azt_bcd2bin(tocPtr -> diskTime.min); |
entry | 1248 | drivers/cdrom/aztcd.c | entry.cdte_addr.msf.second = azt_bcd2bin(tocPtr -> diskTime.sec); |
entry | 1249 | drivers/cdrom/aztcd.c | entry.cdte_addr.msf.frame = azt_bcd2bin(tocPtr -> diskTime.frame); |
entry | 1254 | 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 | 294 | drivers/cdrom/mcd.c | struct cdrom_tocentry entry; |
entry | 463 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 467 | drivers/cdrom/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 468 | drivers/cdrom/mcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 472 | drivers/cdrom/mcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 473 | drivers/cdrom/mcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 477 | drivers/cdrom/mcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 479 | drivers/cdrom/mcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 480 | drivers/cdrom/mcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 482 | drivers/cdrom/mcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 483 | drivers/cdrom/mcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 485 | drivers/cdrom/mcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 487 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
entry | 488 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
entry | 489 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
entry | 495 | drivers/cdrom/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 350 | drivers/cdrom/mcdx.c | struct cdrom_tocentry entry; |
entry | 358 | drivers/cdrom/mcdx.c | if ((ans = verify_area(VERIFY_READ, (void *) arg, sizeof(entry)))) return ans; |
entry | 359 | drivers/cdrom/mcdx.c | memcpy_fromfs(&entry, (void *) arg, sizeof(entry)); |
entry | 361 | drivers/cdrom/mcdx.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 363 | drivers/cdrom/mcdx.c | else if (entry.cdte_track > stuffp->di.n_last |
entry | 364 | drivers/cdrom/mcdx.c | || entry.cdte_track < stuffp->di.n_first) return -EINVAL; |
entry | 365 | drivers/cdrom/mcdx.c | else tp = &stuffp->toc[entry.cdte_track - stuffp->di.n_first]; |
entry | 369 | drivers/cdrom/mcdx.c | entry.cdte_adr = tp->control; |
entry | 370 | drivers/cdrom/mcdx.c | entry.cdte_ctrl = tp->control >> 4; |
entry | 372 | drivers/cdrom/mcdx.c | if (entry.cdte_format == CDROM_MSF) { |
entry | 373 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.minute = bcd2uint(tp->dt.minute); |
entry | 374 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.second = bcd2uint(tp->dt.second); |
entry | 375 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.frame = bcd2uint(tp->dt.frame); |
entry | 376 | drivers/cdrom/mcdx.c | } else if (entry.cdte_format == CDROM_LBA) |
entry | 377 | drivers/cdrom/mcdx.c | entry.cdte_addr.lba = msf2log(&tp->dt); |
entry | 380 | drivers/cdrom/mcdx.c | if ((ans = verify_area(VERIFY_WRITE, (void*) arg, sizeof(entry)))) return ans; |
entry | 381 | 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 | 56 | drivers/char/ftape/ftape-eof.c | unsigned long entry; |
entry | 233 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
entry | 242 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
entry | 250 | drivers/char/ftape/ftape-eof.c | ptr->entry = new.entry; |
entry | 129 | drivers/char/lp_intern.c | int lp_internal_init(struct lp_struct *lp_table, int entry, |
entry | 132 | drivers/char/lp_intern.c | if (max_lp-entry < 1) |
entry | 153 | drivers/char/lp_intern.c | lp_table[entry].name = "Builtin LP"; |
entry | 154 | drivers/char/lp_intern.c | lp_table[entry].lp_out = lp_int_out; |
entry | 155 | drivers/char/lp_intern.c | lp_table[entry].lp_is_busy = lp_int_busy; |
entry | 156 | drivers/char/lp_intern.c | lp_table[entry].lp_has_pout = lp_int_pout; |
entry | 157 | drivers/char/lp_intern.c | lp_table[entry].lp_is_online = lp_int_online; |
entry | 158 | drivers/char/lp_intern.c | lp_table[entry].lp_my_interrupt = lp_int_interrupt; |
entry | 159 | drivers/char/lp_intern.c | lp_table[entry].flags = LP_EXIST; |
entry | 160 | drivers/char/lp_intern.c | lp_table[entry].chars = LP_INIT_CHAR; |
entry | 161 | drivers/char/lp_intern.c | lp_table[entry].time = LP_INIT_TIME; |
entry | 162 | drivers/char/lp_intern.c | lp_table[entry].wait = LP_INIT_WAIT; |
entry | 163 | drivers/char/lp_intern.c | lp_table[entry].lp_wait_q = NULL; |
entry | 165 | drivers/char/lp_intern.c | printk("lp%d: internal port\n", entry); |
entry | 184 | drivers/isdn/pcbit/edss1.c | struct isdn_event_desc * entry; |
entry | 186 | drivers/isdn/pcbit/edss1.c | for (entry = isdn_event_table; entry->ev; entry++) |
entry | 187 | drivers/isdn/pcbit/edss1.c | if (entry->ev == ev) |
entry | 190 | drivers/isdn/pcbit/edss1.c | return entry->desc; |
entry | 410 | drivers/net/a2065.c | int entry = dirty_tx % TX_RING_SIZE; |
entry | 412 | drivers/net/a2065.c | priv->tx_ring[entry]->TMD1 & 0xff00; |
entry | 417 | drivers/net/a2065.c | priv->tx_ring[entry]->TMD1 &= 0x00ff; |
entry | 422 | drivers/net/a2065.c | priv->tx_ring[entry]->TMD3; |
entry | 496 | drivers/net/a2065.c | int entry; |
entry | 593 | drivers/net/a2065.c | entry = priv->cur_tx % TX_RING_SIZE; |
entry | 595 | drivers/net/a2065.c | priv->tx_ring[entry]->TMD2 = -(ETH_ZLEN < skb->len ? skb->len : ETH_ZLEN); |
entry | 596 | drivers/net/a2065.c | priv->tx_ring[entry]->TMD3 = 0x0000; |
entry | 597 | drivers/net/a2065.c | memcpy(priv->tx_buff[entry], skb->data, skb->len); |
entry | 610 | drivers/net/a2065.c | printk("%02x", priv->tx_buff[entry][i+j]); |
entry | 617 | drivers/net/a2065.c | priv->tx_ring[entry]->TMD1 = (priv->tx_ring[entry]->TMD1 & |
entry | 642 | drivers/net/a2065.c | if ((priv->tx_ring[(entry+1) % TX_RING_SIZE]->TMD1 & 0xff00) == 0) |
entry | 655 | drivers/net/a2065.c | int entry = priv->cur_rx % RX_RING_SIZE; |
entry | 659 | drivers/net/a2065.c | while (!(priv->rx_ring[entry]->RMD1 & RF_OWN)) { |
entry | 660 | drivers/net/a2065.c | int status = priv->rx_ring[entry]->RMD1 & 0xff00; |
entry | 678 | drivers/net/a2065.c | priv->rx_ring[entry]->RMD1 &= 0x00ff|RF_STP|RF_ENP; |
entry | 681 | drivers/net/a2065.c | short pkt_len = priv->rx_ring[entry]->RMD3; |
entry | 695 | drivers/net/a2065.c | if (priv->rx_ring[(entry+i) % RX_RING_SIZE]->RMD1 & RF_OWN) |
entry | 700 | drivers/net/a2065.c | priv->rx_ring[entry]->RMD1 |= RF_OWN; |
entry | 709 | drivers/net/a2065.c | priv->rx_buff[entry], |
entry | 736 | drivers/net/a2065.c | priv->rx_ring[entry]->RMD1 |= RF_OWN; |
entry | 737 | drivers/net/a2065.c | entry = (++priv->cur_rx) % RX_RING_SIZE; |
entry | 457 | drivers/net/ariadne.c | int entry = dirty_tx % TX_RING_SIZE; |
entry | 458 | drivers/net/ariadne.c | int status = lowb(priv->tx_ring[entry]->TMD1); |
entry | 463 | drivers/net/ariadne.c | priv->tx_ring[entry]->TMD1 &= 0xff00; |
entry | 467 | drivers/net/ariadne.c | int err_status = priv->tx_ring[entry]->TMD3; |
entry | 543 | drivers/net/ariadne.c | int entry; |
entry | 632 | drivers/net/ariadne.c | entry = priv->cur_tx % TX_RING_SIZE; |
entry | 637 | drivers/net/ariadne.c | priv->tx_ring[entry]->TMD2 = swapw((u_short)-skb->len); |
entry | 638 | drivers/net/ariadne.c | priv->tx_ring[entry]->TMD3 = 0x0000; |
entry | 639 | drivers/net/ariadne.c | memcpyw(priv->tx_buff[entry], (u_short *)skb->data, skb->len); |
entry | 653 | drivers/net/ariadne.c | printk("%04x", priv->tx_buff[entry][i+j]); |
entry | 660 | drivers/net/ariadne.c | priv->tx_ring[entry]->TMD1 = (priv->tx_ring[entry]->TMD1&0xff00)|TF_OWN|TF_STP|TF_ENP; |
entry | 684 | drivers/net/ariadne.c | if (lowb(priv->tx_ring[(entry+1) % TX_RING_SIZE]->TMD1) == 0) |
entry | 697 | drivers/net/ariadne.c | int entry = priv->cur_rx % RX_RING_SIZE; |
entry | 701 | drivers/net/ariadne.c | while (!(lowb(priv->rx_ring[entry]->RMD1) & RF_OWN)) { |
entry | 702 | drivers/net/ariadne.c | int status = lowb(priv->rx_ring[entry]->RMD1); |
entry | 720 | drivers/net/ariadne.c | priv->rx_ring[entry]->RMD1 &= 0xff00|RF_STP|RF_ENP; |
entry | 723 | drivers/net/ariadne.c | short pkt_len = swapw(priv->rx_ring[entry]->RMD3); |
entry | 730 | drivers/net/ariadne.c | if (lowb(priv->rx_ring[(entry+i) % RX_RING_SIZE]->RMD1) & RF_OWN) |
entry | 735 | drivers/net/ariadne.c | priv->rx_ring[entry]->RMD1 |= RF_OWN; |
entry | 745 | drivers/net/ariadne.c | eth_copy_and_sum(skb, (char *)priv->rx_buff[entry], pkt_len,0); |
entry | 769 | drivers/net/ariadne.c | priv->rx_ring[entry]->RMD1 |= RF_OWN; |
entry | 770 | drivers/net/ariadne.c | entry = (++priv->cur_rx) % RX_RING_SIZE; |
entry | 717 | drivers/net/atarilance.c | int entry, len; |
entry | 808 | drivers/net/atarilance.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 809 | drivers/net/atarilance.c | head = &(MEM->tx_head[entry]); |
entry | 837 | drivers/net/atarilance.c | if ((MEM->tx_head[(entry+1) & TX_RING_MOD_MASK].flag & TMD1_OWN) == |
entry | 884 | drivers/net/atarilance.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 885 | drivers/net/atarilance.c | int status = MEM->tx_head[entry].flag; |
entry | 890 | drivers/net/atarilance.c | MEM->tx_head[entry].flag = 0; |
entry | 894 | drivers/net/atarilance.c | int err_status = MEM->tx_head[entry].misc; |
entry | 961 | drivers/net/atarilance.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 965 | drivers/net/atarilance.c | MEM->rx_head[entry].flag )); |
entry | 968 | drivers/net/atarilance.c | while( (MEM->rx_head[entry].flag & RMD1_OWN) == RMD1_OWN_HOST ) { |
entry | 969 | drivers/net/atarilance.c | struct lance_rx_head *head = &(MEM->rx_head[entry]); |
entry | 999 | drivers/net/atarilance.c | if (MEM->rx_head[(entry+i) & RX_RING_MOD_MASK].flag & |
entry | 1038 | drivers/net/atarilance.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 1212 | drivers/net/de4x5.c | int i, entry; |
entry | 1216 | drivers/net/de4x5.c | for (entry=lp->rx_new; lp->rx_ring[entry].status>=0;entry=lp->rx_new) { |
entry | 1217 | drivers/net/de4x5.c | status = lp->rx_ring[entry].status; |
entry | 1220 | drivers/net/de4x5.c | lp->rx_old = entry; |
entry | 1237 | drivers/net/de4x5.c | short pkt_len = (short)(lp->rx_ring[entry].status >> 16) - 4; |
entry | 1239 | drivers/net/de4x5.c | if ((skb = de4x5_alloc_rx_buff(dev, entry, pkt_len)) == NULL) { |
entry | 1278 | drivers/net/de4x5.c | for (;lp->rx_old!=entry;lp->rx_old=(++lp->rx_old)%lp->rxRingSize) { |
entry | 1282 | drivers/net/de4x5.c | lp->rx_ring[entry].status = R_OWN; |
entry | 1303 | drivers/net/de4x5.c | int entry; |
entry | 1306 | drivers/net/de4x5.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 1307 | drivers/net/de4x5.c | status = lp->tx_ring[entry].status; |
entry | 1332 | drivers/net/de4x5.c | if (lp->tx_skb[entry] != NULL) { |
entry | 1333 | drivers/net/de4x5.c | dev_kfree_skb(lp->tx_skb[entry], FREE_WRITE); |
entry | 1334 | drivers/net/de4x5.c | lp->tx_skb[entry] = NULL; |
entry | 895 | drivers/net/depca.c | int i, entry; |
entry | 898 | drivers/net/depca.c | for (entry=lp->rx_new; |
entry | 899 | drivers/net/depca.c | !(readl(&lp->rx_ring[entry].base) & R_OWN); |
entry | 900 | drivers/net/depca.c | entry=lp->rx_new){ |
entry | 901 | drivers/net/depca.c | status = readl(&lp->rx_ring[entry].base) >> 16 ; |
entry | 903 | drivers/net/depca.c | lp->rx_old = entry; |
entry | 913 | drivers/net/depca.c | short len, pkt_len = readw(&lp->rx_ring[entry].msg_length); |
entry | 922 | drivers/net/depca.c | if (entry < lp->rx_old) { /* Wrapped buffer */ |
entry | 972 | drivers/net/depca.c | for (; lp->rx_old!=entry; lp->rx_old=(++lp->rx_old)&lp->rxRingMask) { |
entry | 976 | drivers/net/depca.c | writel(readl(&lp->rx_ring[entry].base) | R_OWN, &lp->rx_ring[entry].base); |
entry | 995 | drivers/net/depca.c | int entry; |
entry | 999 | drivers/net/depca.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 1000 | drivers/net/depca.c | status = readl(&lp->tx_ring[entry].base) >> 16 ; |
entry | 1005 | drivers/net/depca.c | status = readl(&lp->tx_ring[entry].misc); |
entry | 1537 | drivers/net/depca.c | int i, entry, end, len, status = 0; |
entry | 1539 | drivers/net/depca.c | entry = lp->tx_new; /* Ring around buffer number. */ |
entry | 1540 | drivers/net/depca.c | end = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask; |
entry | 1546 | drivers/net/depca.c | if (end < entry) { /* wrapped buffer */ |
entry | 1547 | drivers/net/depca.c | len = (lp->txRingMask - entry + 1) * TX_BUFF_SZ; |
entry | 1548 | drivers/net/depca.c | memcpy_toio(lp->tx_memcpy[entry], skb->data, len); |
entry | 1551 | drivers/net/depca.c | memcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len); |
entry | 1556 | drivers/net/depca.c | for (i = entry; i != end; i = (++i) & lp->txRingMask) { |
entry | 1569 | drivers/net/depca.c | writel(readl(&lp->tx_ring[entry].base) | T_STP, &lp->tx_ring[entry].base); |
entry | 1573 | drivers/net/depca.c | for (i=end; i!=entry; --i) { |
entry | 1578 | drivers/net/depca.c | writel(readl(&lp->tx_ring[entry].base) | T_OWN, &lp->tx_ring[entry].base); |
entry | 758 | drivers/net/lance.c | int entry; |
entry | 828 | drivers/net/lance.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 835 | drivers/net/lance.c | lp->tx_ring[entry].length = |
entry | 838 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
entry | 840 | drivers/net/lance.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 848 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len); |
entry | 849 | drivers/net/lance.c | lp->tx_ring[entry].base = |
entry | 850 | drivers/net/lance.c | ((u32)virt_to_bus((lp->tx_bounce_buffs + entry)) & 0xffffff) | 0x83000000; |
entry | 853 | drivers/net/lance.c | lp->tx_skbuff[entry] = skb; |
entry | 854 | drivers/net/lance.c | lp->tx_ring[entry].base = ((u32)virt_to_bus(skb->data) & 0xffffff) | 0x83000000; |
entry | 867 | drivers/net/lance.c | if (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0) |
entry | 916 | drivers/net/lance.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 917 | drivers/net/lance.c | int status = lp->tx_ring[entry].base; |
entry | 922 | drivers/net/lance.c | lp->tx_ring[entry].base = 0; |
entry | 926 | drivers/net/lance.c | int err_status = lp->tx_ring[entry].misc; |
entry | 948 | drivers/net/lance.c | if (lp->tx_skbuff[entry]) { |
entry | 949 | drivers/net/lance.c | dev_kfree_skb(lp->tx_skbuff[entry],FREE_WRITE); |
entry | 950 | drivers/net/lance.c | lp->tx_skbuff[entry] = 0; |
entry | 1009 | drivers/net/lance.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 1013 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
entry | 1014 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
entry | 1027 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
entry | 1032 | drivers/net/lance.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
entry | 1047 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
entry | 1053 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 1062 | drivers/net/lance.c | (unsigned char *)bus_to_virt((lp->rx_ring[entry].base & 0x00ffffff)), |
entry | 1071 | drivers/net/lance.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
entry | 1072 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 1073 | drivers/net/lance.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 432 | drivers/net/lance32.c | int entry; |
entry | 502 | drivers/net/lance32.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 507 | drivers/net/lance32.c | lp->tx_ring[entry].length = -skb->len; |
entry | 509 | drivers/net/lance32.c | lp->tx_ring[entry].misc = 0x00000000; |
entry | 511 | drivers/net/lance32.c | lp->tx_skbuff[entry] = skb; |
entry | 512 | drivers/net/lance32.c | lp->tx_ring[entry].base = (u32)virt_to_bus(skb->data); |
entry | 513 | drivers/net/lance32.c | lp->tx_ring[entry].status = 0x8300; |
entry | 526 | drivers/net/lance32.c | if (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0) |
entry | 575 | drivers/net/lance32.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 576 | drivers/net/lance32.c | int status = lp->tx_ring[entry].status; |
entry | 581 | drivers/net/lance32.c | lp->tx_ring[entry].base = 0; |
entry | 585 | drivers/net/lance32.c | int err_status = lp->tx_ring[entry].misc; |
entry | 606 | drivers/net/lance32.c | if (lp->tx_skbuff[entry]) { |
entry | 607 | drivers/net/lance32.c | dev_kfree_skb(lp->tx_skbuff[entry],FREE_WRITE); |
entry | 608 | drivers/net/lance32.c | lp->tx_skbuff[entry] = 0; |
entry | 667 | drivers/net/lance32.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 671 | drivers/net/lance32.c | while (lp->rx_ring[entry].status >= 0) { |
entry | 672 | drivers/net/lance32.c | int status = lp->rx_ring[entry].status >> 8; |
entry | 685 | drivers/net/lance32.c | lp->rx_ring[entry].status &= 0x03ff; |
entry | 690 | drivers/net/lance32.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
entry | 705 | drivers/net/lance32.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].status < 0) |
entry | 711 | drivers/net/lance32.c | lp->rx_ring[entry].status |= 0x8000; |
entry | 720 | drivers/net/lance32.c | (unsigned char *)bus_to_virt(lp->rx_ring[entry].base), |
entry | 729 | drivers/net/lance32.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
entry | 730 | drivers/net/lance32.c | lp->rx_ring[entry].status |= 0x8000; |
entry | 731 | drivers/net/lance32.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 649 | drivers/net/sunlance.c | int entry, skblen, len; |
entry | 704 | drivers/net/sunlance.c | entry = lp->tx_new & TX_RING_MOD_MASK; |
entry | 705 | drivers/net/sunlance.c | ib->btx_ring [entry].length = (-len) | 0xf000; |
entry | 706 | drivers/net/sunlance.c | ib->btx_ring [entry].misc = 0; |
entry | 708 | drivers/net/sunlance.c | memcpy ((char *)&ib->tx_buf [entry][0], skb->data, skblen); |
entry | 712 | drivers/net/sunlance.c | memset ((char *) &ib->tx_buf [entry][skblen], 0, len - skblen); |
entry | 715 | drivers/net/sunlance.c | ib->btx_ring [entry].tmd1_bits = (LE_T1_POK|LE_T1_OWN); |
entry | 775 | drivers/net/tulip.c | int entry; |
entry | 837 | drivers/net/tulip.c | entry = tp->cur_tx % TX_RING_SIZE; |
entry | 840 | drivers/net/tulip.c | tp->tx_skbuff[entry] = skb; |
entry | 841 | drivers/net/tulip.c | tp->tx_ring[entry].length = skb->len | |
entry | 842 | drivers/net/tulip.c | (entry == TX_RING_SIZE-1 ? 0xe2000000 : 0xe0000000); |
entry | 843 | drivers/net/tulip.c | tp->tx_ring[entry].buffer1 = virt_to_bus(skb->data); |
entry | 844 | drivers/net/tulip.c | tp->tx_ring[entry].buffer2 = 0; |
entry | 845 | drivers/net/tulip.c | tp->tx_ring[entry].status = TRING_OWN; /* Pass ownership to the chip. */ |
entry | 891 | drivers/net/tulip.c | int entry = dirty_tx % TX_RING_SIZE; |
entry | 892 | drivers/net/tulip.c | int status = lp->tx_ring[entry].status; |
entry | 918 | drivers/net/tulip.c | dev_kfree_skb(lp->tx_skbuff[entry], FREE_WRITE); |
entry | 981 | drivers/net/tulip.c | int entry = lp->cur_rx % RX_RING_SIZE; |
entry | 985 | drivers/net/tulip.c | while (lp->rx_ring[entry].status >= 0) { |
entry | 986 | drivers/net/tulip.c | int status = lp->rx_ring[entry].status; |
entry | 1000 | drivers/net/tulip.c | short pkt_len = lp->rx_ring[entry].status >> 16; |
entry | 1010 | drivers/net/tulip.c | if (lp->rx_ring[(entry+i) % RX_RING_SIZE].status < 0) |
entry | 1015 | drivers/net/tulip.c | lp->rx_ring[entry].status = TRING_OWN; |
entry | 1023 | drivers/net/tulip.c | bus_to_virt(lp->rx_ring[entry].buffer1), pkt_len); |
entry | 1030 | drivers/net/tulip.c | lp->rx_ring[entry].status = TRING_OWN; |
entry | 1031 | drivers/net/tulip.c | entry = (++lp->cur_rx) % RX_RING_SIZE; |
entry | 744 | drivers/sbus/char/suncons.c | register unsigned long entry; |
entry | 747 | drivers/sbus/char/suncons.c | "=r" (entry): |
entry | 749 | drivers/sbus/char/suncons.c | return entry; |
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 | 217 | fs/ncpfs/dir.c | struct ncp_dirent *entry = NULL; |
entry | 277 | fs/ncpfs/dir.c | entry = &c_entry[i]; |
entry | 283 | fs/ncpfs/dir.c | if ((entry == NULL) && c_seen_eof) |
entry | 289 | fs/ncpfs/dir.c | if (entry == NULL) |
entry | 323 | fs/ncpfs/dir.c | entry = c_entry; |
entry | 334 | fs/ncpfs/dir.c | if (entry == NULL) |
entry | 346 | fs/ncpfs/dir.c | ino = (ino_t)(entry->i.DosDirNum); |
entry | 356 | fs/ncpfs/dir.c | entry->i.entryName); |
entry | 368 | fs/ncpfs/dir.c | DDPRINTK("ncp_readdir: entry->path= %s\n", entry->i.entryName); |
entry | 369 | fs/ncpfs/dir.c | DDPRINTK("ncp_readdir: entry->f_pos = %ld\n", entry->f_pos); |
entry | 371 | fs/ncpfs/dir.c | if (filldir(dirent, entry->i.entryName, entry->i.nameLen, |
entry | 372 | fs/ncpfs/dir.c | entry->f_pos, ino) < 0) |
entry | 379 | fs/ncpfs/dir.c | || (entry->f_pos != filp->f_pos)) |
entry | 387 | fs/ncpfs/dir.c | entry += 1; |
entry | 397 | fs/ncpfs/dir.c | struct ncp_dirent *entry = c_entry; |
entry | 437 | fs/ncpfs/dir.c | &(entry->i)) != 0) |
entry | 444 | fs/ncpfs/dir.c | entry->f_pos = total_count; |
entry | 445 | fs/ncpfs/dir.c | entry += 1; |
entry | 455 | fs/ncpfs/dir.c | int cache_size, struct ncp_dirent *entry) |
entry | 494 | fs/ncpfs/dir.c | &(entry->i)) != 0) |
entry | 502 | fs/ncpfs/dir.c | entry->i.entryName); |
entry | 507 | fs/ncpfs/dir.c | entry->i.entryName, fpos, total_count); |
entry | 508 | fs/ncpfs/dir.c | entry->s = seq; |
entry | 509 | fs/ncpfs/dir.c | entry->f_pos = total_count; |
entry | 510 | fs/ncpfs/dir.c | entry += 1; |
entry | 327 | fs/ncpfs/sock.c | struct select_table_entry entry; |
entry | 403 | fs/ncpfs/sock.c | wait_table.entry = &entry; |
entry | 422 | fs/ncpfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 456 | fs/ncpfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 118 | fs/nfs/dir.c | struct nfs_entry *entry; |
entry | 149 | fs/nfs/dir.c | entry = NULL; |
entry | 161 | fs/nfs/dir.c | entry = c_entry + (index = i + 1); |
entry | 169 | fs/nfs/dir.c | if (!entry) { |
entry | 180 | fs/nfs/dir.c | entry = c_entry + (index = 0); |
entry | 185 | fs/nfs/dir.c | if (!entry) |
entry | 188 | fs/nfs/dir.c | int nextpos = entry->cookie; |
entry | 189 | fs/nfs/dir.c | if (filldir(dirent, entry->name, strlen(entry->name), filp->f_pos, entry->fileid) < 0) |
entry | 197 | fs/nfs/dir.c | if (nextpos != entry->cookie) |
entry | 200 | fs/nfs/dir.c | entry++; |
entry | 248 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 252 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 253 | fs/nfs/dir.c | if (entry->dev == dir->i_dev |
entry | 254 | fs/nfs/dir.c | && entry->inode == dir->i_ino |
entry | 255 | fs/nfs/dir.c | && !strncmp(filename, entry->filename, NFS_MAXNAMLEN)) |
entry | 256 | fs/nfs/dir.c | return entry; |
entry | 267 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 273 | fs/nfs/dir.c | if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 274 | fs/nfs/dir.c | if (jiffies > entry->expiration_date) { |
entry | 275 | fs/nfs/dir.c | entry->dev = 0; |
entry | 278 | fs/nfs/dir.c | *fhandle = entry->fhandle; |
entry | 279 | fs/nfs/dir.c | *fattr = entry->fattr; |
entry | 290 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 296 | fs/nfs/dir.c | if (!(entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 297 | fs/nfs/dir.c | entry = nfs_lookup_cache + nfs_lookup_cache_pos++; |
entry | 301 | fs/nfs/dir.c | entry->dev = dir->i_dev; |
entry | 302 | fs/nfs/dir.c | entry->inode = dir->i_ino; |
entry | 303 | fs/nfs/dir.c | strcpy(entry->filename, filename); |
entry | 304 | fs/nfs/dir.c | entry->fhandle = *fhandle; |
entry | 305 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 306 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
entry | 313 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 322 | fs/nfs/dir.c | else if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 323 | fs/nfs/dir.c | dev = entry->dev; |
entry | 324 | fs/nfs/dir.c | fileid = entry->fattr.fileid; |
entry | 329 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 330 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 331 | fs/nfs/dir.c | entry->dev = 0; |
entry | 338 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 344 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 345 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 346 | 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 | 803 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
entry | 829 | fs/nfs/proc.c | if (!(p = xdr_decode_entry(p, entry++))) |
entry | 840 | fs/nfs/proc.c | entry[-1].eof = 1; |
entry | 163 | fs/nfs/rpcsock.c | struct select_table_entry entry; |
entry | 169 | fs/nfs/rpcsock.c | wait_table.entry = &entry; |
entry | 174 | fs/nfs/rpcsock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 181 | 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 | 144 | fs/umsdos/ioctl.c | struct umsdos_dirent entry; |
entry | 146 | fs/umsdos/ioctl.c | ret = umsdos_emd_dir_readentry (emd_dir,filp,&entry); |
entry | 149 | fs/umsdos/ioctl.c | }else if (entry.name_len > 0){ |
entry | 151 | fs/umsdos/ioctl.c | ret = entry.name_len; |
entry | 152 | fs/umsdos/ioctl.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 155 | fs/umsdos/ioctl.c | memcpy_tofs(&idata->umsdos_dirent,&entry |
entry | 156 | fs/umsdos/ioctl.c | ,sizeof(entry)); |
entry | 203 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 235 | 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 | 512 | include/asm-alpha/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 32) & 0xff) |
entry | 513 | include/asm-alpha/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 40) |
entry | 480 | include/asm-i386/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 481 | include/asm-i386/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 580 | include/asm-m68k/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 2) & 0x7f) |
entry | 581 | include/asm-m68k/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 9) |
entry | 584 | include/asm-m68k/pgtable.h | #define SWP_TYPE(entry) (((entry) & 0x1fc) >> 2) |
entry | 585 | include/asm-m68k/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> PAGE_SHIFT) |
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 | 327 | include/asm-sparc/pgtable.h | #define SWP_TYPE(entry) (((entry)>>2) & 0x7f) |
entry | 328 | include/asm-sparc/pgtable.h | #define SWP_OFFSET(entry) (((entry) >> 9) & 0x7ffff) |
entry | 344 | include/asm-sparc/pgtable.h | extern inline void remove_from_ctx_list(struct ctx_list *entry) |
entry | 346 | include/asm-sparc/pgtable.h | entry->next->prev = entry->prev; |
entry | 347 | include/asm-sparc/pgtable.h | entry->prev->next = entry->next; |
entry | 350 | include/asm-sparc/pgtable.h | extern inline void add_to_ctx_list(struct ctx_list *head, struct ctx_list *entry) |
entry | 352 | include/asm-sparc/pgtable.h | entry->next = head; |
entry | 353 | include/asm-sparc/pgtable.h | (entry->prev = head->prev)->next = entry; |
entry | 354 | include/asm-sparc/pgtable.h | head->prev = entry; |
entry | 356 | include/asm-sparc/pgtable.h | #define add_to_free_ctxlist(entry) add_to_ctx_list(&ctx_free, entry) |
entry | 357 | include/asm-sparc/pgtable.h | #define add_to_used_ctxlist(entry) add_to_ctx_list(&ctx_used, entry) |
entry | 91 | include/asm-sparc/pgtsun4c.h | register unsigned long entry; |
entry | 94 | include/asm-sparc/pgtsun4c.h | "=r" (entry) : |
entry | 97 | include/asm-sparc/pgtsun4c.h | return entry; |
entry | 100 | include/asm-sparc/pgtsun4c.h | extern __inline__ void sun4c_put_segmap(unsigned long addr, unsigned long entry) |
entry | 104 | include/asm-sparc/pgtsun4c.h | "r" (addr), "r" (entry), |
entry | 112 | include/asm-sparc/pgtsun4c.h | register unsigned long entry; |
entry | 115 | include/asm-sparc/pgtsun4c.h | "=r" (entry) : |
entry | 117 | include/asm-sparc/pgtsun4c.h | return entry; |
entry | 120 | include/asm-sparc/pgtsun4c.h | extern __inline__ void sun4c_put_pte(unsigned long addr, unsigned long entry) |
entry | 124 | include/asm-sparc/pgtsun4c.h | "r" (entry), "i" (ASI_PTE)); |
entry | 136 | include/linux/coff.h | char entry[4]; /* entry pt. */ |
entry | 93 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
entry | 474 | include/linux/sched.h | struct select_table_entry * entry; |
entry | 480 | include/linux/sched.h | entry = p->entry + p->nr; |
entry | 481 | include/linux/sched.h | entry->wait_address = wait_address; |
entry | 482 | include/linux/sched.h | entry->wait.task = current; |
entry | 483 | include/linux/sched.h | entry->wait.next = NULL; |
entry | 484 | 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 | 57 | include/linux/swap.h | extern void swap_after_unlock_page (unsigned long entry); |
entry | 108 | include/linux/swap.h | unsigned long entry; |
entry | 113 | include/linux/swap.h | entry = xchg(swap_cache + index, 0); |
entry | 115 | include/linux/swap.h | if (entry) |
entry | 118 | include/linux/swap.h | return entry; |
entry | 123 | include/linux/swap.h | unsigned long entry; |
entry | 128 | include/linux/swap.h | entry = xchg(swap_cache + index, 0); |
entry | 129 | include/linux/swap.h | if (entry) { |
entry | 133 | 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 | 869 | mm/filemap.c | unsigned long entry = SWP_ENTRY(SHM_SWP_TYPE, MAP_NR(page)); |
entry | 872 | mm/filemap.c | set_pte(page_table, __pte(entry)); |
entry | 875 | mm/filemap.c | if (pte_val(*page_table) == entry) |
entry | 888 | mm/filemap.c | unsigned long entry) |
entry | 890 | mm/filemap.c | unsigned long page = SWP_OFFSET(entry); |
entry | 873 | mm/memory.c | pte_t * page_table, pte_t entry, int write_access) |
entry | 878 | mm/memory.c | swap_in(tsk, vma, page_table, pte_val(entry), write_access); |
entry | 882 | mm/memory.c | page = vma->vm_ops->swapin(vma, address - vma->vm_start + vma->vm_offset, pte_val(entry)); |
entry | 883 | mm/memory.c | if (pte_val(*page_table) != pte_val(entry)) { |
entry | 906 | mm/memory.c | pte_t entry; |
entry | 912 | mm/memory.c | entry = *page_table; |
entry | 913 | mm/memory.c | if (pte_present(entry)) |
entry | 915 | mm/memory.c | if (!pte_none(entry)) { |
entry | 916 | mm/memory.c | do_swap_page(tsk, vma, address, page_table, entry, write_access); |
entry | 951 | mm/memory.c | entry = mk_pte(page, vma->vm_page_prot); |
entry | 953 | mm/memory.c | entry = pte_mkwrite(pte_mkdirty(entry)); |
entry | 955 | mm/memory.c | entry = pte_wrprotect(entry); |
entry | 957 | 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 | 51 | mm/page_alloc.c | static inline void add_mem_queue(struct page * head, struct page * entry) |
entry | 55 | mm/page_alloc.c | entry->prev = head; |
entry | 56 | mm/page_alloc.c | entry->next = next; |
entry | 57 | mm/page_alloc.c | next->prev = entry; |
entry | 58 | mm/page_alloc.c | head->next = entry; |
entry | 61 | mm/page_alloc.c | static inline void remove_mem_queue(struct page * head, struct page * entry) |
entry | 63 | mm/page_alloc.c | struct page * next = entry->next; |
entry | 64 | mm/page_alloc.c | struct page * prev = entry->prev; |
entry | 292 | mm/page_alloc.c | pte_t * page_table, unsigned long entry, int write_access) |
entry | 296 | mm/page_alloc.c | if (pte_val(*page_table) != entry) { |
entry | 302 | mm/page_alloc.c | swap_free(entry); |
entry | 306 | mm/page_alloc.c | read_swap_page(entry, (char *) page); |
entry | 307 | mm/page_alloc.c | if (pte_val(*page_table) != entry) { |
entry | 313 | mm/page_alloc.c | if (!write_access && add_to_swap_cache(MAP_NR(page), entry)) { |
entry | 319 | mm/page_alloc.c | swap_free(entry); |
entry | 44 | mm/page_io.c | void rw_swap_page(int rw, unsigned long entry, char * buf, int wait) |
entry | 50 | mm/page_io.c | type = SWP_TYPE(entry); |
entry | 56 | mm/page_io.c | offset = SWP_OFFSET(entry); |
entry | 62 | mm/page_io.c | printk("Hmm.. Trying to use unallocated swap (%08lx)\n", entry); |
entry | 86 | mm/page_io.c | page->swap_unlock_entry = entry; |
entry | 139 | mm/page_io.c | void swap_after_unlock_page (unsigned long entry) |
entry | 144 | mm/page_io.c | type = SWP_TYPE(entry); |
entry | 150 | mm/page_io.c | offset = SWP_OFFSET(entry); |
entry | 52 | mm/swap_state.c | int add_to_swap_cache(unsigned long index, 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 + index, 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 | 115 | mm/vmscan.c | set_pte(page_table, __pte(entry)); |
entry | 118 | mm/vmscan.c | rw_swap_page(WRITE, entry, (char *) page, wait); |
entry | 123 | mm/vmscan.c | if ((entry = find_in_swap_cache(MAP_NR(page)))) { |
entry | 131 | mm/vmscan.c | set_pte(page_table, __pte(entry)); |
entry | 140 | mm/vmscan.c | entry = page_unuse(page); |
entry | 142 | 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 | 264 | net/ipv4/arp.c | static void arp_enqueue(struct arp_table **q, struct arp_table *entry) |
entry | 273 | net/ipv4/arp.c | entry->next = entry; |
entry | 276 | net/ipv4/arp.c | entry->next = tail->next; |
entry | 277 | net/ipv4/arp.c | tail->next = entry; |
entry | 279 | net/ipv4/arp.c | *q = entry; |
entry | 291 | net/ipv4/arp.c | struct arp_table * entry; |
entry | 295 | net/ipv4/arp.c | entry = (*q)->next; |
entry | 296 | net/ipv4/arp.c | (*q)->next = entry->next; |
entry | 297 | net/ipv4/arp.c | if (entry->next == entry) |
entry | 299 | net/ipv4/arp.c | entry->next = NULL; |
entry | 300 | net/ipv4/arp.c | return entry; |
entry | 309 | net/ipv4/arp.c | static void arp_release_entry(struct arp_table *entry) |
entry | 317 | net/ipv4/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 333 | net/ipv4/arp.c | static void arp_free_entry(struct arp_table *entry) |
entry | 338 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 342 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 344 | net/ipv4/arp.c | for (hh = entry->hh; hh; hh = next) |
entry | 354 | net/ipv4/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 363 | net/ipv4/arp.c | static __inline__ int arp_count_hhs(struct arp_table * entry) |
entry | 368 | net/ipv4/arp.c | hhp = &entry->hh; |
entry | 398 | net/ipv4/arp.c | struct arp_table *entry = NULL; |
entry | 410 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 412 | net/ipv4/arp.c | if (entry->last_used < oldest_used) |
entry | 414 | net/ipv4/arp.c | if (arp_count_hhs(entry) == 0) |
entry | 419 | net/ipv4/arp.c | oldest_used = entry->last_used; |
entry | 421 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 431 | net/ipv4/arp.c | entry = *oldest_entry; |
entry | 434 | net/ipv4/arp.c | printk("Force expiring %08x\n", entry->ip); |
entry | 436 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 442 | net/ipv4/arp.c | static void arpd_update(struct arp_table * entry, int loc) |
entry | 448 | net/ipv4/arp.c | arpreq.ip = entry->ip; |
entry | 449 | net/ipv4/arp.c | arpreq.mask = entry->mask; |
entry | 450 | net/ipv4/arp.c | memcpy (arpreq.ha, entry->ha, MAX_ADDR_LEN); |
entry | 452 | net/ipv4/arp.c | arpreq.last_used = entry->last_used; |
entry | 453 | net/ipv4/arp.c | arpreq.last_updated = entry->last_updated; |
entry | 454 | net/ipv4/arp.c | arpreq.flags = entry->flags; |
entry | 455 | net/ipv4/arp.c | arpreq.dev = entry->dev; |
entry | 471 | net/ipv4/arp.c | struct arp_table * entry; |
entry | 481 | net/ipv4/arp.c | entry = (struct arp_table *) |
entry | 484 | net/ipv4/arp.c | if (entry != NULL) |
entry | 486 | net/ipv4/arp.c | return entry; |
entry | 500 | net/ipv4/arp.c | struct arp_table * entry; |
entry | 524 | net/ipv4/arp.c | entry = arp_add_entry(); |
entry | 527 | net/ipv4/arp.c | if (entry == NULL) |
entry | 530 | net/ipv4/arp.c | entry->next = NULL; |
entry | 531 | net/ipv4/arp.c | entry->last_used = retreq.last_used; |
entry | 532 | net/ipv4/arp.c | entry->last_updated = retreq.last_updated; |
entry | 533 | net/ipv4/arp.c | entry->flags = retreq.flags; |
entry | 534 | net/ipv4/arp.c | entry->ip = retreq.ip; |
entry | 535 | net/ipv4/arp.c | entry->mask = retreq.mask; |
entry | 536 | net/ipv4/arp.c | memcpy (entry->ha, retreq.ha, MAX_ADDR_LEN); |
entry | 537 | net/ipv4/arp.c | arpreq.dev = entry->dev; |
entry | 539 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 540 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 541 | net/ipv4/arp.c | entry->retries = 0; |
entry | 544 | net/ipv4/arp.c | printk("Inserting arpd entry %08x\n in local cache.", entry->ip); |
entry | 546 | net/ipv4/arp.c | i = HASH(entry->ip); |
entry | 548 | net/ipv4/arp.c | entry->next = arp_tables[i]->next; |
entry | 549 | net/ipv4/arp.c | arp_tables[i]->next = entry; |
entry | 551 | net/ipv4/arp.c | return entry; |
entry | 561 | net/ipv4/arp.c | static __inline__ void arp_invalidate_hhs(struct arp_table * entry) |
entry | 565 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 573 | net/ipv4/arp.c | static __inline__ void arp_update_hhs(struct arp_table * entry) |
entry | 577 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 578 | net/ipv4/arp.c | entry->dev->header_cache_update(hh, entry->dev, entry->ha); |
entry | 603 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 608 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 611 | net/ipv4/arp.c | if (now - entry->last_used > ARP_TIMEOUT |
entry | 612 | net/ipv4/arp.c | && !(entry->flags & ATF_PERM) |
entry | 613 | net/ipv4/arp.c | && !arp_count_hhs(entry)) |
entry | 615 | net/ipv4/arp.c | *pentry = entry->next; |
entry | 618 | net/ipv4/arp.c | printk("arp_expire: %08x expired\n", entry->ip); |
entry | 620 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 622 | net/ipv4/arp.c | else if (entry->last_updated |
entry | 623 | net/ipv4/arp.c | && now - entry->last_updated > ARP_CONFIRM_INTERVAL |
entry | 624 | net/ipv4/arp.c | && !(entry->flags & ATF_PERM)) |
entry | 626 | net/ipv4/arp.c | struct device * dev = entry->dev; |
entry | 627 | net/ipv4/arp.c | pentry = &entry->next; |
entry | 628 | net/ipv4/arp.c | entry->flags &= ~ATF_COM; |
entry | 629 | net/ipv4/arp.c | arp_invalidate_hhs(entry); |
entry | 631 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES+1; |
entry | 632 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 633 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_CONFIRM_TIMEOUT; |
entry | 634 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 635 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, |
entry | 636 | net/ipv4/arp.c | dev, dev->pa_addr, entry->ha, |
entry | 639 | net/ipv4/arp.c | printk("arp_expire: %08x requires confirmation\n", entry->ip); |
entry | 643 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 667 | net/ipv4/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
entry | 681 | net/ipv4/arp.c | if (entry->flags & ATF_COM) |
entry | 690 | net/ipv4/arp.c | printk("arp_expire_request: %08x postponed\n", entry->ip); |
entry | 692 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 693 | net/ipv4/arp.c | entry->timer.expires = jiffies + HZ/10; |
entry | 694 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 702 | net/ipv4/arp.c | if (entry->last_updated && --entry->retries > 0) |
entry | 704 | net/ipv4/arp.c | struct device *dev = entry->dev; |
entry | 707 | net/ipv4/arp.c | printk("arp_expire_request: %08x timed out\n", entry->ip); |
entry | 710 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 711 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 712 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 713 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
entry | 719 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 722 | net/ipv4/arp.c | if (arp_count_hhs(entry)) |
entry | 724 | net/ipv4/arp.c | struct device *dev = entry->dev; |
entry | 726 | net/ipv4/arp.c | printk("arp_expire_request: %08x is dead\n", entry->ip); |
entry | 728 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 729 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 731 | net/ipv4/arp.c | entry->last_updated = 0; |
entry | 732 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 733 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_DEAD_RES_TIME; |
entry | 734 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 735 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
entry | 742 | net/ipv4/arp.c | hash = HASH(entry->ip); |
entry | 748 | net/ipv4/arp.c | if (*pentry == entry) |
entry | 751 | net/ipv4/arp.c | *pentry = entry->next; |
entry | 754 | net/ipv4/arp.c | printk("arp_expire_request: %08x is killed\n", entry->ip); |
entry | 756 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 789 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 792 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 794 | net/ipv4/arp.c | if (entry->dev == dev) |
entry | 796 | net/ipv4/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 797 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 800 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 888 | net/ipv4/arp.c | static void arp_send_q(struct arp_table *entry) |
entry | 898 | net/ipv4/arp.c | if(!(entry->flags&ATF_COM)) |
entry | 901 | net/ipv4/arp.c | in_ntoa(entry->ip)); |
entry | 912 | net/ipv4/arp.c | while((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 934 | net/ipv4/arp.c | static void arp_destroy(struct arp_table * entry) |
entry | 939 | net/ipv4/arp.c | if (entry->flags & ATF_PUBL) |
entry | 942 | net/ipv4/arp.c | pentry = &arp_tables[HASH(entry->ip)]; |
entry | 946 | net/ipv4/arp.c | if (entry1 == entry) |
entry | 949 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 950 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 971 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1184 | net/ipv4/arp.c | for (entry=arp_tables[hash]; entry; entry=entry->next) |
entry | 1185 | net/ipv4/arp.c | if (entry->ip == sip && entry->dev == dev) |
entry | 1188 | net/ipv4/arp.c | if (entry) |
entry | 1193 | net/ipv4/arp.c | if (!(entry->flags & ATF_PERM)) |
entry | 1195 | net/ipv4/arp.c | if(memcmp(entry->ha, sha,dev->addr_len)!=0) |
entry | 1197 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
entry | 1198 | net/ipv4/arp.c | if(entry->flags & ATF_COM) |
entry | 1199 | net/ipv4/arp.c | arp_update_hhs(entry); |
entry | 1201 | net/ipv4/arp.c | entry->last_updated = jiffies; |
entry | 1202 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1204 | net/ipv4/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 1210 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 1211 | net/ipv4/arp.c | entry->flags |= ATF_COM; |
entry | 1212 | net/ipv4/arp.c | arp_update_hhs(entry); |
entry | 1218 | net/ipv4/arp.c | arp_send_q(entry); |
entry | 1230 | net/ipv4/arp.c | entry = arp_add_entry(); |
entry | 1231 | net/ipv4/arp.c | if(entry == NULL) |
entry | 1241 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1242 | net/ipv4/arp.c | entry->ip = sip; |
entry | 1243 | net/ipv4/arp.c | entry->flags = ATF_COM; |
entry | 1244 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1245 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1246 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1247 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1248 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
entry | 1249 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1250 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1256 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1258 | net/ipv4/arp.c | entry->dev = skb->dev; |
entry | 1260 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1263 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1264 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1269 | net/ipv4/arp.c | printk("arp_rcv: %08x backlogged\n", entry->ip); |
entry | 1271 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1295 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1299 | net/ipv4/arp.c | for (entry = arp_tables[HASH(paddr)]; |
entry | 1300 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1301 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
entry | 1303 | net/ipv4/arp.c | return entry; |
entry | 1308 | net/ipv4/arp.c | for (entry = arp_proxy_list; |
entry | 1309 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1310 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
entry | 1312 | net/ipv4/arp.c | return entry; |
entry | 1315 | net/ipv4/arp.c | for (entry=arp_proxy_list; entry != NULL; entry = entry->next) |
entry | 1316 | net/ipv4/arp.c | if (!((entry->ip^paddr)&entry->mask) && |
entry | 1317 | net/ipv4/arp.c | (!dev || entry->dev == dev)) |
entry | 1319 | net/ipv4/arp.c | return entry; |
entry | 1328 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1332 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1333 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1334 | net/ipv4/arp.c | entry = arpd_lookup(paddr, 0, dev, __LINE__); |
entry | 1336 | net/ipv4/arp.c | if (entry != NULL) |
entry | 1338 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1339 | net/ipv4/arp.c | if (entry->flags & ATF_COM) |
entry | 1341 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 1342 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1347 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1396 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1412 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1413 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1414 | net/ipv4/arp.c | entry = arpd_lookup(paddr, 0, dev, __LINE__); |
entry | 1416 | net/ipv4/arp.c | if (entry != NULL) /* It exists */ |
entry | 1418 | net/ipv4/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 1427 | net/ipv4/arp.c | if (entry->last_updated) |
entry | 1429 | net/ipv4/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 1462 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1463 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 1464 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1475 | net/ipv4/arp.c | entry = arp_add_entry(); |
entry | 1476 | net/ipv4/arp.c | if (entry != NULL) |
entry | 1478 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1479 | net/ipv4/arp.c | entry->flags = 0; |
entry | 1480 | net/ipv4/arp.c | entry->ip = paddr; |
entry | 1481 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1482 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 1483 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1484 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1485 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1486 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1487 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1488 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1489 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1490 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1493 | net/ipv4/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 1498 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1499 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1500 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1501 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1506 | net/ipv4/arp.c | printk("arp_find: %08x backlogged\n", entry->ip); |
entry | 1508 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1538 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1552 | net/ipv4/arp.c | for(entry=arp_tables[i]; entry!=NULL; entry=entry->next) |
entry | 1559 | net/ipv4/arp.c | if (entry->dev->type == ARPHRD_AX25 || entry->dev->type == ARPHRD_NETROM) |
entry | 1560 | net/ipv4/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 1563 | net/ipv4/arp.c | if(entry->dev->type==ARPHRD_AX25) |
entry | 1564 | net/ipv4/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 1569 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->dev->addr_len;j++) |
entry | 1571 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
entry | 1572 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
entry | 1582 | net/ipv4/arp.c | in_ntoa(entry->ip), |
entry | 1583 | net/ipv4/arp.c | (unsigned int)entry->dev->type, |
entry | 1584 | net/ipv4/arp.c | entry->flags, |
entry | 1589 | net/ipv4/arp.c | entry->mask==DEF_ARP_NETMASK ? |
entry | 1590 | net/ipv4/arp.c | "*" : in_ntoa(entry->mask), entry->dev->name); |
entry | 1594 | net/ipv4/arp.c | entry->mask==DEF_ARP_NETMASK ? |
entry | 1595 | net/ipv4/arp.c | "*" : in_ntoa(entry->mask), entry->dev->name, |
entry | 1596 | net/ipv4/arp.c | entry->hh ? entry->hh->hh_refcnt : -1, |
entry | 1597 | net/ipv4/arp.c | entry->hh ? entry->hh->hh_uptodate : 0); |
entry | 1623 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1654 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1655 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1656 | net/ipv4/arp.c | entry = arpd_lookup(paddr, 0, dev, __LINE__); |
entry | 1658 | net/ipv4/arp.c | if (entry) |
entry | 1661 | net/ipv4/arp.c | for (hh = entry->hh; hh; hh=hh->hh_next) |
entry | 1688 | net/ipv4/arp.c | if (entry) |
entry | 1690 | net/ipv4/arp.c | dev->header_cache_update(hh, dev, entry->ha); |
entry | 1693 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1694 | net/ipv4/arp.c | entry->hh = hh; |
entry | 1697 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1698 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1708 | net/ipv4/arp.c | entry = arp_add_entry(); |
entry | 1709 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1716 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1717 | net/ipv4/arp.c | entry->flags = 0; |
entry | 1718 | net/ipv4/arp.c | entry->ip = paddr; |
entry | 1719 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1720 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 1721 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1722 | net/ipv4/arp.c | entry->hh = hh; |
entry | 1723 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1725 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1726 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1727 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1728 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1729 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1735 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1736 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1737 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1738 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1741 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1747 | net/ipv4/arp.c | printk("arp_cache_bind: %08x backlogged\n", entry->ip); |
entry | 1749 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1760 | net/ipv4/arp.c | struct arp_table *entry, *entry1; |
entry | 1770 | net/ipv4/arp.c | while ((entry = arp_dequeue(&arp_backlog)) != NULL) |
entry | 1774 | net/ipv4/arp.c | sip = entry->ip; |
entry | 1782 | net/ipv4/arp.c | if (entry1->ip==sip && entry1->dev == entry->dev) |
entry | 1787 | net/ipv4/arp.c | struct device * dev = entry->dev; |
entry | 1789 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1790 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1791 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 1792 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1794 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 1795 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1796 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1797 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1798 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, NULL, dev->dev_addr, NULL); |
entry | 1812 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=next) |
entry | 1819 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1824 | net/ipv4/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 1835 | net/ipv4/arp.c | printk("arp_run_bh: entry %08x was born dead\n", entry->ip); |
entry | 1837 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 1874 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1931 | net/ipv4/arp.c | entry = arp_lookup(ip, r->arp_flags & ~ATF_NETMASK, dev); |
entry | 1932 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1933 | net/ipv4/arp.c | entry = arpd_lookup(ip, r->arp_flags & ~ATF_NETMASK, dev, __LINE__); |
entry | 1935 | net/ipv4/arp.c | if (entry) |
entry | 1937 | net/ipv4/arp.c | arp_destroy(entry); |
entry | 1938 | net/ipv4/arp.c | entry = NULL; |
entry | 1945 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1947 | net/ipv4/arp.c | entry = arp_add_entry(); |
entry | 1948 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1953 | net/ipv4/arp.c | entry->ip = ip; |
entry | 1954 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1955 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1956 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1957 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1962 | net/ipv4/arp.c | entry->next = arp_proxy_list; |
entry | 1963 | net/ipv4/arp.c | arp_proxy_list = entry; |
entry | 1970 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1971 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1974 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1982 | net/ipv4/arp.c | memcpy(entry->ha, ha, dev->addr_len); |
entry | 1983 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1984 | net/ipv4/arp.c | arpd_update(entry, __LINE__); |
entry | 1985 | net/ipv4/arp.c | entry->flags = r->arp_flags | ATF_COM; |
entry | 1986 | net/ipv4/arp.c | if ((entry->flags & ATF_PUBL) && (entry->flags & ATF_NETMASK)) |
entry | 1989 | net/ipv4/arp.c | entry->mask = si->sin_addr.s_addr; |
entry | 1992 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1993 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1994 | net/ipv4/arp.c | arp_update_hhs(entry); |
entry | 2007 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 2018 | net/ipv4/arp.c | entry = arp_lookup(si->sin_addr.s_addr, r->arp_flags|ATF_NETMASK, dev); |
entry | 2019 | net/ipv4/arp.c | if (entry == NULL) |
entry | 2020 | net/ipv4/arp.c | entry = arpd_lookup(si->sin_addr.s_addr, |
entry | 2023 | net/ipv4/arp.c | if (entry == NULL) |
entry | 2033 | net/ipv4/arp.c | memcpy(r->arp_ha.sa_data, &entry->ha, entry->dev->addr_len); |
entry | 2034 | net/ipv4/arp.c | r->arp_ha.sa_family = entry->dev->type; |
entry | 2035 | net/ipv4/arp.c | r->arp_flags = entry->flags; |
entry | 2036 | net/ipv4/arp.c | strncpy(r->arp_dev, entry->dev->name, 16); |
entry | 2043 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 2055 | net/ipv4/arp.c | for (entry = arp_tables[HASH(si->sin_addr.s_addr)]; |
entry | 2056 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 2057 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
entry | 2058 | net/ipv4/arp.c | && (!dev || entry->dev == dev)) |
entry | 2060 | net/ipv4/arp.c | arp_destroy(entry); |
entry | 2067 | net/ipv4/arp.c | for (entry = arp_proxy_list; |
entry | 2068 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 2069 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
entry | 2070 | net/ipv4/arp.c | && (!dev || entry->dev == dev)) |
entry | 2072 | net/ipv4/arp.c | arp_destroy(entry); |
entry | 353 | net/ipv4/icmp.c | int type, entry; |
entry | 359 | net/ipv4/icmp.c | for (entry=0; entry<XRLIM_CACHE_SIZE; entry++) |
entry | 360 | net/ipv4/icmp.c | xr->cache[entry].daddr = INADDR_NONE; |
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]); |