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()
476 static inline bool bkey_is_btree_ptr(const struct bkey *k) in bkey_is_btree_ptr()
487 static inline bool bkey_extent_is_direct_data(const struct bkey *k) in bkey_extent_is_direct_data()
500 static inline bool bkey_extent_is_inline_data(const struct bkey *k) in bkey_extent_is_inline_data()
506 static inline unsigned bkey_inline_data_offset(const struct bkey *k) in bkey_inline_data_offset()
518 static inline unsigned bkey_inline_data_bytes(const struct bkey *k) in bkey_inline_data_bytes()
525 static inline bool bkey_extent_is_data(const struct bkey *k) in bkey_extent_is_data()
535 static inline bool bkey_extent_is_allocation(const struct bkey *k) in bkey_extent_is_allocation()
551 static inline bool bkey_extent_is_unwritten(struct bkey_s_c k) in bkey_extent_is_unwritten()
561 static inline bool bkey_extent_is_reservation(struct bkey_s_c k) in bkey_extent_is_reservation()
567 static inline struct bch_devs_list bch2_bkey_devs(struct bkey_s_c k) in bch2_bkey_devs()
578 static inline struct bch_devs_list bch2_bkey_dirty_devs(struct bkey_s_c k) in bch2_bkey_dirty_devs()
590 static inline struct bch_devs_list bch2_bkey_cached_devs(struct bkey_s_c k) in bch2_bkey_cached_devs()
615 static inline struct bch_extent_ptr *bch2_bkey_has_device(struct bkey_s k, unsigned dev) in bch2_bkey_has_device()
624 static inline void bch2_bkey_append_ptr(struct bkey_i *k, struct bch_extent_ptr ptr) in bch2_bkey_append_ptr()
722 static inline enum bch_extent_overlap bch2_extent_overlap(const struct bkey *k, in bch2_extent_overlap()
734 static inline void bch2_cut_front(struct bpos where, struct bkey_i *k) in bch2_cut_front()
739 static inline void bch2_cut_back(struct bpos where, struct bkey_i *k) in bch2_cut_back()
749 static inline void bch2_key_resize(struct bkey *k, unsigned new_size) in bch2_key_resize()