/kernel/linux/linux-6.6/fs/cachefiles/ |
H A D | volume.c | 14 * Allocate and set up a volume representation. We make sure all the fanout 75 volume->fanout[i] = fan; in cachefiles_acquire_volume() 95 cachefiles_put_directory(volume->fanout[i]); in cachefiles_acquire_volume() 117 cachefiles_put_directory(volume->fanout[i]); in __cachefiles_free_volume()
|
H A D | namei.c | 419 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_delete_object() 443 struct dentry *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_create_tmpfile() 624 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_look_up_object() 629 /* Look up path "cache/vol/fanout/file". */ in cachefiles_look_up_object() 674 struct dentry *dentry, *fan = volume->fanout[(u8)object->cookie->key_hash]; in cachefiles_commit_tmpfile()
|
H A D | internal.h | 44 struct dentry *fanout[256]; /* Fanout subdirs */ member
|
/kernel/linux/linux-5.10/net/packet/ |
H A D | diag.c | 118 if (po->fanout) { in pdiag_put_fanout() 121 val = (u32)po->fanout->id | ((u32)po->fanout->type << 16); in pdiag_put_fanout()
|
H A D | internal.h | 112 struct packet_fanout *fanout; member
|
H A D | af_packet.c | 306 if (po->fanout) in __register_prot_hook() 336 if (po->fanout) in __unregister_prot_hook() 1485 struct packet_fanout *f = po->fanout; in __fanout_link() 1498 struct packet_fanout *f = po->fanout; in __fanout_unlink() 1522 return ptype->af_packet_priv == pkt_sk(sk)->fanout; in match_fanout_group() 1571 __fanout_set_data_bpf(po->fanout, new); in fanout_set_data_cbpf() 1592 __fanout_set_data_bpf(po->fanout, new); in fanout_set_data_ebpf() 1599 switch (po->fanout->type) { in fanout_set_data() 1678 if (po->fanout) in fanout_add() 1760 WRITE_ONCE(po->fanout, matc in fanout_add() [all...] |
/kernel/linux/linux-6.6/net/packet/ |
H A D | diag.c | 118 if (po->fanout) { in pdiag_put_fanout() 121 val = (u32)po->fanout->id | ((u32)po->fanout->type << 16); in pdiag_put_fanout()
|
H A D | internal.h | 112 struct packet_fanout *fanout; member
|
H A D | af_packet.c | 341 if (po->fanout) in __register_prot_hook() 371 if (po->fanout) in __unregister_prot_hook() 1520 struct packet_fanout *f = po->fanout; in __fanout_link() 1533 struct packet_fanout *f = po->fanout; in __fanout_unlink() 1557 return ptype->af_packet_priv == pkt_sk(sk)->fanout; in match_fanout_group() 1606 __fanout_set_data_bpf(po->fanout, new); in fanout_set_data_cbpf() 1627 __fanout_set_data_bpf(po->fanout, new); in fanout_set_data_ebpf() 1634 switch (po->fanout->type) { in fanout_set_data() 1714 if (po->fanout) in fanout_add() 1797 WRITE_ONCE(po->fanout, matc in fanout_add() [all...] |
/kernel/linux/linux-5.10/fs/ubifs/ |
H A D | commit.c | 570 sz = sizeof(struct idx_node) + ubifs_idx_node_sz(c, c->fanout) - in dbg_check_old_index() 602 if (child_cnt < 1 || child_cnt > c->fanout) { in dbg_check_old_index() 704 ubifs_dump_node(c, idx, ubifs_idx_node_sz(c, c->fanout)); in dbg_check_old_index() 710 ubifs_dump_node(c, &i->idx, ubifs_idx_node_sz(c, c->fanout)); in dbg_check_old_index()
|
H A D | sb.c | 31 /* Default indexing tree fanout */ 202 sup->fanout = cpu_to_le32(DEFAULT_FANOUT); in create_default_filesystem() 457 if (c->fanout < UBIFS_MIN_FANOUT || in validate_sb() 458 ubifs_idx_node_sz(c, c->fanout) > c->leb_size) { in validate_sb() 719 c->fanout = le32_to_cpu(sup->fanout); in ubifs_read_superblock()
|
H A D | tnc.c | 2124 ubifs_assert(c, n >= 0 && n <= c->fanout); in tnc_insert() 2129 if (znode->child_cnt < c->fanout) { in tnc_insert() 2130 ubifs_assert(c, n != c->fanout); in tnc_insert() 2164 if (n == c->fanout) { in tnc_insert() 2171 } else if (appending && n != c->fanout) { in tnc_insert() 2175 if (n >= (c->fanout + 1) / 2) { in tnc_insert() 2183 move = c->fanout - keep; in tnc_insert() 2192 keep = c->fanout; in tnc_insert() 2195 keep = (c->fanout + 1) / 2; in tnc_insert() 2196 move = c->fanout in tnc_insert() [all...] |
H A D | budget.c | 635 * of data nodes, f - fanout. Because effective UBIFS fanout is twice in ubifs_reported_space() 636 * as less than maximum fanout, we assume that each data node in ubifs_reported_space() 637 * introduces 3 * @c->max_idx_node_sz / (@c->fanout/2 - 1) bytes. in ubifs_reported_space() 641 f = c->fanout > 3 ? c->fanout >> 1 : 2; in ubifs_reported_space()
|
H A D | tnc_misc.c | 297 if (znode->child_cnt > c->fanout || znode->level > UBIFS_MAX_LEVELS) { in read_znode() 298 ubifs_err(c, "current fanout %d, branch count %d", in read_znode() 299 c->fanout, znode->child_cnt); in read_znode() 419 * depends on the fanout which is stored in the superblock. in ubifs_load_znode()
|
H A D | ubifs-media.h | 105 /* 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
|
H A D | super.c | 619 * read and the fanout is known. in init_constants_early() 684 c->fanout * sizeof(struct ubifs_zbranch); in init_constants_sb() 690 tmp = ubifs_idx_node_sz(c, c->fanout); in init_constants_sb() 1591 dbg_gen("tree fanout: %d", c->fanout); in mount_ubifs() 1603 UBIFS_MAX_DENT_NODE_SZ, ubifs_idx_node_sz(c, c->fanout)); in mount_ubifs()
|
H A D | debug.c | 374 pr_err("\tfanout %u\n", le32_to_cpu(sup->fanout)); in ubifs_dump_node() 540 for (i = 0; i < n && i < c->fanout; i++) { in ubifs_dump_node() 886 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in ubifs_dump_znode() 1291 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in dbg_check_znode() 1299 if (znode->iip < 0 || znode->iip >= c->fanout) { in dbg_check_znode()
|
/kernel/linux/linux-6.6/fs/ubifs/ |
H A D | commit.c | 570 sz = sizeof(struct idx_node) + ubifs_idx_node_sz(c, c->fanout) - in dbg_check_old_index() 602 if (child_cnt < 1 || child_cnt > c->fanout) { in dbg_check_old_index() 704 ubifs_dump_node(c, idx, ubifs_idx_node_sz(c, c->fanout)); in dbg_check_old_index() 710 ubifs_dump_node(c, &i->idx, ubifs_idx_node_sz(c, c->fanout)); in dbg_check_old_index()
|
H A D | sb.c | 31 /* Default indexing tree fanout */ 205 sup->fanout = cpu_to_le32(DEFAULT_FANOUT); in create_default_filesystem() 460 if (c->fanout < UBIFS_MIN_FANOUT || in validate_sb() 461 ubifs_idx_node_sz(c, c->fanout) > c->leb_size) { in validate_sb() 722 c->fanout = le32_to_cpu(sup->fanout); in ubifs_read_superblock()
|
H A D | tnc.c | 2125 ubifs_assert(c, n >= 0 && n <= c->fanout); in tnc_insert() 2130 if (znode->child_cnt < c->fanout) { in tnc_insert() 2131 ubifs_assert(c, n != c->fanout); in tnc_insert() 2165 if (n == c->fanout) { in tnc_insert() 2172 } else if (appending && n != c->fanout) { in tnc_insert() 2176 if (n >= (c->fanout + 1) / 2) { in tnc_insert() 2184 move = c->fanout - keep; in tnc_insert() 2193 keep = c->fanout; in tnc_insert() 2196 keep = (c->fanout + 1) / 2; in tnc_insert() 2197 move = c->fanout in tnc_insert() [all...] |
H A D | tnc_misc.c | 297 if (znode->child_cnt > c->fanout || znode->level > UBIFS_MAX_LEVELS) { in read_znode() 298 ubifs_err(c, "current fanout %d, branch count %d", in read_znode() 299 c->fanout, znode->child_cnt); in read_znode() 419 * depends on the fanout which is stored in the superblock. in ubifs_load_znode()
|
H A D | budget.c | 632 * of data nodes, f - fanout. Because effective UBIFS fanout is twice in ubifs_reported_space() 633 * as less than maximum fanout, we assume that each data node in ubifs_reported_space() 634 * introduces 3 * @c->max_idx_node_sz / (@c->fanout/2 - 1) bytes. in ubifs_reported_space() 638 f = c->fanout > 3 ? c->fanout >> 1 : 2; in ubifs_reported_space()
|
H A D | ubifs-media.h | 105 /* 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
|
H A D | super.c | 619 * read and the fanout is known. in init_constants_early() 684 c->fanout * sizeof(struct ubifs_zbranch); in init_constants_sb() 690 tmp = ubifs_idx_node_sz(c, c->fanout); in init_constants_sb() 1594 dbg_gen("tree fanout: %d", c->fanout); in mount_ubifs() 1606 UBIFS_MAX_DENT_NODE_SZ, ubifs_idx_node_sz(c, c->fanout)); in mount_ubifs()
|
H A D | debug.c | 374 pr_err("\tfanout %u\n", le32_to_cpu(sup->fanout)); in ubifs_dump_node() 540 for (i = 0; i < n && i < c->fanout; i++) { in ubifs_dump_node() 886 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in ubifs_dump_znode() 1291 if (znode->child_cnt <= 0 || znode->child_cnt > c->fanout) { in dbg_check_znode() 1299 if (znode->iip < 0 || znode->iip >= c->fanout) { in dbg_check_znode()
|