Home
last modified time | relevance | path

Searched refs:node_count (Results 1 – 25 of 26) sorted by relevance

12

/linux-6.6.21/lib/
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 = 0; in klist_test_add_behind()
[all …]
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()
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 = 0; in mas_alloc_nodes()
[all …]
/linux-6.6.21/fs/hfs/
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()
Dbtree.h34 u32 node_count; member
155 __be32 node_count; /* (V) The total number of nodes */ member
Dbnode.c230 if (cnid >= tree->node_count) { in hfs_bnode_findhash()
252 if (cnid >= tree->node_count) { in __hfs_bnode_create()
Dinode.c124 } while (--i && nidx < tree->node_count); in hfs_release_folio()
/linux-6.6.21/fs/hfsplus/
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()
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()
Dhfsplus_raw.h175 __be32 node_count; member
Dbnode.c380 if (cnid >= tree->node_count) { in hfs_bnode_findhash()
401 if (cnid >= tree->node_count) { in __hfs_bnode_create()
Dhfsplus_fs.h83 u32 node_count; member
Dinode.c121 } while (--i && nidx < tree->node_count); in hfsplus_release_folio()
/linux-6.6.21/drivers/misc/cxl/
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()
/linux-6.6.21/drivers/w1/
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()
/linux-6.6.21/drivers/net/ethernet/intel/ice/
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()
/linux-6.6.21/sound/soc/bcm/
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()
/linux-6.6.21/arch/powerpc/platforms/pseries/
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()
/linux-6.6.21/drivers/firewire/
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()
/linux-6.6.21/drivers/acpi/arm64/
Diort.c245 for (i = 0; i < iort->node_count; i++) { in iort_scan_node()
1054 for (i = 0; i < iort->node_count; i++) { in iort_find_rmrs()
1928 for (i = 0; i < iort->node_count; i++) { in iort_init_platform_devices()
2003 for (i = 0; i < iort->node_count; i++) { in acpi_iort_dma_get_max_cpu_address()
/linux-6.6.21/drivers/acpi/
Dviot.c296 for (i = 0; i < viot->node_count; i++) { in acpi_viot_init()
/linux-6.6.21/include/acpi/
Dactbl3.h505 u16 node_count; member
Dactbl2.h385 u32 node_count; member
2783 u32 node_count; member
/linux-6.6.21/include/linux/
Dmaple_tree.h134 unsigned char node_count; member
/linux-6.6.21/drivers/edac/
Damd64_edac.c988 u16 node_count; member
1022 gpu_node_map.node_count = FIELD_GET(LNTM_NODE_COUNT, tmp); in gpu_get_node_map()

12