Lines Matching +full:32 +full:k
14 return (((x & 0x00000000ffULL) << 32)| in swab40()
18 ((x & 0xff00000000ULL) >> 32)); in swab40()
21 int bch2_backpointer_validate(struct bch_fs *, struct bkey_s_c k, enum bch_validate_flags);
30 .min_val_size = 32, \
99 bp_k.k.p = bucket_pos_to_bp(ca, bucket, bp.bucket_offset); in bch2_bucket_backpointer_mod()
103 bp_k.k.type = KEY_TYPE_deleted; in bch2_bucket_backpointer_mod()
104 set_bkey_val_u64s(&bp_k.k, 0); in bch2_bucket_backpointer_mod()
110 static inline enum bch_data_type bch2_bkey_ptr_data_type(struct bkey_s_c k, in bch2_bkey_ptr_data_type() argument
114 switch (k.k->type) { in bch2_bkey_ptr_data_type()
123 struct bkey_s_c_stripe s = bkey_s_c_to_stripe(k); in bch2_bkey_ptr_data_type()
139 struct bkey_s_c k, struct extent_ptr_decoded p, in __bch2_extent_ptr_to_bp() argument
149 .data_type = bch2_bkey_ptr_data_type(k, p, entry), in __bch2_extent_ptr_to_bp()
153 .pos = k.k->p, in __bch2_extent_ptr_to_bp()
159 struct bkey_s_c k, struct extent_ptr_decoded p, in bch2_extent_ptr_to_bp() argument
163 u64 sectors = ptr_disk_sectors(level ? btree_sectors(c) : k.k->size, p); in bch2_extent_ptr_to_bp()
165 __bch2_extent_ptr_to_bp(c, ca, btree_id, level, k, p, entry, bucket_pos, bp, sectors); in bch2_extent_ptr_to_bp()