Lines Matching refs:key
60 * The various btrees share a common format for the key - so as to avoid
62 * structures for the key values.
64 * The size of a key/value pair is stored as a u8 in units of u64s, so the max
66 * value, and a format field indicating whether the key is packed or not (and
67 * also meant to allow adding new key fields in the future, if desired).
71 * be generous with field sizes in the common part of the key format (64 bit
199 /* Size of combined key and value, in u64s */
202 /* Format of key (0 for format local to btree node) */
248 * representation of an unpacked key also is just one type of packed key...
250 * So that constrains the key part of a bkig endian bkey to start right
263 /* Size of combined key and value, in u64s */
266 /* Format of key (0 for format local to btree node) */
365 #define __BKEY_PADDED(key, pad) \
366 struct bkey_i key; __u64 key ## _pad[pad]
373 * discarded. DISCARDs may have a version; if the version is nonzero the key
374 * will be persistent, otherwise the key will be dropped whenever the btree
642 __le64 key[4];
653 struct bch_key key;
657 * If this field is present in the superblock, it stores an encryption key which
658 * is used encrypt all other data/metadata. The key will normally be encrypted
659 * with the key userspace provides, but if encryption has been turned off we'll
660 * just store the master key unencrypted in the superblock so we can access the
668 struct bch_encrypted_key key;