Searched refs:node_len (Results 1 – 6 of 6) sorted by relevance
/Linux-v4.19/fs/ubifs/ |
D | scan.c | 97 int node_len = le32_to_cpu(ch->len); in ubifs_scan_a_node() local 101 offs + node_len + pad_len > c->leb_size) { in ubifs_scan_a_node() 111 if ((node_len + pad_len) & 7) { in ubifs_scan_a_node() 114 offs, offs + node_len + pad_len); in ubifs_scan_a_node() 119 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node() 121 return node_len + pad_len; in ubifs_scan_a_node() 279 int node_len, ret; in ubifs_scan() local 319 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_scan() 320 offs += node_len; in ubifs_scan() 321 buf += node_len; in ubifs_scan() [all …]
|
D | lpt_commit.c | 1116 int pos = 0, node_type, node_len; in is_a_node() local 1124 node_len = get_lpt_node_len(c, node_type); in is_a_node() 1125 if (!node_len || node_len > len) in is_a_node() 1131 node_len - UBIFS_LPT_CRC_BYTES); in is_a_node() 1151 int err, len = c->leb_size, node_type, node_num, node_len, offs; in lpt_gc_lnum() local 1173 node_len = get_lpt_node_len(c, node_type); in lpt_gc_lnum() 1175 ubifs_assert(c, node_len != 0); in lpt_gc_lnum() 1181 buf += node_len; in lpt_gc_lnum() 1182 len -= node_len; in lpt_gc_lnum() 1632 int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len; in dbg_check_ltab_lnum() local [all …]
|
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()
|
D | io.c | 240 int err = -EINVAL, type, node_len; in ubifs_check_node() local 263 node_len = le32_to_cpu(ch->len); in ubifs_check_node() 264 if (node_len + offs > c->leb_size) in ubifs_check_node() 268 if (node_len != c->ranges[type].len) in ubifs_check_node() 270 } else if (node_len < c->ranges[type].min_len || in ubifs_check_node() 271 node_len > c->ranges[type].max_len) in ubifs_check_node() 278 crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); in ubifs_check_node() 292 ubifs_err(c, "bad node length %d", node_len); in ubifs_check_node()
|
D | tnc.c | 458 int err, node_len; in try_read_node() local 477 node_len = le32_to_cpu(ch->len); in try_read_node() 478 if (node_len != len) in try_read_node() 485 crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); in try_read_node()
|
/Linux-v4.19/drivers/acpi/apei/ |
D | ghes.c | 856 u32 len, node_len; in ghes_proc_in_irq() local 870 node_len = GHES_ESTATUS_NODE_LEN(len); in ghes_proc_in_irq() 878 node_len); in ghes_proc_in_irq() 910 u32 len, node_len; in __process_error() local 918 node_len = GHES_ESTATUS_NODE_LEN(len); in __process_error() 920 estatus_node = (void *)gen_pool_alloc(ghes_estatus_pool, node_len); in __process_error()
|