Searched refs:child_cnt (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/fs/ubifs/ |
D | tnc_misc.c | 69 while (znode->parent != zr && iip >= znode->parent->child_cnt) { in ubifs_tnc_levelorder_next() 75 iip >= znode->parent->child_cnt)) { in ubifs_tnc_levelorder_next() 97 iip = znode->parent->child_cnt; in ubifs_tnc_levelorder_next() 141 int beg = 0, end = znode->child_cnt, uninitialized_var(mid); in ubifs_search_zbranch() 163 ubifs_assert(c, *n >= -1 && *n < znode->child_cnt); in ubifs_search_zbranch() 168 if (*n + 1 < znode->child_cnt) in ubifs_search_zbranch() 242 for (n = 0; n < zn->child_cnt; n++) { in ubifs_destroy_tnc_subtree() 295 znode->child_cnt = le16_to_cpu(idx->child_cnt); in read_znode() 299 lnum, offs, znode->level, znode->child_cnt); in read_znode() 301 if (znode->child_cnt > c->fanout || znode->level > UBIFS_MAX_LEVELS) { in read_znode() [all …]
|
D | tnc_commit.c | 45 idx->child_cnt = cpu_to_le16(znode->child_cnt); in make_idx_node() 47 for (i = 0; i < znode->child_cnt; i++) { in make_idx_node() 128 len = ubifs_idx_node_sz(c, c->enext->child_cnt); in fill_gap() 435 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in layout_in_empty_space() 442 len = ubifs_idx_node_sz(c, znode->child_cnt); in layout_in_empty_space() 494 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in layout_in_empty_space() 586 for (i = 0; i < znode->child_cnt; i++) { in find_first_dirty() 614 for (; n < znode->child_cnt; n++) { in find_next_dirty() 833 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in write_index() 850 idx->child_cnt = cpu_to_le16(znode->child_cnt); in write_index() [all …]
|
D | misc.h | 87 while (start < znode->child_cnt) { in ubifs_tnc_find_child() 198 static inline int ubifs_idx_node_sz(const struct ubifs_info *c, int child_cnt) in ubifs_idx_node_sz() argument 200 return UBIFS_IDX_NODE_SZ + (UBIFS_BRANCH_SZ + c->key_len) * child_cnt; in ubifs_idx_node_sz()
|
D | commit.c | 567 int lnum, offs, len, err = 0, uninitialized_var(last_level), child_cnt; in dbg_check_old_index() 613 child_cnt = le16_to_cpu(idx->child_cnt); in dbg_check_old_index() 614 if (child_cnt < 1 || child_cnt > c->fanout) { in dbg_check_old_index() 650 br = ubifs_idx_branch(c, idx, child_cnt - 1); in dbg_check_old_index() 680 if (iip + 1 < le16_to_cpu(idx->child_cnt)) { in dbg_check_old_index() 701 if (iip + 1 < le16_to_cpu(idx->child_cnt)) { in dbg_check_old_index()
|
D | tnc.c | 219 const int n = zn->child_cnt; in copy_znode() 616 if (nn < znode->child_cnt) { in tnc_next() 628 if (nn < znode->child_cnt) { in tnc_next() 677 nn = znode->child_cnt - 1; in tnc_prev() 682 nn = znode->child_cnt - 1; in tnc_prev() 760 if (*n == (*zn)->child_cnt - 1) { in resolve_collision() 934 if (*n == (*zn)->child_cnt - 1) { in fallible_resolve_collision() 1138 ubifs_assert(c, path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up() 1148 ubifs_assert(c, path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up() 2032 for (i = znode->child_cnt; i > n; i--) { in insert_zbranch() [all …]
|
D | debug.c | 509 n = le16_to_cpu(idx->child_cnt); in ubifs_dump_node() 869 znode->level, znode->child_cnt, znode->flags); in ubifs_dump_znode() 871 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in ubifs_dump_znode() 877 for (n = 0; n < znode->child_cnt; n++) { in ubifs_dump_znode() 1275 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in dbg_check_znode() 1333 if (znode->iip >= zp->child_cnt) { in dbg_check_znode() 1359 if (n + 1 < zp->child_cnt) { in dbg_check_znode() 1368 &znode->zbranch[znode->child_cnt - 1].key); in dbg_check_znode() 1386 for (n = 1; n < znode->child_cnt; n++) { in dbg_check_znode() 1418 for (n = 0; n < znode->child_cnt; n++) { in dbg_check_znode() [all …]
|
D | ubifs-media.h | 772 __le16 child_cnt; member
|
D | sb.c | 279 idx->child_cnt = cpu_to_le16(1); in create_default_filesystem()
|
D | ubifs.h | 775 int child_cnt; member
|