Linux Audio

Check our new training course

Linux kernel drivers training

Mar 31-Apr 9, 2025, special US time zones
Register
Loading...
v6.2
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _BCACHE_EXTENTS_H
 3#define _BCACHE_EXTENTS_H
 4
 5extern const struct btree_keys_ops bch_btree_keys_ops;
 6extern const struct btree_keys_ops bch_extent_keys_ops;
 7
 8struct bkey;
 9struct cache_set;
10
11void bch_extent_to_text(char *buf, size_t size, const struct bkey *k);
12bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k);
13bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
14
15#endif /* _BCACHE_EXTENTS_H */
v5.4
 1/* SPDX-License-Identifier: GPL-2.0 */
 2#ifndef _BCACHE_EXTENTS_H
 3#define _BCACHE_EXTENTS_H
 4
 5extern const struct btree_keys_ops bch_btree_keys_ops;
 6extern const struct btree_keys_ops bch_extent_keys_ops;
 7
 8struct bkey;
 9struct cache_set;
10
11void bch_extent_to_text(char *buf, size_t size, const struct bkey *k);
12bool __bch_btree_ptr_invalid(struct cache_set *c, const struct bkey *k);
13bool __bch_extent_invalid(struct cache_set *c, const struct bkey *k);
14
15#endif /* _BCACHE_EXTENTS_H */