Searched refs:MSDOS_SB (Results 1 – 10 of 10) sorted by relevance
/linux-2.4.37.9/fs/fat/ |
D | misc.c | 80 down(&(MSDOS_SB(sb)->fat_lock)); in lock_fat() 85 up(&(MSDOS_SB(sb)->fat_lock)); in unlock_fat() 95 bh = fat_bread(sb, MSDOS_SB(sb)->fsinfo_sector); in fat_clusters_flush() 107 MSDOS_SB(sb)->fsinfo_sector); in fat_clusters_flush() 110 fsinfo->free_clusters = CF_LE_L(MSDOS_SB(sb)->free_clusters); in fat_clusters_flush() 111 fsinfo->next_cluster = CF_LE_L(MSDOS_SB(sb)->prev_free); in fat_clusters_flush() 124 int cluster_size = MSDOS_SB(sb)->cluster_size; in fat_add_cluster() 129 if (MSDOS_SB(sb)->free_clusters == 0) { in fat_add_cluster() 133 limit = MSDOS_SB(sb)->clusters; in fat_add_cluster() 136 nr = ((count + MSDOS_SB(sb)->prev_free) % limit) + 2; in fat_add_cluster() [all …]
|
D | cache.c | 32 return MSDOS_SB(sb)->cvf_format->fat_access(sb,nr,new_value); in fat_access() 37 return MSDOS_SB(inode->i_sb)->cvf_format->cvf_bmap(inode,sector); in fat_bmap() 46 if ((unsigned) (nr-2) >= MSDOS_SB(sb)->clusters) in default_fat_access() 48 if (MSDOS_SB(sb)->fat_bits == 32) { in default_fat_access() 50 } else if (MSDOS_SB(sb)->fat_bits == 16) { in default_fat_access() 56 b = MSDOS_SB(sb)->fat_start + (first >> sb->s_blocksize_bits); in default_fat_access() 70 if (MSDOS_SB(sb)->fat_bits == 32) { in default_fat_access() 79 } else if (MSDOS_SB(sb)->fat_bits == 16) { in default_fat_access() 92 if (MSDOS_SB(sb)->fat_bits == 32) { in default_fat_access() 95 } else if (MSDOS_SB(sb)->fat_bits == 16) { in default_fat_access() [all …]
|
D | buffer.c | 23 return MSDOS_SB(sb)->cvf_format->cvf_bread(sb,block); in fat_bread() 27 return MSDOS_SB(sb)->cvf_format->cvf_getblk(sb,block); in fat_getblk() 32 MSDOS_SB(sb)->cvf_format->cvf_brelse(sb,bh); in fat_brelse() 38 MSDOS_SB(sb)->cvf_format->cvf_mark_buffer_dirty(sb,bh); in fat_mark_buffer_dirty() 45 MSDOS_SB(sb)->cvf_format->cvf_set_uptodate(sb,bh,val); in fat_set_uptodate() 49 return MSDOS_SB(sb)->cvf_format->cvf_is_uptodate(sb,bh); in fat_is_uptodate() 57 MSDOS_SB(sb)->cvf_format->cvf_ll_rw_block(sb,opr,nbreq,bh); in fat_ll_rw_block()
|
D | inode.c | 181 if (MSDOS_SB(sb)->cvf_format->cvf_version) { in fat_put_super() 182 dec_cvf_format_use_count_by_version(MSDOS_SB(sb)->cvf_format->cvf_version); in fat_put_super() 183 MSDOS_SB(sb)->cvf_format->unmount_cvf(sb); in fat_put_super() 185 if (MSDOS_SB(sb)->fat_bits == 32) { in fat_put_super() 190 if (MSDOS_SB(sb)->nls_disk) { in fat_put_super() 191 unload_nls(MSDOS_SB(sb)->nls_disk); in fat_put_super() 192 MSDOS_SB(sb)->nls_disk = NULL; in fat_put_super() 193 MSDOS_SB(sb)->options.codepage = 0; in fat_put_super() 195 if (MSDOS_SB(sb)->nls_io) { in fat_put_super() 196 unload_nls(MSDOS_SB(sb)->nls_io); in fat_put_super() [all …]
|
D | dir.c | 192 struct nls_table *nls_io = MSDOS_SB(sb)->nls_io; in fat_search_long() 193 struct nls_table *nls_disk = MSDOS_SB(sb)->nls_disk; in fat_search_long() 198 int uni_xlate = MSDOS_SB(sb)->options.unicode_xlate; in fat_search_long() 199 int utf8 = MSDOS_SB(sb)->options.utf8; in fat_search_long() 200 unsigned short opt_shortname = MSDOS_SB(sb)->options.shortname; in fat_search_long() 359 struct nls_table *nls_io = MSDOS_SB(sb)->nls_io; in fat_readdirx() 360 struct nls_table *nls_disk = MSDOS_SB(sb)->nls_disk; in fat_readdirx() 366 int uni_xlate = MSDOS_SB(sb)->options.unicode_xlate; in fat_readdirx() 367 int isvfat = MSDOS_SB(sb)->options.isvfat; in fat_readdirx() 368 int utf8 = MSDOS_SB(sb)->options.utf8; in fat_readdirx() [all …]
|
D | file.c | 46 return MSDOS_SB(inode->i_sb)->cvf_format in fat_file_read() 69 if (!(iblock % MSDOS_SB(inode->i_sb)->cluster_size)) { in fat_get_block() 92 return MSDOS_SB(sb)->cvf_format in fat_file_write() 116 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_truncate()
|
/linux-2.4.37.9/fs/vfat/ |
D | namei.c | 230 struct nls_table *t = MSDOS_SB(dentry->d_inode->i_sb)->nls_io; in vfat_hashi() 253 struct nls_table *t = MSDOS_SB(dentry->d_inode->i_sb)->nls_io; in vfat_cmpi() 529 unsigned short opt_shortname = MSDOS_SB(dir->i_sb)->options.shortname; in vfat_create_shortname() 657 if (MSDOS_SB(dir->i_sb)->options.numtail == 0) in vfat_create_shortname() 800 utf8 = MSDOS_SB(dir->i_sb)->options.utf8; in vfat_fill_slots() 801 nls_io = MSDOS_SB(dir->i_sb)->nls_io; in vfat_fill_slots() 802 nls_disk = MSDOS_SB(dir->i_sb)->nls_disk; in vfat_fill_slots() 876 xlate = MSDOS_SB(dir->i_sb)->options.unicode_xlate; in vfat_build_slots() 907 (MSDOS_SB(sb)->options.name_check != 's') in vfat_add_entry() 908 || !MSDOS_SB(sb)->options.posixfs, in vfat_add_entry() [all …]
|
/linux-2.4.37.9/fs/msdos/ |
D | namei.c | 138 dotsOK = MSDOS_SB(dir->i_sb)->options.dotsOK; in msdos_find() 139 res = msdos_format_name(name,len, msdos_name,&MSDOS_SB(dir->i_sb)->options); in msdos_find() 163 struct fat_mount_options *options = & (MSDOS_SB(dentry->d_sb)->options); in msdos_hash() 179 struct fat_mount_options *options = & (MSDOS_SB(dentry->d_sb)->options); in msdos_cmp() 287 msdos_name, &MSDOS_SB(sb)->options); in msdos_create() 360 msdos_name, &MSDOS_SB(sb)->options); in msdos_mkdir() 555 &MSDOS_SB(old_dir->i_sb)->options); in msdos_rename() 560 &MSDOS_SB(new_dir->i_sb)->options); in msdos_rename() 595 MSDOS_SB(sb)->options.isvfat = 0; in msdos_read_super()
|
/linux-2.4.37.9/include/linux/ |
D | msdos_fs.h | 62 #define MSDOS_SB(s) (&((s)->u.msdos_sb)) macro 76 #define EOF_FAT(s) (MSDOS_SB(s)->fat_bits == 32 ? EOF_FAT32 : \ 77 MSDOS_SB(s)->fat_bits == 16 ? EOF_FAT16 : EOF_FAT12) 318 (*de - (struct msdos_dir_entry *)(*bh)->b_data) < MSDOS_SB(dir->i_sb)->dir_per_block - 1) { in fat_get_entry()
|
/linux-2.4.37.9/fs/umsdos/ |
D | inode.c | 376 MSDOS_SB(sb)->options.dotsOK = 0; /* disable hidden==dotfile */ in UMSDOS_read_super()
|