#ifndef _BCACHEFS_BKEY_TYPES_H
#define _BCACHEFS_BKEY_TYPES_H
#include "bcachefs_format.h"
#define bkey_p_next(_k) …
static inline struct bkey_i *bkey_next(struct bkey_i *k)
{ … }
#define bkey_val_u64s(_k) …
static inline size_t bkey_val_bytes(const struct bkey *k)
{ … }
static inline void set_bkey_val_u64s(struct bkey *k, unsigned val_u64s)
{ … }
static inline void set_bkey_val_bytes(struct bkey *k, unsigned bytes)
{ … }
#define bkey_val_end(_k) …
#define bkey_deleted(_k) …
#define bkey_whiteout(_k) …
struct bkey_s_c { … };
struct bkey_s { … };
#define bkey_s_null …
#define bkey_s_c_null …
#define bkey_s_err(err) …
#define bkey_s_c_err(err) …
static inline struct bkey_s bkey_to_s(struct bkey *k)
{ … }
static inline struct bkey_s_c bkey_to_s_c(const struct bkey *k)
{ … }
static inline struct bkey_s bkey_i_to_s(struct bkey_i *k)
{ … }
static inline struct bkey_s_c bkey_i_to_s_c(const struct bkey_i *k)
{ … }
#define x …
BCH_BKEY_TYPES();
#undef x
#endif