Searched refs:fanout (Results 1 - 10 of 10) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/fs/ubifs/
H A Dsb.c43 /* Default indexing tree fanout */
181 sup->fanout = cpu_to_le32(DEFAULT_FANOUT);
429 if (c->fanout < UBIFS_MIN_FANOUT ||
430 ubifs_idx_node_sz(c, c->fanout) > c->leb_size) {
610 c->fanout = le32_to_cpu(sup->fanout);
H A Dtnc_misc.c295 if (znode->child_cnt > c->fanout || znode->level > UBIFS_MAX_LEVELS) {
296 dbg_err("current fanout %d, branch count %d",
297 c->fanout, znode->child_cnt);
416 * depends on the fanout which is stored in the superblock.
H A Dbudget.c650 * of data nodes, f - fanout. Because effective UBIFS fanout is twice
651 * as less than maximum fanout, we assume that each data node
652 * introduces 3 * @c->max_idx_node_sz / (@c->fanout/2 - 1) bytes.
656 f = c->fanout > 3 ? c->fanout >> 1 : 2;
H A Dtnc.c1977 ubifs_assert(n >= 0 && n <= c->fanout);
1982 if (znode->child_cnt < c->fanout) {
1983 ubifs_assert(n != c->fanout);
2018 if (n == c->fanout) {
2025 } else if (appending && n != c->fanout) {
2029 if (n >= (c->fanout + 1) / 2) {
2037 move = c->fanout - keep;
2046 keep = c->fanout;
2049 keep = (c->fanout + 1) / 2;
2050 move = c->fanout
[all...]
H A Dubifs-media.h117 /* Minimum index tree fanout */
126 /* LEB Properties Tree fanout (must be power of 2) and fanout shift */
607 * @fanout: tree fanout (max. number of links per indexing node)
635 __le32 fanout; member in struct:ubifs_sb_node
H A Dcommit.c526 sz = sizeof(struct idx_node) + ubifs_idx_node_sz(c, c->fanout) -
558 if (child_cnt < 1 || child_cnt > c->fanout) {
H A Ddebug.c339 le32_to_cpu(sup->fanout));
538 for (i = 0; i < n && i < c->fanout - 1; i++) {
858 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) {
1222 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) {
1230 if (znode->iip < 0 || znode->iip >= c->fanout) {
H A Dsuper.c570 * read and the fanout is known.
631 c->fanout * sizeof(struct ubifs_zbranch);
637 tmp = ubifs_idx_node_sz(c, c->fanout);
1416 dbg_msg("tree fanout: %d", c->fanout);
H A Dtnc_commit.c427 buf_len = ubifs_idx_node_sz(c, c->fanout);
H A Dubifs.h753 * @zbranch: array of znode branches (@c->fanout elements)
1019 * @fanout: fanout of the index tree (number of links per indexing node)
1261 int fanout; member in struct:ubifs_info

Completed in 105 milliseconds