Searched refs:sb (Results 1 – 2 of 2) sorted by relevance
37 static void cleancache_register_ops_sb(struct super_block *sb, void *unused) in cleancache_register_ops_sb() argument39 switch (sb->cleancache_poolid) { in cleancache_register_ops_sb()41 __cleancache_init_fs(sb); in cleancache_register_ops_sb()44 __cleancache_init_shared_fs(sb); in cleancache_register_ops_sb()114 void __cleancache_init_fs(struct super_block *sb) in __cleancache_init_fs() argument123 sb->cleancache_poolid = pool_id; in __cleancache_init_fs()128 void __cleancache_init_shared_fs(struct super_block *sb) in __cleancache_init_shared_fs() argument133 pool_id = cleancache_ops->init_shared_fs(sb->s_uuid, PAGE_SIZE); in __cleancache_init_shared_fs()137 sb->cleancache_poolid = pool_id; in __cleancache_init_shared_fs()150 struct super_block *sb = inode->i_sb; in cleancache_get_key() local[all …]
134 static inline struct shmem_sb_info *SHMEM_SB(struct super_block *sb) in SHMEM_SB() argument136 return sb->s_fs_info; in SHMEM_SB()199 static int shmem_reserve_inode(struct super_block *sb) in shmem_reserve_inode() argument201 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_reserve_inode()214 static void shmem_free_inode(struct super_block *sb) in shmem_free_inode() argument216 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_free_inode()1414 static struct inode *shmem_get_inode(struct super_block *sb, const struct inode *dir, in shmem_get_inode() argument1419 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_get_inode()1421 if (shmem_reserve_inode(sb)) in shmem_get_inode()1424 inode = new_inode(sb); in shmem_get_inode()[all …]