Home
last modified time | relevance | path

Searched refs:orph (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/fs/ubifs/
H A Dorphan.c129 static void orphan_delete(struct ubifs_info *c, struct ubifs_orphan *orph) in orphan_delete() argument
131 if (orph->del) { in orphan_delete()
132 dbg_gen("deleted twice ino %lu", (unsigned long)orph->inum); in orphan_delete()
136 if (orph->cmt) { in orphan_delete()
137 orph->del = 1; in orphan_delete()
138 orph->dnext = c->orph_dnext; in orphan_delete()
139 c->orph_dnext = orph; in orphan_delete()
140 dbg_gen("delete later ino %lu", (unsigned long)orph->inum); in orphan_delete()
144 __orphan_drop(c, orph); in orphan_delete()
209 struct ubifs_orphan *orph, *child_orph, *tmp_o; in ubifs_delete_orphan() local
[all …]
H A Dsuper.c898 struct ubifs_orphan *orph; in free_orphans() local
901 orph = c->orph_dnext; in free_orphans()
902 c->orph_dnext = orph->dnext; in free_orphans()
903 list_del(&orph->list); in free_orphans()
904 kfree(orph); in free_orphans()
908 orph = list_entry(c->orph_list.next, struct ubifs_orphan, list); in free_orphans()
909 list_del(&orph->list); in free_orphans()
910 kfree(orph); in free_orphans()
H A Ddebug.c557 const struct ubifs_orph_node *orph = node; in ubifs_dump_node() local
561 le64_to_cpu(orph->cmt_no) & LLONG_MAX); in ubifs_dump_node()
563 (unsigned long long)(le64_to_cpu(orph->cmt_no)) >> 63); in ubifs_dump_node()
568 (unsigned long long)le64_to_cpu(orph->inos[i])); in ubifs_dump_node()
/openbmc/u-boot/fs/ubifs/
H A Dorphan.c265 struct ubifs_orph_node *orph; in write_orph_node() local
288 orph = c->orph_buf; in write_orph_node()
289 orph->ch.node_type = UBIFS_ORPH_NODE; in write_orph_node()
295 orph->inos[i] = cpu_to_le64(orphan->inum); in write_orph_node()
304 orph->cmt_no = cpu_to_le64(c->cmt_no); in write_orph_node()
307 orph->cmt_no = cpu_to_le64((c->cmt_no) | (1ULL << 63)); in write_orph_node()
554 struct ubifs_orph_node *orph; in do_kill_orphans() local
567 orph = snod->node; in do_kill_orphans()
570 cmt_no = le64_to_cpu(orph->cmt_no) & LLONG_MAX; in do_kill_orphans()
601 n = (le32_to_cpu(orph->ch.len) - UBIFS_ORPH_NODE_SZ) >> 3; in do_kill_orphans()
[all …]
H A Dsuper.c1033 struct ubifs_orphan *orph; in free_orphans() local
1036 orph = c->orph_dnext; in free_orphans()
1037 c->orph_dnext = orph->dnext; in free_orphans()
1038 list_del(&orph->list); in free_orphans()
1039 kfree(orph); in free_orphans()
1043 orph = list_entry(c->orph_list.next, struct ubifs_orphan, list); in free_orphans()
1044 list_del(&orph->list); in free_orphans()
1045 kfree(orph); in free_orphans()
H A Ddebug.c528 const struct ubifs_orph_node *orph = node; in ubifs_dump_node() local
532 le64_to_cpu(orph->cmt_no) & LLONG_MAX); in ubifs_dump_node()
534 (unsigned long long)(le64_to_cpu(orph->cmt_no)) >> 63); in ubifs_dump_node()
539 (unsigned long long)le64_to_cpu(orph->inos[i])); in ubifs_dump_node()