Lines Matching refs:sb
68 static inline struct adfs_sb_info *ADFS_SB(struct super_block *sb) in ADFS_SB() argument
70 return sb->s_fs_info; in ADFS_SB()
82 struct super_block *sb; member
129 int (*read)(struct super_block *sb, unsigned int id, unsigned int sz, struct adfs_dir *dir);
147 struct inode *adfs_iget(struct super_block *sb, struct object_info *obj);
152 extern int adfs_map_lookup(struct super_block *sb, unsigned int frag_id, unsigned int offset);
153 extern unsigned int adfs_map_free(struct super_block *sb);
157 void __adfs_error(struct super_block *sb, const char *function,
159 #define adfs_error(sb, fmt...) __adfs_error(sb, __func__, fmt) argument
174 extern int adfs_dir_update(struct super_block *sb, struct object_info *obj,
197 __adfs_block_map(struct super_block *sb, unsigned int object_id, in __adfs_block_map() argument
204 block += off << ADFS_SB(sb)->s_log2sharesize; in __adfs_block_map()
207 return adfs_map_lookup(sb, object_id >> 8, block); in __adfs_block_map()