Lines Matching defs:key
44 * The tree is ordered by [ag block, owner, offset]. This is a large key size,
160 * Convert the ondisk record's offset field into the ondisk key's offset field.
161 * Fork and bmbt are significant parts of the rmap record key, but written
171 union xfs_btree_key *key,
174 key->rmap.rm_startblock = rec->rmap.rm_startblock;
175 key->rmap.rm_owner = rec->rmap.rm_owner;
176 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec);
180 * The high key for a reverse mapping record can be computed by shifting
188 union xfs_btree_key *key,
196 key->rmap.rm_startblock = rec->rmap.rm_startblock;
197 be32_add_cpu(&key->rmap.rm_startblock, adj);
198 key->rmap.rm_owner = rec->rmap.rm_owner;
199 key->rmap.rm_offset = ondisk_rec_offset_to_key(rec);
203 off = be64_to_cpu(key->rmap.rm_offset);
205 key->rmap.rm_offset = cpu_to_be64(off);
233 * Mask the appropriate parts of the ondisk key field for a key comparison.
234 * Fork and bmbt are significant parts of the rmap record key, but written
245 const union xfs_btree_key *key)
248 const struct xfs_rmap_key *kp = &key->rmap;