Searched refs:BKEY_U64s (Results 1 – 17 of 17) sorted by relevance
/linux/fs/bcachefs/ |
H A D | extents_format.h | 273 #define BKEY_EXTENT_U64s_MAX (BKEY_U64s + BKEY_EXTENT_VAL_U64s_MAX) 280 (BKEY_U64s + BKEY_BTREE_PTR_VAL_U64s_MAX)
|
H A D | btree_write_buffer_types.h | 9 #define BTREE_WRITE_BUFERED_U64s_MAX (BKEY_U64s + BTREE_WRITE_BUFERED_VAL_U64s_MAX)
|
H A D | bkey_types.h | 20 #define bkey_val_u64s(_k) ((_k)->u64s - BKEY_U64s) 29 unsigned u64s = BKEY_U64s + val_u64s; in set_bkey_val_u64s()
|
H A D | bkey_buf.h | 44 bch2_bkey_buf_realloc(s, c, BKEY_U64s + in bch2_bkey_buf_unpack()
|
H A D | bcachefs_format.h | 300 #define BKEY_U64s (sizeof(struct bkey) / sizeof(__u64)) macro 302 #define BKEY_VAL_U64s_MAX (BKEY_U64s_MAX - BKEY_U64s) 324 .key_u64s = BKEY_U64s, \ 346 .u64s = BKEY_U64s, \ 353 .u64s = BKEY_U64s, \
|
H A D | bkey_methods.c | 172 bkey_fsck_err_on(k.k->u64s < BKEY_U64s, in __bch2_bkey_validate() 174 "u64s too small (%u < %zu)", k.k->u64s, BKEY_U64s); in __bch2_bkey_validate()
|
H A D | bkey.c | 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() 333 out->u64s = format->key_u64s + in->u64s - BKEY_U64s; in bch2_bkey_pack_key() 991 I5(0x05, BKEY_U64s - format->key_u64s, KEY_FORMAT_CURRENT, 0, 0); in bch2_compile_bkey_format()
|
H A D | bkey.h | 322 return bkey_packed(k) ? format->key_u64s : BKEY_U64s; in bkeyp_key_u64s() 328 return ((unsigned) k->u64s - bkeyp_key_u64s(f, k) <= U8_MAX - BKEY_U64s); in bkeyp_u64s_valid()
|
H A D | btree_update_interior.h | 301 BUG_ON(bch2_btree_keys_u64s_remaining(b) < BKEY_U64s); in push_whiteout()
|
H A D | alloc_background.h | 210 BUG_ON(ret > U8_MAX - BKEY_U64s); in alloc_v4_u64s()
|
H A D | acl.c | 224 u64s = BKEY_U64s + xattr_val_u64s(0, acl_len); in bch2_acl_to_xattr()
|
H A D | dirent.c | 171 unsigned u64s = BKEY_U64s + dirent_val_u64s(name->len); in dirent_create_key()
|
H A D | xattr.c | 190 unsigned u64s = BKEY_U64s + in bch2_xattr_set()
|
H A D | io_write.c | 1536 BKEY_U64s + DIV_ROUND_UP(data_len, 8)); in bch2_write_data_inline()
|
H A D | btree_io.c | 904 U8_MAX - BKEY_U64s + bkeyp_key_u64s(&b->format, k))) in validate_bset_keys()
|
H A D | btree_update_interior.c | 194 (((int) new_f->key_u64s - BKEY_U64s) * in btree_node_u64s_with_format()
|
H A D | fsck.c | 1041 unsigned u64s = BKEY_U64s + dirent_val_u64s(len); in fsck_rename_dirent()
|