Home
last modified time | relevance | path

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

/mm/
Dcleancache.c36 static void cleancache_register_ops_sb(struct super_block *sb, void *unused) in cleancache_register_ops_sb() argument
38 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() argument
122 sb->cleancache_poolid = pool_id; in __cleancache_init_fs()
127 void __cleancache_init_shared_fs(struct super_block *sb) in __cleancache_init_shared_fs() argument
132 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 …]
Dshmem.c156 static inline struct shmem_sb_info *SHMEM_SB(struct super_block *sb) in SHMEM_SB() argument
158 return sb->s_fs_info; in SHMEM_SB()
272 static int shmem_reserve_inode(struct super_block *sb, ino_t *inop) in shmem_reserve_inode() argument
274 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_reserve_inode()
277 if (!(sb->s_flags & SB_KERNMOUNT)) { in shmem_reserve_inode()
298 __func__, MINOR(sb->s_dev)); in shmem_reserve_inode()
338 static void shmem_free_inode(struct super_block *sb) in shmem_free_inode() argument
340 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_free_inode()
661 static long shmem_unused_huge_scan(struct super_block *sb, in shmem_unused_huge_scan() argument
664 struct shmem_sb_info *sbinfo = SHMEM_SB(sb); in shmem_unused_huge_scan()
[all …]