tag | line | file | source code |
walk | 71 | fs/msdos/dir.c | char c,*walk; |
walk | 80 | fs/msdos/dir.c | walk = filp->f_pos++ ? ".." : "."; |
walk | 81 | fs/msdos/dir.c | for (i = 0; *walk; walk++) |
walk | 82 | fs/msdos/dir.c | put_fs_byte(*walk,dirent->d_name+i++); |
walk | 119 | fs/msdos/fat.c | struct fat_cache *walk; |
walk | 124 | fs/msdos/fat.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 125 | fs/msdos/fat.c | if (inode->i_dev == walk->device && walk->ino == inode->i_ino && |
walk | 126 | fs/msdos/fat.c | walk->file_cluster <= cluster && walk->file_cluster > |
walk | 128 | fs/msdos/fat.c | *d_clu = walk->disk_cluster; |
walk | 130 | fs/msdos/fat.c | printk("cache hit: %d (%d)\r\n",walk->file_cluster,*d_clu); |
walk | 132 | fs/msdos/fat.c | if ((*f_clu = walk->file_cluster) == cluster) return; |
walk | 140 | fs/msdos/fat.c | struct fat_cache *walk; |
walk | 142 | fs/msdos/fat.c | for (walk = fat_cache; walk; walk = walk->next) { |
walk | 143 | fs/msdos/fat.c | if (walk->device) printk("(%d,%d) ",walk->file_cluster, |
walk | 144 | fs/msdos/fat.c | walk->disk_cluster); |
walk | 154 | fs/msdos/fat.c | struct fat_cache *walk,*last; |
walk | 160 | fs/msdos/fat.c | for (walk = fat_cache; walk->next; walk = (last = walk)->next) |
walk | 161 | fs/msdos/fat.c | if (inode->i_dev == walk->device && walk->ino == inode->i_ino && |
walk | 162 | fs/msdos/fat.c | walk->file_cluster == f_clu) { |
walk | 163 | fs/msdos/fat.c | if (walk->disk_cluster != d_clu) |
walk | 167 | fs/msdos/fat.c | last->next = walk->next; |
walk | 168 | fs/msdos/fat.c | walk->next = fat_cache; |
walk | 169 | fs/msdos/fat.c | fat_cache = walk; |
walk | 175 | fs/msdos/fat.c | walk->device = inode->i_dev; |
walk | 176 | fs/msdos/fat.c | walk->ino = inode->i_ino; |
walk | 177 | fs/msdos/fat.c | walk->file_cluster = f_clu; |
walk | 178 | fs/msdos/fat.c | walk->disk_cluster = d_clu; |
walk | 180 | fs/msdos/fat.c | walk->next = fat_cache; |
walk | 181 | fs/msdos/fat.c | fat_cache = walk; |
walk | 193 | fs/msdos/fat.c | struct fat_cache *walk; |
walk | 195 | fs/msdos/fat.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 196 | fs/msdos/fat.c | if (walk->device == inode->i_dev && walk->ino == inode->i_ino) |
walk | 197 | fs/msdos/fat.c | walk->device = 0; |
walk | 203 | fs/msdos/fat.c | struct fat_cache *walk; |
walk | 205 | fs/msdos/fat.c | for (walk = fat_cache; walk; walk = walk->next) |
walk | 206 | fs/msdos/fat.c | if (walk->device == device) walk->device = 0; |
walk | 25 | fs/msdos/misc.c | char *walk; |
walk | 33 | fs/msdos/misc.c | for (walk = bin_extensions; *walk; walk += 3) |
walk | 34 | fs/msdos/misc.c | if (!strncmp(extension,walk,3)) return 1; |
walk | 29 | fs/msdos/namei.c | char *walk,**reserved; |
walk | 42 | fs/msdos/namei.c | for (walk = res; len && walk-res < 8; walk++) { |
walk | 53 | fs/msdos/namei.c | *walk = c >= 'a' && c <= 'z' ? c-32 : c; |
walk | 62 | fs/msdos/namei.c | if (walk == res) return -EINVAL; |
walk | 64 | fs/msdos/namei.c | while (walk-res < 8) *walk++ = ' '; |
walk | 65 | fs/msdos/namei.c | while (len > 0 && walk-res < MSDOS_NAME) { |
walk | 76 | fs/msdos/namei.c | *walk++ = c >= 'a' && c <= 'z' ? c-32 : c; |
walk | 81 | fs/msdos/namei.c | while (walk-res < MSDOS_NAME) *walk++ = ' '; |
walk | 391 | fs/msdos/namei.c | struct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk; |
walk | 397 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_dev,new_dir->i_ino))) return -EIO; |
walk | 398 | fs/msdos/namei.c | while (walk->i_ino != MSDOS_ROOT_INO) { |
walk | 399 | fs/msdos/namei.c | ino = msdos_parent_ino(walk,1); |
walk | 400 | fs/msdos/namei.c | iput(walk); |
walk | 403 | fs/msdos/namei.c | if (!(walk = iget(new_dir->i_dev,ino))) return -EIO; |
walk | 405 | fs/msdos/namei.c | iput(walk); |