Home
last modified time | relevance | path

Searched refs:node_len (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/fs/ubifs/
Dscan.c85 int node_len = le32_to_cpu(ch->len); in ubifs_scan_a_node() local
89 offs + node_len + pad_len > c->leb_size) { in ubifs_scan_a_node()
99 if ((node_len + pad_len) & 7) { in ubifs_scan_a_node()
102 offs, offs + node_len + pad_len); in ubifs_scan_a_node()
107 lnum, offs, ALIGN(offs + node_len + pad_len, 8)); in ubifs_scan_a_node()
109 return node_len + pad_len; in ubifs_scan_a_node()
267 int node_len, ret; in ubifs_scan() local
307 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_scan()
308 offs += node_len; in ubifs_scan()
309 buf += node_len; in ubifs_scan()
[all …]
Dlpt_commit.c1072 int pos = 0, node_type, node_len; in is_a_node() local
1080 node_len = get_lpt_node_len(c, node_type); in is_a_node()
1081 if (!node_len || node_len > len) in is_a_node()
1087 node_len - UBIFS_LPT_CRC_BYTES); in is_a_node()
1107 int err, len = c->leb_size, node_type, node_num, node_len, offs; in lpt_gc_lnum() local
1129 node_len = get_lpt_node_len(c, node_type); in lpt_gc_lnum()
1131 ubifs_assert(c, node_len != 0); in lpt_gc_lnum()
1137 buf += node_len; in lpt_gc_lnum()
1138 len -= node_len; in lpt_gc_lnum()
1592 int err, len = c->leb_size, dirty = 0, node_type, node_num, node_len; in dbg_check_ltab_lnum() local
[all …]
Drecovery.c651 int node_len; in ubifs_recover_leb() local
656 node_len = ALIGN(le32_to_cpu(ch->len), 8); in ubifs_recover_leb()
657 offs += node_len; in ubifs_recover_leb()
658 buf += node_len; in ubifs_recover_leb()
659 len -= node_len; in ubifs_recover_leb()
1010 int node_len; in clean_an_unclean_leb() local
1012 node_len = ALIGN(le32_to_cpu(ch->len), 8); in clean_an_unclean_leb()
1013 offs += node_len; in clean_an_unclean_leb()
1014 buf += node_len; in clean_an_unclean_leb()
1015 len -= node_len; in clean_an_unclean_leb()
Dio.c247 int err = -EINVAL, type, node_len; in ubifs_check_node() local
272 node_len = le32_to_cpu(ch->len); in ubifs_check_node()
273 if (node_len + offs > c->leb_size) in ubifs_check_node()
277 if (node_len != c->ranges[type].len) in ubifs_check_node()
279 } else if (node_len < c->ranges[type].min_len || in ubifs_check_node()
280 node_len > c->ranges[type].max_len) in ubifs_check_node()
287 crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); in ubifs_check_node()
302 ubifs_err(c, "bad node length %d", node_len); in ubifs_check_node()
Ddebug.h246 int node_len);
Dtnc.c446 int err, node_len; in try_read_node() local
465 node_len = le32_to_cpu(ch->len); in try_read_node()
466 if (node_len != len) in try_read_node()
471 crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); in try_read_node()
Ddebug.c294 void ubifs_dump_node(const struct ubifs_info *c, const void *node, int node_len) in ubifs_dump_node() argument
327 safe_len = min3(safe_len, max_node_len, node_len); in ubifs_dump_node()
/linux-6.1.9/drivers/acpi/apei/
Dghes.c433 u32 node_len; in ghes_kick_task_work() local
440 node_len = GHES_ESTATUS_NODE_LEN(cper_estatus_len(estatus)); in ghes_kick_task_work()
441 gen_pool_free(ghes_estatus_pool, (unsigned long)estatus_node, node_len); in ghes_kick_task_work()
965 u32 len, node_len; in ghes_proc_in_irq() local
980 node_len = GHES_ESTATUS_NODE_LEN(len); in ghes_proc_in_irq()
999 (unsigned long)estatus_node, node_len); in ghes_proc_in_irq()
1033 u32 len, node_len; in ghes_in_nmi_queue_one_entry() local
1053 node_len = GHES_ESTATUS_NODE_LEN(len); in ghes_in_nmi_queue_one_entry()
1054 estatus_node = (void *)gen_pool_alloc(ghes_estatus_pool, node_len); in ghes_in_nmi_queue_one_entry()
1087 node_len); in ghes_in_nmi_queue_one_entry()