Home
last modified time | relevance | path

Searched refs:node_count (Results 1 - 25 of 45) sorted by relevance

12

/kernel/linux/common_modules/xpm/validator/
H A Dexec_signature_info.c37 int *node_count; member
312 static struct exec_file_signature_info *rb_add_node(struct rb_root *root, int *node_count, in rb_add_node() argument
335 (*node_count)++; in rb_add_node()
339 static void rb_erase_node(struct rb_root *root, int *node_count, in rb_erase_node() argument
343 (*node_count)--; in rb_erase_node()
362 static void clear_code_segment_info_cache(struct rb_root *root, int *node_count) in clear_code_segment_info_cache() argument
376 rb_erase_node(root, node_count, code_segment_info); in clear_code_segment_info_cache()
467 verity->node_count = &dm_verity_node_count; in get_verity_info()
474 verity->node_count = &fs_verity_node_count; in get_verity_info()
491 rb_erase_node(verity->root, verity->node_count, *old_inf in insert_new_signature_info()
583 elf_code_segment_info_delete(struct rb_root *root, int *node_count, struct inode *file_node) elf_code_segment_info_delete() argument
[all...]
/kernel/linux/linux-6.6/lib/
H A Dlist-test.c1210 static int node_count; variable
1215 node_count++; in check_node()
1221 node_count--; in check_delete_node()
1231 node_count = 0; in klist_test_add_tail()
1235 KUNIT_EXPECT_EQ(test, node_count, 1); in klist_test_add_tail()
1239 KUNIT_EXPECT_EQ(test, node_count, 2); in klist_test_add_tail()
1259 node_count = 0; in klist_test_add_head()
1263 KUNIT_EXPECT_EQ(test, node_count, 1); in klist_test_add_head()
1267 KUNIT_EXPECT_EQ(test, node_count, 2); in klist_test_add_head()
1287 node_count in klist_test_add_behind()
[all...]
H A Dobjagg.c19 unsigned int node_count; member
678 objagg_hints->node_count++; in objagg_hints_node_create()
968 if (WARN_ON(objagg_hints->node_count != objagg->obj_count)) { in objagg_hints_get()
1026 objagg_hints->node_count), in objagg_hints_stats_get()
H A Dmaple_tree.c1180 if (node->node_count == 1) { in mas_pop_node()
1188 ret = node->slot[--node->node_count]; in mas_pop_node()
1189 node->slot[node->node_count] = NULL; in mas_pop_node()
1220 reuse->node_count = 0; in mas_push_node()
1221 if (count && (head->node_count < MAPLE_ALLOC_SLOTS)) { in mas_push_node()
1222 head->slot[head->node_count++] = reuse; in mas_push_node()
1230 reuse->node_count = 1; in mas_push_node()
1264 if (!allocated || mas->alloc->node_count == MAPLE_ALLOC_SLOTS) { in mas_alloc_nodes()
1271 node->node_count = 1; in mas_alloc_nodes()
1273 node->node_count in mas_alloc_nodes()
[all...]
/kernel/linux/linux-5.10/fs/hfsplus/
H A Dbtree.c172 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open()
234 if (!tree->node_count) in hfs_btree_open()
301 head->node_count = cpu_to_be32(tree->node_count); in hfs_btree_write()
367 tree->free_nodes += count - tree->node_count; in hfs_bmap_reserve()
368 tree->node_count = count; in hfs_bmap_reserve()
H A Dxattr.c83 head->node_count = cpu_to_be32(tmp); in hfsplus_init_header_node()
84 head->free_nodes = cpu_to_be32(be32_to_cpu(head->node_count) - 1); in hfsplus_init_header_node()
94 if (be32_to_cpu(head->node_count) > hdr_node_map_rec_bits) { in hfsplus_init_header_node()
101 map_nodes = (be32_to_cpu(head->node_count) - in hfsplus_init_header_node()
109 be32_to_cpu(head->node_count) - be32_to_cpu(head->free_nodes); in hfsplus_init_header_node()
/kernel/linux/linux-5.10/fs/hfs/
H A Dbtree.c88 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open()
98 if (!tree->node_count) in hfs_btree_open()
178 head->node_count = cpu_to_be32(tree->node_count); in hfs_btree_write()
241 tree->free_nodes += count - tree->node_count; in hfs_bmap_reserve()
242 tree->node_count = count; in hfs_bmap_reserve()
H A Dbtree.h34 u32 node_count; member
155 __be32 node_count; /* (V) The total number of nodes */ member
/kernel/linux/linux-6.6/fs/hfs/
H A Dbtree.c89 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open()
99 if (!tree->node_count) in hfs_btree_open()
181 head->node_count = cpu_to_be32(tree->node_count); in hfs_btree_write()
244 tree->free_nodes += count - tree->node_count; in hfs_bmap_reserve()
245 tree->node_count = count; in hfs_bmap_reserve()
H A Dbtree.h34 u32 node_count; member
155 __be32 node_count; /* (V) The total number of nodes */ member
H A Dbnode.c230 if (cnid >= tree->node_count) { in hfs_bnode_findhash()
252 if (cnid >= tree->node_count) { in __hfs_bnode_create()
/kernel/linux/linux-6.6/fs/hfsplus/
H A Dbtree.c172 tree->node_count = be32_to_cpu(head->node_count); in hfs_btree_open()
234 if (!tree->node_count) in hfs_btree_open()
302 head->node_count = cpu_to_be32(tree->node_count); in hfs_btree_write()
368 tree->free_nodes += count - tree->node_count; in hfs_bmap_reserve()
369 tree->node_count = count; in hfs_bmap_reserve()
H A Dxattr.c83 head->node_count = cpu_to_be32(tmp); in hfsplus_init_header_node()
84 head->free_nodes = cpu_to_be32(be32_to_cpu(head->node_count) - 1); in hfsplus_init_header_node()
94 if (be32_to_cpu(head->node_count) > hdr_node_map_rec_bits) { in hfsplus_init_header_node()
101 map_nodes = (be32_to_cpu(head->node_count) - in hfsplus_init_header_node()
109 be32_to_cpu(head->node_count) - be32_to_cpu(head->free_nodes); in hfsplus_init_header_node()
/kernel/linux/linux-5.10/drivers/w1/
H A Dw1_netlink.c545 int node_count = 0; in w1_cn_callback() local
571 ++node_count; in w1_cn_callback()
580 if (node_count) { in w1_cn_callback()
600 node_count * sizeof(struct w1_cb_node) + in w1_cn_callback()
627 block->first_cn = (struct cn_msg *)(node + node_count); in w1_cn_callback()
/kernel/linux/linux-6.6/drivers/w1/
H A Dw1_netlink.c547 int node_count = 0; in w1_cn_callback() local
573 ++node_count; in w1_cn_callback()
582 if (node_count) { in w1_cn_callback()
602 node_count * sizeof(struct w1_cb_node) + in w1_cn_callback()
630 block->first_cn = (struct cn_msg *)(node + node_count); in w1_cn_callback()
/kernel/linux/linux-5.10/drivers/misc/cxl/
H A Dflash.c176 u32 action, node_count; in update_devicetree() local
199 node_count = be32_to_cpu(*data) & NODE_COUNT_MASK; in update_devicetree()
201 action, node_count); in update_devicetree()
204 for (i = 0; i < node_count; i++) { in update_devicetree()
/kernel/linux/linux-6.6/drivers/misc/cxl/
H A Dflash.c177 u32 action, node_count; in update_devicetree() local
200 node_count = be32_to_cpu(*data) & NODE_COUNT_MASK; in update_devicetree()
202 action, node_count); in update_devicetree()
205 for (i = 0; i < node_count; i++) { in update_devicetree()
/kernel/linux/linux-5.10/arch/powerpc/platforms/pseries/
H A Dmobility.c289 u32 node_count = be32_to_cpu(*data) & NODE_COUNT_MASK; in pseries_devicetree_update() local
293 for (i = 0; i < node_count; i++) { in pseries_devicetree_update()
/kernel/linux/linux-5.10/lib/
H A Dobjagg.c19 unsigned int node_count; member
678 objagg_hints->node_count++; in objagg_hints_node_create()
956 if (WARN_ON(objagg_hints->node_count != objagg->obj_count)) { in objagg_hints_get()
1014 objagg_hints->node_count), in objagg_hints_stats_get()
/kernel/linux/linux-6.6/drivers/net/ethernet/intel/ice/
H A Dice_nvm.c744 u16 module_id, length, node_count, i; in ice_get_netlist_info() local
769 status = ice_read_netlist_module(hw, bank, ICE_LINK_TOPO_NODE_COUNT, &node_count); in ice_get_netlist_info()
772 node_count &= ICE_LINK_TOPO_NODE_COUNT_M; in ice_get_netlist_info()
780 ICE_NETLIST_ID_BLK_OFFSET(node_count) * sizeof(u16), in ice_get_netlist_info()
/kernel/linux/linux-5.10/sound/soc/bcm/
H A Dcygnus-ssp.c1314 int node_count; in cygnus_ssp_probe() local
1337 node_count = of_get_child_count(pdev->dev.of_node); in cygnus_ssp_probe()
1338 if ((node_count < 1) || (node_count > CYGNUS_MAX_PORTS)) { in cygnus_ssp_probe()
1340 node_count, CYGNUS_MAX_PORTS); in cygnus_ssp_probe()
/kernel/linux/linux-6.6/sound/soc/bcm/
H A Dcygnus-ssp.c1304 int node_count; in cygnus_ssp_probe() local
1325 node_count = of_get_child_count(pdev->dev.of_node); in cygnus_ssp_probe()
1326 if ((node_count < 1) || (node_count > CYGNUS_MAX_PORTS)) { in cygnus_ssp_probe()
1328 node_count, CYGNUS_MAX_PORTS); in cygnus_ssp_probe()
/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore-topology.c490 int node_count = (card->root_node->node_id & 0x3f) + 1; in update_topology_map() local
495 *map++ = cpu_to_be32((node_count << 16) | self_id_count); in update_topology_map()
/kernel/linux/linux-6.6/arch/powerpc/platforms/pseries/
H A Dmobility.c319 u32 node_count = be32_to_cpu(*data) & NODE_COUNT_MASK; in pseries_devicetree_update() local
323 for (i = 0; i < node_count; i++) { in pseries_devicetree_update()
/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore-topology.c491 int node_count = (card->root_node->node_id & 0x3f) + 1; in update_topology_map() local
496 *map++ = cpu_to_be32((node_count << 16) | self_id_count); in update_topology_map()

Completed in 27 milliseconds

12