Lines Matching refs:ch
117 struct ubifs_ch *ch = buf; in get_master_node() local
119 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) in get_master_node()
148 struct ubifs_ch *ch = buf; in get_master_node() local
150 if (ch->node_type != UBIFS_MST_NODE) in get_master_node()
338 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()
461 struct ubifs_ch *ch = buf; in no_more_nodes() local
462 int skip, dlen = le32_to_cpu(ch->len); in no_more_nodes()
566 struct ubifs_ch *ch; in drop_last_group() local
570 ch = snod->node; in drop_last_group()
571 if (ch->group_type != UBIFS_IN_NODE_GROUP) in drop_last_group()
650 struct ubifs_ch *ch = buf; in ubifs_recover_leb() local
656 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_recover_leb()
820 if (cs_node->ch.node_type != UBIFS_CS_NODE) { in get_cs_sqnum()
821 ubifs_err(c, "Not a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum()
830 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum()
1009 struct ubifs_ch *ch = buf; in clean_an_unclean_leb() local
1012 node_len = ALIGN(le32_to_cpu(ch->len), 8); in clean_an_unclean_leb()
1430 len = le32_to_cpu(ino->ch.len); in fix_size_in_place()
1432 ino->ch.crc = cpu_to_le32(crc); in fix_size_in_place()