Searched refs:sb (Results 1 – 2 of 2) sorted by relevance
36 static void cleancache_register_ops_sb(struct super_block *sb, void *unused) in cleancache_register_ops_sb() argument38 switch (sb->cleancache_poolid) { in cleancache_register_ops_sb()40 __cleancache_init_fs(sb); in cleancache_register_ops_sb()43 __cleancache_init_shared_fs(sb); in cleancache_register_ops_sb()113 void __cleancache_init_fs(struct super_block *sb) in __cleancache_init_fs() argument122 sb->cleancache_poolid = pool_id; in __cleancache_init_fs()127 void __cleancache_init_shared_fs(struct super_block *sb) in __cleancache_init_shared_fs() argument132 pool_id = cleancache_ops->init_shared_fs(&sb->s_uuid, PAGE_SIZE); in __cleancache_init_shared_fs()136 sb->cleancache_poolid = pool_id; in __cleancache_init_shared_fs()149 struct super_block *sb = inode->i_sb; in cleancache_get_key() local[all …]
158 static inline struct shmem_sb_info *SHMEM_SB(struct super_block *sb) in SHMEM_SB() argument160 return sb->s_fs_info; in SHMEM_SB()264 static int shmem_reserve_inode(struct super_block *sb) in shmem_reserve_inode() argument266 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_reserve_inode()279 static void shmem_free_inode(struct super_block *sb) in shmem_free_inode() argument281 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_free_inode()566 static long shmem_unused_huge_scan(struct super_block *sb, in shmem_unused_huge_scan() argument569 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_unused_huge_scan()577 static long shmem_unused_huge_count(struct super_block *sb, in shmem_unused_huge_count() argument580 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_unused_huge_count()[all …]