Lines Matching refs:bkey_format
25 const struct bkey_format *,
200 void bch2_bkey_swab_key(const struct bkey_format *, struct bkey_packed *);
248 static inline unsigned bkey_format_key_bits(const struct bkey_format *format)
313 static inline unsigned bkeyp_key_u64s(const struct bkey_format *format,
319 static inline bool bkeyp_u64s_valid(const struct bkey_format *f,
325 static inline unsigned bkeyp_key_bytes(const struct bkey_format *format,
331 static inline unsigned bkeyp_val_u64s(const struct bkey_format *format,
337 static inline size_t bkeyp_val_bytes(const struct bkey_format *format,
343 static inline void set_bkeyp_val_u64s(const struct bkey_format *format,
352 extern const struct bkey_format bch2_bkey_format_current;
354 bool bch2_bkey_transform(const struct bkey_format *,
356 const struct bkey_format *,
359 struct bkey __bch2_bkey_unpack_key(const struct bkey_format *,
363 struct bpos __bkey_unpack_pos(const struct bkey_format *,
368 const struct bkey_format *);
388 const struct bkey_format *);
482 static inline u64 bkey_field_max(const struct bkey_format *f,
493 int bch2_compile_bkey_format(const struct bkey_format *, void *);
497 static inline int bch2_compile_bkey_format(const struct bkey_format *format,
513 static inline unsigned high_word_offset(const struct bkey_format *f)
523 static inline unsigned high_word_offset(const struct bkey_format *f)
577 struct bkey_format bch2_bkey_format_done(struct bkey_format_state *);
579 static inline bool bch2_bkey_format_field_overflows(struct bkey_format *f, unsigned i)
601 int bch2_bkey_format_invalid(struct bch_fs *, struct bkey_format *,
603 void bch2_bkey_format_to_text(struct printbuf *, const struct bkey_format *);