Home
last modified time | relevance | path

Searched refs:dirnode (Results 1 – 2 of 2) sorted by relevance

/netbsd-src/usr.sbin/makefs/
H A Dwalk.c478 apply_specdir(const char *dir, NODE *specnode, fsnode *dirnode, int speconly) in apply_specdir()
485 assert(dirnode != NULL); in apply_specdir()
488 printf("%s: %s %p %p\n", __func__, dir, specnode, dirnode); in apply_specdir()
493 if (dirnode->type != S_IFDIR) in apply_specdir()
495 dir, dirnode->name); in apply_specdir()
497 apply_specentry(dir, specnode, dirnode); in apply_specdir()
506 assert(dirnode->name[0] == '.' && dirnode->name[1] == '\0'); in apply_specdir()
507 for (curfsnode = dirnode->next; curfsnode != NULL; curfsnode = next) { in apply_specdir()
530 /* now walk specnode->child matching up with dirnode */ in apply_specdir()
439 apply_specdir(const char * dir,NODE * specnode,fsnode * dirnode,int speconly) apply_specdir() argument
580 apply_specentry(const char * dir,NODE * specnode,fsnode * dirnode) apply_specentry() argument
[all...]
/netbsd-src/external/gpl2/mkhybrid/dist/
H A Dtree.c103 static void DECL(attach_dot_entries, (struct directory * dirnode,
664 static void FDECL2(attach_dot_entries, struct directory *, dirnode, in FDECL2() argument
673 orig_contents = dirnode->contents; in FDECL2()
675 if( (dirnode->dir_flags & DIR_HAS_DOTDOT) == 0 ) in FDECL2()
679 memcpy(s_entry, dirnode->self, in FDECL2()
682 if (dirnode->self->hfs_ent) { in FDECL2()
684 memcpy(s_entry->hfs_ent, dirnode->self->hfs_ent, in FDECL2()
694 s_entry->filedir = dirnode->parent; in FDECL2()
696 dirnode->contents = s_entry; in FDECL2()
697 dirnode->contents->next = orig_contents; in FDECL2()
[all …]