Lines Matching refs:snod

541 	struct ubifs_scan_node *snod;  in replay_bud()  local
581 list_for_each_entry(snod, &sleb->nodes, list) { in replay_bud()
586 if (snod->sqnum >= SQNUM_WATERMARK) { in replay_bud()
591 if (snod->sqnum > c->max_sqnum) in replay_bud()
592 c->max_sqnum = snod->sqnum; in replay_bud()
594 switch (snod->type) { in replay_bud()
597 struct ubifs_ino_node *ino = snod->node; in replay_bud()
602 err = insert_node(c, lnum, snod->offs, snod->len, in replay_bud()
603 &snod->key, snod->sqnum, deletion, in replay_bud()
609 struct ubifs_data_node *dn = snod->node; in replay_bud()
611 key_block(c, &snod->key) * in replay_bud()
614 err = insert_node(c, lnum, snod->offs, snod->len, in replay_bud()
615 &snod->key, snod->sqnum, deletion, in replay_bud()
622 struct ubifs_dent_node *dent = snod->node; in replay_bud()
628 err = insert_dent(c, lnum, snod->offs, snod->len, in replay_bud()
629 &snod->key, dent->name, in replay_bud()
630 le16_to_cpu(dent->nlen), snod->sqnum, in replay_bud()
636 struct ubifs_trun_node *trun = snod->node; in replay_bud()
654 err = insert_node(c, lnum, snod->offs, snod->len, in replay_bud()
655 &key, snod->sqnum, 1, &used, in replay_bud()
661 snod->type, lnum, snod->offs); in replay_bud()
683 ubifs_err(c, "bad node is at LEB %d:%d", lnum, snod->offs); in replay_bud()
684 ubifs_dump_node(c, snod->node); in replay_bud()
825 struct ubifs_scan_node *snod; in replay_log_leb() local
849 snod = list_entry(sleb->nodes.next, struct ubifs_scan_node, list); in replay_log_leb()
858 if (snod->type != UBIFS_CS_NODE) { in replay_log_leb()
875 if (snod->sqnum < c->cs_sqnum) { in replay_log_leb()
888 if (snod->offs != 0) { in replay_log_leb()
893 list_for_each_entry(snod, &sleb->nodes, list) { in replay_log_leb()
896 if (snod->sqnum >= SQNUM_WATERMARK) { in replay_log_leb()
901 if (snod->sqnum < c->cs_sqnum) { in replay_log_leb()
903 snod->sqnum, c->cs_sqnum); in replay_log_leb()
907 if (snod->sqnum > c->max_sqnum) in replay_log_leb()
908 c->max_sqnum = snod->sqnum; in replay_log_leb()
910 switch (snod->type) { in replay_log_leb()
912 const struct ubifs_ref_node *ref = snod->node; in replay_log_leb()
923 snod->sqnum); in replay_log_leb()
931 if (snod->offs != 0) { in replay_log_leb()
954 lnum, offs + snod->offs); in replay_log_leb()
955 ubifs_dump_node(c, snod->node); in replay_log_leb()