Lines Matching refs:sb
228 static struct inode *pstore_get_inode(struct super_block *sb) in pstore_get_inode() argument
230 struct inode *inode = new_inode(sb); in pstore_get_inode()
272 static int pstore_remount(struct super_block *sb, int *flags, char *data) in pstore_remount() argument
274 sync_filesystem(sb); in pstore_remount()
413 static int pstore_fill_super(struct super_block *sb, void *data, int silent) in pstore_fill_super() argument
417 save_mount_options(sb, data); in pstore_fill_super()
419 pstore_sb = sb; in pstore_fill_super()
421 sb->s_maxbytes = MAX_LFS_FILESIZE; in pstore_fill_super()
422 sb->s_blocksize = PAGE_CACHE_SIZE; in pstore_fill_super()
423 sb->s_blocksize_bits = PAGE_CACHE_SHIFT; in pstore_fill_super()
424 sb->s_magic = PSTOREFS_MAGIC; in pstore_fill_super()
425 sb->s_op = &pstore_ops; in pstore_fill_super()
426 sb->s_time_gran = 1; in pstore_fill_super()
430 inode = pstore_get_inode(sb); in pstore_fill_super()
437 sb->s_root = d_make_root(inode); in pstore_fill_super()
438 if (!sb->s_root) in pstore_fill_super()
452 static void pstore_kill_sb(struct super_block *sb) in pstore_kill_sb() argument
454 kill_litter_super(sb); in pstore_kill_sb()