/linux/drivers/char/xillybus/ |
H A D | xillybus_class.c | 40 int num_nodes; member 48 int num_nodes, in xillybus_init_chrdev() argument 82 rc = alloc_chrdev_region(&mdev, 0, num_nodes, unit->name); in xillybus_init_chrdev() 91 unit->num_nodes = num_nodes; in xillybus_init_chrdev() 103 unit->num_nodes); in xillybus_init_chrdev() 111 for (i = 0; i < num_nodes; i++) { in xillybus_init_chrdev() 149 dev_info(dev, "Created %d device files.\n", num_nodes); in xillybus_init_chrdev() 164 unit->num_nodes); in xillybus_init_chrdev() 196 minor < (unit->lowest_minor + unit->num_nodes); in xillybus_cleanup_chrdev() 203 unit->num_nodes); in xillybus_cleanup_chrdev() [all …]
|
/linux/arch/sparc/kernel/ |
H A D | cpumap.c | 45 int num_nodes; /* Number of nodes in a level in a cpuinfo tree */ member 127 int i, n, num_nodes; in enumerate_cpuinfo_nodes() local 133 lv->start_index = lv->end_index = lv->num_nodes = 0; in enumerate_cpuinfo_nodes() 136 num_nodes = 1; /* Include the root node */ in enumerate_cpuinfo_nodes() 144 tree_level[CPUINFO_LVL_NODE].num_nodes++; in enumerate_cpuinfo_nodes() 146 num_nodes++; in enumerate_cpuinfo_nodes() 150 tree_level[CPUINFO_LVL_CORE].num_nodes++; in enumerate_cpuinfo_nodes() 152 num_nodes++; in enumerate_cpuinfo_nodes() 156 tree_level[CPUINFO_LVL_PROC].num_nodes++; in enumerate_cpuinfo_nodes() 158 num_nodes++; in enumerate_cpuinfo_nodes() [all …]
|
/linux/drivers/interconnect/qcom/ |
H A D | sdx65.c | 610 .num_nodes = 1, 617 .num_nodes = 1, 624 .num_nodes = 26, 657 .num_nodes = 1, 664 .num_nodes = 2, 671 .num_nodes = 2, 678 .num_nodes = 1, 685 .num_nodes = 1, 692 .num_nodes = 1, 699 .num_nodes = 1, [all …]
|
H A D | sdx55.c | 649 .num_nodes = 1, 656 .num_nodes = 1, 663 .num_nodes = 1, 670 .num_nodes = 1, 677 .num_nodes = 1, 684 .num_nodes = 2, 691 .num_nodes = 1, 698 .num_nodes = 1, 705 .num_nodes = 1, 712 .num_nodes = 2, [all …]
|
H A D | sm6350.c | 1169 .num_nodes = 1, 1176 .num_nodes = 1, 1183 .num_nodes = 41, 1231 .num_nodes = 6, 1244 .num_nodes = 1, 1251 .num_nodes = 1, 1258 .num_nodes = 1, 1265 .num_nodes = 1, 1272 .num_nodes = 1, 1279 .num_nodes = 5, [all …]
|
H A D | sdm670.c | 1052 .num_nodes = 1, 1059 .num_nodes = 1, 1066 .num_nodes = 1, 1073 .num_nodes = 1, 1080 .num_nodes = 1, 1087 .num_nodes = 7, 1101 .num_nodes = 1, 1108 .num_nodes = 1, 1115 .num_nodes = 1, 1122 .num_nodes = 5, [all …]
|
H A D | sdm845.c | 1270 .num_nodes = 1, 1277 .num_nodes = 1, 1284 .num_nodes = 1, 1291 .num_nodes = 1, 1298 .num_nodes = 1, 1305 .num_nodes = 7, 1319 .num_nodes = 1, 1326 .num_nodes = 1, 1333 .num_nodes = 1, 1340 .num_nodes = 5, [all …]
|
H A D | sc7180.c | 1243 .num_nodes = 1, 1250 .num_nodes = 1, 1257 .num_nodes = 1, 1264 .num_nodes = 1, 1271 .num_nodes = 1, 1278 .num_nodes = 48, 1333 .num_nodes = 8, 1348 .num_nodes = 1, 1355 .num_nodes = 1, 1362 .num_nodes = 2, [all …]
|
H A D | sm8150.c | 1287 .num_nodes = 1, 1294 .num_nodes = 1, 1301 .num_nodes = 1, 1308 .num_nodes = 1, 1315 .num_nodes = 7, 1329 .num_nodes = 1, 1336 .num_nodes = 2, 1343 .num_nodes = 2, 1350 .num_nodes = 4, 1357 .num_nodes = 1, [all …]
|
H A D | sm8250.c | 1402 .num_nodes = 1, 1409 .num_nodes = 1, 1416 .num_nodes = 1, 1423 .num_nodes = 1, 1430 .num_nodes = 1, 1437 .num_nodes = 3, 1444 .num_nodes = 2, 1451 .num_nodes = 1, 1458 .num_nodes = 3, 1465 .num_nodes = 1, [all …]
|
H A D | osm-l3.c | 66 size_t num_nodes; member 104 .num_nodes = ARRAY_SIZE(osm_l3_nodes), 112 .num_nodes = ARRAY_SIZE(epss_l3_nodes), 120 .num_nodes = ARRAY_SIZE(epss_l3_nodes), 169 size_t num_nodes; in qcom_osm_l3_probe() local 229 num_nodes = desc->num_nodes; in qcom_osm_l3_probe() 231 data = devm_kzalloc(&pdev->dev, struct_size(data, nodes, num_nodes), GFP_KERNEL); in qcom_osm_l3_probe() 234 data->num_nodes = num_nodes; in qcom_osm_l3_probe() 245 for (i = 0; i < num_nodes; i++) { in qcom_osm_l3_probe()
|
H A D | sm8350.c | 1273 .num_nodes = 1, 1280 .num_nodes = 1, 1287 .num_nodes = 2, 1294 .num_nodes = 47, 1348 .num_nodes = 5, 1355 .num_nodes = 1, 1362 .num_nodes = 1, 1369 .num_nodes = 1, 1376 .num_nodes = 1, 1383 .num_nodes = 3, [all …]
|
H A D | sm7150.c | 1188 .num_nodes = 1, 1195 .num_nodes = 1, 1202 .num_nodes = 1, 1209 .num_nodes = 1, 1216 .num_nodes = 8, 1231 .num_nodes = 1, 1238 .num_nodes = 1, 1245 .num_nodes = 2, 1254 .num_nodes = 5, 1266 .num_nodes = 1, [all …]
|
H A D | sc7280.c | 1464 .num_nodes = 1, 1470 .num_nodes = 1, 1477 .num_nodes = 2, 1483 .num_nodes = 47, 1511 .num_nodes = 6, 1519 .num_nodes = 1, 1525 .num_nodes = 1, 1532 .num_nodes = 1, 1539 .num_nodes = 1, 1545 .num_nodes = 2, [all …]
|
H A D | sm8450.c | 1343 .num_nodes = 1, 1349 .num_nodes = 1, 1357 .num_nodes = 55, 1391 .num_nodes = 2, 1398 .num_nodes = 1, 1405 .num_nodes = 1, 1412 .num_nodes = 12, 1425 .num_nodes = 1, 1433 .num_nodes = 1, 1441 .num_nodes = 1, [all …]
|
H A D | sm8550.c | 1123 .num_nodes = 1, 1129 .num_nodes = 1, 1137 .num_nodes = 54, 1169 .num_nodes = 1, 1176 .num_nodes = 2, 1182 .num_nodes = 2, 1189 .num_nodes = 1, 1195 .num_nodes = 1, 1202 .num_nodes = 8, 1213 .num_nodes = 1, [all …]
|
H A D | x1e80100.c | 1359 .num_nodes = 1, 1365 .num_nodes = 1, 1372 .num_nodes = 63, 1409 .num_nodes = 1, 1415 .num_nodes = 2, 1421 .num_nodes = 2, 1428 .num_nodes = 1, 1434 .num_nodes = 1, 1440 .num_nodes = 10, 1450 .num_nodes = 1, [all …]
|
H A D | icc-rpmh.c | 187 for (i = 0; i < bcm->num_nodes; i++) { in qcom_icc_bcm_init() 213 for (i = 0; i < qp->num_nodes; i++) { in qcom_icc_rpmh_configure_qos() 236 size_t num_nodes, i, j; in qcom_icc_rpmh_probe() local 244 num_nodes = desc->num_nodes; in qcom_icc_rpmh_probe() 250 data = devm_kzalloc(dev, struct_size(data, nodes, num_nodes), GFP_KERNEL); in qcom_icc_rpmh_probe() 253 data->num_nodes = num_nodes; in qcom_icc_rpmh_probe() 269 qp->num_nodes = desc->num_nodes; in qcom_icc_rpmh_probe() 278 for (i = 0; i < num_nodes; i++) { in qcom_icc_rpmh_probe()
|
H A D | sm8650.c | 1164 .num_nodes = 1, 1170 .num_nodes = 1, 1178 .num_nodes = 59, 1214 .num_nodes = 2, 1220 .num_nodes = 2, 1227 .num_nodes = 1, 1233 .num_nodes = 1, 1240 .num_nodes = 8, 1251 .num_nodes = 1, 1259 .num_nodes = 1, [all …]
|
H A D | sc8280xp.c | 1716 .num_nodes = 1, 1722 .num_nodes = 1, 1729 .num_nodes = 9, 1744 .num_nodes = 67, 1817 .num_nodes = 4, 1827 .num_nodes = 3, 1837 .num_nodes = 1, 1844 .num_nodes = 5, 1855 .num_nodes = 8, 1869 .num_nodes = 2, [all …]
|
H A D | sa8775p.c | 1878 .num_nodes = 1, 1884 .num_nodes = 2, 1891 .num_nodes = 2, 1897 .num_nodes = 76, 1940 .num_nodes = 4, 1947 .num_nodes = 2, 1953 .num_nodes = 1, 1959 .num_nodes = 1, 1966 .num_nodes = 1, 1973 .num_nodes = 5, [all …]
|
H A D | sc8180x.c | 1349 .num_nodes = 1, 1356 .num_nodes = 1, 1363 .num_nodes = 1, 1369 .num_nodes = 1, 1376 .num_nodes = 1, 1382 .num_nodes = 1, 1389 .num_nodes = 57, 1451 .num_nodes = 7, 1463 .num_nodes = 3, 1471 .num_nodes = 1, [all …]
|
/linux/fs/ocfs2/ |
H A D | heartbeat.c | 32 map->num_nodes = OCFS2_NODE_MAP_MAX_NODES; in ocfs2_node_map_init() 69 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_set_bit() 81 BUG_ON(bit >= map->num_nodes); in ocfs2_node_map_clear_bit() 92 if (bit >= map->num_nodes) { in ocfs2_node_map_test_bit() 93 mlog(ML_ERROR, "bit=%d map->num_nodes=%d\n", bit, map->num_nodes); in ocfs2_node_map_test_bit()
|
/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | ta_xgmi_if.h | 119 uint32_t num_nodes; member 124 uint32_t num_nodes; member 129 uint32_t num_nodes; member 135 uint32_t num_nodes; member 140 uint32_t num_nodes; member
|
/linux/drivers/infiniband/sw/siw/ |
H A D | siw_main.c | 109 int num_nodes; member 125 int i, num_nodes = nr_node_ids; in siw_init_cpulist() local 129 siw_cpu_info.num_nodes = num_nodes; in siw_init_cpulist() 132 kcalloc(num_nodes, sizeof(struct cpumask *), GFP_KERNEL); in siw_init_cpulist() 134 siw_cpu_info.num_nodes = 0; in siw_init_cpulist() 137 for (i = 0; i < siw_cpu_info.num_nodes; i++) { in siw_init_cpulist() 151 siw_cpu_info.num_nodes = 0; in siw_init_cpulist() 523 siw_destroy_cpulist(siw_cpu_info.num_nodes); in siw_init_module() 538 siw_destroy_cpulist(siw_cpu_info.num_nodes); in siw_exit_module()
|