Lines Matching refs:ch
126 struct ubifs_ch *ch = buf;
128 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) {
159 struct ubifs_ch *ch = buf;
161 if (ch->node_type != UBIFS_MST_NODE) {
359 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1;
483 struct ubifs_ch *ch = buf;
484 int skip, dlen = le32_to_cpu(ch->len);
588 struct ubifs_ch *ch;
591 ch = snod->node;
592 if (ch->group_type != UBIFS_IN_NODE_GROUP) {
668 struct ubifs_ch *ch = buf;
675 node_len = ALIGN(le32_to_cpu(ch->len), RECOVERY_EIGHT);
689 struct ubifs_ch *ch = buf;
698 skip = ALIGN(offs + le32_to_cpu(ch->len), c->max_write_size) - offs;
873 if (cs_node->ch.node_type != UBIFS_CS_NODE) {
874 ubifs_err(c, "Not a CS node, type is %d", cs_node->ch.node_type);
882 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum);
1064 struct ubifs_ch *ch = buf;
1067 node_len = ALIGN(le32_to_cpu(ch->len), RECOVERY_EIGHT);
1502 len = le32_to_cpu(ino->ch.len);
1504 ino->ch.crc = cpu_to_le32(crc);