Searched refs:node_len (Results 1 – 5 of 5) sorted by relevance
/u-boot/fs/ubifs/ |
A D | scan.c | 91 int node_len = le32_to_cpu(ch->len); in ubifs_scan_a_node() local 95 offs + node_len + pad_len > c->leb_size) { in ubifs_scan_a_node() 105 if ((node_len + pad_len) & 7) { in ubifs_scan_a_node() 108 offs, offs + node_len + pad_len); in ubifs_scan_a_node() 113 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node() 115 return node_len + pad_len; in ubifs_scan_a_node() 274 int node_len, ret; in ubifs_scan() local 314 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_scan() 315 offs += node_len; in ubifs_scan() 316 buf += node_len; in ubifs_scan() [all …]
|
A D | lpt_commit.c | 1127 if (!node_len || node_len > len) in is_a_node() 1183 buf += node_len; in lpt_gc_lnum() 1184 len -= node_len; in lpt_gc_lnum() 1690 dirty += node_len; in dbg_check_ltab_lnum() 1691 p += node_len; in dbg_check_ltab_lnum() 1692 len -= node_len; in dbg_check_ltab_lnum() 1927 node_len = c->pnode_sz; in dump_lpt_leb() 1940 node_len = c->nnode_sz; in dump_lpt_leb() 1963 node_len = c->ltab_sz; in dump_lpt_leb() 1975 p += node_len; in dump_lpt_leb() [all …]
|
A D | recovery.c | 662 int node_len; in ubifs_recover_leb() local 667 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_recover_leb() 668 offs += node_len; in ubifs_recover_leb() 669 buf += node_len; in ubifs_recover_leb() 670 len -= node_len; in ubifs_recover_leb() 1021 int node_len; in clean_an_unclean_leb() local 1023 node_len = ALIGN(le32_to_cpu(ch->len), 8); in clean_an_unclean_leb() 1024 offs += node_len; in clean_an_unclean_leb() 1025 buf += node_len; in clean_an_unclean_leb() 1026 len -= node_len; in clean_an_unclean_leb()
|
A D | io.c | 245 int err = -EINVAL, type, node_len; in ubifs_check_node() local 268 node_len = le32_to_cpu(ch->len); in ubifs_check_node() 269 if (node_len + offs > c->leb_size) in ubifs_check_node() 273 if (node_len != c->ranges[type].len) in ubifs_check_node() 275 } else if (node_len < c->ranges[type].min_len || in ubifs_check_node() 276 node_len > c->ranges[type].max_len) in ubifs_check_node() 283 crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); in ubifs_check_node() 297 ubifs_err(c, "bad node length %d", node_len); in ubifs_check_node()
|
A D | tnc.c | 441 int err, node_len; in try_read_node() local 460 node_len = le32_to_cpu(ch->len); in try_read_node() 461 if (node_len != len) in try_read_node() 468 crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); in try_read_node()
|
Completed in 14 milliseconds