Lines Matching refs:key_u64s

69 		      format->key_u64s,  in bch2_bkey_pack_verify()
130 EBUG_ON(state->p >= (u64 *) k->_data + state->format->key_u64s); in pack_state_finish()
242 EBUG_ON(in->u64s - in_f->key_u64s + out_f->key_u64s > U8_MAX); in bch2_bkey_transform_key()
245 out->u64s = out_f->key_u64s + in->u64s - in_f->key_u64s; in bch2_bkey_transform_key()
260 memcpy_u64s((u64 *) out + out_f->key_u64s, in bch2_bkey_transform()
261 (u64 *) in + in_f->key_u64s, in bch2_bkey_transform()
262 (in->u64s - in_f->key_u64s)); in bch2_bkey_transform()
273 EBUG_ON(in->u64s < format->key_u64s); in __bch2_bkey_unpack_key()
275 EBUG_ON(in->u64s - format->key_u64s + BKEY_U64s > U8_MAX); in __bch2_bkey_unpack_key()
277 out.u64s = BKEY_U64s + in->u64s - format->key_u64s; in __bch2_bkey_unpack_key()
298 EBUG_ON(in->u64s < format->key_u64s); in __bkey_unpack_pos()
333 out->u64s = format->key_u64s + in->u64s - BKEY_U64s; in bch2_bkey_pack_key()
374 memmove_u64s((u64 *) dst + format->key_u64s, in bch2_bkey_pack()
377 memcpy_u64s_small(dst, &tmp, format->key_u64s); in bch2_bkey_pack()
486 for (i = 0; i < f->key_u64s; i++) in bch2_bkey_pack_pos_lossy()
526 out->u64s = f->key_u64s; in bch2_bkey_pack_pos_lossy()
613 ret.key_u64s = DIV_ROUND_UP(bits, 64); in bch2_bkey_format_done()
616 bits = ret.key_u64s * 64 - bits; in bch2_bkey_format_done()
675 if (f->key_u64s != DIV_ROUND_UP(bits, 64)) { in bch2_bkey_format_invalid()
677 f->key_u64s, DIV_ROUND_UP(bits, 64)); in bch2_bkey_format_invalid()
686 prt_printf(out, "u64s %u fields ", f->key_u64s); in bch2_bkey_format_to_text()
844 bit_offset = format->key_u64s * 64; in compile_bkey_field()
990 I5(0x05, BKEY_U64s - format->key_u64s, KEY_FORMAT_CURRENT, 0, 0); in bch2_compile_bkey_format()
1067 u8 *h = (u8 *) ((u64 *) k->_data + f->key_u64s) - 1; in bch2_bkey_swab_key()
1083 .key_u64s = 3, in bch2_bkey_pack_test()