Home
last modified time | relevance | path

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

/linux/fs/affs/
H A 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()
H A Dinode.c20 struct affs_sb_info *sbi = AFFS_SB(sb); in affs_iget()
193 if (!(inode->i_ino == AFFS_SB(sb)->s_root_block)) { in affs_write_inode()
196 if (affs_test_opt(AFFS_SB(sb)->s_flags, SF_MUFS)) { in affs_write_inode()
202 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETUID)) in affs_write_inode()
204 if (!affs_test_opt(AFFS_SB(sb)->s_flags, SF_SETGID)) in affs_write_inode()
229 affs_test_opt(AFFS_SB(inode->i_sb)->s_flags, SF_SETUID)) || in affs_notify_change()
231 affs_test_opt(AFFS_SB(inode->i_sb)->s_flags, SF_SETGID)) || in affs_notify_change()
233 (AFFS_SB(inode->i_sb)->s_flags & in affs_notify_change()
235 if (!affs_test_opt(AFFS_SB(inode->i_sb)->s_flags, SF_QUIET)) in affs_notify_change()
H A 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()
537 bsize = AFFS_SB(sb)->s_data_blksize; in affs_do_read_folio_ofs()
567 bsize = AFFS_SB(sb)->s_data_blksize; in affs_extent_file_ofs()
710 bsize = AFFS_SB(sb)->s_data_blksize; in affs_write_end_ofs()
878 last_blk = ((u32)inode->i_size - 1) / AFFS_SB(sb)->s_data_blksize; in affs_truncate()
879 ext = last_blk / AFFS_SB(sb)->s_hashsize; in affs_truncate()
926 i = last_blk % AFFS_SB(sb)->s_hashsize + 1; in affs_truncate()
931 size = AFFS_SB(sb)->s_hashsize; in affs_truncate()
[all …]
H A Daffs.h17 #define AFFS_BLOCK(sb, bh, blk) (AFFS_HEAD(bh)->table[AFFS_SB(sb)->s_hashsize-1-(blk)])
127 static inline struct affs_sb_info *AFFS_SB(struct super_block *sb) in AFFS_SB() function
224 return(block >= AFFS_SB(sb)->s_reserved && in affs_validblock()
225 block < AFFS_SB(sb)->s_partition_size); in affs_validblock()
H A 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()
H A Dsymlink.c35 struct affs_sb_info *sbi = AFFS_SB(inode->i_sb); in affs_symlink_read_folio()
H A 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()
H A Ddir.c137 for (; hash_pos < AFFS_SB(sb)->s_hashsize; hash_pos++) { in affs_readdir()