Searched refs:cs_node (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/fs/ubifs/ |
D | recovery.c | 810 struct ubifs_cs_node *cs_node = NULL; in get_cs_sqnum() local 814 cs_node = kmalloc(UBIFS_CS_NODE_SZ, GFP_KERNEL); in get_cs_sqnum() 815 if (!cs_node) in get_cs_sqnum() 819 err = ubifs_leb_read(c, lnum, (void *)cs_node, offs, in get_cs_sqnum() 823 ret = ubifs_scan_a_node(c, cs_node, UBIFS_CS_NODE_SZ, lnum, offs, 0); in get_cs_sqnum() 828 if (cs_node->ch.node_type != UBIFS_CS_NODE) { in get_cs_sqnum() 829 ubifs_err(c, "Node a CS node, type is %d", cs_node->ch.node_type); in get_cs_sqnum() 832 if (le64_to_cpu(cs_node->cmt_no) != c->cmt_no) { in get_cs_sqnum() 834 (unsigned long long)le64_to_cpu(cs_node->cmt_no), in get_cs_sqnum() 838 *cs_sqnum = le64_to_cpu(cs_node->ch.sqnum); in get_cs_sqnum() [all …]
|