tag | line | file | source code |
walk | 125 | fs/msdos/fat.c | struct fat_cache *walk; |
walk | 131 | fs/msdos/fat.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 132 | fs/msdos/fat.c | if (inode->i_dev == walk->device && walk->ino == inode->i_ino && |
walk | 133 | fs/msdos/fat.c | walk->file_cluster <= cluster && walk->file_cluster > |
walk | 135 | fs/msdos/fat.c | *d_clu = walk->disk_cluster; |
walk | 137 | fs/msdos/fat.c | printk("cache hit: %d (%d)\n",walk->file_cluster,*d_clu); |
walk | 139 | fs/msdos/fat.c | if ((*f_clu = walk->file_cluster) == cluster) return; |
walk | 150 | fs/msdos/fat.c | struct fat_cache *walk; |
walk | 152 | fs/msdos/fat.c | for (walk = fat_cache; walk; walk = walk->next) { |
walk | 153 | fs/msdos/fat.c | if (walk->device) |
walk | 154 | fs/msdos/fat.c | printk("<%d,%d>(%d,%d) ",walk->device,walk->ino, |
walk | 155 | fs/msdos/fat.c | walk->file_cluster,walk->disk_cluster); |
walk | 165 | fs/msdos/fat.c | struct fat_cache *walk,*last; |
walk | 171 | fs/msdos/fat.c | for (walk = fat_cache; walk->next; walk = (last = walk)->next) |
walk | 172 | fs/msdos/fat.c | if (inode->i_dev == walk->device && walk->ino == inode->i_ino && |
walk | 173 | fs/msdos/fat.c | walk->file_cluster == f_clu) { |
walk | 174 | fs/msdos/fat.c | if (walk->disk_cluster != d_clu) { |
walk | 181 | fs/msdos/fat.c | last->next = walk->next; |
walk | 182 | fs/msdos/fat.c | walk->next = fat_cache; |
walk | 183 | fs/msdos/fat.c | fat_cache = walk; |
walk | 189 | fs/msdos/fat.c | walk->device = inode->i_dev; |
walk | 190 | fs/msdos/fat.c | walk->ino = inode->i_ino; |
walk | 191 | fs/msdos/fat.c | walk->file_cluster = f_clu; |
walk | 192 | fs/msdos/fat.c | walk->disk_cluster = d_clu; |
walk | 194 | fs/msdos/fat.c | walk->next = fat_cache; |
walk | 195 | fs/msdos/fat.c | fat_cache = walk; |
walk | 207 | fs/msdos/fat.c | struct fat_cache *walk; |
walk | 209 | fs/msdos/fat.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 210 | fs/msdos/fat.c | if (walk->device == inode->i_dev && walk->ino == inode->i_ino) |
walk | 211 | fs/msdos/fat.c | walk->device = 0; |
walk | 217 | fs/msdos/fat.c | struct fat_cache *walk; |
walk | 219 | fs/msdos/fat.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 220 | fs/msdos/fat.c | if (walk->device == device) walk->device = 0; |
walk | 59 | fs/msdos/misc.c | char *walk; |
walk | 67 | fs/msdos/misc.c | for (walk = bin_extensions; *walk; walk += 3) |
walk | 68 | fs/msdos/misc.c | if (!strncmp(extension,walk,3)) return 1; |
walk | 44 | fs/msdos/namei.c | char *walk,**reserved; |
walk | 57 | fs/msdos/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
walk | 66 | fs/msdos/namei.c | *walk = c >= 'a' && c <= 'z' ? c-32 : c; |
walk | 76 | fs/msdos/namei.c | while (walk-res < 8) *walk++ = ' '; |
walk | 77 | fs/msdos/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
walk | 87 | fs/msdos/namei.c | *walk++ = c >= 'a' && c <= 'z' ? c-32 : c; |
walk | 92 | fs/msdos/namei.c | while (walk-res < MSDOS_NAME) *walk++ = ' '; |
walk | 496 | fs/msdos/namei.c | struct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk; |
walk | 502 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
walk | 503 | fs/msdos/namei.c | while (walk->i_ino != MSDOS_ROOT_INO) { |
walk | 504 | fs/msdos/namei.c | ino = msdos_parent_ino(walk,1); |
walk | 505 | fs/msdos/namei.c | iput(walk); |
walk | 508 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
walk | 510 | fs/msdos/namei.c | iput(walk); |