Home
last modified time | relevance | path

Searched refs:child_cnt (Results 1 – 9 of 9) sorted by relevance

/linux-4.19.296/fs/ubifs/
Dtnc_misc.c69 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, 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 …]
Dtnc_commit.c45 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()
455 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in layout_in_empty_space()
462 len = ubifs_idx_node_sz(c, znode->child_cnt); in layout_in_empty_space()
514 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in layout_in_empty_space()
606 for (i = 0; i < znode->child_cnt; i++) { in find_first_dirty()
634 for (; n < znode->child_cnt; n++) { in find_next_dirty()
853 next_len = ubifs_idx_node_sz(c, cnext->child_cnt); in write_index()
870 idx->child_cnt = cpu_to_le16(znode->child_cnt); in write_index()
[all …]
Dmisc.h87 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()
Dcommit.c567 int lnum, offs, len, err = 0, last_level, child_cnt; in dbg_check_old_index() local
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()
Dtnc.c255 const int n = new_zn->child_cnt; in replace_znode()
653 if (nn < znode->child_cnt) { in tnc_next()
665 if (nn < znode->child_cnt) { in tnc_next()
714 nn = znode->child_cnt - 1; in tnc_prev()
719 nn = znode->child_cnt - 1; in tnc_prev()
797 if (*n == (*zn)->child_cnt - 1) { in resolve_collision()
971 if (*n == (*zn)->child_cnt - 1) { in fallible_resolve_collision()
1175 ubifs_assert(c, path[p - 1] < zp->child_cnt); in dirty_cow_bottom_up()
1185 ubifs_assert(c, path[p - 1] < znode->child_cnt); in dirty_cow_bottom_up()
2075 for (i = znode->child_cnt; i > n; i--) { in insert_zbranch()
[all …]
Ddebug.c509 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()
1276 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in dbg_check_znode()
1334 if (znode->iip >= zp->child_cnt) { in dbg_check_znode()
1360 if (n + 1 < zp->child_cnt) { in dbg_check_znode()
1369 &znode->zbranch[znode->child_cnt - 1].key); in dbg_check_znode()
1387 for (n = 1; n < znode->child_cnt; n++) { in dbg_check_znode()
1419 for (n = 0; n < znode->child_cnt; n++) { in dbg_check_znode()
[all …]
Dubifs-media.h772 __le16 child_cnt; member
Dsb.c290 idx->child_cnt = cpu_to_le16(1); in create_default_filesystem()
Dubifs.h775 int child_cnt; member