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

/linux-master/fs/cachefiles/
H A Dvolume.c14 * Allocate and set up a volume representation. We make sure all the fanout
75 volume->fanout[i] = fan;
95 cachefiles_put_directory(volume->fanout[i]);
117 cachefiles_put_directory(volume->fanout[i]);
H A Dnamei.c421 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash];
445 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash];
626 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash];
631 /* Look up path "cache/vol/fanout/file". */
676 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash];
H A Dinterface.c424 struct dentry *fan = volume->fanout[(u8)cookie->key_hash];
H A Dinternal.h44 struct dentry *fanout[256]; /* Fanout subdirs */ member in struct:cachefiles_volume
/linux-master/net/packet/
H A Ddiag.c118 if (po->fanout) {
121 val = (u32)po->fanout->id | ((u32)po->fanout->type << 16);
H A Dinternal.h112 struct packet_fanout *fanout; member in struct:packet_sock
H A Daf_packet.c341 if (po->fanout)
371 if (po->fanout)
1520 struct packet_fanout *f = po->fanout;
1533 struct packet_fanout *f = po->fanout;
1557 return ptype->af_packet_priv == pkt_sk(sk)->fanout;
1606 __fanout_set_data_bpf(po->fanout, new);
1627 __fanout_set_data_bpf(po->fanout, new);
1634 switch (po->fanout->type) {
1714 if (po->fanout)
1797 WRITE_ONCE(po->fanout, matc
[all...]
/linux-master/fs/ubifs/
H A Dcommit.c581 sz = sizeof(struct idx_node) + ubifs_idx_node_sz(c, c->fanout) -
613 if (child_cnt < 1 || child_cnt > c->fanout) {
715 ubifs_dump_node(c, idx, ubifs_idx_node_sz(c, c->fanout));
721 ubifs_dump_node(c, &i->idx, ubifs_idx_node_sz(c, c->fanout));
H A Dsb.c31 /* Default indexing tree fanout */
205 sup->fanout = cpu_to_le32(DEFAULT_FANOUT);
460 if (c->fanout < UBIFS_MIN_FANOUT ||
461 ubifs_idx_node_sz(c, c->fanout) > c->leb_size) {
722 c->fanout = le32_to_cpu(sup->fanout);
H A Dbudget.c632 * of data nodes, f - fanout. Because effective UBIFS fanout is twice
633 * as less than maximum fanout, we assume that each data node
634 * introduces 3 * @c->max_idx_node_sz / (@c->fanout/2 - 1) bytes.
638 f = c->fanout > 3 ? c->fanout >> 1 : 2;
H A Dtnc_misc.c319 if (znode->child_cnt > c->fanout || znode->level > UBIFS_MAX_LEVELS) {
320 ubifs_err(c, "current fanout %d, branch count %d",
321 c->fanout, znode->child_cnt);
441 * depends on the fanout which is stored in the superblock.
H A Dtnc.c2125 ubifs_assert(c, n >= 0 && n <= c->fanout);
2130 if (znode->child_cnt < c->fanout) {
2131 ubifs_assert(c, n != c->fanout);
2165 if (n == c->fanout) {
2172 } else if (appending && n != c->fanout) {
2176 if (n >= (c->fanout + 1) / 2) {
2184 move = c->fanout - keep;
2193 keep = c->fanout;
2196 keep = (c->fanout + 1) / 2;
2197 move = c->fanout
[all...]
H A Dubifs-media.h105 /* Minimum index tree fanout */
114 /* LEB Properties Tree fanout (must be power of 2) and fanout shift */
633 * @fanout: tree fanout (max. number of links per indexing node)
667 __le32 fanout; member in struct:ubifs_sb_node
H A Ddebug.c374 pr_err("\tfanout %u\n", le32_to_cpu(sup->fanout));
540 for (i = 0; i < n && i < c->fanout; i++) {
886 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) {
1291 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) {
1299 if (znode->iip < 0 || znode->iip >= c->fanout) {
H A Dsuper.c615 * read and the fanout is known.
680 c->fanout * sizeof(struct ubifs_zbranch);
686 tmp = ubifs_idx_node_sz(c, c->fanout);
1593 dbg_gen("tree fanout: %d", c->fanout);
1605 UBIFS_MAX_DENT_NODE_SZ, ubifs_idx_node_sz(c, c->fanout));
H A Dtnc_commit.c442 buf_len = ubifs_idx_node_sz(c, c->fanout);
H A Dubifs.h781 * @zbranch: array of znode branches (@c->fanout elements)
1117 * @fanout: fanout of the index tree (number of links per indexing node)
1377 int fanout; member in struct:ubifs_info

Completed in 590 milliseconds