Lines Matching refs:sb
32 static struct inode *qnx4_alloc_inode(struct super_block *sb);
46 struct super_block *sb = fc->root->d_sb;
49 sync_filesystem(sb);
50 qs = qnx4_sb(sb);
137 struct super_block *sb = dentry->d_sb;
138 u64 id = huge_encode_dev(sb->s_bdev->bd_dev);
140 buf->f_type = sb->s_magic;
141 buf->f_bsize = sb->s_blocksize;
142 buf->f_blocks = le32_to_cpu(qnx4_sb(sb)->BitMap->di_size) * 8;
143 buf->f_bfree = qnx4_count_free_blocks(sb);
156 static const char *qnx4_checkroot(struct super_block *sb,
166 QNX4DEBUG((KERN_NOTICE "QNX4 filesystem found on dev %s.\n", sb->s_id));
170 bh = sb_bread(sb, rd + j); /* root dir, first block */
178 qnx4_sb(sb)->BitMap = kmemdup(rootdir,
182 if (!qnx4_sb(sb)->BitMap)
257 static void qnx4_kill_sb(struct super_block *sb)
259 struct qnx4_sb_info *qs = qnx4_sb(sb);
260 kill_block_super(sb);
282 struct inode *qnx4_iget(struct super_block *sb, unsigned long ino)
290 inode = iget_locked(sb, ino);
303 sb->s_id, ino);
309 if (!(bh = sb_bread(sb, block))) {
311 "%s\n", sb->s_id);
343 ino, sb->s_id);
355 static struct inode *qnx4_alloc_inode(struct super_block *sb)
358 ei = alloc_inode_sb(sb, qnx4_inode_cachep, GFP_KERNEL);