Lines Matching refs:sb
229 static struct inode *pstore_get_inode(struct super_block *sb) in pstore_get_inode() argument
231 struct inode *inode = new_inode(sb); in pstore_get_inode()
273 static int pstore_remount(struct super_block *sb, int *flags, char *data) in pstore_remount() argument
275 sync_filesystem(sb); in pstore_remount()
414 static int pstore_fill_super(struct super_block *sb, void *data, int silent) in pstore_fill_super() argument
418 save_mount_options(sb, data); in pstore_fill_super()
420 pstore_sb = sb; in pstore_fill_super()
422 sb->s_maxbytes = MAX_LFS_FILESIZE; in pstore_fill_super()
423 sb->s_blocksize = PAGE_CACHE_SIZE; in pstore_fill_super()
424 sb->s_blocksize_bits = PAGE_CACHE_SHIFT; in pstore_fill_super()
425 sb->s_magic = PSTOREFS_MAGIC; in pstore_fill_super()
426 sb->s_op = &pstore_ops; in pstore_fill_super()
427 sb->s_time_gran = 1; in pstore_fill_super()
431 inode = pstore_get_inode(sb); in pstore_fill_super()
438 sb->s_root = d_make_root(inode); in pstore_fill_super()
439 if (!sb->s_root) in pstore_fill_super()
453 static void pstore_kill_sb(struct super_block *sb) in pstore_kill_sb() argument
455 kill_litter_super(sb); in pstore_kill_sb()