Home
last modified time | relevance | path

Searched refs:sb (Results 1 – 2 of 2) sorted by relevance

/mm/
Dcleancache.c37 static void cleancache_register_ops_sb(struct super_block *sb, void *unused) in cleancache_register_ops_sb() argument
39 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() argument
123 sb->cleancache_poolid = pool_id; in __cleancache_init_fs()
128 void __cleancache_init_shared_fs(struct super_block *sb) in __cleancache_init_shared_fs() argument
133 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 …]
Dshmem.c134 static inline struct shmem_sb_info *SHMEM_SB(struct super_block *sb) in SHMEM_SB() argument
136 return sb->s_fs_info; in SHMEM_SB()
199 static int shmem_reserve_inode(struct super_block *sb) in shmem_reserve_inode() argument
201 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() argument
216 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() argument
1419 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 …]