tag | line | file | source code |
entry | 1605 | drivers/block/cdu31a.c | struct cdrom_tocentry *entry; |
entry | 1616 | drivers/block/cdu31a.c | entry = (struct cdrom_tocentry *) arg; |
entry | 1617 | drivers/block/cdu31a.c | verify_area(VERIFY_READ, entry, sizeof(*entry)); |
entry | 1618 | drivers/block/cdu31a.c | verify_area(VERIFY_WRITE, entry, sizeof(*entry)); |
entry | 1620 | drivers/block/cdu31a.c | memcpy_fromfs(&loc_entry, entry, sizeof(loc_entry)); |
entry | 1653 | drivers/block/cdu31a.c | memcpy_tofs(entry, &loc_entry, sizeof(*entry)); |
entry | 247 | drivers/block/mcd.c | struct cdrom_tocentry entry; |
entry | 418 | drivers/block/mcd.c | st = verify_area(VERIFY_WRITE, (void *) arg, sizeof entry); |
entry | 422 | drivers/block/mcd.c | memcpy_fromfs(&entry, (void *) arg, sizeof entry); |
entry | 423 | drivers/block/mcd.c | if (entry.cdte_track == CDROM_LEADOUT) |
entry | 427 | drivers/block/mcd.c | else if (entry.cdte_track > DiskInfo.last |
entry | 428 | drivers/block/mcd.c | || entry.cdte_track < DiskInfo.first) |
entry | 432 | drivers/block/mcd.c | tocPtr = &Toc[entry.cdte_track]; |
entry | 434 | drivers/block/mcd.c | entry.cdte_adr = tocPtr -> ctrl_addr; |
entry | 435 | drivers/block/mcd.c | entry.cdte_ctrl = tocPtr -> ctrl_addr >> 4; |
entry | 437 | drivers/block/mcd.c | if (entry.cdte_format == CDROM_LBA) |
entry | 438 | drivers/block/mcd.c | entry.cdte_addr.lba = msf2hsg(&tocPtr -> diskTime); |
entry | 440 | drivers/block/mcd.c | else if (entry.cdte_format == CDROM_MSF) |
entry | 442 | drivers/block/mcd.c | entry.cdte_addr.msf.minute = bcd2bin(tocPtr -> diskTime.min); |
entry | 443 | drivers/block/mcd.c | entry.cdte_addr.msf.second = bcd2bin(tocPtr -> diskTime.sec); |
entry | 444 | drivers/block/mcd.c | entry.cdte_addr.msf.frame = bcd2bin(tocPtr -> diskTime.frame); |
entry | 450 | drivers/block/mcd.c | memcpy_tofs((void *) arg, &entry, sizeof entry); |
entry | 851 | drivers/net/depca.c | int entry = lp->cur_tx++; |
entry | 856 | drivers/net/depca.c | entry &= lp->rmask; /* Ring around buffer number. */ |
entry | 857 | drivers/net/depca.c | buf = (unsigned char *)((lp->tx_ring[entry].base+lp->bus_offset) & |
entry | 861 | drivers/net/depca.c | while (lp->tx_ring[entry].base < 0); |
entry | 870 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
entry | 873 | drivers/net/depca.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 879 | drivers/net/depca.c | if (skbL <= 0) lp->tx_ring[entry].base |= (T_ENP); |
entry | 880 | drivers/net/depca.c | lp->tx_ring[entry].base |= (T_OWN|T_STP); |
entry | 891 | drivers/net/depca.c | entry = lp->cur_tx++; |
entry | 892 | drivers/net/depca.c | entry &= lp->rmask; /* Ring around buffer number. */ |
entry | 893 | drivers/net/depca.c | buf = (unsigned char *)((lp->tx_ring[entry].base+lp->bus_offset) & |
entry | 897 | drivers/net/depca.c | while (lp->tx_ring[entry].base < 0); |
entry | 907 | drivers/net/depca.c | lp->tx_ring[entry].length = -len; |
entry | 910 | drivers/net/depca.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 916 | drivers/net/depca.c | if (skbL <= 0) lp->tx_ring[entry].base |= T_ENP; |
entry | 917 | drivers/net/depca.c | lp->tx_ring[entry].base |= T_OWN; |
entry | 922 | drivers/net/depca.c | (unsigned char *)((lp->tx_ring[entry].base+lp->bus_offset) & |
entry | 926 | drivers/net/depca.c | dev->name, entry, (unsigned long) &lp->tx_ring[entry], |
entry | 927 | drivers/net/depca.c | lp->tx_ring[entry].base, -lp->tx_ring[entry].length); |
entry | 935 | drivers/net/depca.c | if (lp->tx_ring[(entry+1) & lp->rmask].base >= 0) { |
entry | 1011 | drivers/net/depca.c | int entry = lp->cur_rx & lp->rmask; |
entry | 1014 | drivers/net/depca.c | for (; lp->rx_ring[entry].base >= 0; entry = (++lp->cur_rx) & lp->rmask) { |
entry | 1015 | drivers/net/depca.c | int status = lp->rx_ring[entry].base >> 16 ; |
entry | 1035 | drivers/net/depca.c | while ((status=(lp->rx_ring[(entry+1)&lp->rmask].base >> 16)) < 0); |
entry | 1047 | drivers/net/depca.c | short pkt_len = lp->rx_ring[entry].msg_length; |
entry | 1059 | drivers/net/depca.c | (unsigned char *)((lp->rx_ring[entry].base+lp->bus_offset) & |
entry | 1071 | drivers/net/depca.c | lp->rx_ring[entry].base |= R_OWN; |
entry | 1073 | drivers/net/depca.c | entry = (++lp->cur_rx) & lp->rmask; |
entry | 1074 | drivers/net/depca.c | lp->rx_ring[entry].base |= R_OWN; |
entry | 594 | drivers/net/lance.c | int entry; |
entry | 664 | drivers/net/lance.c | entry = lp->cur_tx & TX_RING_MOD_MASK; |
entry | 671 | drivers/net/lance.c | lp->tx_ring[entry].length = |
entry | 674 | drivers/net/lance.c | lp->tx_ring[entry].length = -skb->len; |
entry | 676 | drivers/net/lance.c | lp->tx_ring[entry].misc = 0x0000; |
entry | 684 | drivers/net/lance.c | memcpy(&lp->tx_bounce_buffs[entry], skb->data, skb->len); |
entry | 685 | drivers/net/lance.c | lp->tx_ring[entry].base = |
entry | 686 | drivers/net/lance.c | (int)(lp->tx_bounce_buffs + entry) | 0x83000000; |
entry | 689 | drivers/net/lance.c | lp->tx_skbuff[entry] = skb; |
entry | 690 | drivers/net/lance.c | lp->tx_ring[entry].base = (int)(skb->data) | 0x83000000; |
entry | 702 | drivers/net/lance.c | if (lp->tx_ring[(entry+1) & TX_RING_MOD_MASK].base == 0) |
entry | 749 | drivers/net/lance.c | int entry = dirty_tx & TX_RING_MOD_MASK; |
entry | 750 | drivers/net/lance.c | int status = lp->tx_ring[entry].base; |
entry | 755 | drivers/net/lance.c | lp->tx_ring[entry].base = 0; |
entry | 759 | drivers/net/lance.c | int err_status = lp->tx_ring[entry].misc; |
entry | 781 | drivers/net/lance.c | if (lp->tx_skbuff[entry]) { |
entry | 782 | drivers/net/lance.c | dev_kfree_skb(lp->tx_skbuff[entry],FREE_WRITE); |
entry | 783 | drivers/net/lance.c | lp->tx_skbuff[entry] = 0; |
entry | 835 | drivers/net/lance.c | int entry = lp->cur_rx & RX_RING_MOD_MASK; |
entry | 839 | drivers/net/lance.c | while (lp->rx_ring[entry].base >= 0) { |
entry | 840 | drivers/net/lance.c | int status = lp->rx_ring[entry].base >> 24; |
entry | 853 | drivers/net/lance.c | lp->rx_ring[entry].base &= 0x03ffffff; |
entry | 856 | drivers/net/lance.c | short pkt_len = lp->rx_ring[entry].msg_length; |
entry | 863 | drivers/net/lance.c | if (lp->rx_ring[(entry+i) & RX_RING_MOD_MASK].base < 0) |
entry | 868 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 876 | drivers/net/lance.c | (unsigned char *)(lp->rx_ring[entry].base & 0x00ffffff), |
entry | 884 | drivers/net/lance.c | lp->rx_ring[entry].buf_length = -PKT_BUF_SZ; |
entry | 885 | drivers/net/lance.c | lp->rx_ring[entry].base |= 0x80000000; |
entry | 886 | drivers/net/lance.c | entry = (++lp->cur_rx) & RX_RING_MOD_MASK; |
entry | 321 | fs/msdos/misc.c | done = !strncmp(data[entry].name,name,MSDOS_NAME) && \ |
entry | 322 | fs/msdos/misc.c | !(data[entry].attr & ATTR_VOLUME); |
entry | 325 | fs/msdos/misc.c | done = !IS_FREE(data[entry].name) && CF_LE_W(data[entry].start) == *number; |
entry | 329 | fs/msdos/misc.c | done = IS_FREE(data[entry].name); \ |
entry | 331 | fs/msdos/misc.c | inode = iget(sb,sector*MSDOS_DPS+entry); \ |
entry | 343 | fs/msdos/misc.c | if (!IS_FREE(data[entry].name) && (data[entry].attr & ATTR_DIR)) \ |
entry | 354 | fs/msdos/misc.c | int entry,start,done; |
entry | 357 | fs/msdos/misc.c | for (entry = 0; entry < MSDOS_DPS; entry++) { |
entry | 367 | fs/msdos/misc.c | if (ino) *ino = sector*MSDOS_DPS+entry; |
entry | 368 | fs/msdos/misc.c | start = CF_LE_W(data[entry].start); |
entry | 372 | fs/msdos/misc.c | *res_de = &data[entry]; |
entry | 99 | fs/nfs/dir.c | struct nfs_entry *entry; |
entry | 116 | fs/nfs/dir.c | entry = NULL; |
entry | 128 | fs/nfs/dir.c | entry = c_entry + i + 1; |
entry | 136 | fs/nfs/dir.c | if (!entry) { |
entry | 147 | fs/nfs/dir.c | entry = c_entry + 0; |
entry | 153 | fs/nfs/dir.c | if (entry) { |
entry | 154 | fs/nfs/dir.c | i = strlen(entry->name); |
entry | 155 | fs/nfs/dir.c | memcpy_tofs(dirent->d_name, entry->name, i + 1); |
entry | 156 | fs/nfs/dir.c | put_fs_long(entry->fileid, &dirent->d_ino); |
entry | 158 | fs/nfs/dir.c | filp->f_pos = entry->cookie; |
entry | 189 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 193 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 194 | fs/nfs/dir.c | if (entry->dev == dir->i_dev && entry->inode == dir->i_ino |
entry | 195 | fs/nfs/dir.c | && !strncmp(filename, entry->filename, NFS_MAXNAMLEN)) |
entry | 196 | fs/nfs/dir.c | return entry; |
entry | 207 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 213 | fs/nfs/dir.c | if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 214 | fs/nfs/dir.c | if (jiffies > entry->expiration_date) { |
entry | 215 | fs/nfs/dir.c | entry->dev = 0; |
entry | 218 | fs/nfs/dir.c | *fhandle = entry->fhandle; |
entry | 219 | fs/nfs/dir.c | *fattr = entry->fattr; |
entry | 230 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 236 | fs/nfs/dir.c | if (!(entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 237 | fs/nfs/dir.c | entry = nfs_lookup_cache + nfs_lookup_cache_pos++; |
entry | 241 | fs/nfs/dir.c | entry->dev = dir->i_dev; |
entry | 242 | fs/nfs/dir.c | entry->inode = dir->i_ino; |
entry | 243 | fs/nfs/dir.c | strcpy(entry->filename, filename); |
entry | 244 | fs/nfs/dir.c | entry->fhandle = *fhandle; |
entry | 245 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 246 | fs/nfs/dir.c | entry->expiration_date = jiffies + (S_ISDIR(fattr->mode) |
entry | 253 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 262 | fs/nfs/dir.c | else if ((entry = nfs_lookup_cache_index(dir, filename))) { |
entry | 263 | fs/nfs/dir.c | dev = entry->dev; |
entry | 264 | fs/nfs/dir.c | fileid = entry->fattr.fileid; |
entry | 269 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 270 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 271 | fs/nfs/dir.c | entry->dev = 0; |
entry | 278 | fs/nfs/dir.c | struct nfs_lookup_cache_entry *entry; |
entry | 284 | fs/nfs/dir.c | entry = nfs_lookup_cache + i; |
entry | 285 | fs/nfs/dir.c | if (entry->dev == dev && entry->fattr.fileid == fileid) |
entry | 286 | fs/nfs/dir.c | entry->fattr = *fattr; |
entry | 215 | fs/nfs/proc.c | static int *xdr_decode_entry(int *p, struct nfs_entry *entry) |
entry | 217 | fs/nfs/proc.c | entry->fileid = ntohl(*p++); |
entry | 218 | fs/nfs/proc.c | if (!(p = xdr_decode_string(p, entry->name, NFS_MAXNAMLEN))) |
entry | 220 | fs/nfs/proc.c | entry->cookie = ntohl(*p++); |
entry | 221 | fs/nfs/proc.c | entry->eof = 0; |
entry | 740 | fs/nfs/proc.c | int cookie, int count, struct nfs_entry *entry) |
entry | 766 | fs/nfs/proc.c | if (!(p = xdr_decode_entry(p, entry++))) |
entry | 777 | 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 | 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 | 122 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 124 | fs/umsdos/dir.c | if (umsdos_emd_dir_readentry (emd_dir,filp,&entry)!=0){ |
entry | 127 | fs/umsdos/dir.c | }else if (entry.name_len != 0){ |
entry | 149 | fs/umsdos/dir.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 156 | fs/umsdos/dir.c | ,info.fake.fname,lret,entry.flags)); |
entry | 158 | fs/umsdos/dir.c | && (entry.flags & UMSDOS_HLINK) |
entry | 176 | fs/umsdos/dir.c | memcpy_tofs (dirent->d_name,entry.name |
entry | 177 | fs/umsdos/dir.c | ,entry.name_len); |
entry | 178 | fs/umsdos/dir.c | put_fs_byte(0,dirent->d_name+entry.name_len); |
entry | 179 | fs/umsdos/dir.c | put_fs_word (entry.name_len |
entry | 184 | fs/umsdos/dir.c | u_entry->flags = entry.flags; |
entry | 188 | fs/umsdos/dir.c | memcpy (dirent->d_name,entry.name |
entry | 189 | fs/umsdos/dir.c | ,entry.name_len); |
entry | 190 | fs/umsdos/dir.c | dirent->d_name[entry.name_len] = '\0'; |
entry | 191 | fs/umsdos/dir.c | dirent->d_reclen = entry.name_len; |
entry | 192 | fs/umsdos/dir.c | if (u_entry != NULL) *u_entry = entry; |
entry | 194 | fs/umsdos/dir.c | ret = entry.name_len; |
entry | 232 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 234 | fs/umsdos/dir.c | ret = umsdos_readdir_x (dir,filp,dirent,1,count,&entry,1,&f_pos); |
entry | 235 | fs/umsdos/dir.c | if (ret <= 0 || !(entry.flags & UMSDOS_HIDDEN)) break; |
entry | 245 | fs/umsdos/dir.c | struct umsdos_dirent *entry, |
entry | 297 | fs/umsdos/dir.c | if (S_ISREG(entry->mode)) entry->mtime = inode->i_mtime; |
entry | 298 | fs/umsdos/dir.c | inode->i_mode = entry->mode; |
entry | 299 | fs/umsdos/dir.c | inode->i_rdev = entry->rdev; |
entry | 300 | fs/umsdos/dir.c | inode->i_atime = entry->atime; |
entry | 301 | fs/umsdos/dir.c | inode->i_ctime = entry->ctime; |
entry | 302 | fs/umsdos/dir.c | inode->i_mtime = entry->mtime; |
entry | 303 | fs/umsdos/dir.c | inode->i_uid = entry->uid; |
entry | 304 | fs/umsdos/dir.c | inode->i_gid = entry->gid; |
entry | 313 | fs/umsdos/dir.c | if (!S_ISDIR(entry->mode)){ |
entry | 314 | fs/umsdos/dir.c | if (entry->nlink > 0){ |
entry | 315 | fs/umsdos/dir.c | inode->i_nlink = entry->nlink; |
entry | 336 | fs/umsdos/dir.c | struct umsdos_dirent *entry) /* Will hold the entry */ |
entry | 344 | fs/umsdos/dir.c | memcpy (entry->name,UMSDOS_PSDROOT_NAME,UMSDOS_PSDROOT_LEN+1); |
entry | 345 | fs/umsdos/dir.c | entry->name_len = UMSDOS_PSDROOT_LEN; |
entry | 361 | fs/umsdos/dir.c | memcpy (entry->name,dirent.d_name,dirent.d_reclen); |
entry | 362 | fs/umsdos/dir.c | entry->name[dirent.d_reclen] = '\0'; |
entry | 363 | fs/umsdos/dir.c | entry->name_len = dirent.d_reclen; |
entry | 378 | fs/umsdos/dir.c | ,0,1,entry,0,&f_pos) <= 0){ |
entry | 384 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,entry,f_pos); |
entry | 399 | fs/umsdos/dir.c | struct umsdos_dirent *entry) |
entry | 407 | fs/umsdos/dir.c | ret = umsdos_inode2entry (adir,dir,entry); |
entry | 428 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 436 | fs/umsdos/dir.c | ret = umsdos_inode2entry (dir,inode,&entry); |
entry | 438 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 439 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 449 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (dir,&adir,&entry); |
entry | 455 | fs/umsdos/dir.c | ptbpath -= entry.name_len; |
entry | 456 | fs/umsdos/dir.c | memcpy (ptbpath,entry.name,entry.name_len); |
entry | 536 | fs/umsdos/dir.c | struct umsdos_dirent entry; |
entry | 537 | fs/umsdos/dir.c | ret = umsdos_locate_ancestor (*result,&aadir,&entry); |
entry | 571 | fs/umsdos/dir.c | umsdos_delentry (dir,&info,S_ISDIR(info.entry.mode)); |
entry | 573 | fs/umsdos/dir.c | umsdos_lookup_patch (dir,inode,&info.entry,info.f_pos); |
entry | 575 | fs/umsdos/dir.c | ,info.entry.flags)); |
entry | 576 | fs/umsdos/dir.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 151 | fs/umsdos/emd.c | struct umsdos_dirent *entry) |
entry | 153 | fs/umsdos/emd.c | int ret = umsdos_emd_dir_read(emd_dir,filp,(char*)entry,UMSDOS_REC_SIZE); |
entry | 156 | fs/umsdos/emd.c | int recsize = umsdos_evalrecsize (entry->name_len); |
entry | 159 | fs/umsdos/emd.c | ,((char*)entry)+UMSDOS_REC_SIZE,recsize - UMSDOS_REC_SIZE); |
entry | 177 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 187 | fs/umsdos/emd.c | entry = &entry0; |
entry | 188 | fs/umsdos/emd.c | }else if (entry->name_len > 0){ |
entry | 189 | fs/umsdos/emd.c | memset (entry->name+entry->name_len,'\0' |
entry | 190 | fs/umsdos/emd.c | ,sizeof(entry->name)-entry->name_len); |
entry | 197 | fs/umsdos/emd.c | memset (entry->spare,0,sizeof(entry->spare)); |
entry | 200 | fs/umsdos/emd.c | ret = umsdos_emd_dir_write(emd_dir,&filp,(char*)entry,info->recsize); |
entry | 286 | fs/umsdos/emd.c | struct umsdos_dirent *entry = &info->entry; |
entry | 316 | fs/umsdos/emd.c | if (entry->name_len == 0){ |
entry | 345 | fs/umsdos/emd.c | if (entry->name_len == rentry->name_len |
entry | 346 | fs/umsdos/emd.c | && memcmp(entry->name,rentry->name,rentry->name_len) |
entry | 349 | fs/umsdos/emd.c | *entry = *rentry; |
entry | 396 | fs/umsdos/emd.c | info->entry.name_len = 0; |
entry | 405 | fs/umsdos/emd.c | info->entry.name_len = sprintf (info->entry.name,"..LINK%ld" |
entry | 425 | fs/umsdos/emd.c | if (info->entry.name_len != 0){ |
entry | 426 | fs/umsdos/emd.c | if ((isdir != 0) != (S_ISDIR(info->entry.mode) != 0)){ |
entry | 427 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 460 | fs/umsdos/emd.c | struct umsdos_dirent entry; |
entry | 461 | fs/umsdos/emd.c | if (umsdos_emd_dir_readentry(emd_dir,&filp,&entry)!=0){ |
entry | 464 | fs/umsdos/emd.c | }else if (entry.name_len != 0){ |
entry | 489 | fs/umsdos/emd.c | if (S_ISDIR(info->entry.mode)){ |
entry | 301 | fs/umsdos/inode.c | struct umsdos_dirent entry; |
entry | 306 | fs/umsdos/inode.c | ret = umsdos_emd_dir_read (emd_owner,&filp,(char*)&entry |
entry | 310 | fs/umsdos/inode.c | entry.uid = inode->i_uid; |
entry | 311 | fs/umsdos/inode.c | entry.gid = inode->i_gid; |
entry | 316 | fs/umsdos/inode.c | entry.mode = inode->i_mode; |
entry | 320 | fs/umsdos/inode.c | entry.atime = inode->i_atime; |
entry | 321 | fs/umsdos/inode.c | entry.mtime = inode->i_mtime; |
entry | 322 | fs/umsdos/inode.c | entry.ctime = inode->i_ctime; |
entry | 324 | fs/umsdos/inode.c | entry.nlink = inode->i_nlink; |
entry | 326 | fs/umsdos/inode.c | ret = umsdos_emd_dir_write (emd_owner,&filp,(char*)&entry |
entry | 330 | fs/umsdos/inode.c | ,ret,entry.nlink)); |
entry | 99 | fs/umsdos/ioctl.c | struct umsdos_dirent entry; |
entry | 101 | fs/umsdos/ioctl.c | ret = umsdos_emd_dir_readentry (emd_dir,filp,&entry); |
entry | 104 | fs/umsdos/ioctl.c | }else if (entry.name_len > 0){ |
entry | 106 | fs/umsdos/ioctl.c | ret = entry.name_len; |
entry | 107 | fs/umsdos/ioctl.c | umsdos_parse (entry.name,entry.name_len,&info); |
entry | 110 | fs/umsdos/ioctl.c | memcpy_tofs(&idata->umsdos_dirent,&entry |
entry | 111 | fs/umsdos/ioctl.c | ,sizeof(entry)); |
entry | 158 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 175 | fs/umsdos/ioctl.c | memcpy (&info.entry,&data.umsdos_dirent |
entry | 368 | fs/umsdos/mangle.c | memcpy (info->entry.name,fname,len); |
entry | 369 | 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 | 350 | fs/umsdos/namei.c | ,S_ISDIR(new_info.entry.mode)); |
entry | 354 | fs/umsdos/namei.c | ,S_ISDIR(old_info.entry.mode)); |
entry | 367 | fs/umsdos/namei.c | PRINTK (("rename lookup len %d %d -- ",new_len,new_info.entry.flags)); |
entry | 373 | fs/umsdos/namei.c | ,new_info.entry.name); |
entry | 546 | fs/umsdos/namei.c | struct umsdos_dirent entry; |
entry | 548 | fs/umsdos/namei.c | ret = umsdos_inode2entry (olddir,oldinode,&entry); |
entry | 551 | fs/umsdos/namei.c | ,entry.name |
entry | 552 | fs/umsdos/namei.c | ,oldinode->i_ino,entry.flags)); |
entry | 553 | fs/umsdos/namei.c | if (!(entry.flags & UMSDOS_HIDDEN)){ |
entry | 570 | fs/umsdos/namei.c | ret = umsdos_rename_f (olddir,entry.name |
entry | 571 | fs/umsdos/namei.c | ,entry.name_len |
entry | 572 | fs/umsdos/namei.c | ,olddir,info.entry.name,info.entry.name_len |
entry | 585 | fs/umsdos/namei.c | ,entry.name |
entry | 586 | fs/umsdos/namei.c | ,entry.name_len,path |
entry | 660 | fs/umsdos/namei.c | info.entry.mode = mode | S_IFDIR; |
entry | 661 | fs/umsdos/namei.c | info.entry.rdev = 0; |
entry | 662 | fs/umsdos/namei.c | info.entry.uid = current->fsuid; |
entry | 663 | fs/umsdos/namei.c | info.entry.gid = (dir->i_mode & S_ISGID) |
entry | 665 | fs/umsdos/namei.c | info.entry.ctime = info.entry.atime = info.entry.mtime |
entry | 667 | fs/umsdos/namei.c | info.entry.flags = 0; |
entry | 669 | fs/umsdos/namei.c | info.entry.nlink = 1; |
entry | 895 | fs/umsdos/namei.c | if (info.entry.flags & UMSDOS_HLINK){ |
entry | 917 | fs/umsdos/namei.c | struct umsdos_dirent entry; |
entry | 918 | fs/umsdos/namei.c | ret = umsdos_inode2entry (hdir,inode,&entry); |
entry | 920 | fs/umsdos/namei.c | ret = UMSDOS_unlink (hdir,entry.name |
entry | 921 | fs/umsdos/namei.c | ,entry.name_len); |
entry | 939 | fs/umsdos/namei.c | ,info.entry.mode,ret)); |
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 | 30 | include/linux/ldt.h | extern int set_ldt_entry(int entry, unsigned long base, unsigned int limit, |
entry | 190 | include/linux/mm.h | extern unsigned long swap_in(unsigned long entry); |
entry | 269 | include/linux/mm.h | unsigned long entry; |
entry | 276 | include/linux/mm.h | "=r" (entry) |
entry | 280 | include/linux/mm.h | if (entry) |
entry | 283 | include/linux/mm.h | return entry; |
entry | 288 | include/linux/mm.h | unsigned long entry; |
entry | 295 | include/linux/mm.h | "=r" (entry) |
entry | 298 | include/linux/mm.h | if (entry) { |
entry | 302 | include/linux/mm.h | swap_free(entry); |
entry | 86 | include/linux/nfs_fs.h | int cookie, int count, struct nfs_entry *entry); |
entry | 523 | include/linux/sched.h | struct select_table_entry * entry; |
entry | 529 | include/linux/sched.h | entry = p->entry + p->nr; |
entry | 530 | include/linux/sched.h | entry->wait_address = wait_address; |
entry | 531 | include/linux/sched.h | entry->wait.task = current; |
entry | 532 | include/linux/sched.h | entry->wait.next = NULL; |
entry | 533 | include/linux/sched.h | add_wait_queue(wait_address,&entry->wait); |
entry | 59 | include/linux/umsdos_fs.h | struct umsdos_dirent entry; |
entry | 31 | include/linux/wait.h | struct select_table_entry * entry; |
entry | 87 | kernel/bios32.c | unsigned long entry; /* 32 bit physical address */ |
entry | 119 | kernel/bios32.c | unsigned long entry; /* %edx */ |
entry | 125 | kernel/bios32.c | "=d" (entry) |
entry | 132 | kernel/bios32.c | return address + entry; |
entry | 454 | kernel/bios32.c | bios32_indirect.address = bios32_entry = check->fields.entry; |
entry | 890 | mm/memory.c | unsigned long address, unsigned long * pge, unsigned long entry) |
entry | 895 | mm/memory.c | page = vma->vm_ops->swapin(vma, entry); |
entry | 897 | mm/memory.c | page = swap_in(entry); |
entry | 898 | mm/memory.c | if (*pge != entry) { |
entry | 914 | mm/memory.c | unsigned long page, entry, prot; |
entry | 921 | mm/memory.c | entry = *(unsigned long *) page; |
entry | 922 | mm/memory.c | if (entry & PAGE_PRESENT) |
entry | 924 | mm/memory.c | if (entry) { |
entry | 925 | mm/memory.c | do_swap_page(vma, address, (unsigned long *) page, entry); |
entry | 30 | mm/swap.c | #define SWP_TYPE(entry) (((entry) & 0xfe) >> 1) |
entry | 31 | mm/swap.c | #define SWP_OFFSET(entry) ((entry) >> PAGE_SHIFT) |
entry | 70 | mm/swap.c | extern inline int add_to_swap_cache(unsigned long addr, unsigned long entry) |
entry | 72 | mm/swap.c | struct swap_info_struct * p = &swap_info[SWP_TYPE(entry)]; |
entry | 81 | mm/swap.c | "=r" (entry) |
entry | 83 | mm/swap.c | "1" (entry) |
entry | 85 | mm/swap.c | if (entry) { |
entry | 108 | mm/swap.c | void rw_swap_page(int rw, unsigned long entry, char * buf) |
entry | 113 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 119 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 205 | mm/swap.c | unsigned long swap_duplicate(unsigned long entry) |
entry | 210 | mm/swap.c | if (!entry) |
entry | 212 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 213 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 215 | mm/swap.c | return entry; |
entry | 230 | mm/swap.c | return entry; |
entry | 233 | mm/swap.c | void swap_free(unsigned long entry) |
entry | 238 | mm/swap.c | if (!entry) |
entry | 240 | mm/swap.c | type = SWP_TYPE(entry); |
entry | 248 | mm/swap.c | offset = SWP_OFFSET(entry); |
entry | 264 | mm/swap.c | printk("swap_free: swap-space map bad (entry %08lx)\n",entry); |
entry | 273 | mm/swap.c | unsigned long swap_in(unsigned long entry) |
entry | 281 | mm/swap.c | read_swap_page(entry, (char *) page); |
entry | 282 | mm/swap.c | if (add_to_swap_cache(page, entry)) |
entry | 284 | mm/swap.c | swap_free(entry); |
entry | 290 | mm/swap.c | unsigned long page, entry; |
entry | 312 | mm/swap.c | if (!(entry = get_swap_page())) |
entry | 314 | mm/swap.c | *table_ptr = entry; |
entry | 316 | mm/swap.c | write_swap_page(entry, (char *) page); |
entry | 320 | mm/swap.c | if ((entry = find_in_swap_cache(page))) { |
entry | 326 | mm/swap.c | *table_ptr = entry; |
entry | 491 | mm/swap.c | static inline void add_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 493 | mm/swap.c | entry->prev = head; |
entry | 494 | mm/swap.c | entry->next = head->next; |
entry | 495 | mm/swap.c | entry->next->prev = entry; |
entry | 496 | mm/swap.c | head->next = entry; |
entry | 499 | mm/swap.c | static inline void remove_mem_queue(struct mem_list * head, struct mem_list * entry) |
entry | 501 | mm/swap.c | entry->next->prev = entry->prev; |
entry | 502 | mm/swap.c | entry->prev->next = entry->next; |
entry | 177 | net/inet/arp.c | struct arp_table *entry; |
entry | 180 | net/inet/arp.c | while ((entry = *pentry) != NULL) |
entry | 182 | net/inet/arp.c | if ((now - entry->last_used) > ARP_TIMEOUT |
entry | 183 | net/inet/arp.c | && !(entry->flags & ATF_PERM)) |
entry | 185 | net/inet/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 186 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 188 | net/inet/arp.c | del_timer(&entry->timer); /* Paranoia */ |
entry | 189 | net/inet/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 192 | net/inet/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 211 | net/inet/arp.c | static void arp_release_entry(struct arp_table *entry) |
entry | 216 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 222 | net/inet/arp.c | while ((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 229 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 230 | net/inet/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 250 | net/inet/arp.c | struct arp_table *entry; |
entry | 253 | net/inet/arp.c | while ((entry = *pentry) != NULL) |
entry | 255 | net/inet/arp.c | if(entry->dev==dev) |
entry | 257 | net/inet/arp.c | *pentry = entry->next; /* remove from list */ |
entry | 258 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 260 | net/inet/arp.c | del_timer(&entry->timer); /* Paranoia */ |
entry | 261 | net/inet/arp.c | kfree_s(entry, sizeof(struct arp_table)); |
entry | 264 | net/inet/arp.c | pentry = &entry->next; /* go to next entry */ |
entry | 349 | net/inet/arp.c | struct arp_table *entry = (struct arp_table *) arg; |
entry | 363 | net/inet/arp.c | if (entry->flags & ATF_COM) |
entry | 369 | net/inet/arp.c | if (--entry->retries > 0) |
entry | 371 | net/inet/arp.c | unsigned long ip = entry->ip; |
entry | 372 | net/inet/arp.c | struct device *dev = entry->dev; |
entry | 375 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 376 | net/inet/arp.c | entry->timer.expires = ARP_RES_TIME; |
entry | 377 | net/inet/arp.c | add_timer(&entry->timer); |
entry | 391 | net/inet/arp.c | hash = HASH(entry->ip); |
entry | 395 | net/inet/arp.c | if (*pentry == entry) |
entry | 397 | net/inet/arp.c | *pentry = entry->next; /* delete from linked list */ |
entry | 398 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 400 | net/inet/arp.c | arp_release_entry(entry); |
entry | 417 | net/inet/arp.c | static void arp_send_q(struct arp_table *entry, unsigned char *hw_dest) |
entry | 427 | net/inet/arp.c | if(!(entry->flags&ATF_COM)) |
entry | 430 | net/inet/arp.c | in_ntoa(entry->ip)); |
entry | 437 | net/inet/arp.c | while((skb = skb_dequeue(&entry->skb)) != NULL) |
entry | 455 | net/inet/arp.c | printk("arp_send_q: active entity %s\n",in_ntoa(entry->ip)); |
entry | 469 | net/inet/arp.c | struct arp_table *entry; |
entry | 475 | net/inet/arp.c | while ((entry = *pentry) != NULL) |
entry | 477 | net/inet/arp.c | if (entry->ip == ip_addr) |
entry | 479 | net/inet/arp.c | if ((entry->flags & ATF_PERM) && !force) |
entry | 481 | net/inet/arp.c | *pentry = entry->next; |
entry | 482 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 484 | net/inet/arp.c | arp_release_entry(entry); |
entry | 487 | net/inet/arp.c | pentry = &entry->next; |
entry | 507 | net/inet/arp.c | struct arp_table *entry; |
entry | 679 | net/inet/arp.c | for(entry=arp_tables[hash];entry;entry=entry->next) |
entry | 680 | net/inet/arp.c | if(entry->ip==sip && entry->htype==htype) |
entry | 683 | net/inet/arp.c | if(entry) |
entry | 688 | net/inet/arp.c | memcpy(entry->ha, sha, hlen); |
entry | 689 | net/inet/arp.c | entry->hlen = hlen; |
entry | 690 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 691 | net/inet/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 697 | net/inet/arp.c | del_timer(&entry->timer); |
entry | 698 | net/inet/arp.c | entry->flags |= ATF_COM; |
entry | 705 | net/inet/arp.c | arp_send_q(entry, sha); |
entry | 717 | net/inet/arp.c | entry = (struct arp_table *)kmalloc(sizeof(struct arp_table),GFP_ATOMIC); |
entry | 718 | net/inet/arp.c | if(entry == NULL) |
entry | 727 | net/inet/arp.c | entry->ip = sip; |
entry | 728 | net/inet/arp.c | entry->hlen = hlen; |
entry | 729 | net/inet/arp.c | entry->htype = htype; |
entry | 730 | net/inet/arp.c | entry->flags = ATF_COM; |
entry | 731 | net/inet/arp.c | init_timer(&entry->timer); |
entry | 732 | net/inet/arp.c | memcpy(entry->ha, sha, hlen); |
entry | 733 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 734 | net/inet/arp.c | entry->dev = skb->dev; |
entry | 735 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 736 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 737 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 756 | net/inet/arp.c | struct arp_table *entry; |
entry | 777 | net/inet/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 778 | net/inet/arp.c | if (entry->ip == paddr) |
entry | 782 | net/inet/arp.c | if (entry != NULL) /* It exists */ |
entry | 784 | net/inet/arp.c | if (!(entry->flags & ATF_COM)) |
entry | 793 | net/inet/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 804 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 805 | net/inet/arp.c | memcpy(haddr, entry->ha, dev->addr_len); |
entry | 816 | net/inet/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 818 | net/inet/arp.c | if (entry != NULL) |
entry | 820 | net/inet/arp.c | entry->ip = paddr; |
entry | 821 | net/inet/arp.c | entry->hlen = dev->addr_len; |
entry | 822 | net/inet/arp.c | entry->htype = dev->type; |
entry | 823 | net/inet/arp.c | entry->flags = 0; |
entry | 824 | net/inet/arp.c | memset(entry->ha, 0, dev->addr_len); |
entry | 825 | net/inet/arp.c | entry->dev = dev; |
entry | 826 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 827 | net/inet/arp.c | init_timer(&entry->timer); |
entry | 828 | net/inet/arp.c | entry->timer.function = arp_expire_request; |
entry | 829 | net/inet/arp.c | entry->timer.data = (unsigned long)entry; |
entry | 830 | net/inet/arp.c | entry->timer.expires = ARP_RES_TIME; |
entry | 831 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 832 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 833 | net/inet/arp.c | add_timer(&entry->timer); |
entry | 834 | net/inet/arp.c | entry->retries = ARP_MAX_TRIES; |
entry | 835 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 838 | net/inet/arp.c | skb_queue_tail(&entry->skb, skb); |
entry | 872 | net/inet/arp.c | struct arp_table *entry; |
entry | 884 | net/inet/arp.c | for(entry=arp_tables[i]; entry!=NULL; entry=entry->next) |
entry | 891 | net/inet/arp.c | if(entry->htype==ARPHRD_AX25) |
entry | 892 | net/inet/arp.c | strcpy(hbuffer,ax2asc((ax25_address *)entry->ha)); |
entry | 896 | net/inet/arp.c | for(k=0,j=0;k<HBUFFERLEN-3 && j<entry->hlen;j++) |
entry | 898 | net/inet/arp.c | hbuffer[k++]=hexbuf[ (entry->ha[j]>>4)&15 ]; |
entry | 899 | net/inet/arp.c | hbuffer[k++]=hexbuf[ entry->ha[j]&15 ]; |
entry | 909 | net/inet/arp.c | in_ntoa(entry->ip), |
entry | 910 | net/inet/arp.c | (unsigned int)entry->htype, |
entry | 911 | net/inet/arp.c | entry->flags, |
entry | 943 | net/inet/arp.c | struct arp_table *entry; |
entry | 947 | net/inet/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 948 | net/inet/arp.c | if (entry->ip == paddr) break; |
entry | 949 | net/inet/arp.c | return entry; |
entry | 960 | net/inet/arp.c | struct arp_table *entry; |
entry | 1019 | net/inet/arp.c | for (entry = arp_tables[hash]; entry != NULL; entry = entry->next) |
entry | 1020 | net/inet/arp.c | if (entry->ip == ip) |
entry | 1027 | net/inet/arp.c | if (entry == NULL) |
entry | 1029 | net/inet/arp.c | entry = (struct arp_table *) kmalloc(sizeof(struct arp_table), |
entry | 1031 | net/inet/arp.c | if (entry == NULL) |
entry | 1036 | net/inet/arp.c | entry->ip = ip; |
entry | 1037 | net/inet/arp.c | entry->hlen = hlen; |
entry | 1038 | net/inet/arp.c | entry->htype = htype; |
entry | 1039 | net/inet/arp.c | init_timer(&entry->timer); |
entry | 1040 | net/inet/arp.c | entry->next = arp_tables[hash]; |
entry | 1041 | net/inet/arp.c | arp_tables[hash] = entry; |
entry | 1042 | net/inet/arp.c | skb_queue_head_init(&entry->skb); |
entry | 1045 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 1051 | net/inet/arp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 1052 | net/inet/arp.c | entry->last_used = jiffies; |
entry | 1053 | net/inet/arp.c | entry->flags = r.arp_flags | ATF_COM; |
entry | 1054 | net/inet/arp.c | if (entry->flags & ATF_PUBL) |
entry | 1056 | net/inet/arp.c | entry->dev = rt->rt_dev; |
entry | 1070 | net/inet/arp.c | struct arp_table *entry; |
entry | 1087 | net/inet/arp.c | entry = arp_lookup(si->sin_addr.s_addr); |
entry | 1089 | net/inet/arp.c | if (entry == NULL) |
entry | 1099 | net/inet/arp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 1100 | net/inet/arp.c | r.arp_ha.sa_family = entry->htype; |
entry | 1101 | net/inet/arp.c | r.arp_flags = entry->flags; |
entry | 104 | net/inet/rarp.c | static inline void rarp_release_entry(struct rarp_table *entry) |
entry | 106 | net/inet/rarp.c | kfree_s(entry, sizeof(struct rarp_table)); |
entry | 116 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 121 | net/inet/rarp.c | while ((entry = *pentry) != NULL) |
entry | 123 | net/inet/rarp.c | if (entry->ip == ip_addr) |
entry | 125 | net/inet/rarp.c | *pentry = entry->next; |
entry | 127 | net/inet/rarp.c | rarp_release_entry(entry); |
entry | 130 | net/inet/rarp.c | pentry = &entry->next; |
entry | 149 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 208 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 209 | net/inet/rarp.c | if (!memcmp(entry->ha, sha, rarp->ar_hln)) |
entry | 212 | net/inet/rarp.c | if (entry != NULL) |
entry | 214 | net/inet/rarp.c | sip=entry->ip; |
entry | 235 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 287 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 288 | net/inet/rarp.c | if (entry->ip == ip) |
entry | 295 | net/inet/rarp.c | if (entry == NULL) |
entry | 297 | net/inet/rarp.c | entry = (struct rarp_table *) kmalloc(sizeof(struct rarp_table), |
entry | 299 | net/inet/rarp.c | if (entry == NULL) |
entry | 310 | net/inet/rarp.c | entry->next = rarp_tables; |
entry | 311 | net/inet/rarp.c | rarp_tables = entry; |
entry | 314 | net/inet/rarp.c | entry->ip = ip; |
entry | 315 | net/inet/rarp.c | entry->hlen = hlen; |
entry | 316 | net/inet/rarp.c | entry->htype = htype; |
entry | 317 | net/inet/rarp.c | memcpy(&entry->ha, &r.arp_ha.sa_data, hlen); |
entry | 318 | net/inet/rarp.c | entry->dev = rt->rt_dev; |
entry | 333 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 354 | net/inet/rarp.c | for (entry = rarp_tables; entry != NULL; entry = entry->next) |
entry | 355 | net/inet/rarp.c | if (entry->ip == ip) |
entry | 358 | net/inet/rarp.c | if (entry == NULL) |
entry | 368 | net/inet/rarp.c | memcpy(r.arp_ha.sa_data, &entry->ha, entry->hlen); |
entry | 369 | net/inet/rarp.c | r.arp_ha.sa_family = entry->htype; |
entry | 432 | net/inet/rarp.c | struct rarp_table *entry; |
entry | 449 | net/inet/rarp.c | for(entry=rarp_tables; entry!=NULL; entry=entry->next) |
entry | 451 | net/inet/rarp.c | netip=htonl(entry->ip); /* switch to network order */ |
entry | 462 | net/inet/rarp.c | (unsigned int)entry->ha[0], |
entry | 463 | net/inet/rarp.c | (unsigned int)entry->ha[1], |
entry | 464 | net/inet/rarp.c | (unsigned int)entry->ha[2], |
entry | 465 | net/inet/rarp.c | (unsigned int)entry->ha[3], |
entry | 466 | net/inet/rarp.c | (unsigned int)entry->ha[4], |
entry | 467 | net/inet/rarp.c | (unsigned int)entry->ha[5]); |