Lines Matching defs:from
22 * node. We use "r5" hash borrowed from reiserfs.
51 * key_r5_hash - R5 hash function (borrowed from reiserfs).
341 * key_inum - fetch inode number from key.
343 * @k: key to fetch inode number from
353 * key_inum_flash - fetch inode number from an on-flash formatted key.
355 * @k: key to fetch inode number from
367 * @key: the key to get hash from
376 * key_hash_flash - get directory entry hash from an on-flash formatted key.
378 * @k: the key to get hash from
390 * @key: the key to get the block number from
399 * key_block_flash - get data block number from an on-flash formatted key.
401 * @k: the key to get the block number from
414 * @from: the key to transform
417 static inline void key_read(const struct ubifs_info *c, const void *from,
420 const union ubifs_key *f = from;
427 * key_write - transform a key from in-memory format.
429 * @from: the key to transform
433 const union ubifs_key *from, void *to)
437 t->j32[0] = cpu_to_le32(from->u32[0]);
438 t->j32[1] = cpu_to_le32(from->u32[1]);
443 * key_write_idx - transform a key from in-memory format for the index.
445 * @from: the key to transform
449 const union ubifs_key *from, void *to)
453 t->j32[0] = cpu_to_le32(from->u32[0]);
454 t->j32[1] = cpu_to_le32(from->u32[1]);
460 * @from: the key to copy from
464 const union ubifs_key *from, union ubifs_key *to)
466 to->u64[0] = from->u64[0];