Lines Matching refs:sb

30 static struct inode *qnx4_alloc_inode(struct super_block *sb);
32 static int qnx4_remount(struct super_block *sb, int *flags, char *data);
43 static int qnx4_remount(struct super_block *sb, int *flags, char *data) in qnx4_remount() argument
47 sync_filesystem(sb); in qnx4_remount()
48 qs = qnx4_sb(sb); in qnx4_remount()
130 struct super_block *sb = dentry->d_sb; in qnx4_statfs() local
131 u64 id = huge_encode_dev(sb->s_bdev->bd_dev); in qnx4_statfs()
133 buf->f_type = sb->s_magic; in qnx4_statfs()
134 buf->f_bsize = sb->s_blocksize; in qnx4_statfs()
135 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8; in qnx4_statfs()
136 buf->f_bfree = qnx4_count_free_blocks(sb); in qnx4_statfs()
150 static const char *qnx4_checkroot(struct super_block *sb, in qnx4_checkroot() argument
160 QNX4DEBUG((KERN_NOTICE "QNX4 filesystem found on dev %s.\n", sb->s_id)); in qnx4_checkroot()
164 bh = sb_bread(sb, rd + j); /* root dir, first block */ in qnx4_checkroot()
172 qnx4_sb(sb)->BitMap = kmemdup(rootdir, in qnx4_checkroot()
176 if (!qnx4_sb(sb)->BitMap) in qnx4_checkroot()
236 static void qnx4_kill_sb(struct super_block *sb) in qnx4_kill_sb() argument
238 struct qnx4_sb_info *qs = qnx4_sb(sb); in qnx4_kill_sb()
239 kill_block_super(sb); in qnx4_kill_sb()
260 struct inode *qnx4_iget(struct super_block *sb, unsigned long ino) in qnx4_iget() argument
268 inode = iget_locked(sb, ino); in qnx4_iget()
281 sb->s_id, ino); in qnx4_iget()
287 if (!(bh = sb_bread(sb, block))) { in qnx4_iget()
289 "%s\n", sb->s_id); in qnx4_iget()
323 ino, sb->s_id); in qnx4_iget()
335 static struct inode *qnx4_alloc_inode(struct super_block *sb) in qnx4_alloc_inode() argument