Home
last modified time | relevance | path

Searched refs:parent (Results 1 – 25 of 86) sorted by relevance

1234

/glibc-2.36/sysdeps/mach/hurd/
Dgetcwd.c49 file_t parent; in __hurd_canonicalize_directory_name_internal() local
56 if (parent != thisdir) in __hurd_canonicalize_directory_name_internal()
57 __mach_port_deallocate (__mach_task_self (), parent); in __hurd_canonicalize_directory_name_internal()
107 parent = thisdir; in __hurd_canonicalize_directory_name_internal()
125 newp = __file_name_lookup_under (parent, "..", O_READ, 0); in __hurd_canonicalize_directory_name_internal()
128 if (parent != thisdir) in __hurd_canonicalize_directory_name_internal()
129 __mach_port_deallocate (__mach_task_self (), parent); in __hurd_canonicalize_directory_name_internal()
130 parent = newp; in __hurd_canonicalize_directory_name_internal()
134 if (err = __io_identity (parent, &dotid, &dotdevid, &dotino)) in __hurd_canonicalize_directory_name_internal()
150 while (!(err = __dir_readdir (parent, &dirdata, &dirdatasize, in __hurd_canonicalize_directory_name_internal()
[all …]
Dmkdirat.c31 file_t parent; in mkdirat() local
34 parent = __directory_name_split_at (fd, path, (char **) &name); in mkdirat()
35 if (parent == MACH_PORT_NULL) in mkdirat()
37 err = __dir_mkdir (parent, name, mode & ~_hurd_umask); in mkdirat()
38 __mach_port_deallocate (__mach_task_self (), parent); in mkdirat()
Dmkdir.c30 file_t parent; in __mkdir() local
33 parent = __directory_name_split (file_name, (char **) &name); in __mkdir()
34 if (parent == MACH_PORT_NULL) in __mkdir()
36 err = __dir_mkdir (parent, name, mode & ~_hurd_umask); in __mkdir()
37 __mach_port_deallocate (__mach_task_self (), parent); in __mkdir()
Drmdir.c29 file_t parent = __directory_name_split (file_name, (char **) &name); in __rmdir() local
30 if (parent == MACH_PORT_NULL) in __rmdir()
32 err = __dir_rmdir (parent, name); in __rmdir()
33 __mach_port_deallocate (__mach_task_self (), parent); in __rmdir()
/glibc-2.36/sysdeps/pthread/
Dpthread_atfork.c48 __pthread_atfork (void (*prepare) (void), void (*parent) (void), in __pthread_atfork()
51 return __register_atfork (prepare, parent, child, __dso_handle); in __pthread_atfork()
54 extern int pthread_atfork (void (*prepare) (void), void (*parent) (void),
Dtst-atfork4mod.c33 parent (void) in parent() function
47 pthread_atfork (prepare, parent, child); in reg_atfork_handlers()
Dtst-atfork2mod.c34 parent (void) in parent() function
51 if (pthread_atfork (prepare, parent, child) != 0) in init()
Dtst-atfork3.c51 parent (void) in parent() function
109 TEST_COMPARE (pthread_atfork (prepare, parent, child), 0); in do_test()
Dtst-atfork2.c38 parent (void) in parent() function
55 if (pthread_atfork (prepare, parent, child) != 0) in do_test()
/glibc-2.36/support/
Dxmkdirp.c55 char *parent = xstrndup (path, slash_p - path); in xmkdirp() local
56 xmkdirp (parent, mode); in xmkdirp()
57 free (parent); in xmkdirp()
/glibc-2.36/manual/
Dprocess.texi14 @cindex parent process
15 Processes are organized hierarchically. Each process has a @dfn{parent
17 by a given parent are called its @dfn{child processes}. A child
18 inherits many of its attributes from the parent process.
124 allow the parent process to communicate with the standard input and
136 @cindex parent process
144 ID, distinct from the process ID of the parent process. @xref{Process
147 After forking a child process, both the parent and child processes
156 its parent process, at the point where the @code{fork} or @code{_Fork}
158 @code{_Fork} to tell whether the program is running in the parent process
[all …]
Dpipe.texi49 communication either between the parent or child processes, or between
85 a child process. The parent process writes data to the pipe, which is
156 The subprocess inherits its standard input channel from the parent process.
161 the parent process.
Djob.texi67 becomes a member of the same process group and session as its parent
116 their parent process. In this way, all the processes in a session
345 in the foreground by its parent shell before it can enable job control
354 tell the parent shell to do this. If the subshell is continued again,
359 Once the subshell has been placed into the foreground by its parent
373 child processes to be treated as a single job by the parent shell. This
451 You have two choices for how to structure the tree of parent-child
490 inherit the correct handling of these signals from the parent process.
608 /* @r{This is the parent process.} */
/glibc-2.36/
DMakefile496 .PHONY: clean realclean distclean distclean-1 parent-clean parent-mostlyclean \
500 parent-mostlyclean: common-mostlyclean # common-mostlyclean is in Makerules.
504 parent-clean: parent-mostlyclean common-clean
510 clean: parent-clean
517 mostlyclean: parent-mostlyclean
660 realclean distclean: parent-clean
/glibc-2.36/argp/
Dargp-help.c401 struct hol_cluster *parent; member
509 struct hol_cluster *parent, const struct argp *argp) in hol_add_cluster() argument
518 cl->parent = parent; in hol_add_cluster()
520 cl->depth = parent ? parent->depth + 1 : 0; in hol_add_cluster()
704 if (cl1->parent == cl2->parent) in hol_cousin_cluster_cmp()
709 int cmp = hol_cousin_cluster_cmp (cl1->parent, cl2->parent); in hol_cousin_cluster_cmp()
734 cl1 = cl1->parent; in hol_cluster_cmp()
745 cl2 = cl2->parent; in hol_cluster_cmp()
762 while (cl->parent) in hol_cluster_base()
763 cl = cl->parent; in hol_cluster_base()
[all …]
Dargp-parse.c235 struct group *parent; member
314 struct group *parent, unsigned parent_index, in convert_options() argument
380 group->parent = parent; in convert_options()
397 parent = group++; in convert_options()
400 parent = 0; in convert_options()
407 convert_options (children++->argp, parent, index++, group, cvt); in convert_options()
537 if (group->parent) in parser_init()
539 group->input = group->parent->child_inputs[group->parent_index]; in parser_init()
/glibc-2.36/misc/
Dtst-pselect.c67 pid_t parent = getpid (); in test_pselect_basic() local
79 if (getppid () != parent) in test_pselect_basic()
80 FAIL_EXIT1 ("getppid()=%d != parent=%d", getppid(), parent); in test_pselect_basic()
/glibc-2.36/malloc/
Dtst-mallocfork.c24 pid_t parent = getpid (); in do_test() local
46 if (kill (parent, SIGALRM) == -1) in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-epoll.c67 pid_t parent = getpid (); in test_epoll_basic() local
81 if (getppid () != parent) in test_epoll_basic()
82 FAIL_EXIT1 ("getppid()=%d != parent=%d", getppid(), parent); in test_epoll_basic()
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/powerpc32/
Dclone.S73 bne- cr1,L(parent) /* The '-' is to minimise the race. */
81 L(parent):
/glibc-2.36/nptl/
Dtest-mutex-printers.py64 parent = 1 variable
69 select_thread(parent)
/glibc-2.36/sysdeps/unix/sysv/linux/powerpc/powerpc64/
Dclone.S101 bne- cr1,L(parent) /* The '-' is to minimise the race. */
121 L(parent):
/glibc-2.36/posix/
Dregister-atfork.c36 __register_atfork (void (*prepare) (void), void (*parent) (void), in __register_atfork()
48 newp->parent_handler = parent; in __register_atfork()
Dregcomp.c1246 if (node->parent == NULL) in postorder()
1249 node = node->parent; in postorder()
1278 node = node->parent; in preorder()
1309 node->left->parent = node; in optimize_subexps()
1331 node->left->parent = node; in lower_subexps()
1337 node->right->parent = node; in lower_subexps()
3837 tree->parent = NULL; in create_token_tree()
3848 left->parent = tree; in create_token_tree()
3850 right->parent = tree; in create_token_tree()
3902 bin_tree_t **p_new = &dup_root, *dup_node = root->parent; in duplicate_tree()
[all …]
/glibc-2.36/io/
Dfts.c126 FTSENTRY *parent = NULL; in FTS_OPEN() local
159 if ((parent = fts_alloc(sp, "", 0)) == NULL) in FTS_OPEN()
161 parent->fts_level = FTS_ROOTPARENTLEVEL; in FTS_OPEN()
175 p->fts_parent = parent; in FTS_OPEN()
227 free(parent); in FTS_OPEN()

1234