Lines Matching refs:ch
223 static void dump_ch(const struct ubifs_ch *ch) in dump_ch() argument
225 pr_err("\tmagic %#x\n", le32_to_cpu(ch->magic)); in dump_ch()
226 pr_err("\tcrc %#x\n", le32_to_cpu(ch->crc)); in dump_ch()
227 pr_err("\tnode_type %d (%s)\n", ch->node_type, in dump_ch()
228 dbg_ntype(ch->node_type)); in dump_ch()
229 pr_err("\tgroup_type %d (%s)\n", ch->group_type, in dump_ch()
230 dbg_gtype(ch->group_type)); in dump_ch()
232 (unsigned long long)le64_to_cpu(ch->sqnum)); in dump_ch()
233 pr_err("\tlen %u\n", le32_to_cpu(ch->len)); in dump_ch()
312 const struct ubifs_ch *ch = node; in ubifs_dump_node() local
316 if (le32_to_cpu(ch->magic) != UBIFS_NODE_MAGIC) { in ubifs_dump_node()
326 switch (ch->node_type) { in ubifs_dump_node()
483 int dlen = le32_to_cpu(ch->len) - UBIFS_DATA_NODE_SZ; in ubifs_dump_node()
541 n = (le32_to_cpu(ch->len) - UBIFS_ORPH_NODE_SZ) >> 3; in ubifs_dump_node()
550 (int)ch->node_type); in ubifs_dump_node()
2058 struct ubifs_ch *ch; in check_leaf() local
2098 ch = node; in check_leaf()
2099 if (le64_to_cpu(ch->sqnum) > c->max_sqnum) { in check_leaf()