tag | line | file | source code |
entry | 95 | arch/i386/kernel/bios32.c | unsigned long entry; /* 32 bit physical address */ |
entry | 127 | arch/i386/kernel/bios32.c | unsigned long entry; /* %edx */ |
entry | 133 | arch/i386/kernel/bios32.c | "=d" (entry) |
entry | 140 | arch/i386/kernel/bios32.c | return address + entry; |
entry | 438 | arch/i386/kernel/bios32.c | if (check->fields.entry >= 0x100000) { |
entry | 441 | arch/i386/kernel/bios32.c | bios32_indirect.address = bios32_entry = check->fields.entry; |
entry | 71 | arch/mips/kernel/jazzdma.c | VDMA_PGTBL_ENTRY *entry = (VDMA_PGTBL_ENTRY *)vdma_pagetable_start; |
entry | 99 | arch/mips/kernel/jazzdma.c | while (entry[first].owner != VDMA_PAGE_EMPTY && |
entry | 106 | arch/mips/kernel/jazzdma.c | while (entry[last].owner == VDMA_PAGE_EMPTY && last-first < pages) |
entry | 120 | arch/mips/kernel/jazzdma.c | entry[i].frame = frame; |
entry | 121 | arch/mips/kernel/jazzdma.c | entry[i].owner = laddr; |
entry | 142 | arch/mips/kernel/jazzdma.c | printk("%08x ",entry[i].frame); |
entry | 145 | arch/mips/kernel/jazzdma.c | printk("%08x ",entry[i].owner); |
entry | 148 | arch/sparc/kernel/sparc-stub.c | unsigned long entry; |
entry | 151 | arch/sparc/kernel/sparc-stub.c | "=r" (entry) : |
entry | 153 | arch/sparc/kernel/sparc-stub.c | return entry; |
entry | 158 | arch/sparc/kernel/sparc-stub.c | unsigned long entry; |
entry | 161 | arch/sparc/kernel/sparc-stub.c | "=r" (entry) : |
entry | 163 | arch/sparc/kernel/sparc-stub.c | return entry; |
entry | 163 | arch/sparc/mm/sun4c.c | static inline void add_pseg_list(struct pseg_list *head, struct pseg_list *entry) |
entry | 165 | arch/sparc/mm/sun4c.c | entry->next = head; |
entry | 166 | arch/sparc/mm/sun4c.c | (entry->prev = head->prev)->next = entry; |
entry | 167 | arch/sparc/mm/sun4c.c | head->prev = entry; |
entry | 169 | arch/sparc/mm/sun4c.c | #define add_to_used_pseg_list(entry) add_pseg_list(&s4cpseg_used, entry) |
entry | 170 | arch/sparc/mm/sun4c.c | #define add_to_free_pseg_list(entry) add_pseg_list(&s4cpseg_free, entry) |
entry | 171 | arch/sparc/mm/sun4c.c | #define add_to_locked_pseg_list(entry) add_pseg_list(&s4cpseg_locked, entry) |
entry | 173 | arch/sparc/mm/sun4c.c | static inline void remove_pseg_list(struct pseg_list *entry) |
entry | 175 | arch/sparc/mm/sun4c.c | entry->next->prev = entry->prev; |
entry | 176 | arch/sparc/mm/sun4c.c | entry->prev->next = entry->next; |
entry | 179 | arch/sparc/mm/sun4c.c | static inline void add_pseg_ctxlist(struct pseg_list *entry, int ctx) |
entry | 183 | arch/sparc/mm/sun4c.c | entry->ctx_next = head; |
entry | 184 | arch/sparc/mm/sun4c.c | (entry->ctx_prev = head->ctx_prev)->ctx_next = entry; |
entry | 185 | arch/sparc/mm/sun4c.c | head->ctx_prev = entry; |
entry | 189 | arch/sparc/mm/sun4c.c | static inline void remove_pseg_ctxlist(struct pseg_list *entry, int ctx) |
entry | 191 | arch/sparc/mm/sun4c.c | entry->ctx_next->ctx_prev = entry->ctx_prev; |
entry | 192 | arch/sparc/mm/sun4c.c | entry->ctx_prev->ctx_next = entry->ctx_next; |
entry | 617 | drivers/cdrom/aztcd.c | struct cdrom_tocentry entry; |
entry | 774 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
entry | 776 | drivers/cdrom/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 778 | drivers/cdrom/aztcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 780 | drivers/cdrom/aztcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 782 | drivers/cdrom/aztcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 783 | drivers/cdrom/aztcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 787 | drivers/cdrom/aztcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 788 | drivers/cdrom/aztcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 789 | drivers/cdrom/aztcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 790 | drivers/cdrom/aztcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 791 | drivers/cdrom/aztcd.c | entry.cdte_addr.lba = azt_msf2hsg(&tocPtr -> diskTime); |
entry | 792 | drivers/cdrom/aztcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 793 | drivers/cdrom/aztcd.c | { entry.cdte_addr.msf.minute = azt_bcd2bin(tocPtr -> diskTime.min); |
entry | 794 | drivers/cdrom/aztcd.c | entry.cdte_addr.msf.second = azt_bcd2bin(tocPtr -> diskTime.sec); |
entry | 795 | drivers/cdrom/aztcd.c | entry.cdte_addr.msf.frame = azt_bcd2bin(tocPtr -> diskTime.frame); |
entry | 800 | drivers/cdrom/aztcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 2491 | drivers/cdrom/cdu31a.c | struct cdrom_tocentry *entry; |
entry | 2502 | drivers/cdrom/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
entry | 2503 | drivers/cdrom/cdu31a.c | i=verify_area(VERIFY_READ, entry, sizeof(*entry)); |
entry | 2506 | drivers/cdrom/cdu31a.c | i=verify_area(VERIFY_WRITE, entry, sizeof(*entry)); |
entry | 2510 | drivers/cdrom/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
entry | 2543 | 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 | 292 | drivers/cdrom/mcd.c | struct cdrom_tocentry entry; |
entry | 461 | drivers/cdrom/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 465 | drivers/cdrom/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 466 | drivers/cdrom/mcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 470 | drivers/cdrom/mcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 471 | drivers/cdrom/mcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 475 | drivers/cdrom/mcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 477 | drivers/cdrom/mcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 478 | drivers/cdrom/mcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 480 | drivers/cdrom/mcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 481 | drivers/cdrom/mcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 483 | drivers/cdrom/mcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 485 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
entry | 486 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
entry | 487 | drivers/cdrom/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
entry | 493 | drivers/cdrom/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 339 | drivers/cdrom/mcdx.c | struct cdrom_tocentry entry; |
entry | 347 | drivers/cdrom/mcdx.c | if ((ans = verify_area(VERIFY_READ, (void *) arg, sizeof(entry)))) return ans; |
entry | 348 | drivers/cdrom/mcdx.c | memcpy_fromfs(&entry, (void *) arg, sizeof(entry)); |
entry | 350 | drivers/cdrom/mcdx.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 352 | drivers/cdrom/mcdx.c | else if (entry.cdte_track > stuffp->di.n_last |
entry | 353 | drivers/cdrom/mcdx.c | || entry.cdte_track < stuffp->di.n_first) return -EINVAL; |
entry | 354 | drivers/cdrom/mcdx.c | else tp = &stuffp->toc[entry.cdte_track - stuffp->di.n_first]; |
entry | 358 | drivers/cdrom/mcdx.c | entry.cdte_adr = tp->control; |
entry | 359 | drivers/cdrom/mcdx.c | entry.cdte_ctrl = tp->control >> 4; |
entry | 361 | drivers/cdrom/mcdx.c | if (entry.cdte_format == CDROM_MSF) { |
entry | 362 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.minute = bcd2uint(tp->dt.minute); |
entry | 363 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.second = bcd2uint(tp->dt.second); |
entry | 364 | drivers/cdrom/mcdx.c | entry.cdte_addr.msf.frame = bcd2uint(tp->dt.frame); |
entry | 365 | drivers/cdrom/mcdx.c | } else if (entry.cdte_format == CDROM_LBA) |
entry | 366 | drivers/cdrom/mcdx.c | entry.cdte_addr.lba = msf2log(&tp->dt); |
entry | 369 | drivers/cdrom/mcdx.c | if ((ans = verify_area(VERIFY_WRITE, (void*) arg, sizeof(entry)))) return ans; |
entry | 370 | drivers/cdrom/mcdx.c | memcpy_tofs((void*) arg, &entry, sizeof(entry)); |
entry | 1141 | drivers/cdrom/optcd.c | struct cdrom_tocentry entry; |
entry | 1144 | drivers/cdrom/optcd.c | if ((st = verify_area(VERIFY_READ, (void *) arg, sizeof entry))) |
entry | 1146 | drivers/cdrom/optcd.c | if ((st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry))) |
entry | 1148 | drivers/cdrom/optcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 1151 | drivers/cdrom/optcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 1153 | drivers/cdrom/optcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 1154 | drivers/cdrom/optcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 1157 | drivers/cdrom/optcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 1158 | drivers/cdrom/optcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 1159 | drivers/cdrom/optcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 1160 | drivers/cdrom/optcd.c | switch (entry.cdte_format) { |
entry | 1162 | drivers/cdrom/optcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 1165 | drivers/cdrom/optcd.c | entry.cdte_addr.msf.minute = |
entry | 1167 | drivers/cdrom/optcd.c | entry.cdte_addr.msf.second = |
entry | 1169 | drivers/cdrom/optcd.c | entry.cdte_addr.msf.frame = |
entry | 1175 | 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 | 1128 | drivers/net/de4x5.c | int i, entry; |
entry | 1132 | drivers/net/de4x5.c | for (entry = lp->rx_new; lp->rx_ring[entry].status >= 0;entry = lp->rx_new) { |
entry | 1133 | drivers/net/de4x5.c | status = lp->rx_ring[entry].status; |
entry | 1136 | drivers/net/de4x5.c | lp->rx_old = entry; |
entry | 1147 | drivers/net/de4x5.c | short pkt_len = (short)(lp->rx_ring[entry].status >> 16) - 4; |
entry | 1153 | drivers/net/de4x5.c | if (entry < lp->rx_old) { /* Wrapped buffer */ |
entry | 1197 | drivers/net/de4x5.c | for (; lp->rx_old!=entry; lp->rx_old=(++lp->rx_old)%lp->rxRingSize) { |
entry | 1201 | drivers/net/de4x5.c | lp->rx_ring[entry].status = R_OWN; |
entry | 1222 | drivers/net/de4x5.c | int entry; |
entry | 1225 | drivers/net/de4x5.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 1226 | drivers/net/de4x5.c | status = lp->tx_ring[entry].status; |
entry | 1252 | drivers/net/de4x5.c | if (lp->skb[entry] != NULL) { |
entry | 1253 | drivers/net/de4x5.c | dev_kfree_skb(lp->skb[entry], FREE_WRITE); |
entry | 1254 | drivers/net/de4x5.c | lp->skb[entry] = NULL; |
entry | 2029 | drivers/net/de4x5.c | int i, entry, linkBad; |
entry | 2035 | drivers/net/de4x5.c | entry = lp->tx_new; /* Remember the ring position */ |
entry | 2047 | drivers/net/de4x5.c | if (lp->tx_ring[entry].status >= 0) linkBad=0; |
entry | 2052 | drivers/net/de4x5.c | return ((linkBad || (lp->tx_ring[entry].status & TD_ES)) ? 1 : 0); |
entry | 893 | drivers/net/depca.c | int i, entry; |
entry | 896 | drivers/net/depca.c | for (entry=lp->rx_new; |
entry | 897 | drivers/net/depca.c | !(readl(&lp->rx_ring[entry].base) & R_OWN); |
entry | 898 | drivers/net/depca.c | entry=lp->rx_new){ |
entry | 899 | drivers/net/depca.c | status = readl(&lp->rx_ring[entry].base) >> 16 ; |
entry | 901 | drivers/net/depca.c | lp->rx_old = entry; |
entry | 911 | drivers/net/depca.c | short len, pkt_len = readw(&lp->rx_ring[entry].msg_length); |
entry | 920 | drivers/net/depca.c | if (entry < lp->rx_old) { /* Wrapped buffer */ |
entry | 967 | drivers/net/depca.c | for (; lp->rx_old!=entry; lp->rx_old=(++lp->rx_old)&lp->rxRingMask) { |
entry | 971 | drivers/net/depca.c | writel(readl(&lp->rx_ring[entry].base) | R_OWN, &lp->rx_ring[entry].base); |
entry | 990 | drivers/net/depca.c | int entry; |
entry | 994 | drivers/net/depca.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 995 | drivers/net/depca.c | status = readl(&lp->tx_ring[entry].base) >> 16 ; |
entry | 1000 | drivers/net/depca.c | status = readl(&lp->tx_ring[entry].misc); |
entry | 1532 | drivers/net/depca.c | int i, entry, end, len, status = 0; |
entry | 1534 | drivers/net/depca.c | entry = lp->tx_new; /* Ring around buffer number. */ |
entry | 1535 | drivers/net/depca.c | end = (entry + (skb->len - 1) / TX_BUFF_SZ) & lp->txRingMask; |
entry | 1541 | drivers/net/depca.c | if (end < entry) { /* wrapped buffer */ |
entry | 1542 | drivers/net/depca.c | len = (lp->txRingMask - entry + 1) * TX_BUFF_SZ; |
entry | 1543 | drivers/net/depca.c | memcpy_toio(lp->tx_memcpy[entry], skb->data, len); |
entry | 1546 | drivers/net/depca.c | memcpy_toio(lp->tx_memcpy[entry], skb->data, skb->len); |
entry | 1551 | drivers/net/depca.c | for (i = entry; i != end; i = (++i) & lp->txRingMask) { |
entry | 1564 | drivers/net/depca.c | writel(readl(&lp->tx_ring[entry].base) | T_STP, &lp->tx_ring[entry].base); |
entry | 1568 | drivers/net/depca.c | for (i=end; i!=entry; --i) { |
entry | 1573 | drivers/net/depca.c | writel(readl(&lp->tx_ring[entry].base) | T_OWN, &lp->tx_ring[entry].base); |
entry | 709 | drivers/net/lance.c | int entry; |
entry | 779 | drivers/net/lance.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 786 | drivers/net/lance.c | lp->tx_ring[entry].length = |
entry | 789 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
entry | 791 | drivers/net/lance.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 799 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len); |
entry | 800 | drivers/net/lance.c | lp->tx_ring[entry].base = |
entry | 801 | drivers/net/lance.c | (int)(lp->tx_bounce_buffs + entry) | 0x83000000; |
entry | 804 | drivers/net/lance.c | lp->tx_skbuff[entry] = skb; |
entry | 805 | drivers/net/lance.c | lp->tx_ring[entry].base = (int)(skb->data) | 0x83000000; |
entry | 818 | drivers/net/lance.c | if (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0) |
entry | 867 | drivers/net/lance.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 868 | drivers/net/lance.c | int status = lp->tx_ring[entry].base; |
entry | 873 | drivers/net/lance.c | lp->tx_ring[entry].base = 0; |
entry | 877 | drivers/net/lance.c | int err_status = lp->tx_ring[entry].misc; |
entry | 899 | drivers/net/lance.c | if (lp->tx_skbuff[entry]) { |
entry | 900 | drivers/net/lance.c | dev_kfree_skb(lp->tx_skbuff[entry],FREE_WRITE); |
entry | 901 | drivers/net/lance.c | lp->tx_skbuff[entry] = 0; |
entry | 960 | drivers/net/lance.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 964 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
entry | 965 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
entry | 978 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
entry | 983 | drivers/net/lance.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
entry | 998 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
entry | 1004 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 1013 | drivers/net/lance.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
entry | 1022 | drivers/net/lance.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
entry | 1023 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 1024 | drivers/net/lance.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 311 | drivers/net/sunlance.c | int entry; |
entry | 607 | drivers/net/sunlance.c | int entry, skblen, len; |
entry | 658 | drivers/net/sunlance.c | entry = lp->tx_new & TX_RING_MOD_MASK; |
entry | 659 | drivers/net/sunlance.c | ib->btx_ring [entry].length = (-len) | 0xf000; |
entry | 660 | drivers/net/sunlance.c | ib->btx_ring [entry].misc = 0; |
entry | 662 | drivers/net/sunlance.c | memcpy ((char *)&ib->tx_buf [entry][0], skb->data, skblen); |
entry | 666 | drivers/net/sunlance.c | memset ((char *) &ib->tx_buf [entry][skblen], 0, len - skblen); |
entry | 671 | drivers/net/sunlance.c | ib->btx_ring [entry].tmd1_bits = (LE_T1_SOP|LE_T1_EOP|LE_T1_OWN); |
entry | 380 | drivers/net/tulip.c | int entry; |
entry | 425 | drivers/net/tulip.c | entry = tp->cur_tx % TX_RING_SIZE; |
entry | 428 | drivers/net/tulip.c | tp->tx_skbuff[entry] = skb; |
entry | 429 | drivers/net/tulip.c | tp->tx_ring[entry].length = skb->len | |
entry | 430 | drivers/net/tulip.c | (entry == TX_RING_SIZE-1 ? 0xe2000000 : 0xe0000000); |
entry | 431 | drivers/net/tulip.c | tp->tx_ring[entry].buffer1 = skb->data; |
entry | 432 | drivers/net/tulip.c | tp->tx_ring[entry].buffer2 = 0; |
entry | 433 | drivers/net/tulip.c | tp->tx_ring[entry].status = 0x80000000; /* Pass ownership to the chip. */ |
entry | 484 | drivers/net/tulip.c | int entry = dirty_tx % TX_RING_SIZE; |
entry | 485 | drivers/net/tulip.c | int status = lp->tx_ring[entry].status; |
entry | 510 | drivers/net/tulip.c | dev_kfree_skb(lp->tx_skbuff[entry], FREE_WRITE); |
entry | 577 | drivers/net/tulip.c | int entry = lp->cur_rx % RX_RING_SIZE; |
entry | 583 | drivers/net/tulip.c | while (lp->rx_ring[entry].status >= 0) { |
entry | 584 | drivers/net/tulip.c | int status = lp->rx_ring[entry].status; |
entry | 600 | drivers/net/tulip.c | short pkt_len = lp->rx_ring[entry].status >> 16; |
entry | 609 | drivers/net/tulip.c | if (lp->rx_ring[(entry+i) % RX_RING_SIZE].status < 0) |
entry | 614 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |
entry | 621 | drivers/net/tulip.c | memcpy(skb_put(skb,pkt_len), lp->rx_ring[entry].buffer1, pkt_len); |
entry | 627 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |
entry | 628 | drivers/net/tulip.c | entry = (++lp->cur_rx) % RX_RING_SIZE; |
entry | 42 | drivers/scsi/scsi_proc.c | struct proc_dir_entry entry; |
entry | 119 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.low_ino = PROC_SCSI_FILE + hpnt->host_no; |
entry | 120 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.namelen = sprintf(scsi_hba_dir->name,"%d", |
entry | 122 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.name = scsi_hba_dir->name; |
entry | 123 | drivers/scsi/scsi_proc.c | scsi_hba_dir->entry.mode = S_IFREG | S_IRUGO | S_IWUSR; |
entry | 124 | drivers/scsi/scsi_proc.c | proc_scsi_register(tpnt->proc_dir, &scsi_hba_dir->entry); |
entry | 340 | fs/msdos/misc.c | done = !strncmp(data[entry].name,name,MSDOS_NAME) && \ |
entry | 341 | fs/msdos/misc.c | !(data[entry].attr & ATTR_VOLUME); |
entry | 344 | fs/msdos/misc.c | done = !IS_FREE(data[entry].name) && CF_LE_W(data[entry].start) == *number; |
entry | 348 | fs/msdos/misc.c | done = IS_FREE(data[entry].name); \ |
entry | 350 | fs/msdos/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
entry | 362 | fs/msdos/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
entry | 373 | fs/msdos/misc.c | int entry,start,done; |
entry | 377 | fs/msdos/misc.c | for (entry = 0; entry < MSDOS_DPS; entry++) { |
entry | 382 | fs/msdos/misc.c | done = (data[entry].attr & ATTR_HIDDEN) |
entry | 394 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
entry | 395 | fs/msdos/misc.c | start = CF_LE_W(data[entry].start); |
entry | 399 | fs/msdos/misc.c | *res_de = &data[entry]; |
entry | 38 | fs/ncpfs/dir.c | int cache_size, struct ncp_dirent *entry); |
entry | 148 | fs/ncpfs/dir.c | struct ncp_dirent *entry = NULL; |
entry | 198 | fs/ncpfs/dir.c | entry = &c_entry[i]; |
entry | 204 | fs/ncpfs/dir.c | if ((entry == NULL) && c_seen_eof) |
entry | 210 | fs/ncpfs/dir.c | if (entry == NULL) |
entry | 240 | fs/ncpfs/dir.c | entry = c_entry; |
entry | 251 | fs/ncpfs/dir.c | if (entry == NULL) |
entry | 265 | fs/ncpfs/dir.c | ino_info = ncp_find_inode(inode, entry->i.entryName); |
entry | 275 | fs/ncpfs/dir.c | DDPRINTK("ncp_readdir: entry->path= %s\n", entry->i.entryName); |
entry | 276 | fs/ncpfs/dir.c | DDPRINTK("ncp_readdir: entry->f_pos = %ld\n", entry->f_pos); |
entry | 278 | fs/ncpfs/dir.c | if (filldir(dirent, entry->i.entryName, entry->i.nameLen, |
entry | 279 | fs/ncpfs/dir.c | entry->f_pos, (ino_t)ino_info) < 0) |
entry | 285 | fs/ncpfs/dir.c | || (entry->f_pos != filp->f_pos)) |
entry | 293 | fs/ncpfs/dir.c | entry += 1; |
entry | 301 | fs/ncpfs/dir.c | struct ncp_dirent *entry = c_entry; |
entry | 341 | fs/ncpfs/dir.c | &(entry->i)) != 0) |
entry | 348 | fs/ncpfs/dir.c | entry->f_pos = total_count; |
entry | 349 | fs/ncpfs/dir.c | entry += 1; |
entry | 359 | fs/ncpfs/dir.c | int cache_size, struct ncp_dirent *entry) |
entry | 398 | fs/ncpfs/dir.c | &(entry->i)) != 0) |
entry | 406 | fs/ncpfs/dir.c | entry->i.entryName); |
entry | 411 | fs/ncpfs/dir.c | entry->i.entryName, fpos, total_count); |
entry | 412 | fs/ncpfs/dir.c | entry->s = seq; |
entry | 413 | fs/ncpfs/dir.c | entry->f_pos = total_count; |
entry | 414 | fs/ncpfs/dir.c | entry += 1; |
entry | 253 | fs/ncpfs/sock.c | struct select_table_entry entry; |
entry | 327 | fs/ncpfs/sock.c | wait_table.entry = &entry; |
entry | 343 | fs/ncpfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 377 | fs/ncpfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 99 | fs/nfs/dir.c | struct nfs_entry *entry; |
entry | 128 | fs/nfs/dir.c | entry = NULL; |
entry | 140 | fs/nfs/dir.c | entry = c_entry + (index = i + 1); |
entry | 148 | fs/nfs/dir.c | if (!entry) { |
entry | 159 | fs/nfs/dir.c | entry = c_entry + (index = 0); |
entry | 164 | fs/nfs/dir.c | if (!entry) |
entry | 167 | fs/nfs/dir.c | int nextpos = entry->cookie; |
entry | 168 | fs/nfs/dir.c | if (filldir(dirent, entry->name, strlen(entry->name), filp->f_pos, entry->fileid) < 0) |
entry | 176 | fs/nfs/dir.c | if (nextpos != entry->cookie) |
entry | 179 | fs/nfs/dir.c | entry++; |
entry | 227 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 231 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 232 | fs/nfs/dir.c | if (entry->dev == dir->i_dev |
entry | 233 | fs/nfs/dir.c | && entry->inode == dir->i_ino |
entry | 234 | fs/nfs/dir.c | && !strncmp(filename, entry->filename, NFS_MAXNAMLEN)) |
entry | 235 | fs/nfs/dir.c | return entry; |
entry | 246 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 252 | fs/nfs/dir.c | if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 253 | fs/nfs/dir.c | if (jiffies > entry->expiration_date) { |
entry | 254 | fs/nfs/dir.c | entry->dev = 0; |
entry | 257 | fs/nfs/dir.c | *fhandle = entry->fhandle; |
entry | 258 | fs/nfs/dir.c | *fattr = entry->fattr; |
entry | 269 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 275 | fs/nfs/dir.c | if (!(entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 276 | fs/nfs/dir.c | entry = nfs_lookup_cache + nfs_lookup_cache_pos++; |
entry | 280 | fs/nfs/dir.c | entry->dev = dir->i_dev; |
entry | 281 | fs/nfs/dir.c | entry->inode = dir->i_ino; |
entry | 282 | fs/nfs/dir.c | strcpy(entry->filename, filename); |
entry | 283 | fs/nfs/dir.c | entry->fhandle = *fhandle; |
entry | 284 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 285 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
entry | 292 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 301 | fs/nfs/dir.c | else if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 302 | fs/nfs/dir.c | dev = entry->dev; |
entry | 303 | fs/nfs/dir.c | fileid = entry->fattr.fileid; |
entry | 308 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 309 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 310 | fs/nfs/dir.c | entry->dev = 0; |
entry | 317 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 323 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 324 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 325 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 201 | fs/nfs/proc.c | static int *xdr_decode_entry(int *p, struct nfs_entry *entry) |
entry | 203 | fs/nfs/proc.c | entry->fileid = ntohl(*p++); |
entry | 204 | fs/nfs/proc.c | if (!(p = xdr_decode_string(p, entry->name, NFS_MAXNAMLEN))) |
entry | 206 | fs/nfs/proc.c | entry->cookie = ntohl(*p++); |
entry | 207 | fs/nfs/proc.c | entry->eof = 0; |
entry | 726 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
entry | 752 | fs/nfs/proc.c | if (!(p = xdr_decode_entry(p, entry++))) |
entry | 763 | fs/nfs/proc.c | entry[-1].eof = 1; |
entry | 108 | fs/nfs/rpcsock.c | struct select_table_entry entry; |
entry | 114 | fs/nfs/rpcsock.c | wait_table.entry = &entry; |
entry | 119 | fs/nfs/rpcsock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 126 | fs/nfs/rpcsock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 50 | fs/select.c | struct select_table_entry * entry = p->entry + p->nr; |
entry | 54 | fs/select.c | entry--; |
entry | 55 | fs/select.c | remove_wait_queue(entry->wait_address,&entry->wait); |
entry | 90 | fs/select.c | struct select_table_entry *entry; |
entry | 114 | fs/select.c | if(!(entry = (struct select_table_entry*) __get_free_page(GFP_KERNEL))) |
entry | 121 | fs/select.c | wait_table.entry = entry; |
entry | 148 | fs/select.c | free_page((unsigned long) entry); |
entry | 163 | fs/smbfs/dir.c | struct smb_dirent *entry = NULL; |
entry | 205 | fs/smbfs/dir.c | entry = &c_entry[i]; |
entry | 211 | fs/smbfs/dir.c | if ((entry == NULL) && c_seen_eof) |
entry | 215 | fs/smbfs/dir.c | if (entry == NULL) { |
entry | 230 | fs/smbfs/dir.c | entry = c_entry; |
entry | 248 | fs/smbfs/dir.c | if (entry == NULL) { |
entry | 265 | fs/smbfs/dir.c | len = strlen(entry->path); |
entry | 266 | fs/smbfs/dir.c | if ((result = get_pname_static(inode, entry->path, len, |
entry | 280 | fs/smbfs/dir.c | DDPRINTK("smb_readdir: entry->path = %s\n", entry->path); |
entry | 281 | fs/smbfs/dir.c | DDPRINTK("smb_readdir: entry->f_pos = %ld\n", entry->f_pos); |
entry | 283 | fs/smbfs/dir.c | if (filldir(dirent, entry->path, len, |
entry | 284 | fs/smbfs/dir.c | entry->f_pos, (ino_t)ino_info) < 0) { |
entry | 289 | fs/smbfs/dir.c | || (entry->f_pos != filp->f_pos)) { |
entry | 296 | fs/smbfs/dir.c | entry += 1; |
entry | 767 | fs/smbfs/dir.c | struct smb_dirent entry; |
entry | 783 | fs/smbfs/dir.c | entry.attr = 0; |
entry | 784 | fs/smbfs/dir.c | entry.ctime = CURRENT_TIME; |
entry | 785 | fs/smbfs/dir.c | entry.atime = CURRENT_TIME; |
entry | 786 | fs/smbfs/dir.c | entry.mtime = CURRENT_TIME; |
entry | 787 | fs/smbfs/dir.c | entry.size = 0; |
entry | 789 | fs/smbfs/dir.c | error = smb_proc_create(SMB_SERVER(dir), path, len, &entry); |
entry | 798 | fs/smbfs/dir.c | if (!(*result = smb_iget(dir, path, &entry)) < 0) { |
entry | 535 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 579 | fs/smbfs/proc.c | entry->fileid = WVAL(buf, smb_vwv0); |
entry | 580 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv1); |
entry | 581 | fs/smbfs/proc.c | entry->ctime = entry->atime = |
entry | 582 | fs/smbfs/proc.c | entry->mtime = local2utc(DVAL(buf, smb_vwv2)); |
entry | 583 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv4); |
entry | 584 | fs/smbfs/proc.c | entry->access = WVAL(buf, smb_vwv6); |
entry | 588 | fs/smbfs/proc.c | entry->access &= 3; |
entry | 589 | fs/smbfs/proc.c | DPRINTK("smb_proc_open: entry->access = %d\n", entry->access); |
entry | 761 | fs/smbfs/proc.c | struct smb_dirent *entry, word command) |
entry | 770 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, entry->attr); |
entry | 771 | fs/smbfs/proc.c | DSET(buf, smb_vwv1, utc2local(entry->ctime)); |
entry | 782 | fs/smbfs/proc.c | entry->opened = 1; |
entry | 783 | fs/smbfs/proc.c | entry->fileid = WVAL(buf, smb_vwv0); |
entry | 786 | fs/smbfs/proc.c | smb_proc_close(server, entry); |
entry | 793 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 795 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBcreate); |
entry | 800 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 802 | fs/smbfs/proc.c | return smb_proc_do_create(server, path, len, entry, SMBmknew); |
entry | 923 | fs/smbfs/proc.c | smb_decode_dirent(char *p, struct smb_dirent *entry) |
entry | 926 | fs/smbfs/proc.c | entry->attr = BVAL(p, 0); |
entry | 927 | fs/smbfs/proc.c | entry->mtime = entry->atime = entry->ctime = |
entry | 929 | fs/smbfs/proc.c | entry->size = DVAL(p, 5); |
entry | 930 | fs/smbfs/proc.c | memcpy(entry->path, p+9, 13); |
entry | 931 | fs/smbfs/proc.c | DDPRINTK("smb_decode_dirent: path = %s\n", entry->path); |
entry | 941 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 970 | fs/smbfs/proc.c | current_entry = entry; |
entry | 1047 | fs/smbfs/proc.c | "%lu\n", entry->f_pos); |
entry | 1145 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 1191 | fs/smbfs/proc.c | current_entry = entry; |
entry | 1335 | fs/smbfs/proc.c | "%lu\n", entry->f_pos); |
entry | 1373 | fs/smbfs/proc.c | int cache_size, struct smb_dirent *entry) |
entry | 1377 | fs/smbfs/proc.c | entry); |
entry | 1380 | fs/smbfs/proc.c | entry); |
entry | 1385 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 1407 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv0); |
entry | 1408 | fs/smbfs/proc.c | entry->ctime = entry->atime = /* The server only tells us 1 time */ |
entry | 1409 | fs/smbfs/proc.c | entry->mtime = local2utc(DVAL(buf, smb_vwv1)); |
entry | 1411 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv3); |
entry | 1419 | fs/smbfs/proc.c | smb_proc_getattrE(struct smb_server *server, struct smb_dirent *entry) |
entry | 1425 | fs/smbfs/proc.c | WSET(buf, smb_vwv0, entry->fileid); |
entry | 1432 | fs/smbfs/proc.c | entry->ctime = date_dos2unix(WVAL(buf, smb_vwv1), WVAL(buf, smb_vwv0)); |
entry | 1433 | fs/smbfs/proc.c | entry->atime = date_dos2unix(WVAL(buf, smb_vwv3), WVAL(buf, smb_vwv2)); |
entry | 1434 | fs/smbfs/proc.c | entry->mtime = date_dos2unix(WVAL(buf, smb_vwv5), WVAL(buf, smb_vwv4)); |
entry | 1435 | fs/smbfs/proc.c | entry->size = DVAL(buf, smb_vwv6); |
entry | 1436 | fs/smbfs/proc.c | entry->attr = WVAL(buf, smb_vwv10); |
entry | 1444 | fs/smbfs/proc.c | struct smb_dirent *entry) |
entry | 1455 | fs/smbfs/proc.c | return smb_proc_getattr_core(server,path,len,entry); |
entry | 1459 | fs/smbfs/proc.c | entry->attr = temp_entry.attr; |
entry | 1460 | fs/smbfs/proc.c | entry->atime = temp_entry.atime; |
entry | 1461 | fs/smbfs/proc.c | entry->mtime = temp_entry.mtime; |
entry | 1462 | fs/smbfs/proc.c | entry->ctime = temp_entry.ctime; |
entry | 1463 | fs/smbfs/proc.c | entry->size = temp_entry.size; |
entry | 1470 | fs/smbfs/proc.c | return smb_proc_getattr_core(server, path, len, entry); |
entry | 166 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 168 | fs/umsdos/dir.c | if (umsdos_emd_dir_readentry (emd_dir,filp,&entry)!=0){ |
entry | 171 | fs/umsdos/dir.c | }else if (entry.name_len != 0){ |
entry | 193 | fs/umsdos/dir.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 199 | fs/umsdos/dir.c | ,info.fake.fname,lret,entry.flags)); |
entry | 201 | fs/umsdos/dir.c | && (entry.flags & UMSDOS_HLINK) |
entry | 217 | fs/umsdos/dir.c | || !(entry.flags & UMSDOS_HIDDEN))){ |
entry | 219 | fs/umsdos/dir.c | ,entry.name,entry.name_len |
entry | 224 | fs/umsdos/dir.c | if (u_entry != NULL) *u_entry = entry; |
entry | 275 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 277 | fs/umsdos/dir.c | ret = umsdos_readdir_x (dir,filp,&bufk,0,&entry,1,umsdos_dir_once); |
entry | 291 | fs/umsdos/dir.c | struct umsdos_dirent *entry, |
entry | 343 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
entry | 344 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
entry | 345 | fs/umsdos/dir.c | inode->i_rdev = to_kdev_t(entry->rdev); |
entry | 346 | fs/umsdos/dir.c | inode->i_atime = entry->atime; |
entry | 347 | fs/umsdos/dir.c | inode->i_ctime = entry->ctime; |
entry | 348 | fs/umsdos/dir.c | inode->i_mtime = entry->mtime; |
entry | 349 | fs/umsdos/dir.c | inode->i_uid = entry->uid; |
entry | 350 | fs/umsdos/dir.c | inode->i_gid = entry->gid; |
entry | 395 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
entry | 396 | fs/umsdos/dir.c | if (entry->nlink > 0){ |
entry | 397 | fs/umsdos/dir.c | inode->i_nlink = entry->nlink; |
entry | 430 | fs/umsdos/dir.c | struct umsdos_dirent *entry; |
entry | 446 | fs/umsdos/dir.c | memcpy (d->entry->name,name,name_len); |
entry | 447 | fs/umsdos/dir.c | d->entry->name[name_len] = '\0'; |
entry | 448 | fs/umsdos/dir.c | d->entry->name_len = name_len; |
entry | 465 | fs/umsdos/dir.c | struct umsdos_dirent *entry) /* Will hold the entry */ |
entry | 473 | fs/umsdos/dir.c | memcpy (entry->name,UMSDOS_PSDROOT_NAME,UMSDOS_PSDROOT_LEN+1); |
entry | 474 | fs/umsdos/dir.c | entry->name_len = UMSDOS_PSDROOT_LEN; |
entry | 485 | fs/umsdos/dir.c | bufk.entry = entry; |
entry | 502 | fs/umsdos/dir.c | ,1,entry,0,umsdos_filldir_k) < 0){ |
entry | 508 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,entry,bufk.f_pos); |
entry | 523 | fs/umsdos/dir.c | struct umsdos_dirent *entry) |
entry | 531 | fs/umsdos/dir.c | ret = umsdos_inode2entry (adir,dir,entry); |
entry | 552 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 560 | fs/umsdos/dir.c | ret = umsdos_inode2entry (dir,inode,&entry); |
entry | 562 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 563 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 573 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (dir,&adir,&entry); |
entry | 579 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 580 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 660 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 661 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (*result,&aadir,&entry); |
entry | 695 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
entry | 697 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
entry | 699 | fs/umsdos/dir.c | ,info.entry.flags)); |
entry | 700 | fs/umsdos/dir.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 144 | fs/umsdos/emd.c | struct umsdos_dirent *entry) |
entry | 146 | fs/umsdos/emd.c | int ret = umsdos_emd_dir_read(emd_dir,filp,(char*)entry,UMSDOS_REC_SIZE); |
entry | 149 | fs/umsdos/emd.c | int recsize = umsdos_evalrecsize (entry->name_len); |
entry | 152 | fs/umsdos/emd.c | ,((char*)entry)+UMSDOS_REC_SIZE,recsize - UMSDOS_REC_SIZE); |
entry | 170 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 180 | fs/umsdos/emd.c | entry = &entry0; |
entry | 181 | fs/umsdos/emd.c | }else if (entry->name_len > 0){ |
entry | 182 | fs/umsdos/emd.c | memset (entry->name+entry->name_len,'\0' |
entry | 183 | fs/umsdos/emd.c | ,sizeof(entry->name)-entry->name_len); |
entry | 190 | fs/umsdos/emd.c | memset (entry->spare,0,sizeof(entry->spare)); |
entry | 194 | fs/umsdos/emd.c | ret = umsdos_emd_dir_write(emd_dir,&filp,(char*)entry,info->recsize); |
entry | 280 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 311 | fs/umsdos/emd.c | if (entry->name_len == 0){ |
entry | 340 | fs/umsdos/emd.c | if (entry->name_len == rentry->name_len |
entry | 341 | fs/umsdos/emd.c | && memcmp(entry->name,rentry->name,rentry->name_len) |
entry | 344 | fs/umsdos/emd.c | *entry = *rentry; |
entry | 391 | fs/umsdos/emd.c | info->entry.name_len = 0; |
entry | 400 | fs/umsdos/emd.c | info->entry.name_len = sprintf (info->entry.name,"..LINK%ld" |
entry | 420 | fs/umsdos/emd.c | if (info->entry.name_len != 0){ |
entry | 421 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
entry | 422 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 456 | fs/umsdos/emd.c | struct umsdos_dirent entry; |
entry | 457 | fs/umsdos/emd.c | if (umsdos_emd_dir_readentry(emd_dir,&filp,&entry)!=0){ |
entry | 460 | fs/umsdos/emd.c | }else if (entry.name_len != 0){ |
entry | 485 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 315 | fs/umsdos/inode.c | struct umsdos_dirent entry; |
entry | 321 | fs/umsdos/inode.c | ret = umsdos_emd_dir_read (emd_owner,&filp,(char*)&entry |
entry | 325 | fs/umsdos/inode.c | entry.uid = attr->ia_uid; |
entry | 327 | fs/umsdos/inode.c | entry.gid = attr->ia_gid; |
entry | 329 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
entry | 331 | fs/umsdos/inode.c | entry.atime = attr->ia_atime; |
entry | 333 | fs/umsdos/inode.c | entry.mtime = attr->ia_mtime; |
entry | 335 | fs/umsdos/inode.c | entry.ctime = attr->ia_ctime; |
entry | 337 | fs/umsdos/inode.c | entry.nlink = inode->i_nlink; |
entry | 339 | fs/umsdos/inode.c | ret = umsdos_emd_dir_write (emd_owner,&filp,(char*)&entry |
entry | 344 | fs/umsdos/inode.c | ,ret,entry.nlink)); |
entry | 142 | fs/umsdos/ioctl.c | struct umsdos_dirent entry; |
entry | 144 | fs/umsdos/ioctl.c | ret = umsdos_emd_dir_readentry (emd_dir,filp,&entry); |
entry | 147 | fs/umsdos/ioctl.c | }else if (entry.name_len > 0){ |
entry | 149 | fs/umsdos/ioctl.c | ret = entry.name_len; |
entry | 150 | fs/umsdos/ioctl.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 153 | fs/umsdos/ioctl.c | memcpy_tofs(&idata->umsdos_dirent,&entry |
entry | 154 | fs/umsdos/ioctl.c | ,sizeof(entry)); |
entry | 201 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 233 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 375 | fs/umsdos/mangle.c | memcpy (info->entry.name,fname,len); |
entry | 376 | 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 | 472 | include/asm-alpha/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 32) & 0xff) |
entry | 473 | include/asm-alpha/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 40) |
entry | 435 | include/asm-i386/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 436 | include/asm-i386/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 556 | include/asm-mips/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 32) & 0xff) |
entry | 557 | include/asm-mips/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 40) |
entry | 562 | include/asm-mips/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 563 | include/asm-mips/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 501 | include/asm-ppc/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 502 | include/asm-ppc/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 34 | include/asm-sparc/cache.h | extern inline void put_icache_tag(int setnum, int tagnum, unsigned int entry) |
entry | 40 | include/asm-sparc/cache.h | "r" (entry), "r" (vaddr), "i" (ASI_M_TXTC_TAG) : |
entry | 256 | include/asm-sparc/page.h | register unsigned long entry; |
entry | 259 | include/asm-sparc/page.h | "=r" (entry) : |
entry | 262 | include/asm-sparc/page.h | return entry; |
entry | 265 | include/asm-sparc/page.h | extern __inline__ void put_segmap(unsigned long addr, unsigned long entry) |
entry | 269 | include/asm-sparc/page.h | "r" (addr), "r" (entry), |
entry | 277 | include/asm-sparc/page.h | register unsigned long entry; |
entry | 280 | include/asm-sparc/page.h | "=r" (entry) : |
entry | 282 | include/asm-sparc/page.h | return entry; |
entry | 285 | include/asm-sparc/page.h | extern __inline__ void put_pte(unsigned long addr, unsigned long entry) |
entry | 289 | include/asm-sparc/page.h | "r" (entry), "i" (ASI_PTE)); |
entry | 274 | include/asm-sparc/pgtable.h | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 275 | include/asm-sparc/pgtable.h | #define SWP_OFFSET(entry) ((entry) >> 8) |
entry | 289 | include/asm-sparc/pgtable.h | extern inline void remove_from_ctx_list(struct ctx_list *entry) |
entry | 291 | include/asm-sparc/pgtable.h | entry->next->prev = entry->prev; |
entry | 292 | include/asm-sparc/pgtable.h | entry->prev->next = entry->next; |
entry | 295 | include/asm-sparc/pgtable.h | extern inline void add_to_ctx_list(struct ctx_list *head, struct ctx_list *entry) |
entry | 297 | include/asm-sparc/pgtable.h | entry->next = head; |
entry | 298 | include/asm-sparc/pgtable.h | (entry->prev = head->prev)->next = entry; |
entry | 299 | include/asm-sparc/pgtable.h | head->prev = entry; |
entry | 301 | include/asm-sparc/pgtable.h | #define add_to_free_ctxlist(entry) add_to_ctx_list(&ctx_free, entry) |
entry | 302 | include/asm-sparc/pgtable.h | #define add_to_used_ctxlist(entry) add_to_ctx_list(&ctx_used, entry) |
entry | 136 | include/linux/coff.h | char entry[4]; /* entry pt. */ |
entry | 327 | include/linux/mm.h | unsigned long entry; |
entry | 332 | include/linux/mm.h | entry = xchg(swap_cache + MAP_NR(addr), 0); |
entry | 334 | include/linux/mm.h | if (entry) |
entry | 337 | include/linux/mm.h | return entry; |
entry | 342 | include/linux/mm.h | unsigned long entry; |
entry | 347 | include/linux/mm.h | entry= xchg(swap_cache + MAP_NR(addr), 0); |
entry | 348 | include/linux/mm.h | if (entry) { |
entry | 352 | include/linux/mm.h | swap_free(entry); |
entry | 86 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
entry | 416 | include/linux/sched.h | struct select_table_entry * entry; |
entry | 422 | include/linux/sched.h | entry = p->entry + p->nr; |
entry | 423 | include/linux/sched.h | entry->wait_address = wait_address; |
entry | 424 | include/linux/sched.h | entry->wait.task = current; |
entry | 425 | include/linux/sched.h | entry->wait.next = NULL; |
entry | 426 | include/linux/sched.h | add_wait_queue(wait_address,&entry->wait); |
entry | 125 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 136 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 138 | include/linux/smb_fs.h | struct smb_dirent *entry); |
entry | 147 | include/linux/smb_fs.h | struct smb_dirent *entry); |
entry | 149 | include/linux/smb_fs.h | int len, struct smb_dirent *entry); |
entry | 65 | include/linux/umsdos_fs.h | struct umsdos_dirent entry; |
entry | 31 | include/linux/wait.h | struct select_table_entry * entry; |
entry | 408 | mm/filemap.c | unsigned long entry = SWP_ENTRY(SHM_SWP_TYPE, MAP_NR(page)); |
entry | 410 | mm/filemap.c | set_pte(page_table, __pte(entry)); |
entry | 414 | mm/filemap.c | if (pte_val(*page_table) == entry) |
entry | 427 | mm/filemap.c | unsigned long entry) |
entry | 429 | mm/filemap.c | unsigned long page = SWP_OFFSET(entry); |
entry | 857 | mm/memory.c | pte_t * page_table, pte_t entry, int write_access) |
entry | 862 | mm/memory.c | swap_in(tsk, vma, page_table, pte_val(entry), write_access); |
entry | 865 | mm/memory.c | page = vma->vm_ops->swapin(vma, address - vma->vm_start + vma->vm_offset, pte_val(entry)); |
entry | 866 | mm/memory.c | if (pte_val(*page_table) != pte_val(entry)) { |
entry | 888 | mm/memory.c | pte_t entry; |
entry | 894 | mm/memory.c | entry = *page_table; |
entry | 895 | mm/memory.c | if (pte_present(entry)) |
entry | 897 | mm/memory.c | if (!pte_none(entry)) { |
entry | 898 | mm/memory.c | do_swap_page(tsk, vma, address, page_table, entry, write_access); |
entry | 933 | mm/memory.c | entry = mk_pte(page, vma->vm_page_prot); |
entry | 935 | mm/memory.c | entry = pte_mkwrite(pte_mkdirty(entry)); |
entry | 937 | mm/memory.c | entry = pte_wrprotect(entry); |
entry | 938 | 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 | 104 | mm/swap.c | static int add_to_swap_cache(unsigned long addr, unsigned long entry) |
entry | 106 | mm/swap.c | struct swap_info_struct * p = &swap_info[SWP_TYPE(entry)]; |
entry | 112 | mm/swap.c | entry = xchg(swap_cache + MAP_NR(addr), entry); |
entry | 113 | mm/swap.c | if (entry) { |
entry | 178 | mm/swap.c | void rw_swap_page(int rw, unsigned long entry, char * buf) |
entry | 183 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 189 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 195 | mm/swap.c | printk("Hmm.. Trying to use unallocated swap (%08lx)\n", entry); |
entry | 259 | mm/swap.c | unsigned long offset, entry; |
entry | 279 | mm/swap.c | entry = SWP_ENTRY(type,offset); |
entry | 287 | mm/swap.c | return entry; |
entry | 302 | mm/swap.c | void swap_duplicate(unsigned long entry) |
entry | 307 | mm/swap.c | if (!entry) |
entry | 309 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 310 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 330 | mm/swap.c | void swap_free(unsigned long entry) |
entry | 335 | mm/swap.c | if (!entry) |
entry | 337 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 345 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 359 | mm/swap.c | printk("swap_free: swap-space map bad (entry %08lx)\n",entry); |
entry | 376 | mm/swap.c | pte_t * page_table, unsigned long entry, int write_access) |
entry | 380 | mm/swap.c | if (pte_val(*page_table) != entry) { |
entry | 386 | mm/swap.c | swap_free(entry); |
entry | 390 | mm/swap.c | read_swap_page(entry, (char *) page); |
entry | 391 | mm/swap.c | if (pte_val(*page_table) != entry) { |
entry | 397 | mm/swap.c | if (!write_access && add_to_swap_cache(page, entry)) { |
entry | 402 | mm/swap.c | swap_free(entry); |
entry | 421 | mm/swap.c | unsigned long entry; |
entry | 456 | mm/swap.c | if (!(entry = get_swap_page())) |
entry | 459 | mm/swap.c | set_pte(page_table, __pte(entry)); |
entry | 462 | mm/swap.c | write_swap_page(entry, (char *) page); |
entry | 467 | mm/swap.c | if ((entry = find_in_swap_cache(page))) { |
entry | 474 | mm/swap.c | set_pte(page_table, __pte(entry)); |
entry | 482 | mm/swap.c | entry = page_unuse(page); |
entry | 484 | mm/swap.c | return entry; |
entry | 703 | mm/swap.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 705 | mm/swap.c | entry->prev = head; |
entry | 706 | mm/swap.c | (entry->next = head->next)->prev = entry; |
entry | 707 | mm/swap.c | head->next = entry; |
entry | 710 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 712 | mm/swap.c | struct mem_list * next = entry->next; |
entry | 713 | mm/swap.c | (next->prev = entry->prev)->next = next; |
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 | 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 | 250 | net/ipv4/arp.c | static void arp_enqueue(struct arp_table **q, struct arp_table *entry) |
entry | 259 | net/ipv4/arp.c | entry->next = entry; |
entry | 262 | net/ipv4/arp.c | entry->next = tail->next; |
entry | 263 | net/ipv4/arp.c | tail->next = entry; |
entry | 265 | net/ipv4/arp.c | *q = entry; |
entry | 277 | net/ipv4/arp.c | struct arp_table * entry; |
entry | 281 | net/ipv4/arp.c | entry = (*q)->next; |
entry | 282 | net/ipv4/arp.c | (*q)->next = entry->next; |
entry | 283 | net/ipv4/arp.c | if (entry->next == entry) |
entry | 285 | net/ipv4/arp.c | entry->next = NULL; |
entry | 286 | net/ipv4/arp.c | return entry; |
entry | 295 | net/ipv4/arp.c | static void arp_release_entry(struct arp_table *entry) |
entry | 303 | net/ipv4/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 319 | net/ipv4/arp.c | static void arp_free_entry(struct arp_table *entry) |
entry | 324 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 328 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 330 | net/ipv4/arp.c | for (hh = entry->hh; hh; hh = next) |
entry | 339 | net/ipv4/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 347 | net/ipv4/arp.c | static __inline__ int arp_count_hhs(struct arp_table * entry) |
entry | 352 | net/ipv4/arp.c | hhp = &entry->hh; |
entry | 372 | net/ipv4/arp.c | static __inline__ void arp_invalidate_hhs(struct arp_table * entry) |
entry | 376 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 384 | net/ipv4/arp.c | static __inline__ void arp_update_hhs(struct arp_table * entry) |
entry | 388 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 389 | net/ipv4/arp.c | entry->dev->header_cache_update(hh, entry->dev, entry->ha); |
entry | 414 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 419 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 422 | net/ipv4/arp.c | if (now - entry->last_used > ARP_TIMEOUT |
entry | 423 | net/ipv4/arp.c | && !(entry->flags & ATF_PERM) |
entry | 424 | net/ipv4/arp.c | && !arp_count_hhs(entry)) |
entry | 426 | net/ipv4/arp.c | *pentry = entry->next; |
entry | 429 | net/ipv4/arp.c | printk("arp_expire: %08x expired\n", entry->ip); |
entry | 431 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 433 | net/ipv4/arp.c | else if (entry->last_updated |
entry | 434 | net/ipv4/arp.c | && now - entry->last_updated > ARP_CONFIRM_INTERVAL |
entry | 435 | net/ipv4/arp.c | && !(entry->flags & ATF_PERM)) |
entry | 437 | net/ipv4/arp.c | struct device * dev = entry->dev; |
entry | 438 | net/ipv4/arp.c | pentry = &entry->next; |
entry | 439 | net/ipv4/arp.c | entry->flags &= ~ATF_COM; |
entry | 440 | net/ipv4/arp.c | arp_invalidate_hhs(entry); |
entry | 442 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES+1; |
entry | 443 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 444 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_CONFIRM_TIMEOUT; |
entry | 445 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 446 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, |
entry | 447 | net/ipv4/arp.c | dev, dev->pa_addr, entry->ha, |
entry | 450 | net/ipv4/arp.c | printk("arp_expire: %08x requires confirmation\n", entry->ip); |
entry | 454 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 478 | net/ipv4/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
entry | 492 | net/ipv4/arp.c | if (entry->flags & ATF_COM) |
entry | 501 | net/ipv4/arp.c | printk("arp_expire_request: %08x postponed\n", entry->ip); |
entry | 503 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 504 | net/ipv4/arp.c | entry->timer.expires = jiffies + HZ/10; |
entry | 505 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 513 | net/ipv4/arp.c | if (entry->last_updated && --entry->retries > 0) |
entry | 515 | net/ipv4/arp.c | struct device *dev = entry->dev; |
entry | 518 | net/ipv4/arp.c | printk("arp_expire_request: %08x timed out\n", entry->ip); |
entry | 521 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 522 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 523 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 524 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
entry | 530 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 533 | net/ipv4/arp.c | if (arp_count_hhs(entry)) |
entry | 535 | net/ipv4/arp.c | struct device *dev = entry->dev; |
entry | 537 | net/ipv4/arp.c | printk("arp_expire_request: %08x is dead\n", entry->ip); |
entry | 539 | net/ipv4/arp.c | arp_release_entry(entry); |
entry | 540 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 542 | net/ipv4/arp.c | entry->last_updated = 0; |
entry | 543 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 544 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_DEAD_RES_TIME; |
entry | 545 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 546 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, |
entry | 553 | net/ipv4/arp.c | hash = HASH(entry->ip); |
entry | 559 | net/ipv4/arp.c | if (*pentry == entry) |
entry | 562 | net/ipv4/arp.c | *pentry = entry->next; |
entry | 565 | net/ipv4/arp.c | printk("arp_expire_request: %08x is killed\n", entry->ip); |
entry | 567 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 600 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 603 | net/ipv4/arp.c | while ((entry = *pentry) != NULL) |
entry | 605 | net/ipv4/arp.c | if (entry->dev == dev) |
entry | 607 | net/ipv4/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 608 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 611 | net/ipv4/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 699 | net/ipv4/arp.c | static void arp_send_q(struct arp_table *entry) |
entry | 709 | net/ipv4/arp.c | if(!(entry->flags&ATF_COM)) |
entry | 712 | net/ipv4/arp.c | in_ntoa(entry->ip)); |
entry | 723 | net/ipv4/arp.c | while((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 745 | net/ipv4/arp.c | static void arp_destroy(struct arp_table * entry) |
entry | 750 | net/ipv4/arp.c | if (entry->flags & ATF_PUBL) |
entry | 753 | net/ipv4/arp.c | pentry = &arp_tables[HASH(entry->ip)]; |
entry | 757 | net/ipv4/arp.c | if (entry1 == entry) |
entry | 760 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 761 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 782 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 992 | net/ipv4/arp.c | for (entry=arp_tables[hash]; entry; entry=entry->next) |
entry | 993 | net/ipv4/arp.c | if (entry->ip == sip && entry->dev == dev) |
entry | 996 | net/ipv4/arp.c | if (entry) |
entry | 1001 | net/ipv4/arp.c | if (!(entry->flags & ATF_PERM)) { |
entry | 1002 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
entry | 1003 | net/ipv4/arp.c | entry->last_updated = jiffies; |
entry | 1005 | net/ipv4/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 1011 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 1012 | net/ipv4/arp.c | entry->flags |= ATF_COM; |
entry | 1013 | net/ipv4/arp.c | arp_update_hhs(entry); |
entry | 1019 | net/ipv4/arp.c | arp_send_q(entry); |
entry | 1027 | net/ipv4/arp.c | entry = (struct arp_table *)kmalloc(sizeof(struct arp_table),GFP_ATOMIC); |
entry | 1028 | net/ipv4/arp.c | if(entry == NULL) |
entry | 1036 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1037 | net/ipv4/arp.c | entry->ip = sip; |
entry | 1038 | net/ipv4/arp.c | entry->flags = ATF_COM; |
entry | 1039 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1040 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1041 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1042 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1043 | net/ipv4/arp.c | memcpy(entry->ha, sha, dev->addr_len); |
entry | 1044 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1050 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1052 | net/ipv4/arp.c | entry->dev = skb->dev; |
entry | 1054 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1057 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1058 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1063 | net/ipv4/arp.c | printk("arp_rcv: %08x backlogged\n", entry->ip); |
entry | 1065 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1087 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1091 | net/ipv4/arp.c | for (entry = arp_tables[HASH(paddr)]; |
entry | 1092 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1093 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
entry | 1095 | net/ipv4/arp.c | return entry; |
entry | 1100 | net/ipv4/arp.c | for (entry = arp_proxy_list; |
entry | 1101 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1102 | net/ipv4/arp.c | if (entry->ip == paddr && (!dev || entry->dev == dev)) |
entry | 1104 | net/ipv4/arp.c | return entry; |
entry | 1107 | net/ipv4/arp.c | for (entry=arp_proxy_list; entry != NULL; entry = entry->next) |
entry | 1108 | net/ipv4/arp.c | if (!((entry->ip^paddr)&entry->mask) && |
entry | 1109 | net/ipv4/arp.c | (!dev || entry->dev == dev)) |
entry | 1111 | net/ipv4/arp.c | return entry; |
entry | 1120 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1124 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1126 | net/ipv4/arp.c | if (entry != NULL) |
entry | 1128 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1129 | net/ipv4/arp.c | if (entry->flags & ATF_COM) |
entry | 1131 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 1184 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1200 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1202 | net/ipv4/arp.c | if (entry != NULL) /* It exists */ |
entry | 1204 | net/ipv4/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 1213 | net/ipv4/arp.c | if (entry->last_updated) |
entry | 1215 | net/ipv4/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 1248 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1249 | net/ipv4/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 1260 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1262 | net/ipv4/arp.c | if (entry != NULL) |
entry | 1264 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1265 | net/ipv4/arp.c | entry->flags = 0; |
entry | 1266 | net/ipv4/arp.c | entry->ip = paddr; |
entry | 1267 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1268 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 1269 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1270 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1271 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1272 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1273 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1274 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1275 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1278 | net/ipv4/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 1283 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1284 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1285 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1286 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1291 | net/ipv4/arp.c | printk("arp_find: %08x backlogged\n", entry->ip); |
entry | 1293 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1323 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1337 | net/ipv4/arp.c | for(entry=arp_tables[i]; entry!=NULL; entry=entry->next) |
entry | 1344 | net/ipv4/arp.c | if (entry->dev->type == ARPHRD_AX25 || entry->dev->type == ARPHRD_NETROM) |
entry | 1345 | net/ipv4/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 1348 | net/ipv4/arp.c | if(entry->dev->type==ARPHRD_AX25) |
entry | 1349 | net/ipv4/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 1354 | net/ipv4/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->dev->addr_len;j++) |
entry | 1356 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
entry | 1357 | net/ipv4/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
entry | 1367 | net/ipv4/arp.c | in_ntoa(entry->ip), |
entry | 1368 | net/ipv4/arp.c | (unsigned int)entry->dev->type, |
entry | 1369 | net/ipv4/arp.c | entry->flags, |
entry | 1374 | net/ipv4/arp.c | entry->mask==DEF_ARP_NETMASK ? |
entry | 1375 | net/ipv4/arp.c | "*" : in_ntoa(entry->mask), entry->dev->name); |
entry | 1379 | net/ipv4/arp.c | entry->mask==DEF_ARP_NETMASK ? |
entry | 1380 | net/ipv4/arp.c | "*" : in_ntoa(entry->mask), entry->dev->name, |
entry | 1381 | net/ipv4/arp.c | entry->hh ? entry->hh->hh_refcnt : -1, |
entry | 1382 | net/ipv4/arp.c | entry->hh ? entry->hh->hh_uptodate : 0); |
entry | 1407 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1438 | net/ipv4/arp.c | entry = arp_lookup(paddr, 0, dev); |
entry | 1440 | net/ipv4/arp.c | if (entry) |
entry | 1443 | net/ipv4/arp.c | for (hh = entry->hh; hh; hh=hh->hh_next) |
entry | 1470 | net/ipv4/arp.c | if (entry) |
entry | 1472 | net/ipv4/arp.c | dev->header_cache_update(hh, dev, entry->ha); |
entry | 1475 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1476 | net/ipv4/arp.c | entry->hh = hh; |
entry | 1479 | net/ipv4/arp.c | entry->last_used = jiffies; |
entry | 1489 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1491 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1498 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1499 | net/ipv4/arp.c | entry->flags = 0; |
entry | 1500 | net/ipv4/arp.c | entry->ip = paddr; |
entry | 1501 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1502 | net/ipv4/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 1503 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1504 | net/ipv4/arp.c | entry->hh = hh; |
entry | 1506 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1507 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1508 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1509 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1510 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1516 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1517 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1518 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1519 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1522 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1528 | net/ipv4/arp.c | printk("arp_cache_bind: %08x backlogged\n", entry->ip); |
entry | 1530 | net/ipv4/arp.c | arp_enqueue(&arp_backlog, entry); |
entry | 1541 | net/ipv4/arp.c | struct arp_table *entry, *entry1; |
entry | 1551 | net/ipv4/arp.c | while ((entry = arp_dequeue(&arp_backlog)) != NULL) |
entry | 1555 | net/ipv4/arp.c | sip = entry->ip; |
entry | 1563 | net/ipv4/arp.c | if (entry1->ip==sip && entry1->dev == entry->dev) |
entry | 1568 | net/ipv4/arp.c | struct device * dev = entry->dev; |
entry | 1570 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1571 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1572 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=hh->hh_next) |
entry | 1573 | net/ipv4/arp.c | hh->hh_arp = (void*)entry; |
entry | 1575 | net/ipv4/arp.c | del_timer(&entry->timer); |
entry | 1576 | net/ipv4/arp.c | entry->timer.expires = jiffies + ARP_RES_TIME; |
entry | 1577 | net/ipv4/arp.c | add_timer(&entry->timer); |
entry | 1578 | net/ipv4/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 1579 | net/ipv4/arp.c | arp_send(ARPOP_REQUEST, ETH_P_ARP, entry->ip, dev, dev->pa_addr, NULL, dev->dev_addr, NULL); |
entry | 1593 | net/ipv4/arp.c | for (hh=entry->hh; hh; hh=next) |
entry | 1600 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1605 | net/ipv4/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 1616 | net/ipv4/arp.c | printk("arp_run_bh: entry %08x was born dead\n", entry->ip); |
entry | 1618 | net/ipv4/arp.c | arp_free_entry(entry); |
entry | 1655 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1704 | net/ipv4/arp.c | entry = arp_lookup(ip, r->arp_flags & ~ATF_NETMASK, dev); |
entry | 1706 | net/ipv4/arp.c | if (entry) |
entry | 1708 | net/ipv4/arp.c | arp_destroy(entry); |
entry | 1709 | net/ipv4/arp.c | entry = NULL; |
entry | 1716 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1718 | net/ipv4/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1720 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1725 | net/ipv4/arp.c | entry->ip = ip; |
entry | 1726 | net/ipv4/arp.c | entry->hh = NULL; |
entry | 1727 | net/ipv4/arp.c | init_timer(&entry->timer); |
entry | 1728 | net/ipv4/arp.c | entry->timer.function = arp_expire_request; |
entry | 1729 | net/ipv4/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 1734 | net/ipv4/arp.c | entry->next = arp_proxy_list; |
entry | 1735 | net/ipv4/arp.c | arp_proxy_list = entry; |
entry | 1742 | net/ipv4/arp.c | entry->next = arp_tables[hash]; |
entry | 1743 | net/ipv4/arp.c | arp_tables[hash] = entry; |
entry | 1746 | net/ipv4/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1754 | net/ipv4/arp.c | memcpy(entry->ha, ha, dev->addr_len); |
entry | 1755 | net/ipv4/arp.c | entry->last_updated = entry->last_used = jiffies; |
entry | 1756 | net/ipv4/arp.c | entry->flags = r->arp_flags | ATF_COM; |
entry | 1757 | net/ipv4/arp.c | if ((entry->flags & ATF_PUBL) && (entry->flags & ATF_NETMASK)) |
entry | 1760 | net/ipv4/arp.c | entry->mask = si->sin_addr.s_addr; |
entry | 1763 | net/ipv4/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1764 | net/ipv4/arp.c | entry->dev = dev; |
entry | 1765 | net/ipv4/arp.c | arp_update_hhs(entry); |
entry | 1778 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1789 | net/ipv4/arp.c | entry = arp_lookup(si->sin_addr.s_addr, r->arp_flags|ATF_NETMASK, dev); |
entry | 1791 | net/ipv4/arp.c | if (entry == NULL) |
entry | 1801 | net/ipv4/arp.c | memcpy(r->arp_ha.sa_data, &entry->ha, entry->dev->addr_len); |
entry | 1802 | net/ipv4/arp.c | r->arp_ha.sa_family = entry->dev->type; |
entry | 1803 | net/ipv4/arp.c | r->arp_flags = entry->flags; |
entry | 1804 | net/ipv4/arp.c | strncpy(r->arp_dev, entry->dev->name, 16); |
entry | 1811 | net/ipv4/arp.c | struct arp_table *entry; |
entry | 1823 | net/ipv4/arp.c | for (entry = arp_tables[HASH(si->sin_addr.s_addr)]; |
entry | 1824 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1825 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
entry | 1826 | net/ipv4/arp.c | && (!dev || entry->dev == dev)) |
entry | 1828 | net/ipv4/arp.c | arp_destroy(entry); |
entry | 1835 | net/ipv4/arp.c | for (entry = arp_proxy_list; |
entry | 1836 | net/ipv4/arp.c | entry != NULL; entry = entry->next) |
entry | 1837 | net/ipv4/arp.c | if (entry->ip == si->sin_addr.s_addr |
entry | 1838 | net/ipv4/arp.c | && (!dev || entry->dev == dev)) |
entry | 1840 | net/ipv4/arp.c | arp_destroy(entry); |
entry | 105 | net/ipv4/rarp.c | static inline void rarp_release_entry(struct rarp_table *entry) |
entry | 107 | net/ipv4/rarp.c | kfree_s(entry, sizeof(struct rarp_table)); |
entry | 117 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 122 | net/ipv4/rarp.c | while ((entry = *pentry) != NULL) |
entry | 124 | net/ipv4/rarp.c | if (entry->ip == ip_addr) |
entry | 126 | net/ipv4/rarp.c | *pentry = entry->next; |
entry | 128 | net/ipv4/rarp.c | rarp_release_entry(entry); |
entry | 131 | net/ipv4/rarp.c | pentry = &entry->next; |
entry | 142 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 147 | net/ipv4/rarp.c | while ((entry = *pentry) != NULL) |
entry | 149 | net/ipv4/rarp.c | if (entry->dev == dev) |
entry | 151 | net/ipv4/rarp.c | *pentry = entry->next; |
entry | 153 | net/ipv4/rarp.c | rarp_release_entry(entry); |
entry | 156 | net/ipv4/rarp.c | pentry = &entry->next; |
entry | 200 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 259 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 260 | net/ipv4/rarp.c | if (!memcmp(entry->ha, tha, rarp->ar_hln)) |
entry | 263 | net/ipv4/rarp.c | if (entry != NULL) |
entry | 265 | net/ipv4/rarp.c | sip=entry->ip; |
entry | 286 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 341 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 342 | net/ipv4/rarp.c | if (entry->ip == ip) |
entry | 349 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 351 | net/ipv4/rarp.c | entry = (struct rarp_table *) kmalloc(sizeof(struct rarp_table), |
entry | 353 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 364 | net/ipv4/rarp.c | entry->next = rarp_tables; |
entry | 365 | net/ipv4/rarp.c | rarp_tables = entry; |
entry | 368 | net/ipv4/rarp.c | entry->ip = ip; |
entry | 369 | net/ipv4/rarp.c | entry->hlen = hlen; |
entry | 370 | net/ipv4/rarp.c | entry->htype = htype; |
entry | 371 | net/ipv4/rarp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 372 | net/ipv4/rarp.c | entry->dev = dev; |
entry | 387 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 408 | net/ipv4/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 409 | net/ipv4/rarp.c | if (entry->ip == ip) |
entry | 412 | net/ipv4/rarp.c | if (entry == NULL) |
entry | 422 | net/ipv4/rarp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 423 | net/ipv4/rarp.c | r.arp_ha.sa_family = entry->htype; |
entry | 486 | net/ipv4/rarp.c | struct rarp_table *entry; |
entry | 503 | net/ipv4/rarp.c | for(entry=rarp_tables; entry!=NULL; entry=entry->next) |
entry | 505 | net/ipv4/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |
entry | 516 | net/ipv4/rarp.c | (unsigned int)entry->ha[0], |
entry | 517 | net/ipv4/rarp.c | (unsigned int)entry->ha[1], |
entry | 518 | net/ipv4/rarp.c | (unsigned int)entry->ha[2], |
entry | 519 | net/ipv4/rarp.c | (unsigned int)entry->ha[3], |
entry | 520 | net/ipv4/rarp.c | (unsigned int)entry->ha[4], |
entry | 521 | net/ipv4/rarp.c | (unsigned int)entry->ha[5]); |