Lines Matching refs:sb

34 static int sysv_sync_fs(struct super_block *sb, int wait)  in sysv_sync_fs()  argument
36 struct sysv_sb_info *sbi = SYSV_SB(sb); in sysv_sync_fs()
59 static int sysv_remount(struct super_block *sb, int *flags, char *data) in sysv_remount() argument
61 struct sysv_sb_info *sbi = SYSV_SB(sb); in sysv_remount()
63 sync_filesystem(sb); in sysv_remount()
69 static void sysv_put_super(struct super_block *sb) in sysv_put_super() argument
71 struct sysv_sb_info *sbi = SYSV_SB(sb); in sysv_put_super()
73 if (!(sb->s_flags & MS_RDONLY)) { in sysv_put_super()
89 struct super_block *sb = dentry->d_sb; in sysv_statfs() local
90 struct sysv_sb_info *sbi = SYSV_SB(sb); in sysv_statfs()
91 u64 id = huge_encode_dev(sb->s_bdev->bd_dev); in sysv_statfs()
93 buf->f_type = sb->s_magic; in sysv_statfs()
94 buf->f_bsize = sb->s_blocksize; in sysv_statfs()
96 buf->f_bavail = buf->f_bfree = sysv_count_free_blocks(sb); in sysv_statfs()
98 buf->f_ffree = sysv_count_free_inodes(sb); in sysv_statfs()
177 struct inode *sysv_iget(struct super_block *sb, unsigned int ino) in sysv_iget() argument
179 struct sysv_sb_info * sbi = SYSV_SB(sb); in sysv_iget()
188 sb->s_id, ino); in sysv_iget()
192 inode = iget_locked(sb, ino); in sysv_iget()
198 raw_inode = sysv_raw_inode(sb, ino, &bh); in sysv_iget()
239 struct super_block * sb = inode->i_sb; in __sysv_write_inode() local
240 struct sysv_sb_info * sbi = SYSV_SB(sb); in __sysv_write_inode()
253 raw_inode = sysv_raw_inode(sb, ino, &bh); in __sysv_write_inode()
279 sb->s_id, ino); in __sysv_write_inode()
312 static struct inode *sysv_alloc_inode(struct super_block *sb) in sysv_alloc_inode() argument