Home
last modified time | relevance | path

Searched refs:AFFS_SB (Results 1 – 9 of 9) sorted by relevance

/Linux-v6.6/fs/affs/
Dbitmap.c26 mutex_lock(&AFFS_SB(sb)->s_bmlock); in affs_count_free_blocks()
28 bm = AFFS_SB(sb)->s_bitmap; in affs_count_free_blocks()
30 for (i = AFFS_SB(sb)->s_bmap_count; i > 0; bm++, i--) in affs_count_free_blocks()
33 mutex_unlock(&AFFS_SB(sb)->s_bmlock); in affs_count_free_blocks()
41 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_free_block()
126 sbi = AFFS_SB(sb); in affs_alloc_block()
251 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_init_bitmap()
355 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_free_bitmap()
Dsuper.c35 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_commit_super()
52 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_put_super()
82 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_mark_sb_dirty()
298 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_show_options()
536 if (affs_test_opt(AFFS_SB(sb)->s_flags, SF_INTL)) in affs_fill_super()
555 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_remount()
614 __func__, AFFS_SB(sb)->s_partition_size, in affs_statfs()
615 AFFS_SB(sb)->s_reserved); in affs_statfs()
620 buf->f_blocks = AFFS_SB(sb)->s_partition_size - AFFS_SB(sb)->s_reserved; in affs_statfs()
636 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_kill_sb()
Dinode.c20 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_iget()
196 if (!(inode->i_ino == AFFS_SB(sb)->s_root_block)) { in affs_write_inode()
199 if (affs_test_opt(AFFS_SB(sb)->s_flags, SF_MUFS)) { in affs_write_inode()
205 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETUID)) in affs_write_inode()
207 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETGID)) in affs_write_inode()
232 affs_test_opt(AFFS_SB(inode->i_sb)->s_flags, SF_SETUID)) || in affs_notify_change()
234 affs_test_opt(AFFS_SB(inode->i_sb)->s_flags, SF_SETGID)) || in affs_notify_change()
236 (AFFS_SB(inode->i_sb)->s_flags & in affs_notify_change()
238 if (!affs_test_opt(AFFS_SB(inode->i_sb)->s_flags, SF_QUIET)) in affs_notify_change()
Dfile.c317 ext = (u32)block / AFFS_SB(sb)->s_hashsize; in affs_get_block()
318 block -= ext * AFFS_SB(sb)->s_hashsize; in affs_get_block()
329 AFFS_I(inode)->mmu_private += AFFS_SB(sb)->s_data_blksize; in affs_get_block()
538 bsize = AFFS_SB(sb)->s_data_blksize; in affs_do_read_folio_ofs()
568 bsize = AFFS_SB(sb)->s_data_blksize; in affs_extent_file_ofs()
712 bsize = AFFS_SB(sb)->s_data_blksize; in affs_write_end_ofs()
879 last_blk = ((u32)inode->i_size - 1) / AFFS_SB(sb)->s_data_blksize; in affs_truncate()
880 ext = last_blk / AFFS_SB(sb)->s_hashsize; in affs_truncate()
927 i = last_blk % AFFS_SB(sb)->s_hashsize + 1; in affs_truncate()
932 size = AFFS_SB(sb)->s_hashsize; in affs_truncate()
[all …]
Daffs.h19 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)])
128 static inline struct affs_sb_info *AFFS_SB(struct super_block *sb) in AFFS_SB() function
225 return(block >= AFFS_SB(sb)->s_reserved && in affs_validblock()
226 block < AFFS_SB(sb)->s_partition_size); in affs_validblock()
Dnamei.c38 return affs_test_opt(AFFS_SB(sb)->s_flags, SF_INTL) ? in affs_get_toupper()
166 return hash % AFFS_SB(sb)->s_hashsize; in affs_hash_name()
265 inode->i_mapping->a_ops = affs_test_opt(AFFS_SB(sb)->s_flags, SF_OFS) ? in affs_create()
329 maxlen = AFFS_SB(sb)->s_hashsize * sizeof(u32) - 1; in affs_symlink()
348 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_symlink()
Dsymlink.c35 struct affs_sb_info *sbi = AFFS_SB(inode->i_sb); in affs_symlink_read_folio()
Ddir.c105 for (; hash_pos < AFFS_SB(sb)->s_hashsize; hash_pos++) { in affs_readdir()
Damigaffs.c246 for (size = AFFS_SB(sb)->s_hashsize - 1; size >= 0; size--) in affs_empty_dir()
504 return affs_test_opt(AFFS_SB(dentry->d_sb)->s_flags, SF_NO_TRUNCATE); in affs_nofilenametruncate()