tag | line | file | source code |
entry | 350 | arch/i386/ibcs/binfmt_coff.c | start_addr = (unsigned int) COFF_LONG (aout_hdr->entry); |
entry | 102 | arch/i386/kernel/bios32.c | unsigned long entry; /* 32 bit physical address */ |
entry | 149 | arch/i386/kernel/bios32.c | unsigned long entry; /* %edx */ |
entry | 155 | arch/i386/kernel/bios32.c | "=d" (entry) |
entry | 162 | arch/i386/kernel/bios32.c | return address + entry; |
entry | 768 | arch/i386/kernel/bios32.c | if (check->fields.entry >= 0x100000) { |
entry | 771 | arch/i386/kernel/bios32.c | bios32_indirect.address = bios32_entry = check->fields.entry; |
entry | 516 | drivers/block/aztcd.c | struct cdrom_tocentry entry; |
entry | 637 | drivers/block/aztcd.c | st = verify_area(VERIFY_READ, (void *) arg, sizeof entry); |
entry | 639 | drivers/block/aztcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 641 | drivers/block/aztcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 643 | drivers/block/aztcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 645 | drivers/block/aztcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 646 | drivers/block/aztcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 650 | drivers/block/aztcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 651 | drivers/block/aztcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 652 | drivers/block/aztcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 653 | drivers/block/aztcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 654 | drivers/block/aztcd.c | entry.cdte_addr.lba = azt_msf2hsg(&tocPtr -> diskTime); |
entry | 655 | drivers/block/aztcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 656 | drivers/block/aztcd.c | { entry.cdte_addr.msf.minute = azt_bcd2bin(tocPtr -> diskTime.min); |
entry | 657 | drivers/block/aztcd.c | entry.cdte_addr.msf.second = azt_bcd2bin(tocPtr -> diskTime.sec); |
entry | 658 | drivers/block/aztcd.c | entry.cdte_addr.msf.frame = azt_bcd2bin(tocPtr -> diskTime.frame); |
entry | 663 | drivers/block/aztcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 2312 | drivers/block/cdu31a.c | struct cdrom_tocentry *entry; |
entry | 2323 | drivers/block/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
entry | 2324 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, entry, sizeof(*entry)); |
entry | 2325 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, entry, sizeof(*entry)); |
entry | 2327 | drivers/block/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
entry | 2360 | drivers/block/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |
entry | 248 | drivers/block/mcd.c | struct cdrom_tocentry entry; |
entry | 417 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 421 | drivers/block/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 422 | drivers/block/mcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 426 | drivers/block/mcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 427 | drivers/block/mcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 431 | drivers/block/mcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 433 | drivers/block/mcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 434 | drivers/block/mcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 436 | drivers/block/mcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 437 | drivers/block/mcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 439 | drivers/block/mcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 441 | drivers/block/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
entry | 442 | drivers/block/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
entry | 443 | drivers/block/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
entry | 449 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 1222 | drivers/block/sonycd535.c | struct cdrom_tocentry *entry; |
entry | 1231 | drivers/block/sonycd535.c | entry = (struct cdrom_tocentry *)arg; |
entry | 1232 | drivers/block/sonycd535.c | verify_area(VERIFY_WRITE /* and read */ , entry, sizeof *entry); |
entry | 1234 | drivers/block/sonycd535.c | memcpy_fromfs(&loc_entry, entry, sizeof loc_entry); |
entry | 1258 | drivers/block/sonycd535.c | memcpy_tofs(entry, &loc_entry, sizeof *entry); |
entry | 940 | drivers/net/de4x5.c | int i, entry; |
entry | 945 | drivers/net/de4x5.c | for (entry = lp->rx_new; lp->rx_ring[entry].status >= 0;entry = lp->rx_new) { |
entry | 946 | drivers/net/de4x5.c | status = lp->rx_ring[entry].status; |
entry | 949 | drivers/net/de4x5.c | lp->rx_old = entry; |
entry | 960 | drivers/net/de4x5.c | short pkt_len = (short)(lp->rx_ring[entry].status >> 16); |
entry | 966 | drivers/net/de4x5.c | if (entry < lp->rx_old) { /* Wrapped buffer */ |
entry | 1014 | drivers/net/de4x5.c | for (; lp->rx_old!=entry; lp->rx_old=(++lp->rx_old)%lp->rxRingSize) { |
entry | 1017 | drivers/net/de4x5.c | lp->rx_ring[entry].status = R_OWN; |
entry | 1036 | drivers/net/de4x5.c | int entry, iobase = dev->base_addr; |
entry | 1039 | drivers/net/de4x5.c | for (entry = lp->tx_old; entry != lp->tx_new; entry = lp->tx_old) { |
entry | 1040 | drivers/net/de4x5.c | status = lp->tx_ring[entry].status; |
entry | 1062 | drivers/net/de4x5.c | if (lp->skb[entry] != NULL) { |
entry | 1063 | drivers/net/de4x5.c | dev_kfree_skb(lp->skb[entry], FREE_WRITE); |
entry | 1460 | drivers/net/de4x5.c | int media, entry, iobase = dev->base_addr; |
entry | 1496 | drivers/net/de4x5.c | entry = lp->tx_new; /* Remember the ring position */ |
entry | 1513 | drivers/net/de4x5.c | if (lp->tx_ring[entry].status >= 0) linkBad=0; |
entry | 1518 | drivers/net/de4x5.c | if (linkBad || (lp->tx_ring[entry].status & TD_ES)) { |
entry | 1530 | drivers/net/de4x5.c | entry = lp->tx_new; /* Remember the ring position */ |
entry | 1547 | drivers/net/de4x5.c | if (lp->tx_ring[entry].status >= 0) linkBad=0; |
entry | 1552 | drivers/net/de4x5.c | if (linkBad || (lp->tx_ring[entry].status & TD_ES)) { |
entry | 861 | drivers/net/depca.c | int entry = lp->cur_tx++; |
entry | 866 | drivers/net/depca.c | entry &= lp->rmask; /* Ring around buffer number. */ |
entry | 867 | drivers/net/depca.c | buf = (unsigned char *)((lp->tx_ring[entry].base+lp->bus_offset) & |
entry | 871 | drivers/net/depca.c | while (lp->tx_ring[entry].base < 0); |
entry | 880 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
entry | 883 | drivers/net/depca.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 889 | drivers/net/depca.c | if (skbL <= 0) lp->tx_ring[entry].base |= (T_ENP); |
entry | 890 | drivers/net/depca.c | lp->tx_ring[entry].base |= (T_OWN|T_STP); |
entry | 901 | drivers/net/depca.c | entry = lp->cur_tx++; |
entry | 902 | drivers/net/depca.c | entry &= lp->rmask; /* Ring around buffer number. */ |
entry | 903 | drivers/net/depca.c | buf = (unsigned char *)((lp->tx_ring[entry].base+lp->bus_offset) & |
entry | 907 | drivers/net/depca.c | while (lp->tx_ring[entry].base < 0); |
entry | 917 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
entry | 920 | drivers/net/depca.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 926 | drivers/net/depca.c | if (skbL <= 0) lp->tx_ring[entry].base |= T_ENP; |
entry | 927 | drivers/net/depca.c | lp->tx_ring[entry].base |= T_OWN; |
entry | 932 | drivers/net/depca.c | (unsigned char *)((lp->tx_ring[entry].base+lp->bus_offset) & |
entry | 936 | drivers/net/depca.c | dev->name, entry, (unsigned long) &lp->tx_ring[entry], |
entry | 937 | drivers/net/depca.c | lp->tx_ring[entry].base, -lp->tx_ring[entry].length); |
entry | 945 | drivers/net/depca.c | if (lp->tx_ring[(entry+1) & lp->rmask].base >= 0) { |
entry | 1020 | drivers/net/depca.c | int entry = lp->cur_rx & lp->rmask; |
entry | 1023 | drivers/net/depca.c | for (; lp->rx_ring[entry].base >= 0; entry = (++lp->cur_rx) & lp->rmask) { |
entry | 1024 | drivers/net/depca.c | int status = lp->rx_ring[entry].base >> 16 ; |
entry | 1044 | drivers/net/depca.c | while ((status=(lp->rx_ring[(entry+1)&lp->rmask].base >> 16)) < 0); |
entry | 1056 | drivers/net/depca.c | short pkt_len = lp->rx_ring[entry].msg_length; |
entry | 1068 | drivers/net/depca.c | (unsigned char *)((lp->rx_ring[entry].base+lp->bus_offset) & |
entry | 1080 | drivers/net/depca.c | lp->rx_ring[entry].base |= R_OWN; |
entry | 1082 | drivers/net/depca.c | entry = (++lp->cur_rx) & lp->rmask; |
entry | 1083 | drivers/net/depca.c | lp->rx_ring[entry].base |= R_OWN; |
entry | 655 | drivers/net/lance.c | int entry; |
entry | 725 | drivers/net/lance.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 732 | drivers/net/lance.c | lp->tx_ring[entry].length = |
entry | 735 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
entry | 737 | drivers/net/lance.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 745 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len); |
entry | 746 | drivers/net/lance.c | lp->tx_ring[entry].base = |
entry | 747 | drivers/net/lance.c | (int)(lp->tx_bounce_buffs + entry) | 0x83000000; |
entry | 750 | drivers/net/lance.c | lp->tx_skbuff[entry] = skb; |
entry | 751 | drivers/net/lance.c | lp->tx_ring[entry].base = (int)(skb->data) | 0x83000000; |
entry | 763 | drivers/net/lance.c | if (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0) |
entry | 809 | drivers/net/lance.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 810 | drivers/net/lance.c | int status = lp->tx_ring[entry].base; |
entry | 815 | drivers/net/lance.c | lp->tx_ring[entry].base = 0; |
entry | 819 | drivers/net/lance.c | int err_status = lp->tx_ring[entry].misc; |
entry | 841 | drivers/net/lance.c | if (lp->tx_skbuff[entry]) { |
entry | 842 | drivers/net/lance.c | dev_kfree_skb(lp->tx_skbuff[entry],FREE_WRITE); |
entry | 843 | drivers/net/lance.c | lp->tx_skbuff[entry] = 0; |
entry | 895 | drivers/net/lance.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 899 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
entry | 900 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
entry | 913 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
entry | 916 | drivers/net/lance.c | short pkt_len = (lp->rx_ring[entry].msg_length & 0xfff)-4; |
entry | 923 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
entry | 928 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 936 | drivers/net/lance.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
entry | 944 | drivers/net/lance.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
entry | 945 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 946 | drivers/net/lance.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 380 | drivers/net/tulip.c | int entry; |
entry | 425 | drivers/net/tulip.c | entry = tp->cur_tx % TX_RING_SIZE; |
entry | 428 | drivers/net/tulip.c | tp->tx_skbuff[entry] = skb; |
entry | 429 | drivers/net/tulip.c | tp->tx_ring[entry].length = skb->len | |
entry | 430 | drivers/net/tulip.c | (entry == TX_RING_SIZE-1 ? 0xe2000000 : 0xe0000000); |
entry | 431 | drivers/net/tulip.c | tp->tx_ring[entry].buffer1 = skb->data; |
entry | 432 | drivers/net/tulip.c | tp->tx_ring[entry].buffer2 = 0; |
entry | 433 | drivers/net/tulip.c | tp->tx_ring[entry].status = 0x80000000; /* Pass ownership to the chip. */ |
entry | 484 | drivers/net/tulip.c | int entry = dirty_tx % TX_RING_SIZE; |
entry | 485 | drivers/net/tulip.c | int status = lp->tx_ring[entry].status; |
entry | 510 | drivers/net/tulip.c | dev_kfree_skb(lp->tx_skbuff[entry], FREE_WRITE); |
entry | 577 | drivers/net/tulip.c | int entry = lp->cur_rx % RX_RING_SIZE; |
entry | 583 | drivers/net/tulip.c | while (lp->rx_ring[entry].status >= 0) { |
entry | 584 | drivers/net/tulip.c | int status = lp->rx_ring[entry].status; |
entry | 600 | drivers/net/tulip.c | short pkt_len = lp->rx_ring[entry].status >> 16; |
entry | 609 | drivers/net/tulip.c | if (lp->rx_ring[(entry+i) % RX_RING_SIZE].status < 0) |
entry | 614 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |
entry | 621 | drivers/net/tulip.c | memcpy(skb->data, lp->rx_ring[entry].buffer1, pkt_len); |
entry | 626 | drivers/net/tulip.c | lp->rx_ring[entry].status = 0x80000000; |
entry | 627 | drivers/net/tulip.c | entry = (++lp->cur_rx) % RX_RING_SIZE; |
entry | 342 | fs/msdos/misc.c | done = !strncmp(data[entry].name,name,MSDOS_NAME) && \ |
entry | 343 | fs/msdos/misc.c | !(data[entry].attr & ATTR_VOLUME); |
entry | 346 | fs/msdos/misc.c | done = !IS_FREE(data[entry].name) && CF_LE_W(data[entry].start) == *number; |
entry | 350 | fs/msdos/misc.c | done = IS_FREE(data[entry].name); \ |
entry | 352 | fs/msdos/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
entry | 364 | fs/msdos/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
entry | 375 | fs/msdos/misc.c | int entry,start,done; |
entry | 379 | fs/msdos/misc.c | for (entry = 0; entry < MSDOS_DPS; entry++) { |
entry | 389 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
entry | 390 | fs/msdos/misc.c | start = CF_LE_W(data[entry].start); |
entry | 394 | fs/msdos/misc.c | *res_de = &data[entry]; |
entry | 103 | fs/nfs/dir.c | struct nfs_entry *entry; |
entry | 120 | fs/nfs/dir.c | entry = NULL; |
entry | 132 | fs/nfs/dir.c | entry = c_entry + i + 1; |
entry | 140 | fs/nfs/dir.c | if (!entry) { |
entry | 151 | fs/nfs/dir.c | entry = c_entry + 0; |
entry | 157 | fs/nfs/dir.c | if (entry) { |
entry | 158 | fs/nfs/dir.c | i = strlen(entry->name); |
entry | 159 | fs/nfs/dir.c | memcpy_tofs(dirent->d_name, entry->name, i + 1); |
entry | 160 | fs/nfs/dir.c | put_fs_long(entry->fileid, &dirent->d_ino); |
entry | 162 | fs/nfs/dir.c | filp->f_pos = entry->cookie; |
entry | 193 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 197 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 198 | fs/nfs/dir.c | if (entry->dev == dir->i_dev && entry->inode == dir->i_ino |
entry | 199 | fs/nfs/dir.c | && !strncmp(filename, entry->filename, NFS_MAXNAMLEN)) |
entry | 200 | fs/nfs/dir.c | return entry; |
entry | 211 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 217 | fs/nfs/dir.c | if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 218 | fs/nfs/dir.c | if (jiffies > entry->expiration_date) { |
entry | 219 | fs/nfs/dir.c | entry->dev = 0; |
entry | 222 | fs/nfs/dir.c | *fhandle = entry->fhandle; |
entry | 223 | fs/nfs/dir.c | *fattr = entry->fattr; |
entry | 234 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 240 | fs/nfs/dir.c | if (!(entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 241 | fs/nfs/dir.c | entry = nfs_lookup_cache + nfs_lookup_cache_pos++; |
entry | 245 | fs/nfs/dir.c | entry->dev = dir->i_dev; |
entry | 246 | fs/nfs/dir.c | entry->inode = dir->i_ino; |
entry | 247 | fs/nfs/dir.c | strcpy(entry->filename, filename); |
entry | 248 | fs/nfs/dir.c | entry->fhandle = *fhandle; |
entry | 249 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 250 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
entry | 257 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 266 | fs/nfs/dir.c | else if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 267 | fs/nfs/dir.c | dev = entry->dev; |
entry | 268 | fs/nfs/dir.c | fileid = entry->fattr.fileid; |
entry | 273 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 274 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 275 | fs/nfs/dir.c | entry->dev = 0; |
entry | 282 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 288 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 289 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 290 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 205 | fs/nfs/proc.c | static int *xdr_decode_entry(int *p, struct nfs_entry *entry) |
entry | 207 | fs/nfs/proc.c | entry->fileid = ntohl(*p++); |
entry | 208 | fs/nfs/proc.c | if (!(p = xdr_decode_string(p, entry->name, NFS_MAXNAMLEN))) |
entry | 210 | fs/nfs/proc.c | entry->cookie = ntohl(*p++); |
entry | 211 | fs/nfs/proc.c | entry->eof = 0; |
entry | 730 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
entry | 756 | fs/nfs/proc.c | if (!(p = xdr_decode_entry(p, entry++))) |
entry | 767 | fs/nfs/proc.c | entry[-1].eof = 1; |
entry | 62 | fs/nfs/sock.c | struct select_table_entry entry; |
entry | 112 | fs/nfs/sock.c | wait_table.entry = &entry; |
entry | 126 | fs/nfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 156 | fs/nfs/sock.c | remove_wait_queue(entry.wait_address, &entry.wait); |
entry | 50 | fs/select.c | struct select_table_entry * entry = p->entry + p->nr; |
entry | 54 | fs/select.c | entry--; |
entry | 55 | fs/select.c | remove_wait_queue(entry->wait_address,&entry->wait); |
entry | 90 | fs/select.c | struct select_table_entry *entry; |
entry | 114 | fs/select.c | if(!(entry = (struct select_table_entry*) __get_free_page(GFP_KERNEL))) |
entry | 121 | fs/select.c | wait_table.entry = entry; |
entry | 148 | fs/select.c | free_page((unsigned long) entry); |
entry | 130 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 132 | fs/umsdos/dir.c | if (umsdos_emd_dir_readentry (emd_dir,filp,&entry)!=0){ |
entry | 135 | fs/umsdos/dir.c | }else if (entry.name_len != 0){ |
entry | 157 | fs/umsdos/dir.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 164 | fs/umsdos/dir.c | ,info.fake.fname,lret,entry.flags)); |
entry | 166 | fs/umsdos/dir.c | && (entry.flags & UMSDOS_HLINK) |
entry | 184 | fs/umsdos/dir.c | memcpy_tofs (dirent->d_name,entry.name |
entry | 185 | fs/umsdos/dir.c | ,entry.name_len); |
entry | 186 | fs/umsdos/dir.c | put_fs_byte(0,dirent->d_name+entry.name_len); |
entry | 187 | fs/umsdos/dir.c | put_fs_word (entry.name_len |
entry | 192 | fs/umsdos/dir.c | u_entry->flags = entry.flags; |
entry | 196 | fs/umsdos/dir.c | memcpy (dirent->d_name,entry.name |
entry | 197 | fs/umsdos/dir.c | ,entry.name_len); |
entry | 198 | fs/umsdos/dir.c | dirent->d_name[entry.name_len] = '\0'; |
entry | 199 | fs/umsdos/dir.c | dirent->d_reclen = entry.name_len; |
entry | 200 | fs/umsdos/dir.c | if (u_entry != NULL) *u_entry = entry; |
entry | 202 | fs/umsdos/dir.c | ret = ROUND_UP(NAME_OFFSET(dirent) + entry.name_len + 1); |
entry | 240 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 242 | fs/umsdos/dir.c | ret = umsdos_readdir_x (dir,filp,dirent,1,count,&entry,1,&f_pos); |
entry | 243 | fs/umsdos/dir.c | if (ret <= 0 || !(entry.flags & UMSDOS_HIDDEN)) break; |
entry | 253 | fs/umsdos/dir.c | struct umsdos_dirent *entry, |
entry | 305 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
entry | 306 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
entry | 307 | fs/umsdos/dir.c | inode->i_rdev = entry->rdev; |
entry | 308 | fs/umsdos/dir.c | inode->i_atime = entry->atime; |
entry | 309 | fs/umsdos/dir.c | inode->i_ctime = entry->ctime; |
entry | 310 | fs/umsdos/dir.c | inode->i_mtime = entry->mtime; |
entry | 311 | fs/umsdos/dir.c | inode->i_uid = entry->uid; |
entry | 312 | fs/umsdos/dir.c | inode->i_gid = entry->gid; |
entry | 321 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
entry | 322 | fs/umsdos/dir.c | if (entry->nlink > 0){ |
entry | 323 | fs/umsdos/dir.c | inode->i_nlink = entry->nlink; |
entry | 344 | fs/umsdos/dir.c | struct umsdos_dirent *entry) /* Will hold the entry */ |
entry | 352 | fs/umsdos/dir.c | memcpy (entry->name,UMSDOS_PSDROOT_NAME,UMSDOS_PSDROOT_LEN+1); |
entry | 353 | fs/umsdos/dir.c | entry->name_len = UMSDOS_PSDROOT_LEN; |
entry | 370 | fs/umsdos/dir.c | memcpy (entry->name,dirent.d_name,dirent.d_reclen); |
entry | 371 | fs/umsdos/dir.c | entry->name[dirent.d_reclen] = '\0'; |
entry | 372 | fs/umsdos/dir.c | entry->name_len = dirent.d_reclen; |
entry | 388 | fs/umsdos/dir.c | ,0,1,entry,0,&f_pos) <= 0){ |
entry | 394 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,entry,f_pos); |
entry | 409 | fs/umsdos/dir.c | struct umsdos_dirent *entry) |
entry | 417 | fs/umsdos/dir.c | ret = umsdos_inode2entry (adir,dir,entry); |
entry | 438 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 446 | fs/umsdos/dir.c | ret = umsdos_inode2entry (dir,inode,&entry); |
entry | 448 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 449 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 459 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (dir,&adir,&entry); |
entry | 465 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 466 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 546 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 547 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (*result,&aadir,&entry); |
entry | 581 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
entry | 583 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
entry | 585 | fs/umsdos/dir.c | ,info.entry.flags)); |
entry | 586 | fs/umsdos/dir.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 158 | fs/umsdos/emd.c | struct umsdos_dirent *entry) |
entry | 160 | fs/umsdos/emd.c | int ret = umsdos_emd_dir_read(emd_dir,filp,(char*)entry,UMSDOS_REC_SIZE); |
entry | 163 | fs/umsdos/emd.c | int recsize = umsdos_evalrecsize (entry->name_len); |
entry | 166 | fs/umsdos/emd.c | ,((char*)entry)+UMSDOS_REC_SIZE,recsize - UMSDOS_REC_SIZE); |
entry | 184 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 194 | fs/umsdos/emd.c | entry = &entry0; |
entry | 195 | fs/umsdos/emd.c | }else if (entry->name_len > 0){ |
entry | 196 | fs/umsdos/emd.c | memset (entry->name+entry->name_len,'\0' |
entry | 197 | fs/umsdos/emd.c | ,sizeof(entry->name)-entry->name_len); |
entry | 204 | fs/umsdos/emd.c | memset (entry->spare,0,sizeof(entry->spare)); |
entry | 208 | fs/umsdos/emd.c | ret = umsdos_emd_dir_write(emd_dir,&filp,(char*)entry,info->recsize); |
entry | 294 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 325 | fs/umsdos/emd.c | if (entry->name_len == 0){ |
entry | 354 | fs/umsdos/emd.c | if (entry->name_len == rentry->name_len |
entry | 355 | fs/umsdos/emd.c | && memcmp(entry->name,rentry->name,rentry->name_len) |
entry | 358 | fs/umsdos/emd.c | *entry = *rentry; |
entry | 405 | fs/umsdos/emd.c | info->entry.name_len = 0; |
entry | 414 | fs/umsdos/emd.c | info->entry.name_len = sprintf (info->entry.name,"..LINK%ld" |
entry | 434 | fs/umsdos/emd.c | if (info->entry.name_len != 0){ |
entry | 435 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
entry | 436 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 470 | fs/umsdos/emd.c | struct umsdos_dirent entry; |
entry | 471 | fs/umsdos/emd.c | if (umsdos_emd_dir_readentry(emd_dir,&filp,&entry)!=0){ |
entry | 474 | fs/umsdos/emd.c | }else if (entry.name_len != 0){ |
entry | 499 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 321 | fs/umsdos/inode.c | struct umsdos_dirent entry; |
entry | 327 | fs/umsdos/inode.c | ret = umsdos_emd_dir_read (emd_owner,&filp,(char*)&entry |
entry | 331 | fs/umsdos/inode.c | entry.uid = attr->ia_uid; |
entry | 333 | fs/umsdos/inode.c | entry.gid = attr->ia_gid; |
entry | 335 | fs/umsdos/inode.c | entry.mode = attr->ia_mode; |
entry | 337 | fs/umsdos/inode.c | entry.atime = attr->ia_atime; |
entry | 339 | fs/umsdos/inode.c | entry.mtime = attr->ia_mtime; |
entry | 341 | fs/umsdos/inode.c | entry.ctime = attr->ia_ctime; |
entry | 343 | fs/umsdos/inode.c | entry.nlink = inode->i_nlink; |
entry | 345 | fs/umsdos/inode.c | ret = umsdos_emd_dir_write (emd_owner,&filp,(char*)&entry |
entry | 350 | fs/umsdos/inode.c | ,ret,entry.nlink)); |
entry | 103 | fs/umsdos/ioctl.c | struct umsdos_dirent entry; |
entry | 105 | fs/umsdos/ioctl.c | ret = umsdos_emd_dir_readentry (emd_dir,filp,&entry); |
entry | 108 | fs/umsdos/ioctl.c | }else if (entry.name_len > 0){ |
entry | 110 | fs/umsdos/ioctl.c | ret = entry.name_len; |
entry | 111 | fs/umsdos/ioctl.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 114 | fs/umsdos/ioctl.c | memcpy_tofs(&idata->umsdos_dirent,&entry |
entry | 115 | fs/umsdos/ioctl.c | ,sizeof(entry)); |
entry | 162 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 194 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 378 | fs/umsdos/mangle.c | memcpy (info->entry.name,fname,len); |
entry | 379 | fs/umsdos/mangle.c | info->entry.name_len = len; |
entry | 220 | fs/umsdos/namei.c | info.entry.mode = mode; |
entry | 221 | fs/umsdos/namei.c | info.entry.rdev = rdev; |
entry | 222 | fs/umsdos/namei.c | info.entry.flags = flags; |
entry | 223 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
entry | 224 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
entry | 226 | fs/umsdos/namei.c | info.entry.ctime = info.entry.atime = info.entry.mtime |
entry | 228 | fs/umsdos/namei.c | info.entry.nlink = 1; |
entry | 237 | fs/umsdos/namei.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
entry | 290 | fs/umsdos/namei.c | new_info->entry.mode = old_info->entry.mode; |
entry | 291 | fs/umsdos/namei.c | new_info->entry.rdev = old_info->entry.rdev; |
entry | 292 | fs/umsdos/namei.c | new_info->entry.uid = old_info->entry.uid; |
entry | 293 | fs/umsdos/namei.c | new_info->entry.gid = old_info->entry.gid; |
entry | 294 | fs/umsdos/namei.c | new_info->entry.ctime = old_info->entry.ctime; |
entry | 295 | fs/umsdos/namei.c | new_info->entry.atime = old_info->entry.atime; |
entry | 296 | fs/umsdos/namei.c | new_info->entry.mtime = old_info->entry.mtime; |
entry | 297 | fs/umsdos/namei.c | new_info->entry.flags = flags ? flags : old_info->entry.flags; |
entry | 298 | fs/umsdos/namei.c | new_info->entry.nlink = old_info->entry.nlink; |
entry | 339 | fs/umsdos/namei.c | current->fsuid == old_info.entry.uid || |
entry | 346 | fs/umsdos/namei.c | current->fsuid == new_info.entry.uid || |
entry | 365 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
entry | 369 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
entry | 382 | fs/umsdos/namei.c | PRINTK (("rename lookup len %d %d -- ",new_len,new_info.entry.flags)); |
entry | 388 | fs/umsdos/namei.c | ,new_info.entry.name); |
entry | 577 | fs/umsdos/namei.c | struct umsdos_dirent entry; |
entry | 579 | fs/umsdos/namei.c | ret = umsdos_inode2entry (olddir,oldinode,&entry); |
entry | 582 | fs/umsdos/namei.c | ,entry.name |
entry | 583 | fs/umsdos/namei.c | ,oldinode->i_ino,entry.flags)); |
entry | 584 | fs/umsdos/namei.c | if (!(entry.flags & UMSDOS_HIDDEN)){ |
entry | 601 | fs/umsdos/namei.c | ret = umsdos_rename_f (olddir,entry.name |
entry | 602 | fs/umsdos/namei.c | ,entry.name_len |
entry | 603 | fs/umsdos/namei.c | ,olddir,info.entry.name,info.entry.name_len |
entry | 616 | fs/umsdos/namei.c | ,entry.name |
entry | 617 | fs/umsdos/namei.c | ,entry.name_len,path |
entry | 693 | fs/umsdos/namei.c | info.entry.mode = mode | S_IFDIR; |
entry | 694 | fs/umsdos/namei.c | info.entry.rdev = 0; |
entry | 695 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
entry | 696 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
entry | 698 | fs/umsdos/namei.c | info.entry.ctime = info.entry.atime = info.entry.mtime |
entry | 700 | fs/umsdos/namei.c | info.entry.flags = 0; |
entry | 702 | fs/umsdos/namei.c | info.entry.nlink = 1; |
entry | 947 | fs/umsdos/namei.c | current->fsuid == info.entry.uid || |
entry | 949 | fs/umsdos/namei.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 971 | fs/umsdos/namei.c | struct umsdos_dirent entry; |
entry | 972 | fs/umsdos/namei.c | ret = umsdos_inode2entry (hdir,inode,&entry); |
entry | 974 | fs/umsdos/namei.c | ret = UMSDOS_unlink (hdir,entry.name |
entry | 975 | fs/umsdos/namei.c | ,entry.name_len); |
entry | 995 | fs/umsdos/namei.c | ,info.entry.mode,ret)); |
entry | 119 | include/asm-sparc/page.h | register unsigned long entry; |
entry | 122 | include/asm-sparc/page.h | "=r" (entry) : |
entry | 125 | include/asm-sparc/page.h | return (entry&0x7f); |
entry | 128 | include/asm-sparc/page.h | extern __inline__ void put_segmap(unsigned long addr, unsigned long entry) |
entry | 131 | include/asm-sparc/page.h | __asm__ __volatile__("stba %1, [%0] 0x3" : : "r" (addr), "r" (entry&0x7f)); |
entry | 138 | include/asm-sparc/page.h | register unsigned long entry; |
entry | 141 | include/asm-sparc/page.h | "=r" (entry) : |
entry | 143 | include/asm-sparc/page.h | return entry; |
entry | 146 | include/asm-sparc/page.h | extern __inline__ void put_pte(unsigned long addr, unsigned long entry) |
entry | 150 | include/asm-sparc/page.h | "r" (entry)); |
entry | 136 | include/linux/coff.h | char entry[4]; /* entry pt. */ |
entry | 30 | include/linux/ldt.h | extern int set_ldt_entry(int entry, unsigned long base, unsigned int limit, |
entry | 268 | include/linux/mm.h | unsigned long entry; |
entry | 273 | include/linux/mm.h | entry = (unsigned long) xchg_ptr(swap_cache + MAP_NR(addr), NULL); |
entry | 275 | include/linux/mm.h | if (entry) |
entry | 278 | include/linux/mm.h | return entry; |
entry | 283 | include/linux/mm.h | unsigned long entry; |
entry | 288 | include/linux/mm.h | entry= (unsigned long) xchg_ptr(swap_cache + MAP_NR(addr), NULL); |
entry | 289 | include/linux/mm.h | if (entry) { |
entry | 293 | include/linux/mm.h | swap_free(entry); |
entry | 86 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
entry | 352 | include/linux/sched.h | struct select_table_entry * entry; |
entry | 358 | include/linux/sched.h | entry = p->entry + p->nr; |
entry | 359 | include/linux/sched.h | entry->wait_address = wait_address; |
entry | 360 | include/linux/sched.h | entry->wait.task = current; |
entry | 361 | include/linux/sched.h | entry->wait.next = NULL; |
entry | 362 | include/linux/sched.h | add_wait_queue(wait_address,&entry->wait); |
entry | 62 | include/linux/umsdos_fs.h | struct umsdos_dirent entry; |
entry | 31 | include/linux/wait.h | struct select_table_entry * entry; |
entry | 991 | mm/memory.c | pte_t * page_table, pte_t entry, int write_access) |
entry | 996 | mm/memory.c | swap_in(vma, page_table, pte_val(entry), write_access); |
entry | 999 | mm/memory.c | page = vma->vm_ops->swapin(vma, address - vma->vm_start + vma->vm_offset, pte_val(entry)); |
entry | 1000 | mm/memory.c | if (pte_val(*page_table) != pte_val(entry)) { |
entry | 1022 | mm/memory.c | pte_t entry; |
entry | 1028 | mm/memory.c | entry = *page_table; |
entry | 1029 | mm/memory.c | if (pte_present(entry)) |
entry | 1031 | mm/memory.c | if (!pte_none(entry)) { |
entry | 1032 | mm/memory.c | do_swap_page(vma, address, page_table, entry, write_access); |
entry | 1076 | mm/memory.c | entry = mk_pte(page, vma->vm_page_prot); |
entry | 1078 | mm/memory.c | entry = pte_mkwrite(pte_mkdirty(entry)); |
entry | 1080 | mm/memory.c | entry = pte_wrprotect(entry); |
entry | 1081 | mm/memory.c | put_page(page_table, entry); |
entry | 40 | mm/mprotect.c | pte_t entry = *pte; |
entry | 41 | mm/mprotect.c | if (pte_present(entry)) |
entry | 42 | mm/mprotect.c | *pte = pte_modify(entry, newprot); |
entry | 33 | mm/swap.c | #define SWP_TYPE(entry) (((entry) >> 1) & 0x7f) |
entry | 34 | mm/swap.c | #define SWP_OFFSET(entry) ((entry) >> 12) |
entry | 75 | mm/swap.c | static int add_to_swap_cache(unsigned long addr, unsigned long entry) |
entry | 77 | mm/swap.c | struct swap_info_struct * p = &swap_info[SWP_TYPE(entry)]; |
entry | 83 | mm/swap.c | entry = (unsigned long) xchg_ptr(swap_cache + MAP_NR(addr), (void *) entry); |
entry | 84 | mm/swap.c | if (entry) { |
entry | 107 | mm/swap.c | void rw_swap_page(int rw, unsigned long entry, char * buf) |
entry | 112 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 118 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 124 | mm/swap.c | printk("Hmm.. Trying to use unallocated swap (%08lx)\n", entry); |
entry | 210 | mm/swap.c | void swap_duplicate(unsigned long entry) |
entry | 215 | mm/swap.c | if (!entry) |
entry | 217 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 218 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 238 | mm/swap.c | void swap_free(unsigned long entry) |
entry | 243 | mm/swap.c | if (!entry) |
entry | 245 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 253 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 267 | mm/swap.c | printk("swap_free: swap-space map bad (entry %08lx)\n",entry); |
entry | 281 | mm/swap.c | unsigned long entry, int write_access) |
entry | 285 | mm/swap.c | if (pte_val(*page_table) != entry) { |
entry | 291 | mm/swap.c | swap_free(entry); |
entry | 295 | mm/swap.c | read_swap_page(entry, (char *) page); |
entry | 296 | mm/swap.c | if (pte_val(*page_table) != entry) { |
entry | 302 | mm/swap.c | if (!write_access && add_to_swap_cache(page, entry)) { |
entry | 307 | mm/swap.c | swap_free(entry); |
entry | 325 | mm/swap.c | unsigned long entry; |
entry | 347 | mm/swap.c | if (!(entry = get_swap_page())) |
entry | 350 | mm/swap.c | pte_val(*page_table) = entry; |
entry | 352 | mm/swap.c | write_swap_page(entry, (char *) page); |
entry | 357 | mm/swap.c | if ((entry = find_in_swap_cache(page))) { |
entry | 364 | mm/swap.c | pte_val(*page_table) = entry; |
entry | 372 | mm/swap.c | entry = mem_map[MAP_NR(page)]; |
entry | 374 | mm/swap.c | return entry; |
entry | 613 | mm/swap.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 615 | mm/swap.c | entry->prev = head; |
entry | 616 | mm/swap.c | (entry->next = head->next)->prev = entry; |
entry | 617 | mm/swap.c | head->next = entry; |
entry | 620 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 622 | mm/swap.c | entry->next->prev = entry->prev; |
entry | 623 | mm/swap.c | entry->prev->next = entry->next; |
entry | 31 | mm/vmalloc.c | static inline void set_pgdir(unsigned long address, pgd_t entry) |
entry | 36 | mm/vmalloc.c | *pgd_offset(p,address) = entry; |
entry | 204 | net/inet/arp.c | struct arp_table *entry; |
entry | 207 | net/inet/arp.c | while ((entry = *pentry) != NULL) |
entry | 209 | net/inet/arp.c | if ((now - entry->last_used) > ARP_TIMEOUT |
entry | 210 | net/inet/arp.c | && !(entry->flags & ATF_PERM)) |
entry | 212 | net/inet/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 213 | net/inet/arp.c | del_timer(&entry->timer); /* Paranoia */ |
entry | 214 | net/inet/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 217 | net/inet/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 236 | net/inet/arp.c | static void arp_release_entry(struct arp_table *entry) |
entry | 244 | net/inet/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 251 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 252 | net/inet/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 276 | net/inet/arp.c | struct arp_table *entry; |
entry | 279 | net/inet/arp.c | while ((entry = *pentry) != NULL) |
entry | 281 | net/inet/arp.c | if(entry->dev==dev) |
entry | 283 | net/inet/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 284 | net/inet/arp.c | del_timer(&entry->timer); /* Paranoia */ |
entry | 285 | net/inet/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 288 | net/inet/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 374 | net/inet/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
entry | 388 | net/inet/arp.c | if (entry->flags & ATF_COM) |
entry | 394 | net/inet/arp.c | if (--entry->retries > 0) |
entry | 396 | net/inet/arp.c | unsigned long ip = entry->ip; |
entry | 397 | net/inet/arp.c | struct device *dev = entry->dev; |
entry | 400 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 401 | net/inet/arp.c | entry->timer.expires = ARP_RES_TIME; |
entry | 402 | net/inet/arp.c | add_timer(&entry->timer); |
entry | 416 | net/inet/arp.c | hash = HASH(entry->ip); |
entry | 421 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 427 | net/inet/arp.c | if (*pentry == entry) |
entry | 429 | net/inet/arp.c | *pentry = entry->next; /* delete from linked list */ |
entry | 430 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 432 | net/inet/arp.c | arp_release_entry(entry); |
entry | 449 | net/inet/arp.c | static void arp_send_q(struct arp_table *entry, unsigned char *hw_dest) |
entry | 459 | net/inet/arp.c | if(!(entry->flags&ATF_COM)) |
entry | 462 | net/inet/arp.c | in_ntoa(entry->ip)); |
entry | 469 | net/inet/arp.c | while((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 487 | net/inet/arp.c | printk("arp_send_q: active entity %s\n",in_ntoa(entry->ip)); |
entry | 502 | net/inet/arp.c | struct arp_table *entry; |
entry | 512 | net/inet/arp.c | while ((entry = *pentry) != NULL) |
entry | 514 | net/inet/arp.c | if (entry->ip == ip_addr) |
entry | 516 | net/inet/arp.c | if ((entry->flags & ATF_PERM) && !force) |
entry | 518 | net/inet/arp.c | *pentry = entry->next; |
entry | 519 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 521 | net/inet/arp.c | arp_release_entry(entry); |
entry | 529 | net/inet/arp.c | pentry = &entry->next; |
entry | 555 | net/inet/arp.c | struct arp_table *entry; |
entry | 734 | net/inet/arp.c | for(entry=arp_tables[hash];entry;entry=entry->next) |
entry | 735 | net/inet/arp.c | if(entry->ip==sip && entry->htype==htype) |
entry | 738 | net/inet/arp.c | if(entry) |
entry | 743 | net/inet/arp.c | memcpy(entry->ha, sha, hlen); |
entry | 744 | net/inet/arp.c | entry->hlen = hlen; |
entry | 745 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 746 | net/inet/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 752 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 753 | net/inet/arp.c | entry->flags |= ATF_COM; |
entry | 760 | net/inet/arp.c | arp_send_q(entry, sha); |
entry | 772 | net/inet/arp.c | entry = (struct arp_table *)kmalloc(sizeof(struct arp_table),GFP_ATOMIC); |
entry | 773 | net/inet/arp.c | if(entry == NULL) |
entry | 782 | net/inet/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 783 | net/inet/arp.c | entry->ip = sip; |
entry | 784 | net/inet/arp.c | entry->hlen = hlen; |
entry | 785 | net/inet/arp.c | entry->htype = htype; |
entry | 786 | net/inet/arp.c | entry->flags = ATF_COM; |
entry | 787 | net/inet/arp.c | init_timer(&entry->timer); |
entry | 788 | net/inet/arp.c | memcpy(entry->ha, sha, hlen); |
entry | 789 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 790 | net/inet/arp.c | entry->dev = skb->dev; |
entry | 791 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 792 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 793 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 812 | net/inet/arp.c | struct arp_table *entry; |
entry | 857 | net/inet/arp.c | entry = arp_lookup(paddr, PROXY_NONE); |
entry | 859 | net/inet/arp.c | if (entry != NULL) /* It exists */ |
entry | 861 | net/inet/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 870 | net/inet/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 881 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 882 | net/inet/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 893 | net/inet/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 895 | net/inet/arp.c | if (entry != NULL) |
entry | 897 | net/inet/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 898 | net/inet/arp.c | entry->ip = paddr; |
entry | 899 | net/inet/arp.c | entry->hlen = dev->addr_len; |
entry | 900 | net/inet/arp.c | entry->htype = dev->type; |
entry | 901 | net/inet/arp.c | entry->flags = 0; |
entry | 902 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 903 | net/inet/arp.c | entry->dev = dev; |
entry | 904 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 905 | net/inet/arp.c | init_timer(&entry->timer); |
entry | 906 | net/inet/arp.c | entry->timer.function = arp_expire_request; |
entry | 907 | net/inet/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 908 | net/inet/arp.c | entry->timer.expires = ARP_RES_TIME; |
entry | 909 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 910 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 911 | net/inet/arp.c | add_timer(&entry->timer); |
entry | 912 | net/inet/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 913 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 916 | net/inet/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 950 | net/inet/arp.c | struct arp_table *entry; |
entry | 963 | net/inet/arp.c | for(entry=arp_tables[i]; entry!=NULL; entry=entry->next) |
entry | 970 | net/inet/arp.c | if(entry->htype==ARPHRD_AX25) |
entry | 971 | net/inet/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 975 | net/inet/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->hlen;j++) |
entry | 977 | net/inet/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
entry | 978 | net/inet/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
entry | 988 | net/inet/arp.c | in_ntoa(entry->ip), |
entry | 989 | net/inet/arp.c | (unsigned int)entry->htype, |
entry | 990 | net/inet/arp.c | entry->flags, |
entry | 994 | net/inet/arp.c | entry->mask==DEF_ARP_NETMASK? |
entry | 995 | net/inet/arp.c | "*":in_ntoa(entry->mask)); |
entry | 1027 | net/inet/arp.c | struct arp_table *entry; |
entry | 1030 | net/inet/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 1031 | net/inet/arp.c | if (entry->ip == paddr) break; |
entry | 1034 | net/inet/arp.c | if (!entry && proxy != PROXY_NONE) |
entry | 1035 | net/inet/arp.c | for (entry=arp_tables[PROXY_HASH]; entry != NULL; entry = entry->next) |
entry | 1036 | net/inet/arp.c | if ((proxy==PROXY_EXACT) ? (entry->ip==paddr) |
entry | 1037 | net/inet/arp.c | : !((entry->ip^paddr)&entry->mask)) |
entry | 1040 | net/inet/arp.c | return entry; |
entry | 1051 | net/inet/arp.c | struct arp_table *entry; |
entry | 1115 | net/inet/arp.c | entry = arp_lookup(ip, PROXY_EXACT); |
entry | 1116 | net/inet/arp.c | if (entry && (entry->flags & ATF_PUBL) != (r.arp_flags & ATF_PUBL)) |
entry | 1121 | net/inet/arp.c | entry = NULL; |
entry | 1128 | net/inet/arp.c | if (entry == NULL) |
entry | 1134 | net/inet/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1136 | net/inet/arp.c | if (entry == NULL) |
entry | 1141 | net/inet/arp.c | entry->ip = ip; |
entry | 1142 | net/inet/arp.c | entry->hlen = hlen; |
entry | 1143 | net/inet/arp.c | entry->htype = htype; |
entry | 1144 | net/inet/arp.c | init_timer(&entry->timer); |
entry | 1145 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 1146 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 1147 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1153 | net/inet/arp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 1154 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 1155 | net/inet/arp.c | entry->flags = r.arp_flags | ATF_COM; |
entry | 1156 | net/inet/arp.c | if ((entry->flags & ATF_PUBL) && (entry->flags & ATF_NETMASK)) |
entry | 1159 | net/inet/arp.c | entry->mask = si->sin_addr.s_addr; |
entry | 1162 | net/inet/arp.c | entry->mask = DEF_ARP_NETMASK; |
entry | 1163 | net/inet/arp.c | entry->dev = rt->rt_dev; |
entry | 1177 | net/inet/arp.c | struct arp_table *entry; |
entry | 1195 | net/inet/arp.c | entry = arp_lookup(si->sin_addr.s_addr,PROXY_ANY); |
entry | 1197 | net/inet/arp.c | if (entry == NULL) |
entry | 1207 | net/inet/arp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 1208 | net/inet/arp.c | r.arp_ha.sa_family = entry->htype; |
entry | 1209 | net/inet/arp.c | r.arp_flags = entry->flags; |
entry | 105 | net/inet/rarp.c | static inline void rarp_release_entry(struct rarp_table *entry) |
entry | 107 | net/inet/rarp.c | kfree_s(entry, sizeof(struct rarp_table)); |
entry | 117 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 122 | net/inet/rarp.c | while ((entry = *pentry) != NULL) |
entry | 124 | net/inet/rarp.c | if (entry->ip == ip_addr) |
entry | 126 | net/inet/rarp.c | *pentry = entry->next; |
entry | 128 | net/inet/rarp.c | rarp_release_entry(entry); |
entry | 131 | net/inet/rarp.c | pentry = &entry->next; |
entry | 150 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 209 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 210 | net/inet/rarp.c | if (!memcmp(entry->ha, tha, rarp->ar_hln)) |
entry | 213 | net/inet/rarp.c | if (entry != NULL) |
entry | 215 | net/inet/rarp.c | sip=entry->ip; |
entry | 236 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 288 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 289 | net/inet/rarp.c | if (entry->ip == ip) |
entry | 296 | net/inet/rarp.c | if (entry == NULL) |
entry | 298 | net/inet/rarp.c | entry = (struct rarp_table *) kmalloc(sizeof(struct rarp_table), |
entry | 300 | net/inet/rarp.c | if (entry == NULL) |
entry | 311 | net/inet/rarp.c | entry->next = rarp_tables; |
entry | 312 | net/inet/rarp.c | rarp_tables = entry; |
entry | 315 | net/inet/rarp.c | entry->ip = ip; |
entry | 316 | net/inet/rarp.c | entry->hlen = hlen; |
entry | 317 | net/inet/rarp.c | entry->htype = htype; |
entry | 318 | net/inet/rarp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 319 | net/inet/rarp.c | entry->dev = rt->rt_dev; |
entry | 334 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 355 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 356 | net/inet/rarp.c | if (entry->ip == ip) |
entry | 359 | net/inet/rarp.c | if (entry == NULL) |
entry | 369 | net/inet/rarp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 370 | net/inet/rarp.c | r.arp_ha.sa_family = entry->htype; |
entry | 433 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 450 | net/inet/rarp.c | for(entry=rarp_tables; entry!=NULL; entry=entry->next) |
entry | 452 | net/inet/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |
entry | 463 | net/inet/rarp.c | (unsigned int)entry->ha[0], |
entry | 464 | net/inet/rarp.c | (unsigned int)entry->ha[1], |
entry | 465 | net/inet/rarp.c | (unsigned int)entry->ha[2], |
entry | 466 | net/inet/rarp.c | (unsigned int)entry->ha[3], |
entry | 467 | net/inet/rarp.c | (unsigned int)entry->ha[4], |
entry | 468 | net/inet/rarp.c | (unsigned int)entry->ha[5]); |