Lines Matching refs:bkey_format

32 				     const struct bkey_format *,
206 void bch2_bkey_swab_key(const struct bkey_format *, struct bkey_packed *);
254 static inline unsigned bkey_format_key_bits(const struct bkey_format *format) in bkey_format_key_bits()
319 static inline unsigned bkeyp_key_u64s(const struct bkey_format *format, in bkeyp_key_u64s()
325 static inline bool bkeyp_u64s_valid(const struct bkey_format *f, in bkeyp_u64s_valid()
331 static inline unsigned bkeyp_key_bytes(const struct bkey_format *format, in bkeyp_key_bytes()
337 static inline unsigned bkeyp_val_u64s(const struct bkey_format *format, in bkeyp_val_u64s()
343 static inline size_t bkeyp_val_bytes(const struct bkey_format *format, in bkeyp_val_bytes()
349 static inline void set_bkeyp_val_u64s(const struct bkey_format *format, in set_bkeyp_val_u64s()
358 extern const struct bkey_format bch2_bkey_format_current;
360 bool bch2_bkey_transform(const struct bkey_format *,
362 const struct bkey_format *,
365 struct bkey __bch2_bkey_unpack_key(const struct bkey_format *,
369 struct bpos __bkey_unpack_pos(const struct bkey_format *,
374 const struct bkey_format *);
394 const struct bkey_format *);
489 static inline u64 bkey_field_max(const struct bkey_format *f, in bkey_field_max()
500 int bch2_compile_bkey_format(const struct bkey_format *, void *);
504 static inline int bch2_compile_bkey_format(const struct bkey_format *format, in bch2_compile_bkey_format()
520 static inline unsigned high_word_offset(const struct bkey_format *f) in high_word_offset()
530 static inline unsigned high_word_offset(const struct bkey_format *f) in high_word_offset()
584 struct bkey_format bch2_bkey_format_done(struct bkey_format_state *);
586 static inline bool bch2_bkey_format_field_overflows(struct bkey_format *f, unsigned i) in bch2_bkey_format_field_overflows()
608 int bch2_bkey_format_invalid(struct bch_fs *, struct bkey_format *,
610 void bch2_bkey_format_to_text(struct printbuf *, const struct bkey_format *);