Home
last modified time | relevance | path

Searched refs:MSDOS_SB (Results 1 – 11 of 11) sorted by relevance

/linux-4.19.296/fs/fat/
Dnamei_msdos.c121 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in msdos_find()
152 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_hash()
169 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_cmp()
208 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_lookup()
221 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_lookup()
230 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in msdos_add_entry()
273 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_create()
276 msdos_name, &MSDOS_SB(sb)->options); in msdos_create()
302 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_create()
316 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_rmdir()
[all …]
Dfatent.c25 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat12_ent_blocknr()
35 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_ent_blocknr()
73 WARN_ON(blocknr < MSDOS_SB(sb)->fat_start); in fat12_ent_bread()
74 fatent->fat_inode = MSDOS_SB(sb)->fat_inode; in fat12_ent_bread()
104 const struct fatent_operations *ops = MSDOS_SB(sb)->fatent_ops; in fat_ent_bread()
106 WARN_ON(blocknr < MSDOS_SB(sb)->fat_start); in fat_ent_bread()
107 fatent->fat_inode = MSDOS_SB(sb)->fat_inode; in fat_ent_bread()
290 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_ent_access_init()
312 struct msdos_sb_info *sbi = MSDOS_SB(sb); in mark_fsinfo_dirty()
324 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_ent_update_ptr()
[all …]
Dnamei_vfat.c135 struct nls_table *t = MSDOS_SB(dentry->d_sb)->nls_io; in vfat_hashi()
157 struct nls_table *t = MSDOS_SB(dentry->d_sb)->nls_io; in vfat_cmpi()
330 struct fat_mount_options *opts = &MSDOS_SB(dir->i_sb)->options; in vfat_create_shortname()
583 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in vfat_build_slots()
709 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
743 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
749 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
754 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
767 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_create()
787 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_create()
[all …]
Dnfs.c34 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_dget()
55 if (MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) in fat_ilookup()
74 if (inode == NULL && MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) { in __fat_nfs_get_inode()
79 fat_get_blknr_offset(MSDOS_SB(sb), i_pos, &blocknr, &offset); in __fat_nfs_get_inode()
113 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_encode_fh_nostale()
230 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_rebuild_parent()
277 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_get_parent()
Dfile.c37 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_ioctl_set_attributes()
120 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_ioctl_get_volume_id()
186 MSDOS_SB(inode->i_sb)->options.flush) { in fat_file_release()
202 err = sync_mapping_buffers(MSDOS_SB(inode->i_sb)->fat_inode->i_mapping); in fat_file_fsync()
276 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_fallocate()
381 inode->i_blocks = skip << (MSDOS_SB(sb)->cluster_bits - 9); in fat_free()
389 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_truncate_blocks()
411 stat->blksize = MSDOS_SB(inode->i_sb)->cluster_size; in fat_getattr()
413 if (MSDOS_SB(inode->i_sb)->options.nfs == FAT_NFS_NOSTALE_RO) { in fat_getattr()
415 stat->ino = fat_i_pos_read(MSDOS_SB(inode->i_sb), inode); in fat_getattr()
[all …]
Dinode.c117 struct msdos_sb_info *sbi = MSDOS_SB(sb); in __fat_get_block()
375 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_hash_init()
390 struct msdos_sb_info *sbi = MSDOS_SB(sb); in dir_hash_init()
400 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_attach()
429 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_detach()
445 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_iget()
475 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_calc_dir_size()
500 MSDOS_I(dir)->i_start == MSDOS_SB(sb)->root_cluster) { in fat_validate_dir()
511 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_fill_inode()
590 fat_lock_build_inode(MSDOS_SB(sb)); in fat_build_inode()
[all …]
Ddir.c44 return ((loff_t)bh->b_blocknr << MSDOS_SB(sb)->dir_per_block_bits) in fat_make_i_pos()
52 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_dir_readahead()
124 MSDOS_SB(dir->i_sb)->dir_per_block - 1) { in fat_get_entry()
145 int uni_xlate = MSDOS_SB(sb)->options.unicode_xlate; in uni16_to_x8()
185 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_uni_to_x8()
354 const struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_parse_short()
466 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_search_long()
557 struct msdos_sb_info *sbi = MSDOS_SB(sb); in __fat_readdir()
987 if (fat_get_start(MSDOS_SB(sb), sinfo->de) == i_logstart) { in fat_scan_logstart()
1088 sector_t last_blknr = blknr + MSDOS_SB(sb)->sec_per_clus; in fat_zeroed_cluster()
[all …]
Dmisc.c21 struct fat_mount_options *opts = &MSDOS_SB(sb)->options; in __fat_fs_error()
62 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_clusters_flush()
102 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_chain_add()
Dfat.h140 static inline struct msdos_sb_info *MSDOS_SB(struct super_block *sb) in MSDOS_SB() function
159 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_mode_can_hold_ro()
405 __fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args)
410 if (__ratelimit(&MSDOS_SB(sb)->ratelimit)) \
Dcache.c228 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_get_cluster()
315 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_get_mapped_cluster()
361 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_bmap()
/linux-4.19.296/include/uapi/linux/
Dmsdos_fs.h61 #define FAT_FIRST_ENT(s, x) ((MSDOS_SB(s)->fat_bits == 32 ? 0x0FFFFF00 : \
62 MSDOS_SB(s)->fat_bits == 16 ? 0xFF00 : 0xF00) | (x))
71 #define MAX_FAT(s) (MSDOS_SB(s)->fat_bits == 32 ? MAX_FAT32 : \
72 MSDOS_SB(s)->fat_bits == 16 ? MAX_FAT16 : MAX_FAT12)