Lines Matching defs:k
80 static inline void __extent_entry_insert(struct bkey_i *k, in __extent_entry_insert()
92 static inline void extent_entry_drop(struct bkey_s k, union bch_extent_entry *entry) in extent_entry_drop()
147 bch2_extent_crc_unpack(const struct bkey *k, const union bch_extent_crc *crc) in bch2_extent_crc_unpack()
222 static inline struct bkey_ptrs_c bch2_bkey_ptrs_c(struct bkey_s_c k) in bch2_bkey_ptrs_c()
270 static inline struct bkey_ptrs bch2_bkey_ptrs(struct bkey_s k) in bch2_bkey_ptrs()
468 static inline bool bkey_is_btree_ptr(const struct bkey *k) in bkey_is_btree_ptr()
479 static inline bool bkey_extent_is_direct_data(const struct bkey *k) in bkey_extent_is_direct_data()
492 static inline bool bkey_extent_is_inline_data(const struct bkey *k) in bkey_extent_is_inline_data()
498 static inline unsigned bkey_inline_data_offset(const struct bkey *k) in bkey_inline_data_offset()
510 static inline unsigned bkey_inline_data_bytes(const struct bkey *k) in bkey_inline_data_bytes()
517 static inline bool bkey_extent_is_data(const struct bkey *k) in bkey_extent_is_data()
527 static inline bool bkey_extent_is_allocation(const struct bkey *k) in bkey_extent_is_allocation()
543 static inline bool bkey_extent_is_unwritten(struct bkey_s_c k) in bkey_extent_is_unwritten()
553 static inline bool bkey_extent_is_reservation(struct bkey_s_c k) in bkey_extent_is_reservation()
559 static inline struct bch_devs_list bch2_bkey_devs(struct bkey_s_c k) in bch2_bkey_devs()
570 static inline struct bch_devs_list bch2_bkey_dirty_devs(struct bkey_s_c k) in bch2_bkey_dirty_devs()
582 static inline struct bch_devs_list bch2_bkey_cached_devs(struct bkey_s_c k) in bch2_bkey_cached_devs()
594 static inline unsigned bch2_bkey_ptr_data_type(struct bkey_s_c k, const struct bch_extent_ptr *ptr) in bch2_bkey_ptr_data_type()
634 static inline struct bch_extent_ptr *bch2_bkey_has_device(struct bkey_s k, unsigned dev) in bch2_bkey_has_device()
643 static inline void bch2_bkey_append_ptr(struct bkey_i *k, struct bch_extent_ptr ptr) in bch2_bkey_append_ptr()
723 static inline enum bch_extent_overlap bch2_extent_overlap(const struct bkey *k, in bch2_extent_overlap()
735 static inline void bch2_cut_front(struct bpos where, struct bkey_i *k) in bch2_cut_front()
740 static inline void bch2_cut_back(struct bpos where, struct bkey_i *k) in bch2_cut_back()
750 static inline void bch2_key_resize(struct bkey *k, unsigned new_size) in bch2_key_resize()