Home
last modified time | relevance | path

Searched refs:BKEY_U64s (Results 1 – 17 of 17) sorted by relevance

/linux/fs/bcachefs/
H A Dextents_format.h273 #define BKEY_EXTENT_U64s_MAX (BKEY_U64s + BKEY_EXTENT_VAL_U64s_MAX)
280 (BKEY_U64s + BKEY_BTREE_PTR_VAL_U64s_MAX)
H A Dbtree_write_buffer_types.h9 #define BTREE_WRITE_BUFERED_U64s_MAX (BKEY_U64s + BTREE_WRITE_BUFERED_VAL_U64s_MAX)
H A Dbkey_types.h20 #define bkey_val_u64s(_k) ((_k)->u64s - BKEY_U64s)
29 unsigned u64s = BKEY_U64s + val_u64s; in set_bkey_val_u64s()
H A Dbkey_buf.h44 bch2_bkey_buf_realloc(s, c, BKEY_U64s + in bch2_bkey_buf_unpack()
H A Dbcachefs_format.h300 #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 Dbkey_methods.c172 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 Dbkey.c275 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 Dbkey.h322 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 Dbtree_update_interior.h301 BUG_ON(bch2_btree_keys_u64s_remaining(b) < BKEY_U64s); in push_whiteout()
H A Dalloc_background.h210 BUG_ON(ret > U8_MAX - BKEY_U64s); in alloc_v4_u64s()
H A Dacl.c224 u64s = BKEY_U64s + xattr_val_u64s(0, acl_len); in bch2_acl_to_xattr()
H A Ddirent.c171 unsigned u64s = BKEY_U64s + dirent_val_u64s(name->len); in dirent_create_key()
H A Dxattr.c190 unsigned u64s = BKEY_U64s + in bch2_xattr_set()
H A Dio_write.c1536 BKEY_U64s + DIV_ROUND_UP(data_len, 8)); in bch2_write_data_inline()
H A Dbtree_io.c904 U8_MAX - BKEY_U64s + bkeyp_key_u64s(&b->format, k))) in validate_bset_keys()
H A Dbtree_update_interior.c194 (((int) new_f->key_u64s - BKEY_U64s) * in btree_node_u64s_with_format()
H A Dfsck.c1041 unsigned u64s = BKEY_U64s + dirent_val_u64s(len); in fsck_rename_dirent()