Searched refs:child_cnt (Results 1 – 9 of 9) sorted by relevance
/linux-6.1.9/fs/ubifs/ |
D | tnc_misc.c | 57 while (znode->parent != zr && iip >= znode->parent->child_cnt) { in ubifs_tnc_levelorder_next() 63 iip >= znode->parent->child_cnt)) { in ubifs_tnc_levelorder_next() 85 iip = znode->parent->child_cnt; in ubifs_tnc_levelorder_next() 129 int beg = 0, end = znode->child_cnt, mid; in ubifs_search_zbranch() 151 ubifs_assert(c, *n >= -1 && *n < znode->child_cnt); in ubifs_search_zbranch() 156 if (*n + 1 < znode->child_cnt) in ubifs_search_zbranch() 230 for (n = 0; n < zn->child_cnt; n++) { in ubifs_destroy_tnc_subtree() 291 znode->child_cnt = le16_to_cpu(idx->child_cnt); in read_znode() 295 lnum, offs, znode->level, znode->child_cnt); in read_znode() 297 if (znode->child_cnt > c->fanout || znode->level > UBIFS_MAX_LEVELS) { in read_znode() [all …]
|
D | tnc_commit.c | 34 idx->child_cnt = cpu_to_le16(znode->child_cnt); in make_idx_node() 36 for (i = 0; i < znode->child_cnt; i++) { in make_idx_node() 121 len = ubifs_idx_node_sz(c, c->enext->child_cnt); in fill_gap() 448 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in layout_in_empty_space() 455 len = ubifs_idx_node_sz(c, znode->child_cnt); in layout_in_empty_space() 507 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in layout_in_empty_space() 599 for (i = 0; i < znode->child_cnt; i++) { in find_first_dirty() 627 for (; n < znode->child_cnt; n++) { in find_next_dirty() 848 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in write_index() 867 idx->child_cnt = cpu_to_le16(znode->child_cnt); in write_index() [all …]
|
D | commit.c | 555 int lnum, offs, len, err = 0, last_level, child_cnt; in dbg_check_old_index() local 601 child_cnt = le16_to_cpu(idx->child_cnt); in dbg_check_old_index() 602 if (child_cnt < 1 || child_cnt > c->fanout) { in dbg_check_old_index() 638 br = ubifs_idx_branch(c, idx, child_cnt - 1); in dbg_check_old_index() 668 if (iip + 1 < le16_to_cpu(idx->child_cnt)) { in dbg_check_old_index() 689 if (iip + 1 < le16_to_cpu(idx->child_cnt)) { in dbg_check_old_index()
|
D | misc.h | 75 while (start < znode->child_cnt) { in ubifs_tnc_find_child() 186 static inline int ubifs_idx_node_sz(const struct ubifs_info *c, int child_cnt) in ubifs_idx_node_sz() argument 189 * child_cnt; in ubifs_idx_node_sz()
|
D | tnc.c | 207 const int n = zn->child_cnt; in copy_znode() 608 if (nn < znode->child_cnt) { in tnc_next() 620 if (nn < znode->child_cnt) { in tnc_next() 669 nn = znode->child_cnt - 1; in tnc_prev() 674 nn = znode->child_cnt - 1; in tnc_prev() 752 if (*n == (*zn)->child_cnt - 1) { in resolve_collision() 926 if (*n == (*zn)->child_cnt - 1) { in fallible_resolve_collision() 1130 ubifs_assert(c, path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up() 1140 ubifs_assert(c, path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up() 2036 for (i = znode->child_cnt; i > n; i--) { in insert_zbranch() [all …]
|
D | debug.c | 535 n = min_t(int, le16_to_cpu(idx->child_cnt), max_child_cnt); in ubifs_dump_node() 536 pr_err("\tchild_cnt %d\n", (int)le16_to_cpu(idx->child_cnt)); in ubifs_dump_node() 884 znode->level, znode->child_cnt, znode->flags); in ubifs_dump_znode() 886 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in ubifs_dump_znode() 892 for (n = 0; n < znode->child_cnt; n++) { in ubifs_dump_znode() 1291 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in dbg_check_znode() 1349 if (znode->iip >= zp->child_cnt) { in dbg_check_znode() 1375 if (n + 1 < zp->child_cnt) { in dbg_check_znode() 1384 &znode->zbranch[znode->child_cnt - 1].key); in dbg_check_znode() 1402 for (n = 1; n < znode->child_cnt; n++) { in dbg_check_znode() [all …]
|
D | ubifs-media.h | 828 __le16 child_cnt; member
|
D | sb.c | 280 idx->child_cnt = cpu_to_le16(1); in create_default_filesystem()
|
D | ubifs.h | 794 int child_cnt; member
|