| /netbsd-src/sys/dev/acpi/ |
| H A D | acpi_srat.c | 46 static uint32_t nnodes; /* Number of NUMA nodes */ variable 368 nnodes = MAX(cnodes, mnodes) + 1; in acpisrat_refresh() 370 if (nnodes == 0 || nmems == 0 || ncpus == 0) { in acpisrat_refresh() 375 node_array = kmem_zalloc(nnodes * sizeof(struct acpisrat_node), in acpisrat_refresh() 396 for (i = 0; i < nnodes; i++) { in acpisrat_refresh() 451 for (i = 0; i < nnodes; i++) { in acpisrat_exit() 459 kmem_free(node_array, nnodes * sizeof(struct acpisrat_node)); in acpisrat_exit() 471 nnodes = 0; in acpisrat_exit() 536 return nnodes; in acpisrat_nodes() 583 for (i = 0; i < nnodes; i++) { in acpisrat_get_node()
|
| /netbsd-src/common/lib/libc/gen/ |
| H A D | radixtree.c | 1470 unsigned int nnodes = 100000; in test2() local 1479 nodes = malloc(nnodes * sizeof(*nodes)); in test2() 1484 for (i = 0; i < nnodes; i++) { in test2() 1492 n->idx %= nnodes * 2; in test2() 1512 for (i = 0; i < nnodes; i++) { in test2() 1517 printops(title, "lookup", 0, nnodes, &stv, &etv); in test2() 1523 for (i = 0; i < nnodes; i++) { in test2() 1539 printops(title, "get_tag", tagmask, nnodes, &stv, &etv); in test2() 1543 for (i = 0; i < nnodes; i++) { in test2() 1548 printops(title, "remove", 0, nnodes, &stv, &etv); in test2() [all …]
|
| /netbsd-src/sys/rump/librump/rumpvfs/ |
| H A D | devnodes.c | 59 devmajor_t maj, devminor_t minnum, int nnodes) in makedevnodes() argument 70 for (; nnodes > 0; nnodes--, minchar++, minnum++) { in makedevnodes()
|
| /netbsd-src/external/gpl2/mkhybrid/dist/libhfs_iso/ |
| H A D | btree.c | 339 unsigned int nnodes; in bt_space() local 342 nnodes = nrecs * (bt->hdr.bthDepth + 1); in bt_space() 344 if (nnodes <= bt->hdr.bthFree) in bt_space() 359 nnodes = space * (bt->f.vol->mdb.drAlBlkSiz / bt->hdr.bthNodeSize); in bt_space() 361 bt->hdr.bthNNodes += nnodes; in bt_space() 362 bt->hdr.bthFree += nnodes; in bt_space()
|
| /netbsd-src/external/gpl2/lvm2/dist/daemons/clvmd/ |
| H A D | clvmd-cman.c | 141 int nnodes = 0; in _get_num_nodes() local 146 nnodes++; in _get_num_nodes() 148 return nnodes; in _get_num_nodes()
|
| /netbsd-src/external/gpl3/gcc/dist/gcc/ |
| H A D | ipa-inline.cc | 2662 int nnodes; in ipa_inline() local 2673 nnodes = ipa_reverse_postorder (order); in ipa_inline() 2699 for (i = nnodes - 1, j = i; i >= 0; i--) in ipa_inline() 2721 if (nnodes > 1 && j < nnodes - 2) in ipa_inline() 2731 for (i = nnodes - 1; i > j; i--) in ipa_inline() 2748 if (j < nnodes - 2) in ipa_inline()
|
| H A D | passes.cc | 1746 unsigned nnodes = symtab->cgraph_count; in do_per_function_toporder() local 1747 cgraph_node **order = XNEWVEC (cgraph_node *, nnodes); in do_per_function_toporder() 1749 nnodes = ipa_reverse_postorder (order); in do_per_function_toporder() 1750 for (i = nnodes - 1; i >= 0; i--) in do_per_function_toporder() 1761 for (i = nnodes - 1; i >= 0; i--) in do_per_function_toporder()
|
| H A D | ipa-cp.cc | 868 int nnodes, stack_top; member in ipa_topo_info 873 ipa_topo_info () : order(NULL), stack(NULL), nnodes(0), stack_top(0), in ipa_topo_info() 902 topo->nnodes = ipa_reduced_postorder (topo->order, true, in build_toporder_info() 3833 for (i = topo->nnodes - 1; i >= 0; i--) in propagate_constants_topo() 6403 for (i = topo->nnodes - 1; i >= 0; i--) in ipcp_decision_stage()
|
| H A D | ChangeLog-2007 | 32454 (nnodes, order): New static vars.
|
| H A D | ChangeLog-2011 | 29217 (order, nnodes): Remove unused variables.
|
| /netbsd-src/external/gpl3/gcc.old/dist/gcc/ |
| H A D | ipa-inline.c | 2597 int nnodes; in ipa_inline() local 2608 nnodes = ipa_reverse_postorder (order); in ipa_inline() 2634 for (i = nnodes - 1, j = i; i >= 0; i--) in ipa_inline() 2656 if (nnodes > 1 && j < nnodes - 2) in ipa_inline() 2666 for (i = nnodes - 1; i > j; i--) in ipa_inline() 2683 if (j < nnodes - 2) in ipa_inline()
|
| H A D | passes.c | 1698 unsigned nnodes = symtab->cgraph_count; in do_per_function_toporder() local 1699 cgraph_node **order = XNEWVEC (cgraph_node *, nnodes); in do_per_function_toporder() 1701 nnodes = ipa_reverse_postorder (order); in do_per_function_toporder() 1702 for (i = nnodes - 1; i >= 0; i--) in do_per_function_toporder() 1713 for (i = nnodes - 1; i >= 0; i--) in do_per_function_toporder()
|
| H A D | ipa-cp.c | 802 int nnodes, stack_top; variable 807 ipa_topo_info () : order(NULL), stack(NULL), nnodes(0), stack_top(0), in ipa_topo_info() 836 topo->nnodes = ipa_reduced_postorder (topo->order, true, in build_toporder_info() 3783 for (i = topo->nnodes - 1; i >= 0; i--) 5747 for (i = topo->nnodes - 1; i >= 0; i--)
|
| /netbsd-src/external/gpl3/binutils.old/dist/gprofng/src/ |
| H A D | Experiment.h | 530 long nnodes; variable
|
| H A D | Experiment.cc | 1396 nnodes = 0; in Experiment() 5035 if (nnodes >= nchunks * CHUNKSZ) in new_uid_node() 5047 if (NULL == chunks[nnodes / CHUNKSZ]) // Allocate new chunk for nodes. in new_uid_node() 5048 chunks[nnodes / CHUNKSZ] = new UIDnode[CHUNKSZ]; in new_uid_node() 5049 UIDnode *node = &chunks[nnodes / CHUNKSZ][nnodes % CHUNKSZ]; in new_uid_node() 5053 nnodes++; in new_uid_node()
|
| /netbsd-src/external/gpl3/binutils/dist/gprofng/src/ |
| H A D | Experiment.h | 531 long nnodes; variable
|
| H A D | Experiment.cc | 1397 nnodes = 0; in Experiment() 5037 if (nnodes >= nchunks * CHUNKSZ) in new_uid_node() 5049 if (NULL == chunks[nnodes / CHUNKSZ]) // Allocate new chunk for nodes. in new_uid_node() 5050 chunks[nnodes / CHUNKSZ] = new UIDnode[CHUNKSZ]; in new_uid_node() 5051 UIDnode *node = &chunks[nnodes / CHUNKSZ][nnodes % CHUNKSZ]; in new_uid_node() 5055 nnodes++; in new_uid_node()
|