tag | line | file | source code |
MSDOS_SB | 27 | fs/fat/cache.c | if ((unsigned) (nr-2) >= MSDOS_SB(sb)->clusters) return 0; |
MSDOS_SB | 28 | fs/fat/cache.c | if (MSDOS_SB(sb)->fat_bits == 16) first = last = nr*2; |
MSDOS_SB | 33 | fs/fat/cache.c | if (!(bh = breada(sb->s_dev,MSDOS_SB(sb)->fat_start+(first >> |
MSDOS_SB | 41 | fs/fat/cache.c | if (!(bh2 = breada(sb->s_dev,MSDOS_SB(sb)->fat_start+(last |
MSDOS_SB | 48 | fs/fat/cache.c | if (MSDOS_SB(sb)->fat_bits == 16) { |
MSDOS_SB | 63 | fs/fat/cache.c | if (MSDOS_SB(sb)->fat_bits == 16) |
MSDOS_SB | 78 | fs/fat/cache.c | for (copy = 1; copy < MSDOS_SB(sb)->fats; copy++) { |
MSDOS_SB | 79 | fs/fat/cache.c | if (!(c_bh = breada(sb->s_dev,MSDOS_SB(sb)-> |
MSDOS_SB | 80 | fs/fat/cache.c | fat_start+(first >> SECTOR_BITS)+MSDOS_SB(sb)-> |
MSDOS_SB | 86 | fs/fat/cache.c | MSDOS_SB(sb)->fat_start+(first >> |
MSDOS_SB | 87 | fs/fat/cache.c | SECTOR_BITS)+MSDOS_SB(sb)->fat_length*copy |
MSDOS_SB | 248 | fs/fat/cache.c | sb = MSDOS_SB(inode->i_sb); |
MSDOS_SB | 279 | fs/fat/cache.c | fat_access(inode->i_sb,last,MSDOS_SB(inode->i_sb)->fat_bits == |
MSDOS_SB | 291 | fs/fat/cache.c | if (MSDOS_SB(inode->i_sb)->free_clusters != -1) |
MSDOS_SB | 292 | fs/fat/cache.c | MSDOS_SB(inode->i_sb)->free_clusters++; |
MSDOS_SB | 293 | fs/fat/cache.c | inode->i_blocks -= MSDOS_SB(inode->i_sb)->cluster_size; |
MSDOS_SB | 116 | fs/fat/dir.c | int uni_xlate = MSDOS_SB(sb)->options.unicode_xlate; |
MSDOS_SB | 141 | fs/fat/dir.c | if (MSDOS_SB(sb)->options.isvfat && (de->name[0] == (__s8) DELETED_FLAG)) { |
MSDOS_SB | 144 | fs/fat/dir.c | } else if (MSDOS_SB(sb)->options.isvfat && de->attr == ATTR_EXT) { |
MSDOS_SB | 230 | fs/fat/dir.c | if ((de->attr & ATTR_HIDDEN) && MSDOS_SB(sb)->options.dotsOK) { |
MSDOS_SB | 373 | fs/fat/file.c | cluster = SECTOR_SIZE*MSDOS_SB(inode->i_sb)->cluster_size; |
MSDOS_SB | 247 | fs/fat/inode.c | MSDOS_SB(sb)->cluster_size = b->cluster_size*sector_mult; |
MSDOS_SB | 248 | fs/fat/inode.c | MSDOS_SB(sb)->fats = b->fats; |
MSDOS_SB | 249 | fs/fat/inode.c | MSDOS_SB(sb)->fat_start = CF_LE_W(b->reserved)*sector_mult; |
MSDOS_SB | 250 | fs/fat/inode.c | MSDOS_SB(sb)->fat_length = CF_LE_W(b->fat_length)*sector_mult; |
MSDOS_SB | 251 | fs/fat/inode.c | MSDOS_SB(sb)->dir_start = (CF_LE_W(b->reserved)+b->fats*CF_LE_W( |
MSDOS_SB | 253 | fs/fat/inode.c | MSDOS_SB(sb)->dir_entries = CF_LE_W(*((unsigned short *) &b->dir_entries |
MSDOS_SB | 255 | fs/fat/inode.c | MSDOS_SB(sb)->data_start = MSDOS_SB(sb)->dir_start+ROUND_TO_MULTIPLE(( |
MSDOS_SB | 256 | fs/fat/inode.c | MSDOS_SB(sb)->dir_entries << MSDOS_DIR_BITS) >> SECTOR_BITS, |
MSDOS_SB | 260 | fs/fat/inode.c | CF_LE_L(b->total_sect))*sector_mult-MSDOS_SB(sb)->data_start; |
MSDOS_SB | 263 | fs/fat/inode.c | MSDOS_SB(sb)->clusters = b->cluster_size ? data_sectors/ |
MSDOS_SB | 265 | fs/fat/inode.c | MSDOS_SB(sb)->fat_bits = fat ? fat : MSDOS_SB(sb)->clusters > |
MSDOS_SB | 267 | fs/fat/inode.c | fat_clusters = MSDOS_SB(sb)->fat_length*SECTOR_SIZE*8/ |
MSDOS_SB | 268 | fs/fat/inode.c | MSDOS_SB(sb)->fat_bits; |
MSDOS_SB | 269 | fs/fat/inode.c | error = !MSDOS_SB(sb)->fats || (MSDOS_SB(sb)->dir_entries & |
MSDOS_SB | 270 | fs/fat/inode.c | (MSDOS_DPS-1)) || MSDOS_SB(sb)->clusters+2 > fat_clusters+ |
MSDOS_SB | 288 | fs/fat/inode.c | MSDOS_SB(sb)->fat_bits,opts.name_check, |
MSDOS_SB | 290 | fs/fat/inode.c | MSDOS_CAN_BMAP(MSDOS_SB(sb)) ? ",bmap" : ""); |
MSDOS_SB | 292 | fs/fat/inode.c | "se=%d,ts=%ld,ls=%d]\n",b->media,MSDOS_SB(sb)->cluster_size, |
MSDOS_SB | 293 | fs/fat/inode.c | MSDOS_SB(sb)->fats,MSDOS_SB(sb)->fat_start,MSDOS_SB(sb)->fat_length, |
MSDOS_SB | 294 | fs/fat/inode.c | MSDOS_SB(sb)->dir_start,MSDOS_SB(sb)->dir_entries, |
MSDOS_SB | 295 | fs/fat/inode.c | MSDOS_SB(sb)->data_start, |
MSDOS_SB | 300 | fs/fat/inode.c | if (MSDOS_SB(sb)->clusters+2 > fat_clusters) |
MSDOS_SB | 301 | fs/fat/inode.c | MSDOS_SB(sb)->clusters = fat_clusters-2; |
MSDOS_SB | 312 | fs/fat/inode.c | MSDOS_SB(sb)->free_clusters = -1; /* don't know yet */ |
MSDOS_SB | 313 | fs/fat/inode.c | MSDOS_SB(sb)->fat_wait = NULL; |
MSDOS_SB | 314 | fs/fat/inode.c | MSDOS_SB(sb)->fat_lock = 0; |
MSDOS_SB | 315 | fs/fat/inode.c | MSDOS_SB(sb)->prev_free = 0; |
MSDOS_SB | 316 | fs/fat/inode.c | memcpy(&(MSDOS_SB(sb)->options), &opts, sizeof(struct fat_mount_options)); |
MSDOS_SB | 333 | fs/fat/inode.c | if (MSDOS_SB(sb)->free_clusters != -1) |
MSDOS_SB | 334 | fs/fat/inode.c | free = MSDOS_SB(sb)->free_clusters; |
MSDOS_SB | 337 | fs/fat/inode.c | for (nr = 2; nr < MSDOS_SB(sb)->clusters+2; nr++) |
MSDOS_SB | 339 | fs/fat/inode.c | MSDOS_SB(sb)->free_clusters = free; |
MSDOS_SB | 343 | fs/fat/inode.c | tmp.f_bsize = MSDOS_SB(sb)->cluster_size*SECTOR_SIZE; |
MSDOS_SB | 344 | fs/fat/inode.c | tmp.f_blocks = MSDOS_SB(sb)->clusters; |
MSDOS_SB | 359 | fs/fat/inode.c | sb = MSDOS_SB(inode->i_sb); |
MSDOS_SB | 391 | fs/fat/inode.c | inode->i_uid = MSDOS_SB(inode->i_sb)->options.fs_uid; |
MSDOS_SB | 392 | fs/fat/inode.c | inode->i_gid = MSDOS_SB(inode->i_sb)->options.fs_gid; |
MSDOS_SB | 395 | fs/fat/inode.c | inode->i_mode = (S_IRWXUGO & ~MSDOS_SB(inode->i_sb)->options.fs_umask) | |
MSDOS_SB | 400 | fs/fat/inode.c | inode->i_size = MSDOS_SB(inode->i_sb)->dir_entries* |
MSDOS_SB | 402 | fs/fat/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size* |
MSDOS_SB | 405 | fs/fat/inode.c | inode->i_blksize*MSDOS_SB(inode->i_sb)->cluster_size; |
MSDOS_SB | 421 | fs/fat/inode.c | ~MSDOS_SB(inode->i_sb)->options.fs_umask) | S_IFDIR; |
MSDOS_SB | 436 | fs/fat/inode.c | inode->i_size += SECTOR_SIZE*MSDOS_SB(inode-> |
MSDOS_SB | 447 | fs/fat/inode.c | (MSDOS_SB(inode->i_sb)->options.showexec && |
MSDOS_SB | 450 | fs/fat/inode.c | & ~MSDOS_SB(inode->i_sb)->options.fs_umask) | S_IFREG; |
MSDOS_SB | 459 | fs/fat/inode.c | if (MSDOS_SB(inode->i_sb)->options.sys_immutable) |
MSDOS_SB | 461 | fs/fat/inode.c | MSDOS_I(inode)->i_binary = is_binary(MSDOS_SB(inode->i_sb)->options.conversion, |
MSDOS_SB | 465 | fs/fat/inode.c | inode->i_blksize = MSDOS_SB(inode->i_sb)->cluster_size*SECTOR_SIZE; |
MSDOS_SB | 467 | fs/fat/inode.c | inode->i_blksize*MSDOS_SB(inode->i_sb)->cluster_size; |
MSDOS_SB | 471 | fs/fat/inode.c | MSDOS_SB(inode->i_sb)->options.isvfat |
MSDOS_SB | 531 | fs/fat/inode.c | if (MSDOS_SB(sb)->options.isvfat) { |
MSDOS_SB | 547 | fs/fat/inode.c | return MSDOS_SB(inode->i_sb)->options.quiet ? 0 : error; |
MSDOS_SB | 550 | fs/fat/inode.c | (attr->ia_uid != MSDOS_SB(inode->i_sb)->options.fs_uid)) || |
MSDOS_SB | 552 | fs/fat/inode.c | (attr->ia_gid != MSDOS_SB(inode->i_sb)->options.fs_gid)) || |
MSDOS_SB | 558 | fs/fat/inode.c | return MSDOS_SB(inode->i_sb)->options.quiet ? 0 : error; |
MSDOS_SB | 568 | fs/fat/inode.c | & ~MSDOS_SB(inode->i_sb)->options.fs_umask) | S_IRUSR) >> 6)*S_IXUGO)) & |
MSDOS_SB | 569 | fs/fat/inode.c | ~MSDOS_SB(inode->i_sb)->options.fs_umask; |
MSDOS_SB | 99 | fs/fat/misc.c | while (MSDOS_SB(sb)->fat_lock) sleep_on(&MSDOS_SB(sb)->fat_wait); |
MSDOS_SB | 100 | fs/fat/misc.c | MSDOS_SB(sb)->fat_lock = 1; |
MSDOS_SB | 106 | fs/fat/misc.c | MSDOS_SB(sb)->fat_lock = 0; |
MSDOS_SB | 107 | fs/fat/misc.c | wake_up(&MSDOS_SB(sb)->fat_wait); |
MSDOS_SB | 121 | fs/fat/misc.c | int cluster_size = MSDOS_SB(inode->i_sb)->cluster_size; |
MSDOS_SB | 124 | fs/fat/misc.c | if (!MSDOS_SB(inode->i_sb)->free_clusters) return -ENOSPC; |
MSDOS_SB | 126 | fs/fat/misc.c | limit = MSDOS_SB(inode->i_sb)->clusters; |
MSDOS_SB | 129 | fs/fat/misc.c | nr = ((count+MSDOS_SB(inode->i_sb)->prev_free) % limit)+2; |
MSDOS_SB | 136 | fs/fat/misc.c | MSDOS_SB(inode->i_sb)->prev_free = (count+MSDOS_SB(inode->i_sb)-> |
MSDOS_SB | 139 | fs/fat/misc.c | MSDOS_SB(inode->i_sb)->free_clusters = 0; |
MSDOS_SB | 143 | fs/fat/misc.c | fat_access(inode->i_sb,nr,MSDOS_SB(inode->i_sb)->fat_bits == 12 ? |
MSDOS_SB | 145 | fs/fat/misc.c | if (MSDOS_SB(inode->i_sb)->free_clusters != -1) |
MSDOS_SB | 146 | fs/fat/misc.c | MSDOS_SB(inode->i_sb)->free_clusters--; |
MSDOS_SB | 188 | fs/fat/misc.c | sector = MSDOS_SB(inode->i_sb)->data_start+(nr-2)*cluster_size; |
MSDOS_SB | 419 | fs/fat/misc.c | for (count = 0; count < MSDOS_SB(sb)->dir_entries/MSDOS_DPS; count++) { |
MSDOS_SB | 420 | fs/fat/misc.c | if ((cluster = raw_scan_sector(sb,MSDOS_SB(sb)->dir_start+count, |
MSDOS_SB | 442 | fs/fat/misc.c | for (count = 0; count < MSDOS_SB(sb)->cluster_size; count++) { |
MSDOS_SB | 444 | fs/fat/misc.c | MSDOS_SB(sb)->cluster_size+MSDOS_SB(sb)->data_start+ |
MSDOS_SB | 157 | fs/msdos/namei.c | dotsOK = MSDOS_SB(dir->i_sb)->options.dotsOK; |
MSDOS_SB | 158 | fs/msdos/namei.c | res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
MSDOS_SB | 305 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
MSDOS_SB | 307 | fs/msdos/namei.c | MSDOS_SB(dir->i_sb)->options.dotsOK)) < 0) { |
MSDOS_SB | 431 | fs/msdos/namei.c | if ((res = msdos_format_name(MSDOS_SB(dir->i_sb)->options.name_check, |
MSDOS_SB | 433 | fs/msdos/namei.c | MSDOS_SB(dir->i_sb)->options.dotsOK)) < 0) { |
MSDOS_SB | 747 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(old_dir->i_sb)->options.name_check, |
MSDOS_SB | 749 | fs/msdos/namei.c | MSDOS_SB(old_dir->i_sb)->options.dotsOK)) |
MSDOS_SB | 751 | fs/msdos/namei.c | if ((error = msdos_format_name(MSDOS_SB(new_dir->i_sb)->options.name_check, |
MSDOS_SB | 753 | fs/msdos/namei.c | MSDOS_SB(new_dir->i_sb)->options.dotsOK)) |
MSDOS_SB | 407 | fs/umsdos/inode.c | MSDOS_SB(sb)->options.dotsOK = 0; /* disable hidden==dotfile */ |
MSDOS_SB | 145 | fs/vfat/namei.c | if (!parse_options((char *) data, &(MSDOS_SB(sb)->options))) { |
MSDOS_SB | 148 | fs/vfat/namei.c | MSDOS_SB(sb)->options.isvfat = 1; |
MSDOS_SB | 149 | fs/vfat/namei.c | MSDOS_SB(sb)->options.dotsOK = 0; |
MSDOS_SB | 514 | fs/vfat/namei.c | if (MSDOS_SB(dir->i_sb)->options.numtail == 0) { |
MSDOS_SB | 723 | fs/vfat/namei.c | xlate = MSDOS_SB(dir->i_sb)->options.unicode_xlate; |
MSDOS_SB | 823 | fs/vfat/namei.c | vf.posix = MSDOS_SB(sb)->options.posixfs; |