taglinefilesource code
walk125fs/msdos/fat.cstruct fat_cache *walk;
walk131fs/msdos/fat.cfor (walk = fat_cache; walk; walk = walk->next)
walk132fs/msdos/fat.cif (inode->i_dev == walk->device && walk->ino == inode->i_ino &&
walk133fs/msdos/fat.cwalk->file_cluster <= cluster && walk->file_cluster >
walk135fs/msdos/fat.c*d_clu = walk->disk_cluster;
walk137fs/msdos/fat.cprintk("cache hit: %d (%d)\n",walk->file_cluster,*d_clu);
walk139fs/msdos/fat.cif ((*f_clu = walk->file_cluster) == cluster) return;
walk150fs/msdos/fat.cstruct fat_cache *walk;
walk152fs/msdos/fat.cfor (walk = fat_cache; walk; walk = walk->next) {
walk153fs/msdos/fat.cif (walk->device)
walk154fs/msdos/fat.cprintk("<%d,%d>(%d,%d) ",walk->device,walk->ino,
walk155fs/msdos/fat.cwalk->file_cluster,walk->disk_cluster);
walk165fs/msdos/fat.cstruct fat_cache *walk,*last;
walk171fs/msdos/fat.cfor (walk = fat_cache; walk->next; walk = (last = walk)->next)
walk172fs/msdos/fat.cif (inode->i_dev == walk->device && walk->ino == inode->i_ino &&
walk173fs/msdos/fat.cwalk->file_cluster == f_clu) {
walk174fs/msdos/fat.cif (walk->disk_cluster != d_clu) {
walk181fs/msdos/fat.clast->next = walk->next;
walk182fs/msdos/fat.cwalk->next = fat_cache;
walk183fs/msdos/fat.cfat_cache = walk;
walk189fs/msdos/fat.cwalk->device = inode->i_dev;
walk190fs/msdos/fat.cwalk->ino = inode->i_ino;
walk191fs/msdos/fat.cwalk->file_cluster = f_clu;
walk192fs/msdos/fat.cwalk->disk_cluster = d_clu;
walk194fs/msdos/fat.cwalk->next = fat_cache;
walk195fs/msdos/fat.cfat_cache = walk;
walk207fs/msdos/fat.cstruct fat_cache *walk;
walk209fs/msdos/fat.cfor (walk = fat_cache; walk; walk = walk->next)
walk210fs/msdos/fat.cif (walk->device == inode->i_dev && walk->ino == inode->i_ino)
walk211fs/msdos/fat.cwalk->device = 0;
walk217fs/msdos/fat.cstruct fat_cache *walk;
walk219fs/msdos/fat.cfor (walk = fat_cache; walk; walk = walk->next)
walk220fs/msdos/fat.cif (walk->device == device) walk->device = 0;
walk59fs/msdos/misc.cchar *walk;
walk67fs/msdos/misc.cfor (walk = bin_extensions; *walk; walk += 3)
walk68fs/msdos/misc.cif (!strncmp(extension,walk,3)) return 1;
walk44fs/msdos/namei.cchar *walk,**reserved;
walk57fs/msdos/namei.cfor (walk = res; len && walk-res < 8; walk++) {
walk66fs/msdos/namei.c*walk = c >= 'a' && c <= 'z' ? c-32 : c;
walk76fs/msdos/namei.cwhile (walk-res < 8) *walk++ = ' ';
walk77fs/msdos/namei.cwhile (len > 0 && walk-res < MSDOS_NAME) {
walk87fs/msdos/namei.c*walk++ = c >= 'a' && c <= 'z' ? c-32 : c;
walk92fs/msdos/namei.cwhile (walk-res < MSDOS_NAME) *walk++ = ' ';
walk496fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
walk502fs/msdos/namei.cif (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO;
walk503fs/msdos/namei.cwhile (walk->i_ino != MSDOS_ROOT_INO) {
walk504fs/msdos/namei.cino = msdos_parent_ino(walk,1);
walk505fs/msdos/namei.ciput(walk);
walk508fs/msdos/namei.cif (!(walk = iget(new_dir->i_sb,ino))) return -EIO;
walk510fs/msdos/namei.ciput(walk);