Lines Matching defs:ref
937 * @ref: the reference node to validate
943 static int validate_ref(struct ubifs_info *c, const struct ubifs_ref_node *ref)
946 int lnum = le32_to_cpu(ref->lnum);
947 unsigned int offs = le32_to_cpu(ref->offs);
948 unsigned int jhead = le32_to_cpu(ref->jhead);
951 * ref->offs may point to the end of LEB when the journal head points
1082 const struct ubifs_ref_node *ref = snod->node;
1084 err = validate_ref(c, ref);
1090 err = ubifs_shash_update(c, c->log_hash, ref,
1095 err = add_replay_bud(c, le32_to_cpu(ref->lnum),
1096 le32_to_cpu(ref->offs),
1097 le32_to_cpu(ref->jhead),