Home
last modified time | relevance | path

Searched refs:child (Results 1 – 11 of 11) sorted by relevance

/system/extras/ext4_utils/
Dsetup_fs.c15 pid_t child; in setup_fs() local
46 child = fork(); in setup_fs()
47 if (child < 0) { in setup_fs()
51 if (child == 0) { in setup_fs()
56 while ((pid=waitpid(-1, &status, 0)) != child) { in setup_fs()
/system/core/include/utils/
DLruCache.h86 Entry* child; member
88 Entry(TKey key_, TValue value_) : key(key_), value(value_), parent(NULL), child(NULL) { in Entry()
198 for (Entry* p = mOldest; p != NULL; p = p->child) { in clear()
213 mYoungest->child = &entry; in attachToCache()
221 entry.parent->child = entry.child; in detachFromCache()
223 mOldest = entry.child; in detachFromCache()
225 if (entry.child != NULL) { in detachFromCache()
226 entry.child->parent = entry.parent; in detachFromCache()
232 entry.child = NULL; in detachFromCache()
243 for (Entry* p = oldest; p != NULL; p = p->child) { in rehash()
/system/core/sdcard/
Dsdcard.c157 struct node *child; /* first contained file by this dir */ member
292 node->next = parent->child; in add_node_to_parent_locked()
293 parent->child = node; in add_node_to_parent_locked()
300 if (node->parent->child == node) { in remove_node_from_parent_locked()
301 node->parent->child = node->parent->child->next; in remove_node_from_parent_locked()
304 node2 = node->parent->child; in remove_node_from_parent_locked()
512 for (node = parent->child; node; node = node->next) { in derive_permissions_recursive_locked()
514 if (node->child) { in derive_permissions_recursive_locked()
657 for (node = node->child; node; node = node->next) { in lookup_child_by_name_locked()
673 struct node* child = lookup_child_by_name_locked(parent, name); in acquire_or_create_child_locked() local
[all …]
/system/extras/perfprofd/quipper/
Dperf_parser.cc555 PidTid child = std::make_pair(event.pid, event.tid); in MapForkEvent() local
556 if (parent != child && in MapForkEvent()
558 pidtid_to_comm_map_[child] = pidtid_to_comm_map_[parent]; in MapForkEvent()
/system/media/camera/docs/
Dmetadata_model.py177 for child in self._get_children():
178 if child.parent != self:
181 %(child, self, child.parent)
184 succ = child.validate_tree() and succ
Dhtml.mako68 .entry_type_enum_notes>p:first-child { display:inline; }
/system/core/logwrapper/
Dlogwrap.c463 static void child(int argc, char* argv[]) { in child() function
536 child(argc, argv); in android_fork_execvp_ext()
/system/bt/doc/
Dstyle_guide.md309 // Conditional statements with only one child statement should elide braces.
310 // The child statement must be on a new line, indented by 2 spaces.
316 // Conditionals with a branch containing more than one child statement forces
/system/vold/
DVolumeManager.cpp524 pid_t child; in remountUid() local
573 if (!(child = fork())) { in remountUid()
612 if (child == -1) { in remountUid()
616 TEMP_FAILURE_RETRY(waitpid(child, nullptr, 0)); in remountUid()
/system/core/init/
Dreadme.txt114 Write the child's pid to the given files when it forks. Meant for
/system/core/rootdir/
Dinit.rc248 # Mount shared so changes propagate into child namespaces