tag | line | file | source code |
entry | 1422 | drivers/block/cdu31a.c | struct cdrom_tocentry *entry; |
entry | 1433 | drivers/block/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
entry | 1434 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, entry, sizeof(*entry)); |
entry | 1435 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, entry, sizeof(*entry)); |
entry | 1437 | drivers/block/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
entry | 1470 | drivers/block/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |
entry | 194 | drivers/block/mcd.c | struct cdrom_tocentry entry; |
entry | 365 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 369 | drivers/block/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 370 | drivers/block/mcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 374 | drivers/block/mcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 375 | drivers/block/mcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 379 | drivers/block/mcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 381 | drivers/block/mcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 382 | drivers/block/mcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 384 | drivers/block/mcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 385 | drivers/block/mcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 387 | drivers/block/mcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 389 | drivers/block/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
entry | 390 | drivers/block/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
entry | 391 | drivers/block/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
entry | 397 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 832 | drivers/net/depca.c | int entry = lp->cur_tx++; |
entry | 837 | drivers/net/depca.c | entry &= lp->rmask; /* Ring around buffer number. */ |
entry | 838 | drivers/net/depca.c | buf = (unsigned char *)(lp->tx_ring[entry].base & 0x00ffffff); |
entry | 841 | drivers/net/depca.c | while (lp->tx_ring[entry].base < 0); |
entry | 850 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
entry | 853 | drivers/net/depca.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 859 | drivers/net/depca.c | if (skbL <= 0) lp->tx_ring[entry].base |= (T_ENP); |
entry | 860 | drivers/net/depca.c | lp->tx_ring[entry].base |= (T_OWN|T_STP); |
entry | 871 | drivers/net/depca.c | entry = lp->cur_tx++; |
entry | 872 | drivers/net/depca.c | entry &= lp->rmask; /* Ring around buffer number. */ |
entry | 873 | drivers/net/depca.c | buf = (unsigned char *)(lp->tx_ring[entry].base & 0x00ffffff); |
entry | 876 | drivers/net/depca.c | while (lp->tx_ring[entry].base < 0); |
entry | 886 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
entry | 889 | drivers/net/depca.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 895 | drivers/net/depca.c | if (skbL <= 0) lp->tx_ring[entry].base |= T_ENP; |
entry | 896 | drivers/net/depca.c | lp->tx_ring[entry].base |= T_OWN; |
entry | 901 | drivers/net/depca.c | (unsigned char *)(lp->tx_ring[entry].base & 0x00ffffff); |
entry | 904 | drivers/net/depca.c | dev->name, entry, (unsigned long) &lp->tx_ring[entry], |
entry | 905 | drivers/net/depca.c | lp->tx_ring[entry].base, -lp->tx_ring[entry].length); |
entry | 913 | drivers/net/depca.c | if (lp->tx_ring[(entry+1) & lp->rmask].base >= 0) { |
entry | 993 | drivers/net/depca.c | int entry = lp->cur_rx & lp->rmask; |
entry | 996 | drivers/net/depca.c | for (; lp->rx_ring[entry].base >= 0; entry = (++lp->cur_rx) & lp->rmask) { |
entry | 997 | drivers/net/depca.c | int status = lp->rx_ring[entry].base >> 16 ; |
entry | 1017 | drivers/net/depca.c | while ((status=(lp->rx_ring[(entry+1)&lp->rmask].base >> 16)) < 0); |
entry | 1029 | drivers/net/depca.c | short pkt_len = lp->rx_ring[entry].msg_length; |
entry | 1041 | drivers/net/depca.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
entry | 1052 | drivers/net/depca.c | lp->rx_ring[entry].base |= R_OWN; |
entry | 1054 | drivers/net/depca.c | entry = (++lp->cur_rx) & lp->rmask; |
entry | 1055 | drivers/net/depca.c | lp->rx_ring[entry].base |= R_OWN; |
entry | 466 | drivers/net/lance.c | int entry; |
entry | 535 | drivers/net/lance.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 542 | drivers/net/lance.c | lp->tx_ring[entry].length = |
entry | 545 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
entry | 547 | drivers/net/lance.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 555 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len); |
entry | 556 | drivers/net/lance.c | lp->tx_ring[entry].base = |
entry | 557 | drivers/net/lance.c | (int)(lp->tx_bounce_buffs + entry) | 0x83000000; |
entry | 566 | drivers/net/lance.c | lp->tx_ring[entry].base = (int)(skb->data) | 0x83000000; |
entry | 578 | drivers/net/lance.c | if (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0) |
entry | 623 | drivers/net/lance.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 624 | drivers/net/lance.c | int status = lp->tx_ring[entry].base; |
entry | 630 | drivers/net/lance.c | lp->tx_ring[entry].base = 0; |
entry | 634 | drivers/net/lance.c | int err_status = lp->tx_ring[entry].misc; |
entry | 700 | drivers/net/lance.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 704 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
entry | 705 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
entry | 718 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
entry | 721 | drivers/net/lance.c | short pkt_len = lp->rx_ring[entry].msg_length; |
entry | 728 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
entry | 733 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 741 | drivers/net/lance.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
entry | 747 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 748 | drivers/net/lance.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 350 | fs/binfmt_coff.c | start_addr = (unsigned int) COFF_LONG (aout_hdr->entry); |
entry | 320 | fs/msdos/misc.c | done = !strncmp(data[entry].name,name,MSDOS_NAME) && \ |
entry | 321 | fs/msdos/misc.c | !(data[entry].attr & ATTR_VOLUME); |
entry | 324 | fs/msdos/misc.c | done = !IS_FREE(data[entry].name) && CF_LE_W(data[entry].start) == *number; |
entry | 328 | fs/msdos/misc.c | done = IS_FREE(data[entry].name); \ |
entry | 330 | fs/msdos/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
entry | 342 | fs/msdos/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
entry | 353 | fs/msdos/misc.c | int entry,start,done; |
entry | 356 | fs/msdos/misc.c | for (entry = 0; entry < MSDOS_DPS; entry++) { |
entry | 366 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
entry | 367 | fs/msdos/misc.c | start = CF_LE_W(data[entry].start); |
entry | 371 | fs/msdos/misc.c | *res_de = &data[entry]; |
entry | 96 | fs/nfs/dir.c | struct nfs_entry *entry; |
entry | 113 | fs/nfs/dir.c | entry = NULL; |
entry | 125 | fs/nfs/dir.c | entry = c_entry + i + 1; |
entry | 133 | fs/nfs/dir.c | if (!entry) { |
entry | 144 | fs/nfs/dir.c | entry = c_entry + 0; |
entry | 150 | fs/nfs/dir.c | if (entry) { |
entry | 151 | fs/nfs/dir.c | i = strlen(entry->name); |
entry | 152 | fs/nfs/dir.c | memcpy_tofs(dirent->d_name, entry->name, i + 1); |
entry | 153 | fs/nfs/dir.c | put_fs_long(entry->fileid, &dirent->d_ino); |
entry | 155 | fs/nfs/dir.c | filp->f_pos = entry->cookie; |
entry | 186 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 190 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 191 | fs/nfs/dir.c | if (entry->dev == dir->i_dev && entry->inode == dir->i_ino |
entry | 192 | fs/nfs/dir.c | && !strncmp(filename, entry->filename, NFS_MAXNAMLEN)) |
entry | 193 | fs/nfs/dir.c | return entry; |
entry | 204 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 210 | fs/nfs/dir.c | if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 211 | fs/nfs/dir.c | if (jiffies > entry->expiration_date) { |
entry | 212 | fs/nfs/dir.c | entry->dev = 0; |
entry | 215 | fs/nfs/dir.c | *fhandle = entry->fhandle; |
entry | 216 | fs/nfs/dir.c | *fattr = entry->fattr; |
entry | 227 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 233 | fs/nfs/dir.c | if (!(entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 234 | fs/nfs/dir.c | entry = nfs_lookup_cache + nfs_lookup_cache_pos++; |
entry | 238 | fs/nfs/dir.c | entry->dev = dir->i_dev; |
entry | 239 | fs/nfs/dir.c | entry->inode = dir->i_ino; |
entry | 240 | fs/nfs/dir.c | strcpy(entry->filename, filename); |
entry | 241 | fs/nfs/dir.c | entry->fhandle = *fhandle; |
entry | 242 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 243 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
entry | 250 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 259 | fs/nfs/dir.c | else if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 260 | fs/nfs/dir.c | dev = entry->dev; |
entry | 261 | fs/nfs/dir.c | fileid = entry->fattr.fileid; |
entry | 266 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 267 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 268 | fs/nfs/dir.c | entry->dev = 0; |
entry | 275 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 281 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 282 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 283 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 180 | fs/nfs/proc.c | static int *xdr_decode_entry(int *p, struct nfs_entry *entry) |
entry | 182 | fs/nfs/proc.c | entry->fileid = ntohl(*p++); |
entry | 183 | fs/nfs/proc.c | if (!(p = xdr_decode_string(p, entry->name, NFS_MAXNAMLEN))) |
entry | 185 | fs/nfs/proc.c | entry->cookie = ntohl(*p++); |
entry | 186 | fs/nfs/proc.c | entry->eof = 0; |
entry | 683 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
entry | 709 | fs/nfs/proc.c | if (!(p = xdr_decode_entry(p, entry++))) |
entry | 720 | fs/nfs/proc.c | entry[-1].eof = 1; |
entry | 44 | fs/nfs/sock.c | struct select_table_entry entry; |
entry | 91 | fs/nfs/sock.c | wait_table.entry = &entry; |
entry | 99 | fs/nfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 129 | fs/nfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 49 | fs/select.c | struct select_table_entry * entry = p->entry + p->nr; |
entry | 53 | fs/select.c | entry--; |
entry | 54 | fs/select.c | remove_wait_queue(entry->wait_address,&entry->wait); |
entry | 89 | fs/select.c | struct select_table_entry *entry; |
entry | 113 | fs/select.c | if(!(entry = (struct select_table_entry*) __get_free_page(GFP_KERNEL))) |
entry | 120 | fs/select.c | wait_table.entry = entry; |
entry | 147 | fs/select.c | free_page((unsigned long) entry); |
entry | 350 | ibcs/binfmt_coff.c | start_addr = (unsigned int) COFF_LONG (aout_hdr->entry); |
entry | 136 | include/linux/coff.h | char entry[4]; /* entry pt. */ |
entry | 29 | include/linux/ldt.h | extern int set_ldt_entry(int entry, unsigned long base, unsigned int limit, |
entry | 91 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
entry | 525 | include/linux/sched.h | struct select_table_entry * entry; |
entry | 531 | include/linux/sched.h | entry = p->entry + p->nr; |
entry | 532 | include/linux/sched.h | entry->wait_address = wait_address; |
entry | 533 | include/linux/sched.h | entry->wait.task = current; |
entry | 534 | include/linux/sched.h | entry->wait.next = NULL; |
entry | 535 | include/linux/sched.h | add_wait_queue(wait_address,&entry->wait); |
entry | 28 | include/linux/wait.h | struct select_table_entry * entry; |
entry | 29 | mm/swap.c | #define SWP_TYPE(entry) (((entry) & 0xfe) >> 1) |
entry | 30 | mm/swap.c | #define SWP_OFFSET(entry) ((entry) >> PAGE_SHIFT) |
entry | 57 | mm/swap.c | void rw_swap_page(int rw, unsigned long entry, char * buf) |
entry | 62 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 68 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 128 | mm/swap.c | unsigned long swap_duplicate(unsigned long entry) |
entry | 133 | mm/swap.c | if (!entry) |
entry | 135 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 136 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 138 | mm/swap.c | return entry; |
entry | 153 | mm/swap.c | return entry; |
entry | 156 | mm/swap.c | void swap_free(unsigned long entry) |
entry | 161 | mm/swap.c | if (!entry) |
entry | 163 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 171 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 187 | mm/swap.c | printk("swap_free: swap-space map bad (entry %08lx)\n",entry); |
entry | 198 | mm/swap.c | unsigned long entry; |
entry | 201 | mm/swap.c | entry = *table_ptr; |
entry | 202 | mm/swap.c | if (PAGE_PRESENT & entry) { |
entry | 206 | mm/swap.c | if (!entry) { |
entry | 210 | mm/swap.c | if (SWP_TYPE(entry) == SHM_SWP_TYPE) { |
entry | 218 | mm/swap.c | read_swap_page(entry, (char *) page); |
entry | 219 | mm/swap.c | if (*table_ptr != entry) { |
entry | 224 | mm/swap.c | swap_free(entry); |
entry | 231 | mm/swap.c | unsigned long entry; |
entry | 251 | mm/swap.c | if (!(entry = get_swap_page())) |
entry | 253 | mm/swap.c | *table_ptr = entry; |
entry | 255 | mm/swap.c | write_swap_page(entry, (char *) page); |
entry | 477 | mm/swap.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 479 | mm/swap.c | entry->prev = head; |
entry | 480 | mm/swap.c | entry->next = head->next; |
entry | 481 | mm/swap.c | entry->next->prev = entry; |
entry | 482 | mm/swap.c | head->next = entry; |
entry | 485 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 487 | mm/swap.c | entry->next->prev = entry->prev; |
entry | 488 | mm/swap.c | entry->prev->next = entry->next; |
entry | 194 | net/inet/arp.c | struct arp_table *entry; |
entry | 197 | net/inet/arp.c | while ((entry = *pentry) != NULL) |
entry | 199 | net/inet/arp.c | if ((now - entry->last_used) > ARP_TIMEOUT |
entry | 200 | net/inet/arp.c | && !(entry->flags & ATF_PERM)) |
entry | 202 | net/inet/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 203 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 205 | net/inet/arp.c | del_timer(&entry->timer); /* Paranoia */ |
entry | 206 | net/inet/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 209 | net/inet/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 228 | net/inet/arp.c | static void arp_release_entry(struct arp_table *entry) |
entry | 232 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 235 | net/inet/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 240 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 241 | net/inet/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 324 | net/inet/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
entry | 338 | net/inet/arp.c | if (entry->flags & ATF_COM) |
entry | 344 | net/inet/arp.c | if (--entry->retries > 0) |
entry | 346 | net/inet/arp.c | unsigned long ip = entry->ip; |
entry | 347 | net/inet/arp.c | struct device *dev = entry->dev; |
entry | 350 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 351 | net/inet/arp.c | entry->timer.expires = ARP_RES_TIME; |
entry | 352 | net/inet/arp.c | add_timer(&entry->timer); |
entry | 366 | net/inet/arp.c | hash = HASH(entry->ip); |
entry | 370 | net/inet/arp.c | if (*pentry == entry) |
entry | 372 | net/inet/arp.c | *pentry = entry->next; /* delete from linked list */ |
entry | 373 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 375 | net/inet/arp.c | arp_release_entry(entry); |
entry | 392 | net/inet/arp.c | static void arp_send_q(struct arp_table *entry, unsigned char *hw_dest) |
entry | 401 | net/inet/arp.c | if(!(entry->flags&ATF_COM)) |
entry | 404 | net/inet/arp.c | in_ntoa(entry->ip)); |
entry | 408 | net/inet/arp.c | while((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 424 | net/inet/arp.c | printk("arp_send_q: active entity %s\n",in_ntoa(entry->ip)); |
entry | 437 | net/inet/arp.c | struct arp_table *entry; |
entry | 443 | net/inet/arp.c | while ((entry = *pentry) != NULL) |
entry | 445 | net/inet/arp.c | if (entry->ip == ip_addr) |
entry | 447 | net/inet/arp.c | if ((entry->flags & ATF_PERM) && !force) |
entry | 449 | net/inet/arp.c | *pentry = entry->next; |
entry | 450 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 452 | net/inet/arp.c | arp_release_entry(entry); |
entry | 455 | net/inet/arp.c | pentry = &entry->next; |
entry | 475 | net/inet/arp.c | struct arp_table *entry; |
entry | 647 | net/inet/arp.c | for(entry=arp_tables[hash];entry;entry=entry->next) |
entry | 648 | net/inet/arp.c | if(entry->ip==sip && entry->htype==htype) |
entry | 651 | net/inet/arp.c | if(entry) |
entry | 656 | net/inet/arp.c | memcpy(entry->ha, sha, hlen); |
entry | 657 | net/inet/arp.c | entry->hlen = hlen; |
entry | 658 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 659 | net/inet/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 665 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 666 | net/inet/arp.c | entry->flags |= ATF_COM; |
entry | 673 | net/inet/arp.c | arp_send_q(entry, sha); |
entry | 685 | net/inet/arp.c | entry = (struct arp_table *)kmalloc(sizeof(struct arp_table),GFP_ATOMIC); |
entry | 686 | net/inet/arp.c | if(entry == NULL) |
entry | 695 | net/inet/arp.c | entry->ip = sip; |
entry | 696 | net/inet/arp.c | entry->hlen = hlen; |
entry | 697 | net/inet/arp.c | entry->htype = htype; |
entry | 698 | net/inet/arp.c | entry->flags = ATF_COM; |
entry | 699 | net/inet/arp.c | memcpy(entry->ha, sha, hlen); |
entry | 700 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 701 | net/inet/arp.c | entry->dev = skb->dev; |
entry | 702 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 703 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 704 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 724 | net/inet/arp.c | struct arp_table *entry; |
entry | 745 | net/inet/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 746 | net/inet/arp.c | if (entry->ip == paddr) |
entry | 750 | net/inet/arp.c | if (entry != NULL) /* It exists */ |
entry | 752 | net/inet/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 760 | net/inet/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 769 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 770 | net/inet/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 781 | net/inet/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 783 | net/inet/arp.c | if (entry != NULL) |
entry | 785 | net/inet/arp.c | entry->ip = paddr; |
entry | 786 | net/inet/arp.c | entry->hlen = dev->addr_len; |
entry | 787 | net/inet/arp.c | entry->htype = dev->type; |
entry | 788 | net/inet/arp.c | entry->flags = 0; |
entry | 789 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 790 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 791 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 792 | net/inet/arp.c | entry->dev = dev; |
entry | 793 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 794 | net/inet/arp.c | entry->timer.function = arp_expire_request; |
entry | 795 | net/inet/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 796 | net/inet/arp.c | entry->timer.expires = ARP_RES_TIME; |
entry | 797 | net/inet/arp.c | add_timer(&entry->timer); |
entry | 798 | net/inet/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 799 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 801 | net/inet/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 833 | net/inet/arp.c | struct arp_table *entry; |
entry | 845 | net/inet/arp.c | for(entry=arp_tables[i]; entry!=NULL; entry=entry->next) |
entry | 852 | net/inet/arp.c | if(entry->htype==ARPHRD_AX25) |
entry | 853 | net/inet/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 857 | net/inet/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->hlen;j++) |
entry | 859 | net/inet/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
entry | 860 | net/inet/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
entry | 870 | net/inet/arp.c | in_ntoa(entry->ip), |
entry | 871 | net/inet/arp.c | (unsigned int)entry->htype, |
entry | 872 | net/inet/arp.c | entry->flags, |
entry | 904 | net/inet/arp.c | struct arp_table *entry; |
entry | 908 | net/inet/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 909 | net/inet/arp.c | if (entry->ip == paddr) break; |
entry | 910 | net/inet/arp.c | return entry; |
entry | 921 | net/inet/arp.c | struct arp_table *entry; |
entry | 980 | net/inet/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 981 | net/inet/arp.c | if (entry->ip == ip) |
entry | 988 | net/inet/arp.c | if (entry == NULL) |
entry | 990 | net/inet/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 992 | net/inet/arp.c | if (entry == NULL) |
entry | 997 | net/inet/arp.c | entry->ip = ip; |
entry | 998 | net/inet/arp.c | entry->hlen = hlen; |
entry | 999 | net/inet/arp.c | entry->htype = htype; |
entry | 1000 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 1001 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 1002 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1005 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 1011 | net/inet/arp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 1012 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 1013 | net/inet/arp.c | entry->flags = r.arp_flags | ATF_COM; |
entry | 1014 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 1016 | net/inet/arp.c | entry->dev = rt->rt_dev; |
entry | 1030 | net/inet/arp.c | struct arp_table *entry; |
entry | 1047 | net/inet/arp.c | entry = arp_lookup(si->sin_addr.s_addr); |
entry | 1049 | net/inet/arp.c | if (entry == NULL) |
entry | 1059 | net/inet/arp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 1060 | net/inet/arp.c | r.arp_ha.sa_family = entry->htype; |
entry | 1061 | net/inet/arp.c | r.arp_flags = entry->flags; |
entry | 126 | net/inet/rarp.c | static inline void rarp_release_entry(struct rarp_table *entry) |
entry | 128 | net/inet/rarp.c | kfree_s(entry, sizeof(struct rarp_table)); |
entry | 138 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 143 | net/inet/rarp.c | while ((entry = *pentry) != NULL) |
entry | 145 | net/inet/rarp.c | if (entry->ip == ip_addr) |
entry | 147 | net/inet/rarp.c | *pentry = entry->next; |
entry | 149 | net/inet/rarp.c | rarp_release_entry(entry); |
entry | 152 | net/inet/rarp.c | pentry = &entry->next; |
entry | 171 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 230 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 231 | net/inet/rarp.c | if (!memcmp(entry->ha, sha, rarp->ar_hln)) |
entry | 234 | net/inet/rarp.c | if (entry != NULL) |
entry | 236 | net/inet/rarp.c | sip=entry->ip; |
entry | 257 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 309 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 310 | net/inet/rarp.c | if (entry->ip == ip) |
entry | 317 | net/inet/rarp.c | if (entry == NULL) |
entry | 319 | net/inet/rarp.c | entry = (struct rarp_table *) kmalloc(sizeof(struct rarp_table), |
entry | 321 | net/inet/rarp.c | if (entry == NULL) |
entry | 332 | net/inet/rarp.c | entry->next = rarp_tables; |
entry | 333 | net/inet/rarp.c | rarp_tables = entry; |
entry | 336 | net/inet/rarp.c | entry->ip = ip; |
entry | 337 | net/inet/rarp.c | entry->hlen = hlen; |
entry | 338 | net/inet/rarp.c | entry->htype = htype; |
entry | 339 | net/inet/rarp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 340 | net/inet/rarp.c | entry->dev = rt->rt_dev; |
entry | 355 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 376 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 377 | net/inet/rarp.c | if (entry->ip == ip) |
entry | 380 | net/inet/rarp.c | if (entry == NULL) |
entry | 390 | net/inet/rarp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 391 | net/inet/rarp.c | r.arp_ha.sa_family = entry->htype; |
entry | 454 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 471 | net/inet/rarp.c | for(entry=rarp_tables; entry!=NULL; entry=entry->next) |
entry | 473 | net/inet/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |
entry | 484 | net/inet/rarp.c | (unsigned int)entry->ha[0], |
entry | 485 | net/inet/rarp.c | (unsigned int)entry->ha[1], |
entry | 486 | net/inet/rarp.c | (unsigned int)entry->ha[2], |
entry | 487 | net/inet/rarp.c | (unsigned int)entry->ha[3], |
entry | 488 | net/inet/rarp.c | (unsigned int)entry->ha[4], |
entry | 489 | net/inet/rarp.c | (unsigned int)entry->ha[5]); |