Lines Matching full:node
33 * @lnum: logical eraseblock number of the node
34 * @offs: node offset
35 * @len: node length
36 * @deletion: non-zero if this entry corresponds to a node deletion
37 * @sqnum: node sequence number
39 * @key: node key
69 * @sqnum: reference node sequence number
330 * insert_node - insert a node to the replay list
332 * @lnum: node logical eraseblock number
333 * @offs: node offset
334 * @len: node length
335 * @key: node key
342 * This function inserts a scanned non-direntry node to the replay list. The
381 * insert_dent - insert a directory entry node into the replay list.
383 * @lnum: node logical eraseblock number
384 * @offs: node offset
385 * @len: node length
386 * @key: node key
393 * This function inserts a scanned directory entry node or an extended
436 * ubifs_validate_entry - validate directory or extended attribute entry node.
438 * @dent: the node to validate
440 * This function validates directory or extended attribute entry node @dent.
441 * Returns zero if the node is all right and a %-EINVAL if not.
454 ubifs_err(c, "bad %s node", key_type == UBIFS_DENT_KEY ? in ubifs_validate_entry()
501 * log reference node for the new bud (B), and only after this it in is_last_bud()
595 struct ubifs_ino_node *ino = snod->node; in replay_bud()
607 struct ubifs_data_node *dn = snod->node; in replay_bud()
620 struct ubifs_dent_node *dent = snod->node; in replay_bud()
634 struct ubifs_trun_node *trun = snod->node; in replay_bud()
639 /* Validate truncation node */ in replay_bud()
643 ubifs_err(c, "bad truncation node"); in replay_bud()
658 ubifs_err(c, "unexpected node type %d in bud LEB %d:%d", in replay_bud()
681 ubifs_err(c, "bad node is at LEB %d:%d", lnum, snod->offs); in replay_bud()
682 ubifs_dump_node(c, snod->node); in replay_bud()
733 * @sqnum: reference node sequence number
769 * validate_ref - validate a reference node.
771 * @ref: the reference node to validate
772 * @ref_lnum: LEB number of the reference node
773 * @ref_offs: reference node offset
776 * returned if the reference node is new, otherwise %-EINVAL is returned if
788 * to the end of LEB and we write reference node for it during commit. in validate_ref()
824 const struct ubifs_cs_node *node; in replay_log_leb() local
846 node = sleb->buf; in replay_log_leb()
851 * the first node is a commit start node. Also record its in replay_log_leb()
857 ubifs_err(c, "first log node at LEB %d:%d is not CS node", in replay_log_leb()
861 if (le64_to_cpu(node->cmt_no) != c->cmt_no) { in replay_log_leb()
862 ubifs_err(c, "first CS node at LEB %d:%d has wrong commit number %llu expected %llu", in replay_log_leb()
864 (unsigned long long)le64_to_cpu(node->cmt_no), in replay_log_leb()
869 c->cs_sqnum = le64_to_cpu(node->ch.sqnum); in replay_log_leb()
885 /* Make sure the first node sits at offset zero of the LEB */ in replay_log_leb()
887 ubifs_err(c, "first node is not at zero offset"); in replay_log_leb()
910 const struct ubifs_ref_node *ref = snod->node; in replay_log_leb()
930 ubifs_err(c, "unexpected node in log"); in replay_log_leb()
935 ubifs_err(c, "unexpected node in log"); in replay_log_leb()
953 ubifs_dump_node(c, snod->node); in replay_log_leb()
1031 * "commit start" node on a properly formatted UBIFS. in ubifs_replay_journal()