/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_change-key/ |
H A D | zfs_change-key_child.ksh | 26 # 'zfs change-key' should promote an encrypted child to an encryption root. 30 # 2. Create an encrypted child dataset 31 # 3. Create an unencrypted child dataset 36 # 8. Recreate the child dataset 39 # 11. Verify the unencrytped child is still accessible normally 52 log_assert "'zfs change-key' should promote an encrypted child to an" \ 57 log_must zfs create $TESTPOOL/$TESTFS1/child 61 "$TESTPOOL/$TESTFS1/child" 64 "$TESTPOOL/$TESTFS1/child" 67 "$TESTPOOL/$TESTFS1/child" [all …]
|
H A D | zfs_change-key_clones.ksh | 30 # 2. Create an encryption root child of the first dataset 31 # 3. Clone the child encryption root twice 34 # 6. Have the child encryption root inherit from its parent 54 "-o keyformat=passphrase -o keylocation=prompt $TESTPOOL/$TESTFS1/child" 55 log_must zfs snapshot $TESTPOOL/$TESTFS1/child@1 56 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone1 57 log_must zfs clone $TESTPOOL/$TESTFS1/child@1 $TESTPOOL/$TESTFS1/clone2 58 log_must zfs create $TESTPOOL/$TESTFS1/child/A 63 log_must verify_encryption_root $TESTPOOL/$TESTFS1/child $TESTPOOL/$TESTFS1/child 64 log_must verify_encryption_root $TESTPOOL/$TESTFS1/clone1 $TESTPOOL/$TESTFS1/child [all …]
|
/illumos-gate/usr/src/lib/fm/topo/modules/common/pcibus/ |
H A D | pcibus_hba.c | 73 tnode_t *child; in pci_scsi_device_create() local 82 child = topo_node_bind(mod, parent, SCSI_DEVICE, instance, fmri); in pci_scsi_device_create() 84 if (child == NULL) in pci_scsi_device_create() 86 if (topo_pgroup_create(child, &storage_pgroup, &e) < 0) in pci_scsi_device_create() 89 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_TARGET_PORT, in pci_scsi_device_create() 91 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_ATTACHED_PORT, in pci_scsi_device_create() 93 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_TARGET_PORT_PM, in pci_scsi_device_create() 95 pci_pi_prop_set(child, pi, SCSI_ADDR_PROP_ATTACHED_PORT_PM, in pci_scsi_device_create() 99 (void) topo_prop_set_int64(child, TOPO_PGROUP_STORAGE, in pci_scsi_device_create() 103 pci_di_prop_set(child, cn, SCSI_ADDR_PROP_TARGET_PORT, in pci_scsi_device_create() [all …]
|
/illumos-gate/usr/src/man/man2/ |
H A D | fork.2 | 84 process (child process) is an exact copy of the address space of the calling 85 process (parent process). The child process inherits the following attributes 248 policy of that particular class (see \fBpriocntl\fR(2)). The child process 250 \fBprocess\fR(5)). The child process differs from the parent process in the 256 The child process has a unique process \fBID\fR which does not match any active 263 The child process has a different parent process \fBID\fR (that is, the process 270 The child process has its own copy of the parent's file descriptors and 271 directory streams. Each of the child's file descriptors shares a common file 275 in the child process, but remain open in the parent. 295 by the child (see \fBplock\fR(3C) and \fBmemcntl\fR(2)). [all …]
|
H A D | vfork.2 | 38 function, the child process borrows the parent's 44 made during this time to any part of memory in the child process is reflected 49 The parent process is suspended while the child is using its resources. 59 in the parent; that is, the child contains only one thread. 65 conditions that can cause the child process to become deadlocked and 66 consequently block both the child and parent process from execution 78 The calling procedure, however, should not return while running in the child's 98 Care must be taken in the child process not to modify any global or local data 160 the child process and return the process ID of the child process to the parent 162 Otherwise, \(mi1 is returned to the parent process, no child process is created, [all …]
|
/illumos-gate/usr/src/uts/sun4/io/px/ |
H A D | px_util.c | 310 px_name_child(dev_info_t *child, char *name, int namelen) in px_name_child() argument 324 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child, in px_name_child() 329 " not well-formed", ddi_driver_name(child)); in px_name_child() 342 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, in px_name_child() 360 cmn_err(CE_WARN, "cannot name pci child '%s'", ddi_node_name(child)); in px_name_child() 365 px_uninit_child(px_t *px_p, dev_info_t *child) in px_uninit_child() argument 369 ddi_driver_name(child), ddi_get_instance(child)); in px_uninit_child() 371 ddi_set_name_addr(child, NULL); in px_uninit_child() 372 ddi_remove_minor_node(child, NULL); in px_uninit_child() 378 if ((intptr_t)ddi_get_parent_data(child) == 1) in px_uninit_child() [all …]
|
/illumos-gate/usr/src/uts/sun4u/io/pci/ |
H A D | pci_util.c | 309 name_child(dev_info_t *child, char *name, int namelen) in name_child() argument 323 if (ddi_prop_lookup_string_array(DDI_DEV_T_ANY, child, in name_child() 328 " not well-formed", ddi_driver_name(child)); in name_child() 341 if (ddi_prop_lookup_int_array(DDI_DEV_T_ANY, child, DDI_PROP_DONTPASS, in name_child() 359 cmn_err(CE_WARN, "cannot name pci child '%s'", ddi_node_name(child)); in name_child() 364 uninit_child(pci_t *pci_p, dev_info_t *child) in uninit_child() argument 368 ddi_driver_name(child), ddi_get_instance(child)); in uninit_child() 371 (void) pm_uninit_child(child); in uninit_child() 373 ddi_set_name_addr(child, NULL); in uninit_child() 374 ddi_remove_minor_node(child, NULL); in uninit_child() [all …]
|
/illumos-gate/usr/src/common/avl/ |
H A D | avl.c | 82 * int direction; // 0 for "<" (ie. left child); 1 for ">" (right) 111 * - If there is a left child, go to it, then to it's rightmost descendant. 114 * child. 138 * If this node has a left child, go down one left, then all in avl_walk() 165 * (leftmost child from root of tree) 184 * (rightmost child from root of tree) 204 * "avl_index_t" is a (avl_node_t *) with the bottom bit indicating a child 213 int child = AVL_INDEX2CHILD(where); in avl_nearest() local 223 if (child != direction) in avl_nearest() 244 int child = 0; in avl_find() local [all …]
|
/illumos-gate/usr/src/man/man3c/ |
H A D | posix_spawn.3c | 113 The number of bytes available for the child process's combined argument and 134 calling process remain open in the child process, except for those whose 141 child process are those open in the calling process as modified by the spawn 148 The set of open file descriptors for the child process are initially the 157 and group IDs for the child process are changed as specified in the attributes 174 The child's working directory is dependent on the file actions specified. By 175 default, the child inherits the parent's current working directory. However, 185 By default, the child process inherits the existing session and progress group 191 of the object referenced by \fIattrp\fR then the child will have all the effects 203 attribute of the same object is non-zero, then the child's process group is as [all …]
|
H A D | ptrace.3c | 8 ptrace \- allows a parent process to control the execution of a child process 22 a child process. Its primary use is for the implementation of breakpoint 23 debugging. The child process behaves normally until it encounters a signal (see 25 is notified by the \fBwait\fR(3C) function. When the child is in the stopped 27 Also, the parent can cause the child either to terminate or continue, with the 39 This request must be issued by the child process if it is to be traced by its 40 parent. It turns on the child's trace flag that stipulates that the child 45 child. 51 \fIpid\fR is the process \fBID\fR of the child. The child must be in a stopped 60 the child is returned to the parent process. If instruction and data space are [all …]
|
H A D | wait3.3c | 25 of its child processes terminates or stops due to tracing. If any child process 28 children. If that child process has died, it is discarded. If there are no 34 \fBwait3()\fR call, the status of the child process is stored in the integer 41 If the low-order 8 bits of \fI*statusp\fR are equal to 0177, the child process 51 0177, the child process terminated due to a signal; the low-order 7 bits of 60 Otherwise, the child process terminated due to an \fBexit()\fR call; the 8 bits 62 bits of the argument that the child process passed to \fBexit()\fR; see 76 available for any child process. 85 The status of any child processes that are stopped, and whose status has not 107 for any other child processes. If \fIpid\fR has a negative value, \fBwait4()\fR [all …]
|
H A D | wait.3c | 49 wait \- wait for child process to stop or terminate 63 status information for one of its terminated child processes is available, or 72 If \fBwait()\fR returns because the status of a child process is available, it 73 returns the process \fBID\fR of the child process. If the calling process 74 specified a non-zero value for \fIstat_loc\fR, the status of the child process 84 If the child process terminated due to an \fB_exit()\fR call, the low order 8 86 order 7 bits of the argument that the child process passed to \fB_exit()\fR; 93 If the child process terminated due to a signal, the high order 8 bits of 101 One instance of a \fBSIGCHLD\fR signal is queued for each child process whose 102 status has changed. If \fBwait()\fR returns because the status of a child [all …]
|
H A D | waitpid.3c | 49 waitpid \- wait for child process to change state 63 status information for one of its terminated child processes is available, or 72 The \fIpid\fR argument specifies a set of child processes for which status is 78 If \fIpid\fR is less than \fB(pid_t)\(mi1\fR, status is requested for any child 86 If \fIpid\fR is equal to \fB(pid_t)\(mi1\fR, status is requested for any child 93 If \fIpid\fR is equal to \fB(pid_t)0\fR status is requested for any child 101 of the child process for which status is requested. 105 One instance of a \fBSIGCHLD\fR signal is queued for each child process whose 106 status has changed. If \fBwaitpid()\fR returns because the status of a child 108 pending \fBSIGCHLD\fR signal associated with the process ID of that child [all …]
|
/illumos-gate/usr/src/cmd/mandoc/ |
H A D | eqn_term.c | 54 const struct eqn_box *child; in eqn_box() local 115 child = bp->first; in eqn_box() 116 eqn_box(p, child); in eqn_box() 121 child = child->next; in eqn_box() 122 if (child != NULL) { in eqn_box() 124 eqn_box(p, child); in eqn_box() 130 child = child->next; in eqn_box() 131 if (child != NULL) in eqn_box() 132 eqn_box(p, child); in eqn_box() 136 child = bp->first; in eqn_box() [all …]
|
H A D | man_validate.c | 134 man->last = man->last->child; in man_validate() 138 man->last = man->last->child; in man_validate() 303 if (n->child == NULL) in post_OP() 305 else if (n->child->next != NULL && n->child->next->next != NULL) { in post_OP() 306 n = n->child->next->next; in post_OP() 318 nc = n->child; in post_SH() 343 if (nc->tok == MAN_PP && nc->body->child != NULL) { in post_SH() 373 if (n->type == ROFFT_HEAD && n->child == NULL) in post_UR() 383 if (n->type == ROFFT_BODY && n->child == NULL) in check_part() 394 if (n->body->child == NULL) in check_par() [all …]
|
H A D | mdoc_validate.c | 331 mdoc->last = mdoc->last->child; in mdoc_validate() 335 mdoc->last = mdoc->last->child; in mdoc_validate() 374 if (n->child != NULL) in mdoc_validate() 375 n->child->flags &= ~NODE_DELIMC; in mdoc_validate() 541 nch == mdoc->last->child ? "" : " ...", nch->string); in post_delim() 634 nch == mdoc->last->child ? "" : " ...", nch->string); in post_delim_nb() 914 if (n->child != NULL) in post_eoln() 916 n->pos, "%s %s", roff_name[n->tok], n->child->string); in post_eoln() 918 while (n->child != NULL) in post_eoln() 919 roff_node_delete(mdoc, n->child); in post_eoln() [all …]
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | lgrp_topo.c | 252 * Delete any ancestors of given child lgroup which don't have any other 256 lgrp_ancestor_delete(lgrp_t *child, klgrpset_t *changed) in lgrp_ancestor_delete() argument 266 (void *)child, child->lgrp_id, (void *)changed); in lgrp_ancestor_delete() 275 * Visit ancestors, decrement child count for each, and remove any in lgrp_ancestor_delete() 279 current = child; in lgrp_ancestor_delete() 280 parent = child->lgrp_parent; in lgrp_ancestor_delete() 329 lgrp_t *child; in lgrp_consolidate() local 380 child = lgrp_table[i]; in lgrp_consolidate() 381 if (!LGRP_EXISTS(child)) in lgrp_consolidate() 387 child->lgrp_id, lgrp2->lgrp_id); in lgrp_consolidate() [all …]
|
/illumos-gate/usr/src/uts/intel/io/vmm/ |
H A D | vmm_gpt.c | 47 * left-most child, and its siblings. The node understands its position in the 52 * for that node's child at index $i$ is the i'th uint64_t in that node's entry 75 * Each node contains pointers to its parent, its left-most child, and its 324 * child of our parent's next sibling. in vmm_gpt_node_next() 342 * Finds the child for the given GPA in the given parent node. 349 for (vmm_gpt_node_t *child = parent->vgn_children; in vmm_gpt_node_find_child() local 350 child != NULL && child->vgn_index <= index; in vmm_gpt_node_find_child() 351 child = child->vgn_sib_next) { in vmm_gpt_node_find_child() 352 if (child->vgn_index == index) in vmm_gpt_node_find_child() 353 return (child); in vmm_gpt_node_find_child() [all …]
|
/illumos-gate/usr/src/cmd/acpi/iasl/ |
H A D | asloperands.c | 226 Next = Op->Asl.Child; in OpnDoMutex() 266 Next = Op->Asl.Child; in OpnDoMethod() 404 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon() 414 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon() 458 PkgLengthNode = Next->Asl.Child; in OpnDoFieldCommon() 539 /* First child is field name */ in OpnDoField() 541 Next = Op->Asl.Child; in OpnDoField() 543 /* Second child is the AccessType */ in OpnDoField() 569 /* First child is the index name */ in OpnDoIndexField() 571 Next = Op->Asl.Child; in OpnDoIndexField() [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/snapused/ |
H A D | snapused.kshlib | 58 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 60 _check_used $child 69 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) 71 if [[ "$(get_prop type $child)" == "snapshot" ]]; then 76 if [[ "$child" == "$dataset" ]]; then 77 parent_usedbychildren=$(get_prop usedbychildren $child) 78 else #child 79 reservation=$(get_prop reservation $child) 80 used=$(get_prop used $child) 123 for child in $(zfs list -rH -t filesystem,volume -o name $dataset) [all …]
|
/illumos-gate/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_rename/ |
H A D | zfs_rename_encrypted_child.ksh | 26 # 'zfs rename' should not move an encrypted child dataset outside of its 30 # 1. Create two encryption roots, and a child and grandchild of the first 36 # 6. Attempt to rename the grandchild to a child 51 log_assert "'zfs rename' should not move an encrypted child outside of its" \ 56 log_must zfs create $TESTPOOL/$TESTFS2/child 57 log_must zfs create $TESTPOOL/$TESTFS2/child/grandchild 61 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \ 64 log_mustnot zfs rename $TESTPOOL/$TESTFS2/child/grandchild \ 67 log_must zfs rename $TESTPOOL/$TESTFS2/child/grandchild \ 68 $TESTPOOL/$TESTFS2/child/grandchild2 [all …]
|
/illumos-gate/usr/src/cmd/ast/libshell/common/tests/ |
H A D | sun_solaris_cr_6687139_command_substitution_exec_redirection_allocation_loop.sh | 88 # First _stop_, then log error since the child may eat up memory 92 err_exit "Child still active after 5 seconds (hang ?)" 99 # collect child's return status 103 (( childretval == 0 )) || err_exit "Child returned non-zero exit code ${childretval}." 105 [[ ! -f "z" ]] || { rm "z" ; err_exit "Child did not remove test file" ; } 122 # First _stop_, then log error since the child may eat up memory 126 err_exit "Child still active after 5 seconds (hang ?)" 133 # collect child's return status 137 (( childretval == 0 )) || err_exit "Child returned non-zero exit code ${childretval}." 139 [[ ! -f "z" ]] || { rm "z" ; err_exit "Child did not remove test file" ; } [all …]
|
/illumos-gate/usr/src/uts/common/io/scsi/impl/ |
H A D | scsi_hba.c | 85 static int scsi_hba_remove_node(dev_info_t *child); 222 dev_info_t *child, 229 dev_info_t *child, 240 dev_info_t *child, 246 dev_info_t *child, 262 dev_info_t *child, 281 dev_info_t *child, 389 * self/child context. Filtering of messages is provided based on logging 484 scsi_hba_log(int level, const char *func, dev_info_t *self, dev_info_t *child, in scsi_hba_log() argument 494 /* derive self from child's parent */ in scsi_hba_log() [all …]
|
/illumos-gate/usr/src/cmd/mdb/common/modules/idm/ |
H A D | idm.c | 69 * should invoke the functions for child objects if any bits are set 70 * in iscsi_dcmd_ctrl_t but the functions for the child object should only 72 * a header for its first occurrence or if it is being printed as a child 78 * child objects the dcmd calls the internal interface for the child object 102 } child; member 263 idc.u.child.idc_tgt = 1; in iscsi_tgt() 264 idc.u.child.idc_print_ip = print_ip; in iscsi_tgt() 265 idc.u.child.idc_tpgt = tpgt; in iscsi_tgt() 266 idc.u.child.idc_portal = portal; in iscsi_tgt() 267 idc.u.child.idc_sess = sess; in iscsi_tgt() [all …]
|
/illumos-gate/usr/src/uts/sun4/io/efcode/ |
H A D | fc_ops.c | 85 { "child", fco_child}, 102 fc_ops_alloc_handle(dev_info_t *ap, dev_info_t *child, in fc_ops_alloc_handle() argument 111 rp->child = child; in fc_ops_alloc_handle() 339 * Find the child and if there is one, return it ... in fco_child() 371 * Find the child and if there is one, return it ... in fco_peer() 498 * The first child must be a child of the attachment point. in fco_new_device() 501 return (fc_priv_error(cp, "first child must be a " in fco_new_device() 502 "child of the attachment point")); in fco_new_device() 505 * If this bus has a config child, the first child must in fco_new_device() 506 * be the configuration child. Otherwise, the child must in fco_new_device() [all …]
|