Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 527) sorted by relevance

12345678910>>...22

/freebsd/sys/contrib/openzfs/cmd/zpool/
H A Dzpool_vdev.c469 uint_t c, children; in get_replication() local
507 &child, &children) != 0) { in get_replication()
547 for (c = 0; c < children; c++) { in get_replication()
794 uint_t children; in check_replication() local
816 &child, &children) != 0) || (children == 0)) { in check_replication()
824 if (num_logs(newroot) == children) { in check_replication()
958 uint_t c, children; in make_disks() local
971 &child, &children) != 0) { in make_disks()
1109 for (c = 0; c < children; c++) in make_disks()
1114 &child, &children) == 0) in make_disks()
[all …]
/freebsd/crypto/openssh/
H A Dsshd.c193 static struct early_child *children; variable
230 children = xcalloc(options.max_startups, sizeof(*children)); in child_alloc()
232 children[i].pipefd = -1; in child_alloc()
233 children[i].pid = -1; in child_alloc()
249 if (children[i].pipefd != -1 || in child_register()
250 children[i].config != NULL || in child_register()
251 children[i].keys != NULL || in child_register()
252 children[i].pid > 0) in child_register()
254 child = &(children[i]); in child_register()
334 if (children == NULL || pid <= 0) in child_exit()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_root/zpool_create/
H A Dzpool_create_draid_005_pos.ksh66 children=$(random_int_between $min_children $max_children)
67 (( width = (children * n) ))
70 draid="draid${parity}:${data}d:${children}c:${width}w:${spares}s"
83 for (( c = 0; c < children; c++ )); do
94 for (( c = 0; c < children; c++ )); do
108 children=32
109 draid_vdevs=$(echo $TESTDIR/file.{1..$children})
110 draid_vdevs0=$(echo $TESTDIR/file.{1..$((children / 2))})
111 draid_vdevs1=$(echo $TESTDIR/file.{$((children / 2 + 1))..$children})
112 draid_vdevs0_less=$(echo $TESTDIR/file.{1..$((children / 2 - 1))})
[all …]
H A Dzpool_create_draid_001_pos.ksh59 for children in {$((parity + 2))..24}; do
60 vdevs=$(echo $TESTDIR/file.{01..${children}})
69 for children in $children_counts; do
70 vdevs=$(echo $TESTDIR/file.{01..${children}})
/freebsd/crypto/openssl/test/cms-msg/
H A Dmake_missing_kdf_der.py31 children: list["Node"]
52 children: list[Node] = []
57 children.append(child)
61 return Node(off=off, tag=tag, hdr_len=hdr_len, length=length, end=end, children=children)
100 ed_wrapper = root.children[1]
101 env_seq = ed_wrapper.children[0]
102 recipient_set = env_seq.children[1]
103 pwri_choice = recipient_set.children[0] # [3]
107 if len(pwri_choice.children) < 3:
110 version = pwri_choice.children[0]
[all …]
/freebsd/tools/test/stress2/misc/
H A Dgraid1_11.sh22 local children
24 children=$(pgrep -P "$1")
25 for pid in $children ; do
28 echo "$children"
49 children=""
62 children="${children:+${children},}$!"
68 pkill -P ${children} -x dd
/freebsd/lib/libc/tests/gen/
H A Dfts_children_test.c43 FTSENT *children, *p; in ATF_TC_BODY() local
52 children = fts_children(fts, 0); in ATF_TC_BODY()
53 ATF_REQUIRE_MSG(children != NULL, in ATF_TC_BODY()
58 for (p = children; p != NULL; p = p->fts_link) { in ATF_TC_BODY()
83 FTSENT *ent, *children; in ATF_TC_BODY() local
95 children = fts_children(fts, 0); in ATF_TC_BODY()
96 ATF_CHECK_MSG(children == NULL, in ATF_TC_BODY()
119 FTSENT *ent, *children, *p; in ATF_TC_BODY() local
134 children = fts_children(fts, 0); in ATF_TC_BODY()
135 ATF_REQUIRE_MSG(children != NULL, "fts_children(): %m"); in ATF_TC_BODY()
[all …]
/freebsd/sys/dev/nvme/
H A Dnvme.c96 device_t *children; in nvme_notify_async() local
99 if (device_get_children(ctrlr->dev, &children, &n_children) != 0) in nvme_notify_async()
103 NVME_HANDLE_AEN(children[i], async_cpl, log_page_id, in nvme_notify_async()
106 free(children, M_TEMP); in nvme_notify_async()
112 device_t *children; in nvme_notify_fail() local
124 if (device_get_children(ctrlr->dev, &children, &n_children) != 0) in nvme_notify_fail()
128 NVME_CONTROLLER_FAILED(children[i]); in nvme_notify_fail()
130 free(children, M_TEMP); in nvme_notify_fail()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/channel_program/synctask_core/
H A Dtst.list_children.ksh47 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
56 for s in zfs.list.children("$TESTPOOL") do
69 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
89 for s in zfs.list.children("$TESTPOOL/$TESTFS") do
104 zfs.list.children("$TESTPOOL/not-a-fs")
109 zfs.list.children("not-a-pool/$TESTFS")
115 zfs.list.children("rpool")
121 zfs.list.children("$TESTPOOL/$TESTFS@$TESTSNAP")
/freebsd/sys/contrib/openzfs/tests/zfs-tests/cmd/
H A Ddraid.c407 alloc_new_map(uint64_t children, uint64_t nperms, uint64_t seed, in alloc_new_map() argument
417 map->dm_children = children; in alloc_new_map()
437 alloc_fixed_map(uint64_t children, draid_map_t **mapp) in alloc_fixed_map() argument
443 error = vdev_draid_lookup_map(children, &fixed_map); in alloc_fixed_map()
497 uint64_t children = map->dm_children; in eval_resilver() local
499 uint64_t ndisks = children - nspares; in eval_resilver()
504 while (ngroups * (groupwidth) % (children - nspares) != 0) in eval_resilver()
608 uint64_t children = map->dm_children; in eval_decluster() local
619 if (children == VDEV_DRAID_MIN_CHILDREN) { in eval_decluster()
638 groupwidth <= MIN(children - nspares, 19); in eval_decluster()
[all …]
/freebsd/cddl/usr.sbin/zfsd/
H A Dvdev.cc203 std::list<Vdev> children; in Children() local
206 return (children); in Children()
211 return (children); in Children()
214 children.push_back(Vdev(m_poolConfig, vdevChildren[c])); in Children()
216 return (children); in Children()
242 std::list<Vdev> children; in Parent() local
253 children = vd.Children(); in Parent()
254 children_it = children.begin(); in Parent()
255 for (;children_it != children.end(); children_it++) { in Parent()
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DStmtObjC.h67 child_range children() { in children() function
71 const_child_range children() const { in children() function
119 child_range children() { return child_range(&Body, &Body + 1); } in children() function
121 const_child_range children() const { in children() function
155 child_range children() { in children() function
159 const_child_range children() const { in children() function
265 child_range children() { in children() function
269 const_child_range children() const { in children() function
270 return const_child_range(const_cast<ObjCAtTryStmt *>(this)->children()); in children()
348 child_range children() { in children() function
[all …]
H A DOpenMPClause.h92 child_range children();
93 const_child_range children() const { in children() function
94 auto Children = const_cast<OMPClause *>(this)->children(); in children()
103 auto Children = const_cast<OMPClause *>(this)->children(); in used_children()
123 child_range children() { in children() function
127 const_child_range children() const { in children() function
176 child_range children() { return child_range(&S, &S + 1); } in children() function
178 const_child_range children() const { return const_child_range(&S, &S + 1); } in children() function
367 child_range children() { in children() function
371 const_child_range children() const { in children() function
[all …]
H A DExprObjC.h75 child_range children() { return child_range(&String, &String+1); } in children() function
77 const_child_range children() const { in children() function
110 child_range children() { in children() function
114 const_child_range children() const { in children() function
166 child_range children() { return child_range(&SubExpr, &SubExpr+1); } in children() function
168 const_child_range children() const { in children() function
243 child_range children() { in children() function
248 const_child_range children() const { in children() function
249 auto Children = const_cast<ObjCArrayLiteral *>(this)->children(); in children()
384 child_range children() { in children() function
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/redundancy/
H A Dredundancy_draid_width.ksh58 typeset -i children=$(random_int_between 3 6)
60 typeset -i ith=$(random_int_between 0 $((children - 1)))
61 typeset -i width=$((children * fgroups))
62 setup_test_env $TESTPOOL draid:${children}c:${width}w $width
90 log_pass "draid:${children}c:${width}w pool can withstand $fgroups i-th" \
/freebsd/tests/sys/kern/
H A Dptrace_test.c639 pid_t children[2], fpid, wpid; in ATF_TC_BODY() local
649 children[0] = fpid; in ATF_TC_BODY()
652 wpid = waitpid(children[0], &status, 0); in ATF_TC_BODY()
653 REQUIRE_EQ(wpid, children[0]); in ATF_TC_BODY()
657 ATF_REQUIRE(ptrace(PT_FOLLOW_FORK, children[0], NULL, 1) != -1); in ATF_TC_BODY()
660 ATF_REQUIRE(ptrace(PT_CONTINUE, children[0], (caddr_t)1, 0) != -1); in ATF_TC_BODY()
662 children[1] = handle_fork_events(children[0], NULL); in ATF_TC_BODY()
663 ATF_REQUIRE(children[1] > 0); in ATF_TC_BODY()
665 ATF_REQUIRE(ptrace(PT_CONTINUE, children[0], (caddr_t)1, 0) != -1); in ATF_TC_BODY()
666 ATF_REQUIRE(ptrace(PT_CONTINUE, children[1], (caddr_t)1, 0) != -1); in ATF_TC_BODY()
[all …]
H A Dsysctl_security_jail_children.sh36 origin_max=$(sysctl -n security.jail.children.max)
37 origin_cur=$(sysctl -n security.jail.children.cur)
56 jail -c name=maxallowed children.max=$((origin_max - 1)) persist
61 jexec maxallowed jail -c name=family children.max=4 persist
/freebsd/contrib/pkgconf/t/parser/
H A Dfragment-tree.test4 ExpectedStdout: '-Wl,--start-group' [untyped, 3 children]
5 ExpectedStdout: '-Wl,--start-group' [untyped, 4 children]
6 ExpectedStdout: '-nodefaultlibs' [untyped, 0 children]
7 ExpectedStdout: '-Wl,--gc-sections' [untyped, 0 children]
/freebsd/contrib/googletest/googletest/test/
H A Dgtest_xml_test_utils.py152 children = {}
169 self.assertNotIn(child_id, children)
170 children[child_id] = child
172 if 'detail' not in children:
177 children['detail'] = child.ownerDocument.createCDATASection(
181 children['detail'].nodeValue += child.nodeValue
184 return children
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/cli_user/zfs_list/
H A Dzfs_list_003_pos.ksh59 children="$TESTPOOL/$TESTFS"
62 children="$children $TESTPOOL/$TESTFS/$fs"
69 for fs in $children ; do
/freebsd/sys/dev/mii/
H A Dmii.c127 device_t *children; in miibus_attach() local
131 if (device_get_children(dev, &children, &nchildren) == 0) { in miibus_attach()
133 ma = device_get_ivars(children[i]); in miibus_attach()
136 free(children, M_TEMP); in miibus_attach()
241 device_t *children, phy; in miibus_hinted_child() local
247 if (device_get_children(dev, &children, &nchildren) != 0) in miibus_hinted_child()
251 args = device_get_ivars(children[i]); in miibus_hinted_child()
257 free(children, M_TEMP); in miibus_hinted_child()
374 device_t *children, phy; in mii_attach() local
439 if (device_get_children(*miibus, &children, &nchildren) != 0) { in mii_attach()
[all …]
/freebsd/tests/sys/cddl/zfs/tests/cli_user/zfs_list/
H A Dzfs_list_003_pos.ksh67 children="$TESTPOOL/$TESTFS"
70 children="$children $TESTPOOL/$TESTFS/$fs"
77 for fs in $children ; do
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Syntax/
H A DNodes.td51 let children = [
66 let children = [
78 let children = [
86 let children = [
101 let children = [
109 let children = [
117 let children = [
135 let children = [
143 let children = [
151 let children = [
[all …]
/freebsd/sys/contrib/openzfs/module/zcommon/
H A Dzfs_comutil.c52 uint_t children; in zfs_allocatable_devs() local
55 &child, &children) != 0) { in zfs_allocatable_devs()
58 for (c = 0; c < children; c++) { in zfs_allocatable_devs()
77 uint_t children; in zfs_special_devs() local
80 &child, &children) != 0) { in zfs_special_devs()
83 for (c = 0; c < children; c++) { in zfs_special_devs()
/freebsd/sys/contrib/openzfs/cmd/zed/agents/
H A Dzfs_retire.c108 uint_t c, children; in find_vdev() local
122 &child, &children) != 0) in find_vdev()
125 for (c = 0; c < children; c++) { in find_vdev()
132 &child, &children) != 0) in find_vdev()
135 for (c = 0; c < children; c++) { in find_vdev()
142 &child, &children) != 0) in find_vdev()
145 for (c = 0; c < children; c++) { in find_vdev()
280 uint64_t children; in is_draid_fdomain_failure() local
300 &children) != 0) /* not dRAID */ in is_draid_fdomain_failure()
303 if (width == children) /* dRAID without failure domains */ in is_draid_fdomain_failure()
[all …]

12345678910>>...22