| /openbsd-src/sys/tmpfs/ |
| H A D | tmpfs_subr.c | 373 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp), *node; in tmpfs_alloc_file() local 383 if (dnode->tn_links == LINK_MAX) { in tmpfs_alloc_file() 387 KASSERT(dnode->tn_links < LINK_MAX); in tmpfs_alloc_file() 390 if (TMPFS_DIRSEQ_FULL(dnode)) { in tmpfs_alloc_file() 395 if (dnode->tn_links == 0) { in tmpfs_alloc_file() 402 dnode->tn_gid, vap->va_mode, target, vap->va_rdev, &node); in tmpfs_alloc_file() 423 tmpfs_dir_attach(dnode, de, node); in tmpfs_alloc_file() 480 tmpfs_dir_attach(tmpfs_node_t *dnode, tmpfs_dirent_t *de, tmpfs_node_t *node) in tmpfs_dir_attach() argument 482 struct vnode *dvp = dnode->tn_vnode; in tmpfs_dir_attach() 490 de->td_seq = tmpfs_dir_getseq(dnode, d in tmpfs_dir_attach() 530 tmpfs_dir_detach(tmpfs_node_t * dnode,tmpfs_dirent_t * de) tmpfs_dir_detach() argument 633 tmpfs_dir_getseq(tmpfs_node_t * dnode,tmpfs_dirent_t * de) tmpfs_dir_getseq() argument 658 tmpfs_dir_putseq(tmpfs_node_t * dnode,tmpfs_dirent_t * de) tmpfs_dir_putseq() argument [all...] |
| H A D | tmpfs_vnops.c | 119 tmpfs_node_t *dnode, *tnode; in tmpfs_lookup() local 126 dnode = VP_TO_TMPFS_DIR(dvp); in tmpfs_lookup() 172 KASSERT(dnode->tn_type == VDIR); in tmpfs_lookup() 173 pnode = dnode->tn_spec.tn_dir.tn_parent; in tmpfs_lookup() 211 de = tmpfs_dir_lookup(dnode, cnp); in tmpfs_lookup() 259 if ((dnode->tn_mode & S_ISTXT) != 0) { in tmpfs_lookup() 261 cred->cr_uid != dnode->tn_uid && in tmpfs_lookup() 691 tmpfs_node_t *dnode, *node; in tmpfs_remove() local 702 dnode = VP_TO_TMPFS_NODE(dvp); in tmpfs_remove() 715 if (dnode in tmpfs_remove() 760 tmpfs_node_t *dnode, *node; tmpfs_link() local 849 tmpfs_node_t *dnode = VP_TO_TMPFS_DIR(dvp); tmpfs_rmdir() local 1661 tmpfs_rename_enter_common(struct mount * mount,struct tmpfs_mount * tmpfs,struct ucred * cred,struct vnode * dvp,struct tmpfs_node * dnode,struct componentname * fcnp,struct tmpfs_dirent ** fde_ret,struct vnode ** fvp_ret,struct componentname * tcnp,struct tmpfs_dirent ** tde_ret,struct vnode ** tvp_ret) tmpfs_rename_enter_common() argument 2244 tmpfs_do_remove(struct tmpfs_mount * tmpfs,struct vnode * dvp,struct tmpfs_node * dnode,struct tmpfs_dirent * de,struct vnode * vp,struct ucred * cred) tmpfs_do_remove() argument 2414 tmpfs_remove_check_possible(struct tmpfs_node * dnode,struct tmpfs_node * node) tmpfs_remove_check_possible() argument 2446 tmpfs_remove_check_permitted(struct ucred * cred,struct tmpfs_node * dnode,struct tmpfs_node * node) tmpfs_remove_check_permitted() argument 2481 tmpfs_check_sticky(struct ucred * cred,struct tmpfs_node * dnode,struct tmpfs_node * node) tmpfs_check_sticky() argument [all...] |
| H A D | tmpfs.h | 199 #define TMPFS_DIRSEQ_FULL(dnode) \ argument 200 ((dnode)->tn_spec.tn_dir.tn_next_seq == TMPFS_DIRSEQ_END)
|
| /openbsd-src/sbin/isakmpd/ |
| H A D | conf.c | 983 struct dumper *dumper, *dnode; in conf_report() local 985 dumper = dnode = calloc(1, sizeof *dumper); in conf_report() 999 if (asprintf(&dnode->s, "[%s]", in conf_report() 1002 dnode->next = calloc(1, in conf_report() 1004 dnode = dnode->next; in conf_report() 1005 if (!dnode) in conf_report() 1008 dnode->s = ""; in conf_report() 1009 dnode->next = calloc(1, in conf_report() 1011 dnode = dnode->next; in conf_report() 1012 if (!dnode) in conf_report() [all …]
|
| /openbsd-src/gnu/usr.bin/cvs/src/ |
| H A D | find_names.c | 133 Node *dnode; local 139 dnode = getnode (); 140 dnode->type = DIRS; 141 dnode->key = xstrdup (entnode->user); 142 if (addnode (dirlist, dnode) != 0) 143 freenode (dnode);
|
| /openbsd-src/gnu/usr.bin/perl/ext/VMS-Filespec/lib/VMS/ |
| H A D | Filespec.pm | 253 my($node,$dev,$dir,$name,$type,$ver,$dnode,$ddev,$ddir,$dname,$dtype,$dver); 279 ($dnode,$ddev,$ddir,$dname,$dtype,$dver) = 281 $node = $dnode if $dnode && !$node;
|