taglinefilesource code
walk121fs/fat/cache.cstruct fat_cache *walk;
walk127fs/fat/cache.cfor (walk = fat_cache; walk; walk = walk->next)
walk128fs/fat/cache.cif (inode->i_dev == walk->device
walk129fs/fat/cache.c&& walk->ino == inode->i_ino
walk130fs/fat/cache.c&& walk->file_cluster <= cluster
walk131fs/fat/cache.c&& walk->file_cluster > *f_clu) {
walk132fs/fat/cache.c*d_clu = walk->disk_cluster;
walk134fs/fat/cache.cprintk("cache hit: %d (%d)\n",walk->file_cluster,*d_clu);
walk136fs/fat/cache.cif ((*f_clu = walk->file_cluster) == cluster) return;
walk147fs/fat/cache.cstruct fat_cache *walk;
walk149fs/fat/cache.cfor (walk = fat_cache; walk; walk = walk->next) {
walk150fs/fat/cache.cif (walk->device)
walk151fs/fat/cache.cprintk("<%s,%d>(%d,%d) ", kdevname(walk->device),
walk152fs/fat/cache.cwalk->ino, walk->file_cluster, walk->disk_cluster);
walk162fs/fat/cache.cstruct fat_cache *walk,*last;
walk169fs/fat/cache.cfor (walk = fat_cache; walk->next; walk = (last = walk)->next)
walk170fs/fat/cache.cif (inode->i_dev == walk->device
walk171fs/fat/cache.c&& walk->ino == inode->i_ino
walk172fs/fat/cache.c&& walk->file_cluster == f_clu) {
walk173fs/fat/cache.cif (walk->disk_cluster != d_clu) {
walk180fs/fat/cache.clast->next = walk->next;
walk181fs/fat/cache.cwalk->next = fat_cache;
walk182fs/fat/cache.cfat_cache = walk;
walk188fs/fat/cache.cwalk->device = inode->i_dev;
walk189fs/fat/cache.cwalk->ino = inode->i_ino;
walk190fs/fat/cache.cwalk->file_cluster = f_clu;
walk191fs/fat/cache.cwalk->disk_cluster = d_clu;
walk193fs/fat/cache.cwalk->next = fat_cache;
walk194fs/fat/cache.cfat_cache = walk;
walk206fs/fat/cache.cstruct fat_cache *walk;
walk208fs/fat/cache.cfor (walk = fat_cache; walk; walk = walk->next)
walk209fs/fat/cache.cif (walk->device == inode->i_dev
walk210fs/fat/cache.c&& walk->ino == inode->i_ino)
walk211fs/fat/cache.cwalk->device = 0;
walk217fs/fat/cache.cstruct fat_cache *walk;
walk219fs/fat/cache.cfor (walk = fat_cache; walk; walk = walk->next)
walk220fs/fat/cache.cif (walk->device == device)
walk221fs/fat/cache.cwalk->device = 0;
walk353fs/fat/inode.cchar *exe_extensions = "EXECOMBAT", *walk;
walk355fs/fat/inode.cfor (walk = exe_extensions; *walk; walk += 3)
walk356fs/fat/inode.cif (!strncmp(extension, walk, 3))
walk57fs/fat/misc.cchar *walk;
walk65fs/fat/misc.cfor (walk = bin_extensions; *walk; walk += 3)
walk66fs/fat/misc.cif (!strncmp(extension,walk,3)) return 1;
walk83fs/msdos/namei.cchar *walk;
walk101fs/msdos/namei.cfor (walk = res; len && walk-res < 8; walk++) {
walk112fs/msdos/namei.cif((res==walk) && (c==0xE5)) c=0x05;
walk115fs/msdos/namei.c*walk = (c >= 'a' && c <= 'z') ? c-32 : c;
walk125fs/msdos/namei.cwhile (walk-res < 8) *walk++ = ' ';
walk126fs/msdos/namei.cwhile (len > 0 && walk-res < MSDOS_NAME) {
walk136fs/msdos/namei.c*walk++ = c >= 'a' && c <= 'z' ? c-32 : c;
walk141fs/msdos/namei.cwhile (walk-res < MSDOS_NAME) *walk++ = ' ';
walk610fs/msdos/namei.cstruct inode *old_inode,*new_inode,*free_inode,*dotdot_inode,*walk;
walk616fs/msdos/namei.cif (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO;
walk618fs/msdos/namei.cwhile (walk->i_ino != MSDOS_ROOT_INO) {
walk619fs/msdos/namei.cino = fat_parent_ino(walk,1);
walk620fs/msdos/namei.ciput(walk);
walk623fs/msdos/namei.cif (!(walk = iget(new_dir->i_sb,ino))) return -EIO;
walk625fs/msdos/namei.ciput(walk);
walk266fs/vfat/namei.cconst char *walk, **reserved;
walk278fs/vfat/namei.cfor (walk = name; len && walk-name < 8;) {
walk279fs/vfat/namei.cc = *walk++;
walk286fs/vfat/namei.cif ((walk == name) && (c == 0xE5)) c = 0x05;
walk292fs/vfat/namei.cc = *walk++;
walk296fs/vfat/namei.cwhile (c != '.' && len--) c = *walk++;
walk299fs/vfat/namei.cwhile (len > 0 && walk-name < (MSDOS_NAME+1)) {
walk300fs/vfat/namei.cc = *walk++;
walk329fs/vfat/namei.cchar *walk;
walk344fs/vfat/namei.cfor (walk = res; len && walk-res < 8; walk++) {
walk354fs/vfat/namei.c*walk = c >= 'a' && c <= 'z' ? c-32 : c;
walk364fs/vfat/namei.cwhile (walk-res < 8) *walk++ = ' ';
walk365fs/vfat/namei.cwhile (len > 0 && walk-res < MSDOS_NAME) {
walk377fs/vfat/namei.c*walk++ = c >= 'a' && c <= 'z' ? c-32 : c;
walk382fs/vfat/namei.cwhile (walk-res < MSDOS_NAME) *walk++ = ' ';
walk1360fs/vfat/namei.cstruct inode *old_inode, *new_inode, *dotdot_inode, *walk;
walk1392fs/vfat/namei.cif (!(walk = iget(new_dir->i_sb,new_dir->i_ino))) return -EIO;
walk1394fs/vfat/namei.cwhile (walk->i_ino != MSDOS_ROOT_INO) {
walk1395fs/vfat/namei.cino = fat_parent_ino(walk,1);
walk1396fs/vfat/namei.ciput(walk);
walk1405fs/vfat/namei.cif (!(walk = iget(new_dir->i_sb,ino))) {
walk1410fs/vfat/namei.ciput(walk);