Lines Matching defs:child
28 // of a tree of vnodes, each of which may contain child vnodes
49 mxvn_t* child;
83 for (mxvn_t* vn = dir->child; vn; vn = vn->next) {
127 vn->next = dir->child;
128 dir->child = vn;
141 static zx_status_t vn_destroy_locked(mxvn_t* child) {
143 if (child->remote != ZX_HANDLE_INVALID) {
147 if (child->parent == NULL) {
150 mxvn_t* dir = child->parent;
152 if (dir->child == child) {
153 dir->child = child->next;
155 for (mxvn_t* vn = dir->child; vn; vn = vn->next) {
156 if (vn->next == child) {
157 vn->next = child->next;
162 free(child);
168 for (mxvn_t* vn = parent->child; vn; vn = next) {
170 if (vn->child) {
215 mxvn_t* child = vn_lookup_locked(vn, name, len);
216 if (child != NULL) {
217 vn = child;
356 for (mxvn_t* vn = dir->vn->child; vn; vn = vn->next) {
496 if (vn->child) {
659 if (vn->child) {
660 ns_enumerate(vn->child, cookie, func);