tag | line | file | source code |
MSDOS_SB | 24 | fs/msdos/fat.c | if (MSDOS_SB(sb)->fat_bits == 16) first = last = this*2; |
MSDOS_SB | 29 | fs/msdos/fat.c | if (!(bh = msdos_sread(sb->s_dev,MSDOS_SB(sb)->fat_start+(first >> |
MSDOS_SB | 39 | fs/msdos/fat.c | if (!(bh2 = msdos_sread(sb->s_dev,MSDOS_SB(sb)->fat_start+(last |
MSDOS_SB | 46 | fs/msdos/fat.c | if (MSDOS_SB(sb)->fat_bits == 16) { |
MSDOS_SB | 60 | fs/msdos/fat.c | if (MSDOS_SB(sb)->fat_bits == 16) |
MSDOS_SB | 75 | fs/msdos/fat.c | for (copy = 1; copy < MSDOS_SB(sb)->fats; copy++) { |
MSDOS_SB | 76 | fs/msdos/fat.c | if (!(c_bh = msdos_sread(sb->s_dev,MSDOS_SB(sb)-> |
MSDOS_SB | 77 | fs/msdos/fat.c | fat_start+(first >> SECTOR_BITS)+MSDOS_SB(sb)-> |
MSDOS_SB | 83 | fs/msdos/fat.c | MSDOS_SB(sb)->fat_start+(first >> |
MSDOS_SB | 84 | fs/msdos/fat.c | SECTOR_BITS)+MSDOS_SB(sb)->fat_length*copy |
MSDOS_SB | 232 | fs/msdos/fat.c | sb = MSDOS_SB(inode->i_sb); |
MSDOS_SB | 264 | fs/msdos/fat.c | fat_access(inode->i_sb,last,MSDOS_SB(inode->i_sb)->fat_bits == |
MSDOS_SB | 204 | fs/msdos/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
MSDOS_SB | 112 | fs/msdos/inode.c | MSDOS_SB(s)->cluster_size = b->cluster_size; |
MSDOS_SB | 113 | fs/msdos/inode.c | MSDOS_SB(s)->fats = b->fats; |
MSDOS_SB | 114 | fs/msdos/inode.c | MSDOS_SB(s)->fat_start = b->reserved; |
MSDOS_SB | 115 | fs/msdos/inode.c | MSDOS_SB(s)->fat_length = b->fat_length; |
MSDOS_SB | 116 | fs/msdos/inode.c | MSDOS_SB(s)->dir_start = b->reserved+b->fats*b->fat_length; |
MSDOS_SB | 117 | fs/msdos/inode.c | MSDOS_SB(s)->dir_entries = *((unsigned short *) &b->dir_entries); |
MSDOS_SB | 118 | fs/msdos/inode.c | MSDOS_SB(s)->data_start = MSDOS_SB(s)->dir_start+((MSDOS_SB(s)-> |
MSDOS_SB | 121 | fs/msdos/inode.c | &b->sectors) : b->total_sect)-MSDOS_SB(s)->data_start; |
MSDOS_SB | 122 | fs/msdos/inode.c | MSDOS_SB(s)->clusters = b->cluster_size ? data_sectors/b->cluster_size : |
MSDOS_SB | 124 | fs/msdos/inode.c | MSDOS_SB(s)->fat_bits = MSDOS_SB(s)->clusters > MSDOS_FAT12 ? 16 : 12; |
MSDOS_SB | 127 | fs/msdos/inode.c | MSDOS_SB(s)->fat_bits,check,conversion); |
MSDOS_SB | 129 | fs/msdos/inode.c | b->media,MSDOS_SB(s)->cluster_size,MSDOS_SB(s)->fats,MSDOS_SB(s)->fat_start, |
MSDOS_SB | 130 | fs/msdos/inode.c | MSDOS_SB(s)->fat_length,MSDOS_SB(s)->dir_start,MSDOS_SB(s)->dir_entries, |
MSDOS_SB | 131 | fs/msdos/inode.c | MSDOS_SB(s)->data_start,*(unsigned short *) &b->sectors,b->total_sect); |
MSDOS_SB | 132 | fs/msdos/inode.c | if (!MSDOS_SB(s)->fats || (MSDOS_SB(s)->dir_entries & (MSDOS_DPS-1)) |
MSDOS_SB | 133 | fs/msdos/inode.c | || !b->cluster_size || MSDOS_SB(s)->clusters+2 > MSDOS_SB(s)-> |
MSDOS_SB | 134 | fs/msdos/inode.c | fat_length*SECTOR_SIZE*8/MSDOS_SB(s)->fat_bits) { |
MSDOS_SB | 139 | fs/msdos/inode.c | if (!MSDOS_CAN_BMAP(MSDOS_SB(s))) printk("No bmap support\r\n"); |
MSDOS_SB | 141 | fs/msdos/inode.c | MSDOS_SB(s)->name_check = check; |
MSDOS_SB | 142 | fs/msdos/inode.c | MSDOS_SB(s)->conversion = conversion; |
MSDOS_SB | 145 | fs/msdos/inode.c | MSDOS_SB(s)->fs_uid = current->uid; |
MSDOS_SB | 146 | fs/msdos/inode.c | MSDOS_SB(s)->fs_gid = current->gid; |
MSDOS_SB | 147 | fs/msdos/inode.c | MSDOS_SB(s)->fs_umask = current->umask; |
MSDOS_SB | 161 | fs/msdos/inode.c | cluster_size = MSDOS_SB(sb)->cluster_size; |
MSDOS_SB | 164 | fs/msdos/inode.c | put_fs_long(MSDOS_SB(sb)->clusters*cluster_size,&buf->f_blocks); |
MSDOS_SB | 166 | fs/msdos/inode.c | for (this = 2; this < MSDOS_SB(sb)->clusters+2; this++) |
MSDOS_SB | 181 | fs/msdos/inode.c | sb = MSDOS_SB(inode->i_sb); |
MSDOS_SB | 204 | fs/msdos/inode.c | inode->i_uid = MSDOS_SB(inode->i_sb)->fs_uid; |
MSDOS_SB | 205 | fs/msdos/inode.c | inode->i_gid = MSDOS_SB(inode->i_sb)->fs_gid; |
MSDOS_SB | 207 | fs/msdos/inode.c | inode->i_mode = (0777 & ~MSDOS_SB(inode->i_sb)->fs_umask) | |
MSDOS_SB | 211 | fs/msdos/inode.c | inode->i_size = MSDOS_SB(inode->i_sb)->dir_entries* |
MSDOS_SB | 224 | fs/msdos/inode.c | ~MSDOS_SB(inode->i_sb)->fs_umask) | S_IFDIR; |
MSDOS_SB | 230 | fs/msdos/inode.c | inode->i_size += SECTOR_SIZE*MSDOS_SB(inode->i_sb)-> |
MSDOS_SB | 235 | fs/msdos/inode.c | ~MSDOS_SB(inode->i_sb)->fs_umask) | S_IFREG; |
MSDOS_SB | 236 | fs/msdos/inode.c | inode->i_op = MSDOS_CAN_BMAP(MSDOS_SB(inode->i_sb)) ? |
MSDOS_SB | 242 | fs/msdos/inode.c | inode->i_data[D_BINARY] = is_binary(MSDOS_SB(inode->i_sb)->conversion, |
MSDOS_SB | 72 | fs/msdos/misc.c | limit = MSDOS_SB(inode->i_sb)->clusters; |
MSDOS_SB | 87 | fs/msdos/misc.c | fat_access(inode->i_sb,this,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
MSDOS_SB | 96 | fs/msdos/misc.c | SECTOR_SIZE/MSDOS_SB(inode->i_sb)->cluster_size) : 0; |
MSDOS_SB | 119 | fs/msdos/misc.c | for (current = 0; current < MSDOS_SB(inode->i_sb)->cluster_size; |
MSDOS_SB | 121 | fs/msdos/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(this-2)* |
MSDOS_SB | 122 | fs/msdos/misc.c | MSDOS_SB(inode->i_sb)->cluster_size+current; |
MSDOS_SB | 126 | fs/msdos/misc.c | if (current < MSDOS_SB(inode->i_sb)->cluster_size-1 && |
MSDOS_SB | 149 | fs/msdos/misc.c | inode->i_size += SECTOR_SIZE*MSDOS_SB(inode->i_sb)-> |
MSDOS_SB | 306 | fs/msdos/misc.c | for (count = 0; count < MSDOS_SB(sb)->dir_entries/MSDOS_DPS; count++) { |
MSDOS_SB | 307 | fs/msdos/misc.c | if ((cluster = raw_found(sb,MSDOS_SB(sb)->dir_start+count,name, |
MSDOS_SB | 320 | fs/msdos/misc.c | for (count = 0; count < MSDOS_SB(sb)->cluster_size; count++) { |
MSDOS_SB | 321 | fs/msdos/misc.c | if ((cluster = raw_found(sb,(start-2)*MSDOS_SB(sb)-> |
MSDOS_SB | 322 | fs/msdos/misc.c | cluster_size+MSDOS_SB(sb)->data_start+count,name, |
MSDOS_SB | 96 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
MSDOS_SB | 193 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
MSDOS_SB | 220 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->name_check,name,len, |
MSDOS_SB | 376 | fs/msdos/namei.c | if (MSDOS_SB(old_dir->i_sb)->conversion == 'a') /* update binary info */ |
MSDOS_SB | 497 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(old_dir->i_sb)->name_check, |
MSDOS_SB | 499 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->name_check, |