Lines Matching refs:ch
129 struct ubifs_ch *ch = buf; in get_master_node() local
131 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) in get_master_node()
160 struct ubifs_ch *ch = buf; in get_master_node() local
162 if (ch->node_type != UBIFS_MST_NODE) in get_master_node()
349 c->max_sqnum = le64_to_cpu(mst->ch.sqnum) - 1; in ubifs_recover_master_node()
473 struct ubifs_ch *ch = buf; in no_more_nodes() local
474 int skip, dlen = le32_to_cpu(ch->len); in no_more_nodes()
578 struct ubifs_ch *ch; in drop_last_group() local
582 ch = snod->node; in drop_last_group()
583 if (ch->group_type != UBIFS_IN_NODE_GROUP) in drop_last_group()
663 struct ubifs_ch *ch = buf; in ubifs_recover_leb() local
669 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_recover_leb()
833 if (cs_node->ch.node_type != UBIFS_CS_NODE) { in get_cs_sqnum()
834 ubifs_err("Node a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum()
843 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum()
1028 struct ubifs_ch *ch = buf; in clean_an_unclean_leb() local
1031 node_len = ALIGN(le32_to_cpu(ch->len), 8); in clean_an_unclean_leb()
1465 len = le32_to_cpu(ino->ch.len); in fix_size_in_place()
1467 ino->ch.crc = cpu_to_le32(crc); in fix_size_in_place()