Home
last modified time | relevance | path

Searched refs:cache_sb (Results 1 – 6 of 6) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/md/bcache/
H A Dfeatures.h34 static inline int bch_has_feature_##name(struct cache_sb *sb) \
41 static inline void bch_set_feature_##name(struct cache_sb *sb) \
46 static inline void bch_clear_feature_##name(struct cache_sb *sb) \
53 static inline int bch_has_feature_##name(struct cache_sb *sb) \
60 static inline void bch_set_feature_##name(struct cache_sb *sb) \
65 static inline void bch_clear_feature_##name(struct cache_sb *sb) \
72 static inline int bch_has_feature_##name(struct cache_sb *sb) \
79 static inline void bch_set_feature_##name(struct cache_sb *sb) \
84 static inline void bch_clear_feature_##name(struct cache_sb *sb) \
93 static inline bool bch_has_unknown_compat_features(struct cache_sb *sb) in bch_has_unknown_compat_features()
[all …]
H A Dbcache.h303 struct cache_sb sb;
409 struct cache_sb sb;
761 static inline unsigned int meta_bucket_pages(struct cache_sb *sb) in meta_bucket_pages()
776 static inline unsigned int meta_bucket_bytes(struct cache_sb *sb) in meta_bucket_bytes()
1033 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb);
H A Dsuper.c64 static unsigned int get_bucket_size(struct cache_sb *sb, struct cache_sb_disk *s) in get_bucket_size()
91 static const char *read_super_common(struct cache_sb *sb, struct block_device *bdev, in read_super_common()
166 static const char *read_super(struct cache_sb *sb, struct block_device *bdev, in read_super()
289 static void __write_super(struct cache_sb *sb, struct cache_sb_disk *out, in __write_super()
1475 static int register_bdev(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_bdev()
1484 memcpy(&dc->sb, sb, sizeof(struct cache_sb)); in register_bdev()
1880 struct cache_set *bch_cache_set_alloc(struct cache_sb *sb) in bch_cache_set_alloc()
2365 static int register_cache(struct cache_sb *sb, struct cache_sb_disk *sb_disk, in register_cache()
2372 memcpy(&ca->sb, sb, sizeof(struct cache_sb)); in register_cache()
2476 struct cache_sb *sb;
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dbcache.h159 struct cache_sb { struct
210 static __inline__ _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() argument
216 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1);
217 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1);
218 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3);
223 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4);
228 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2);
245 static __inline__ __u64 jset_magic(struct cache_sb *sb) in jset_magic()
250 static __inline__ __u64 pset_magic(struct cache_sb *sb) in pset_magic()
255 static __inline__ __u64 bset_magic(struct cache_sb *sb) in bset_magic()
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dbcache.h159 struct cache_sb { struct
210 static __inline__ _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() argument
216 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1);
217 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1);
218 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3);
223 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4);
228 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2);
245 static __inline__ __u64 jset_magic(struct cache_sb *sb) in jset_magic()
250 static __inline__ __u64 pset_magic(struct cache_sb *sb) in pset_magic()
255 static __inline__ __u64 bset_magic(struct cache_sb *sb) in bset_magic()
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A Dbcache.h225 struct cache_sb { struct
277 static inline _Bool SB_IS_BDEV(const struct cache_sb *sb) in SB_IS_BDEV() argument
284 BITMASK(CACHE_SYNC, struct cache_sb, flags, 0, 1);
285 BITMASK(CACHE_DISCARD, struct cache_sb, flags, 1, 1);
286 BITMASK(CACHE_REPLACEMENT, struct cache_sb, flags, 2, 3);
291 BITMASK(BDEV_CACHE_MODE, struct cache_sb, flags, 0, 4);
296 BITMASK(BDEV_STATE, struct cache_sb, flags, 61, 2);
313 static inline __u64 jset_magic(struct cache_sb *sb) in jset_magic()
318 static inline __u64 pset_magic(struct cache_sb *sb) in pset_magic()
323 static inline __u64 bset_magic(struct cache_sb *sb) in bset_magic()