Home
last modified time | relevance | path

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

/linux-6.12.1/fs/fat/
Dnamei_msdos.c122 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in msdos_find()
153 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_hash()
170 struct fat_mount_options *options = &MSDOS_SB(dentry->d_sb)->options; in msdos_cmp()
209 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_lookup()
222 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_lookup()
231 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in msdos_add_entry()
274 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_create()
277 msdos_name, &MSDOS_SB(sb)->options); in msdos_create()
303 mutex_unlock(&MSDOS_SB(sb)->s_lock); in msdos_create()
317 mutex_lock(&MSDOS_SB(sb)->s_lock); in msdos_rmdir()
[all …]
Dfatent.c26 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat12_ent_blocknr()
36 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_ent_blocknr()
74 WARN_ON(blocknr < MSDOS_SB(sb)->fat_start); in fat12_ent_bread()
75 fatent->fat_inode = MSDOS_SB(sb)->fat_inode; in fat12_ent_bread()
105 const struct fatent_operations *ops = MSDOS_SB(sb)->fatent_ops; in fat_ent_bread()
107 WARN_ON(blocknr < MSDOS_SB(sb)->fat_start); in fat_ent_bread()
108 fatent->fat_inode = MSDOS_SB(sb)->fat_inode; in fat_ent_bread()
291 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_ent_access_init()
311 struct msdos_sb_info *sbi = MSDOS_SB(sb); in mark_fsinfo_dirty()
323 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_ent_update_ptr()
[all …]
Dnamei_vfat.c136 struct nls_table *t = MSDOS_SB(dentry->d_sb)->nls_io; in vfat_hashi()
158 struct nls_table *t = MSDOS_SB(dentry->d_sb)->nls_io; in vfat_cmpi()
331 struct fat_mount_options *opts = &MSDOS_SB(dir->i_sb)->options; in vfat_create_shortname()
584 struct msdos_sb_info *sbi = MSDOS_SB(dir->i_sb); in vfat_build_slots()
710 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
744 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
750 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
755 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_lookup()
768 mutex_lock(&MSDOS_SB(sb)->s_lock); in vfat_create()
786 mutex_unlock(&MSDOS_SB(sb)->s_lock); in vfat_create()
[all …]
Dnfs.c25 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_dget()
46 if (MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) in fat_ilookup()
65 if (inode == NULL && MSDOS_SB(sb)->options.nfs == FAT_NFS_NOSTALE_RO) { in __fat_nfs_get_inode()
70 fat_get_blknr_offset(MSDOS_SB(sb), i_pos, &blocknr, &offset); in __fat_nfs_get_inode()
104 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_encode_fh_nostale()
227 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_rebuild_parent()
274 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_get_parent()
Dfile.c38 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_ioctl_set_attributes()
122 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_ioctl_get_volume_id()
178 MSDOS_SB(inode->i_sb)->options.flush) { in fat_file_release()
195 err = sync_mapping_buffers(MSDOS_SB(inode->i_sb)->fat_inode->i_mapping); in fat_file_fsync()
268 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_fallocate()
373 inode->i_blocks = skip << (MSDOS_SB(sb)->cluster_bits - 9); in fat_free()
381 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_truncate_blocks()
402 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_getattr()
483 struct msdos_sb_info *sbi = MSDOS_SB(dentry->d_sb); in fat_setattr()
Dinode.c123 struct msdos_sb_info *sbi = MSDOS_SB(sb); in __fat_get_block()
376 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_hash_init()
391 struct msdos_sb_info *sbi = MSDOS_SB(sb); in dir_hash_init()
401 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_attach()
430 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_detach()
446 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_iget()
476 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_calc_dir_size()
501 MSDOS_I(dir)->i_start == MSDOS_SB(sb)->root_cluster) { in fat_validate_dir()
512 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_fill_inode()
597 fat_lock_build_inode(MSDOS_SB(sb)); in fat_build_inode()
[all …]
Dmisc.c23 struct fat_mount_options *opts = &MSDOS_SB(sb)->options; in __fat_fs_error()
70 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_clusters_flush()
110 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_chain_add()
316 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_truncate_time()
Ddir.c45 return ((loff_t)bh->b_blocknr << MSDOS_SB(sb)->dir_per_block_bits) in fat_make_i_pos()
53 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_dir_readahead()
123 MSDOS_SB(dir->i_sb)->dir_per_block - 1) { in fat_get_entry()
144 int uni_xlate = MSDOS_SB(sb)->options.unicode_xlate; in uni16_to_x8()
184 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_uni_to_x8()
365 const struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_parse_short()
479 struct msdos_sb_info *sbi = MSDOS_SB(sb); in fat_search_long()
570 struct msdos_sb_info *sbi = MSDOS_SB(sb); in __fat_readdir()
996 if (fat_get_start(MSDOS_SB(sb), sinfo->de) == i_logstart) { in fat_scan_logstart()
1097 sector_t last_blknr = blknr + MSDOS_SB(sb)->sec_per_clus; in fat_zeroed_cluster()
[all …]
Dfat.h144 static inline struct msdos_sb_info *MSDOS_SB(struct super_block *sb) in MSDOS_SB() function
171 struct msdos_sb_info *sbi = MSDOS_SB(sb); in max_fat()
191 struct msdos_sb_info *sbi = MSDOS_SB(inode->i_sb); in fat_mode_can_hold_ro()
448 __fat_fs_error(sb, __ratelimit(&MSDOS_SB(sb)->ratelimit), fmt , ## args)
460 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()