Searched refs:nchildren (Results 1 - 24 of 24) sorted by relevance

/freebsd-11-stable/usr.sbin/autofs/
H A Dautomountd.c67 static int nchildren = 0; variable
530 nchildren -= wait_for_children(false);
531 assert(nchildren >= 0);
542 nchildren -= wait_for_children(false);
543 assert(nchildren >= 0);
545 while (maxproc > 0 && nchildren >= maxproc) {
548 nchildren -= wait_for_children(true);
549 assert(nchildren >= 0);
552 nchildren);
553 nchildren
[all...]
/freebsd-11-stable/usr.sbin/iscsid/
H A Discsid.c61 static int nchildren = 0; variable
571 nchildren -= wait_for_children(false);
572 assert(nchildren >= 0);
583 nchildren -= wait_for_children(false);
584 assert(nchildren >= 0);
586 while (maxproc > 0 && nchildren >= maxproc) {
589 nchildren -= wait_for_children(true);
590 assert(nchildren >= 0);
593 nchildren);
594 nchildren
[all...]
/freebsd-11-stable/sys/dev/mii/
H A Dmii.c132 int i, nchildren; local
135 if (device_get_children(dev, &children, &nchildren) == 0) {
136 for (i = 0; i < nchildren; i++) {
142 if (nchildren == 0) {
235 int i, nchildren; local
240 if (device_get_children(dev, &children, &nchildren) != 0)
243 for (i = 0; i < nchildren; i++) {
368 int bmsr, first, i, nchildren, phymax, phymin, rv; local
430 if (device_get_children(*miibus, &children, &nchildren) != 0) {
432 nchildren
[all...]
/freebsd-11-stable/contrib/jemalloc/src/
H A Drtree.c69 size_t nchildren, i; local
71 nchildren = ZU(1) << rtree->levels[level].bits;
72 for (i = 0; i < nchildren; i++) {
H A Dctl.c837 assert(node->nchildren > 0);
842 for (j = 0; j < node->nchildren; j++) {
978 assert(node->nchildren > 0);
981 if (node->nchildren <= (unsigned)mib[i]) {
/freebsd-11-stable/usr.sbin/pmcstat/
H A Dpmcpl_callgraph.c475 int v_attrs, vs_len, ns_len, width, len, n, nchildren; local
504 nchildren = cg->pcg_nchildren;
505 if (nchildren == 0) {
514 nchildren)) == NULL)
521 assert(cgn - sortbuffer == (int)nchildren);
523 qsort(sortbuffer, nchildren, sizeof(struct pmcstat_cgnode *),
527 for (cgn = sortbuffer, n = 0; n < nchildren; n++, cgn++) {
534 nchildren = n;
536 for (cgn = sortbuffer, n = 0; n < nchildren; n++, cgn++) {
540 if (nchildren >
[all...]
/freebsd-11-stable/contrib/jemalloc/include/jemalloc/internal/
H A Dctl.h21 /* If (nchildren == 0), this is a terminal node. */
22 unsigned nchildren; member in struct:ctl_named_node_s
/freebsd-11-stable/sys/sparc64/sparc64/
H A Djbusppm.c116 int j, nchildren; local
149 &children, &nchildren) != 0) {
154 for (j = 0; j < nchildren; j++) {
H A Dupa.c198 int nchildren; local
233 &children, &nchildren) != 0) {
238 for (j = 0; j < nchildren; j++) {
/freebsd-11-stable/sys/dev/le/
H A Dlebuffer_sbus.c156 int i, nchildren; local
159 if (device_get_children(dev, &children, &nchildren) == 0) {
160 for (i = 0; i < nchildren; i++) {
/freebsd-11-stable/sys/isa/
H A Disa_common.c500 int nchildren, i; local
508 if (device_get_children(dev, &children, &nchildren))
524 for (i = 0; i < nchildren; i++) {
538 for (i = 0; i < nchildren; i++) {
558 if (device_get_children(dev, &children, &nchildren))
562 for (i = 0; i < nchildren; i++) {
578 for (i = 0; i < nchildren; i++) {
878 int nchildren, i; local
890 if (device_get_children(dev, &children, &nchildren))
893 for (i = 0; i < nchildren;
[all...]
/freebsd-11-stable/sys/dev/ata/chipsets/
H A Data-acerlabs.c264 int nchildren, i; local
274 if (!device_get_children(GRANDPARENT(dev), &children, &nchildren)) {
275 for (i = 0; i < nchildren; i++) {
H A Data-serverworks.c149 int nchildren, i; local
152 if (!device_get_children(device_get_parent(dev), &children,&nchildren)){
153 for (i = 0; i < nchildren; i++) {
H A Data-via.c378 int nchildren, i; local
380 if (device_get_children(device_get_parent(dev), &children, &nchildren))
383 for (i = 0; i < nchildren; i++) {
/freebsd-11-stable/sys/dev/nand/
H A Dnandbus.c138 int nchildren, i; local
142 if (!device_get_children(nfc, &children, &nchildren)) {
143 for (i = 0; i < nchildren; i++)
/freebsd-11-stable/sys/compat/linsysfs/
H A Dlinsysfs.c262 int i, nchildren, error; local
401 error = device_get_children(dev, &children, &nchildren);
403 for (i = 0; i < nchildren; i++)
/freebsd-11-stable/sys/sys/
H A Dsmp.h60 int nchildren; member in struct:topo_node
/freebsd-11-stable/sys/x86/x86/
H A Dmp_x86.c714 int nchildren; local
755 nchildren = 0;
764 nchildren++;
768 cg_root->cg_child = smp_topo_alloc(nchildren);
769 cg_root->cg_children = nchildren;
/freebsd-11-stable/sys/dev/esp/
H A Desp_sbus.c204 int error, i, nchildren; local
288 &nchildren) != 0) {
292 for (i = 0; i < nchildren; i++) {
/freebsd-11-stable/usr.sbin/ctld/
H A Dctld.c64 static int nchildren = 0; variable
2309 nchildren -= wait_for_children(false);
2310 assert(nchildren >= 0);
2312 while (conf->conf_maxproc > 0 && nchildren >= conf->conf_maxproc) {
2315 nchildren -= wait_for_children(true);
2316 assert(nchildren >= 0);
2319 nchildren);
2320 nchildren++;
2726 nchildren -= wait_for_children(false);
2727 assert(nchildren >
[all...]
/freebsd-11-stable/sys/dev/ata/
H A Data-pci.c874 int nchildren, i; local
877 if (device_get_children(device_get_parent(dev), &children, &nchildren))
880 for (i = 0; i < nchildren; i++) {
/freebsd-11-stable/sys/dev/sound/pci/
H A Dt4dwave.c832 int nchildren; local
908 &nchildren) == 0) {
909 for (i = 0; i < nchildren; i++) {
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Dspa.c5199 uint64_t nchildren; local
5221 nchildren = 1;
5222 nvlist_lookup_uint64(best_cfg, ZPOOL_CONFIG_VDEV_CHILDREN, &nchildren);
5227 tops = kmem_zalloc(nchildren * sizeof(void *), KM_SLEEP);
5228 for (i = 0; i < nchildren; i++) {
5238 if (i >= nchildren)
5250 for (i = 0; i < nchildren; i++) {
5278 tops, nchildren) == 0);
5295 for (i = 0; i < nchildren; i++)
5297 kmem_free(tops, nchildren * sizeo
[all...]
/freebsd-11-stable/sys/kern/
H A Dsubr_smp.c947 parent->nchildren++;

Completed in 298 milliseconds