Home
last modified time | relevance | path

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

/linux/fs/ubifs/
A 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 …]
A Dlpt_commit.c1081 if (!node_len || node_len > len) in is_a_node()
1137 buf += node_len; in lpt_gc_lnum()
1138 len -= node_len; in lpt_gc_lnum()
1644 dirty += node_len; in dbg_check_ltab_lnum()
1645 p += node_len; in dbg_check_ltab_lnum()
1646 len -= node_len; in dbg_check_ltab_lnum()
1881 node_len = c->pnode_sz; in dump_lpt_leb()
1894 node_len = c->nnode_sz; in dump_lpt_leb()
1917 node_len = c->ltab_sz; in dump_lpt_leb()
1929 p += node_len; in dump_lpt_leb()
[all …]
A 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()
A Dio.c229 int err = -EINVAL, type, node_len; in ubifs_check_node() local
252 node_len = le32_to_cpu(ch->len); in ubifs_check_node()
253 if (node_len + offs > c->leb_size) in ubifs_check_node()
257 if (node_len != c->ranges[type].len) in ubifs_check_node()
259 } else if (node_len < c->ranges[type].min_len || in ubifs_check_node()
260 node_len > c->ranges[type].max_len) in ubifs_check_node()
267 crc = crc32(UBIFS_CRC32_INIT, buf + 8, node_len - 8); in ubifs_check_node()
281 ubifs_err(c, "bad node length %d", node_len); in ubifs_check_node()
A Ddebug.h246 int node_len);
A 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()
A 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/drivers/acpi/apei/
A 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()

Completed in 34 milliseconds