tag | line | file | source code |
walk | 121 | fs/fat/cache.c | struct fat_cache *walk; |
walk | 127 | fs/fat/cache.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 128 | fs/fat/cache.c | if (inode->i_dev == walk->device |
walk | 129 | fs/fat/cache.c | && walk->ino == inode->i_ino |
walk | 130 | fs/fat/cache.c | && walk->file_cluster <= cluster |
walk | 131 | fs/fat/cache.c | && walk->file_cluster > *f_clu) { |
walk | 132 | fs/fat/cache.c | *d_clu = walk->disk_cluster; |
walk | 134 | fs/fat/cache.c | printk("cache hit: %d (%d)\n",walk->file_cluster,*d_clu); |
walk | 136 | fs/fat/cache.c | if ((*f_clu = walk->file_cluster) == cluster) return; |
walk | 147 | fs/fat/cache.c | struct fat_cache *walk; |
walk | 149 | fs/fat/cache.c | for (walk = fat_cache; walk; walk = walk->next) { |
walk | 150 | fs/fat/cache.c | if (walk->device) |
walk | 151 | fs/fat/cache.c | printk("<%s,%d>(%d,%d) ", kdevname(walk->device), |
walk | 152 | fs/fat/cache.c | walk->ino, walk->file_cluster, walk->disk_cluster); |
walk | 162 | fs/fat/cache.c | struct fat_cache *walk,*last; |
walk | 169 | fs/fat/cache.c | for (walk = fat_cache; walk->next; walk = (last = walk)->next) |
walk | 170 | fs/fat/cache.c | if (inode->i_dev == walk->device |
walk | 171 | fs/fat/cache.c | && walk->ino == inode->i_ino |
walk | 172 | fs/fat/cache.c | && walk->file_cluster == f_clu) { |
walk | 173 | fs/fat/cache.c | if (walk->disk_cluster != d_clu) { |
walk | 180 | fs/fat/cache.c | last->next = walk->next; |
walk | 181 | fs/fat/cache.c | walk->next = fat_cache; |
walk | 182 | fs/fat/cache.c | fat_cache = walk; |
walk | 188 | fs/fat/cache.c | walk->device = inode->i_dev; |
walk | 189 | fs/fat/cache.c | walk->ino = inode->i_ino; |
walk | 190 | fs/fat/cache.c | walk->file_cluster = f_clu; |
walk | 191 | fs/fat/cache.c | walk->disk_cluster = d_clu; |
walk | 193 | fs/fat/cache.c | walk->next = fat_cache; |
walk | 194 | fs/fat/cache.c | fat_cache = walk; |
walk | 206 | fs/fat/cache.c | struct fat_cache *walk; |
walk | 208 | fs/fat/cache.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 209 | fs/fat/cache.c | if (walk->device == inode->i_dev |
walk | 210 | fs/fat/cache.c | && walk->ino == inode->i_ino) |
walk | 211 | fs/fat/cache.c | walk->device = 0; |
walk | 217 | fs/fat/cache.c | struct fat_cache *walk; |
walk | 219 | fs/fat/cache.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 220 | fs/fat/cache.c | if (walk->device == device) |
walk | 221 | fs/fat/cache.c | walk->device = 0; |
walk | 353 | fs/fat/inode.c | char *exe_extensions = "EXECOMBAT", *walk; |
walk | 355 | fs/fat/inode.c | for (walk = exe_extensions; *walk; walk += 3) |
walk | 356 | fs/fat/inode.c | if (!strncmp(extension, walk, 3)) |
walk | 57 | fs/fat/misc.c | char *walk; |
walk | 65 | fs/fat/misc.c | for (walk = bin_extensions; *walk; walk += 3) |
walk | 66 | fs/fat/misc.c | if (!strncmp(extension,walk,3)) return 1; |
walk | 83 | fs/msdos/namei.c | char *walk; |
walk | 101 | fs/msdos/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
walk | 112 | fs/msdos/namei.c | if((res==walk) && (c==0xE5)) c=0x05; |
walk | 115 | fs/msdos/namei.c | *walk = (c >= 'a' && c <= 'z') ? c-32 : c; |
walk | 125 | fs/msdos/namei.c | while (walk-res < 8) *walk++ = ' '; |
walk | 126 | fs/msdos/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
walk | 136 | fs/msdos/namei.c | *walk++ = c >= 'a' && c <= 'z' ? c-32 : c; |
walk | 141 | fs/msdos/namei.c | while (walk-res < MSDOS_NAME) *walk++ = ' '; |
walk | 610 | fs/msdos/namei.c | struct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk; |
walk | 616 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
walk | 618 | fs/msdos/namei.c | while (walk->i_ino != MSDOS_ROOT_INO) { |
walk | 619 | fs/msdos/namei.c | ino = fat_parent_ino(walk,1); |
walk | 620 | fs/msdos/namei.c | iput(walk); |
walk | 623 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) return -EIO; |
walk | 625 | fs/msdos/namei.c | iput(walk); |
walk | 266 | fs/vfat/namei.c | const char *walk, **reserved; |
walk | 278 | fs/vfat/namei.c | for (walk = name; len && walk-name < 8;) { |
walk | 279 | fs/vfat/namei.c | c = *walk++; |
walk | 286 | fs/vfat/namei.c | if ((walk == name) && (c == 0xE5)) c = 0x05; |
walk | 292 | fs/vfat/namei.c | c = *walk++; |
walk | 296 | fs/vfat/namei.c | while (c != '.' && len--) c = *walk++; |
walk | 299 | fs/vfat/namei.c | while (len > 0 && walk-name < (MSDOS_NAME+1)) { |
walk | 300 | fs/vfat/namei.c | c = *walk++; |
walk | 329 | fs/vfat/namei.c | char *walk; |
walk | 344 | fs/vfat/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
walk | 354 | fs/vfat/namei.c | *walk = c >= 'a' && c <= 'z' ? c-32 : c; |
walk | 364 | fs/vfat/namei.c | while (walk-res < 8) *walk++ = ' '; |
walk | 365 | fs/vfat/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
walk | 377 | fs/vfat/namei.c | *walk++ = c >= 'a' && c <= 'z' ? c-32 : c; |
walk | 382 | fs/vfat/namei.c | while (walk-res < MSDOS_NAME) *walk++ = ' '; |
walk | 1360 | fs/vfat/namei.c | struct inode *old_inode, *new_inode, *dotdot_inode, *walk; |
walk | 1392 | fs/vfat/namei.c | if (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO; |
walk | 1394 | fs/vfat/namei.c | while (walk->i_ino != MSDOS_ROOT_INO) { |
walk | 1395 | fs/vfat/namei.c | ino = fat_parent_ino(walk,1); |
walk | 1396 | fs/vfat/namei.c | iput(walk); |
walk | 1405 | fs/vfat/namei.c | if (!(walk = iget(new_dir->i_sb,ino))) { |
walk | 1410 | fs/vfat/namei.c | iput(walk); |