Lines Matching defs:k

84 static inline void __extent_entry_insert(struct bkey_i *k,  in __extent_entry_insert()
96 static inline void extent_entry_drop(struct bkey_s k, union bch_extent_entry *entry) in extent_entry_drop()
151 bch2_extent_crc_unpack(const struct bkey *k, const union bch_extent_crc *crc) in bch2_extent_crc_unpack()
228 static inline struct bkey_ptrs_c bch2_bkey_ptrs_c(struct bkey_s_c k) in bch2_bkey_ptrs_c()
276 static inline struct bkey_ptrs bch2_bkey_ptrs(struct bkey_s k) in bch2_bkey_ptrs()
470 static inline bool bkey_is_btree_ptr(const struct bkey *k) in bkey_is_btree_ptr()
481 static inline bool bkey_extent_is_direct_data(const struct bkey *k) in bkey_extent_is_direct_data()
494 static inline bool bkey_extent_is_inline_data(const struct bkey *k) in bkey_extent_is_inline_data()
500 static inline unsigned bkey_inline_data_offset(const struct bkey *k) in bkey_inline_data_offset()
512 static inline unsigned bkey_inline_data_bytes(const struct bkey *k) in bkey_inline_data_bytes()
519 static inline bool bkey_extent_is_data(const struct bkey *k) in bkey_extent_is_data()
529 static inline bool bkey_extent_is_allocation(const struct bkey *k) in bkey_extent_is_allocation()
545 static inline bool bkey_extent_is_unwritten(struct bkey_s_c k) in bkey_extent_is_unwritten()
555 static inline bool bkey_extent_is_reservation(struct bkey_s_c k) in bkey_extent_is_reservation()
561 static inline struct bch_devs_list bch2_bkey_devs(struct bkey_s_c k) in bch2_bkey_devs()
572 static inline struct bch_devs_list bch2_bkey_dirty_devs(struct bkey_s_c k) in bch2_bkey_dirty_devs()
584 static inline struct bch_devs_list bch2_bkey_cached_devs(struct bkey_s_c k) in bch2_bkey_cached_devs()
609 static inline struct bch_extent_ptr *bch2_bkey_has_device(struct bkey_s k, unsigned dev) in bch2_bkey_has_device()
618 static inline void bch2_bkey_append_ptr(struct bkey_i *k, struct bch_extent_ptr ptr) in bch2_bkey_append_ptr()
716 static inline enum bch_extent_overlap bch2_extent_overlap(const struct bkey *k, in bch2_extent_overlap()
728 static inline void bch2_cut_front(struct bpos where, struct bkey_i *k) in bch2_cut_front()
733 static inline void bch2_cut_back(struct bpos where, struct bkey_i *k) in bch2_cut_back()
743 static inline void bch2_key_resize(struct bkey *k, unsigned new_size) in bch2_key_resize()
758 static inline u64 bch2_bkey_extent_flags(struct bkey_s_c k) in bch2_bkey_extent_flags()