/minix/tests/fs/puffs/h_dtfs/ |
H A D | dtfs_vnops.c | 144 switch (pn->pn_va.va_type) { in dtfs_node_setattr() 174 if (!(va->va_type == VREG || va->va_type == VSOCK)) in dtfs_node_create() 192 if (pn->pn_va.va_type == VDIR) in dtfs_node_remove() 245 if (pn->pn_va.va_type != VDIR) in dtfs_node_readdir() 325 if (pn_sfile->pn_va.va_type == VDIR) { in dtfs_node_rename() 398 if (va->va_type != VLNK) in dtfs_node_symlink() 419 assert(pn->pn_va.va_type == VLNK); in dtfs_node_readlink() 434 if (!(va->va_type == VBLK || va->va_type == VCHR in dtfs_node_mknod() 435 || va->va_type == VFIFO)) in dtfs_node_mknod() 462 if (pn->pn_va.va_type != VREG) in dtfs_node_read() [all …]
|
H A D | dtfs_subr.c | 51 vap->va_type = type; in dtfs_baseattrs() 91 assert(dir->pn_va.va_type == VDIR); in dtfs_genfile() 185 assert(pn_parent->pn_va.va_type == VDIR); in dtfs_nukenode() 209 switch (pn->pn_va.va_type) { in dtfs_freenode() 292 assert(pn_dir->pn_va.va_type == VDIR); in dtfs_adddent() 300 if (dent->dfd_node->pn_va.va_type == VDIR) { in dtfs_adddent() 314 assert(pn_dir->pn_va.va_type == VDIR); in dtfs_removedent() 316 if (pn_file->pn_va.va_type == VDIR) { in dtfs_removedent()
|
H A D | dtfs_vfsops.c | 259 puffs_newinfo_setvtype(pni, pn->pn_va.va_type); in dtfs_fs_fhtonode()
|
/minix/lib/libpuffs/ |
H A D | subr.c | 159 if (sva->va_type != VNON) in puffs_setvattr() 160 vap->va_type = sva->va_type; in puffs_setvattr() 189 vap->va_type = VNON; in puffs_vattr_null() 269 va->va_type = puffs_mode2vt(sb->st_mode); in puffs_stat2vattr()
|
H A D | null.c | 252 puffs_newinfo_setvtype(pni, pn_res->pn_va.va_type); in puffs_null_fs_fhtonode() 304 assert(pn->pn_va.va_type == VDIR); in puffs_null_node_lookup() 327 puffs_newinfo_setvtype(pni, pn_res->pn_va.va_type); in puffs_null_node_lookup() 362 mode = puffs_addvtype2mode(va->va_mode, va->va_type); in puffs_null_node_mknod() 395 rv = processvattr(PNPATH(pn), va, pn->pn_va.va_type == VREG); in puffs_null_node_setattr()
|
H A D | opdump.c | 311 mydprintf(DINT DINT "type: %s, ", vtypes[vap->va_type]); in dumpattr()
|
H A D | dispatcher.c | 656 if (pn_src->pn_va.va_type != VDIR) { in dispatch()
|
/minix/sys/fs/puffs/ |
H A D | puffs_compat.c | 59 enum vtype va_type; member 165 va50->va_type = va->va_type; in vattr_to_50() 190 va->va_type = va50->va_type; in vattr_from_50()
|
/minix/minix/lib/libpuffs/ |
H A D | open.c | 43 va.va_type = VREG; in fs_create() 127 va.va_type = VDIR; in fs_mknod() 199 va.va_type = VDIR; in fs_mkdir() 289 va.va_type = VLNK; in fs_slink()
|
H A D | link.c | 286 if (old_ip->pn_va.va_type != VDIR) { in fs_rename()
|
/minix/sys/ufs/chfs/ |
H A D | chfs_vnops.c | 188 mode = MAKEIMODE(ap->a_vap->va_type, ap->a_vap->va_mode); in chfs_create() 191 if (ap->a_vap->va_type == VREG) in chfs_create() 193 if (ap->a_vap->va_type == VSOCK) in chfs_create() 232 if (vap->va_type != VBLK && vap->va_type != VCHR && vap->va_type != VFIFO) in chfs_mknod() 237 mode = MAKEIMODE(vap->va_type, vap->va_mode); in chfs_mknod() 240 switch (vap->va_type) { in chfs_mknod() 256 err = chfs_makeinode(mode, dvp, &vp, cnp, vap->va_type); in chfs_mknod() 262 if (vap->va_type == VFIFO) in chfs_mknod() 417 vap->va_type = CHTTOVT(ip->ch_type); in chfs_getattr() 465 if (vap->va_type != VNON || vap->va_nlink != VNOVAL || in chfs_setattr() [all …]
|
/minix/sys/fs/v7fs/ |
H A D | v7fs_vnops.c | 214 KDASSERT((va->va_type == VREG) || (va->va_type == VSOCK)); in v7fs_create() 219 attr.mode = va->va_mode | vtype_to_v7fs_mode (va->va_type); in v7fs_create() 274 (long)va->va_rdev, va->va_type); in v7fs_mknod() 278 attr.mode = va->va_mode | vtype_to_v7fs_mode(va->va_type); in v7fs_mknod() 418 vap->va_type = vp->v_type; in v7fs_getattr() 482 if ((vap->va_type != VNON) || (vap->va_nlink != VNOVAL) || in v7fs_setattr() 840 attr.mode = va->va_mode | vtype_to_v7fs_mode(va->va_type); in v7fs_mkdir() 1281 attr.mode = va->va_mode | vtype_to_v7fs_mode(va->va_type); in v7fs_symlink()
|
/minix/lib/librefuse/ |
H A D | refuse.c | 572 if (va->va_type == VDIR) { in fuse_newnode() 630 puffs_newinfo_setvtype(pni, pn_res->pn_va.va_type); in puffs_fuse_node_lookup() 706 mode = puffs_addvtype2mode(va->va_mode, va->va_type); in puffs_fuse_node_mknod() 975 if (pn->pn_va.va_type == VDIR) { in puffs_fuse_node_open() 1008 if (pn->pn_va.va_type == VDIR) { in puffs_fuse_node_close() 1123 if (pn->pn_va.va_type != VDIR) in puffs_fuse_node_readdir() 1367 pn_root->pn_va.va_type = VDIR; in fuse_new() 1372 assert(pn_root->pn_va.va_type == VDIR); in fuse_new()
|
/minix/lib/libterminfo/ |
H A D | tparm.c | 185 _ti_tiparm(TERMINAL *term, const char *str, int va_type, va_list parms) in _ti_tiparm() argument 231 if (va_type == VA_LONG_LONG) { in _ti_tiparm() 244 if (va_type == VA_CHAR_INT) in _ti_tiparm()
|
/minix/sys/fs/udf/ |
H A D | udf_vnops.c | 946 vap->va_type = vp->v_type; in udf_getattr() 961 if (vap->va_type == VDIR) in udf_getattr() 968 if (vap->va_type == VLNK) { in udf_getattr() 993 if ((vap->va_type == VBLK) || (vap->va_type == VCHR)) { in udf_getattr() 1236 if (vap->va_type != VNON || in udf_setattr() 1413 switch (vap->va_type) { in udf_check_possible()
|
/minix/sys/ufs/ext2fs/ |
H A D | ext2fs_vnops.c | 137 ext2fs_makeinode(MAKEIMODE(ap->a_vap->va_type, ap->a_vap->va_mode), in ext2fs_create() 167 if ((error = ext2fs_makeinode(MAKEIMODE(vap->va_type, vap->va_mode), in ext2fs_mknod() 330 vap->va_type = vp->v_type; in ext2fs_getattr() 358 if ((vap->va_type != VNON) || (vap->va_nlink != (nlink_t)VNOVAL) || in ext2fs_setattr()
|
/minix/sys/ufs/ufs/ |
H A D | ufs_vnops.c | 431 vap->va_type = vp->v_type; in ufs_getattr() 468 if ((vap->va_type != VNON) || (vap->va_nlink != VNOVAL) || in ufs_setattr() 957 KASSERT(vap->va_type == VDIR); in ufs_mkdir() 1207 KASSERT(ap->a_vap->va_type == VLNK); in ufs_symlink() 1800 ip->i_gid, MAKEIMODE(vap->va_type, vap->va_mode))); in ufs_makeinode()
|
/minix/sys/sys/ |
H A D | vnode.h | 239 enum vtype va_type; /* vnode type (for create) */ member
|
/minix/sys/fs/cd9660/ |
H A D | cd9660_vnops.c | 198 vap->va_type = vp->v_type; in cd9660_getattr() 805 if (vap->va_type != VNON in cd9660_setattr()
|
/minix/sys/fs/msdosfs/ |
H A D | msdosfs_vnops.c | 315 vap->va_type = ap->a_vp->v_type; in msdosfs_getattr() 342 if ((vap->va_type != VNON) || (vap->va_nlink != (nlink_t)VNOVAL) || in msdosfs_setattr() 351 vap->va_type, vap->va_nlink, vap->va_fsid, in msdosfs_setattr()
|
/minix/sys/ufs/lfs/ |
H A D | ulfs_vnops.c | 260 if ((vap->va_type != VNON) || (vap->va_nlink != VNOVAL) || in ulfs_setattr() 1186 ip->i_gid, MAKEIMODE(vap->va_type, vap->va_mode))); in ulfs_makeinode()
|
H A D | lfs_vnops.c | 632 KASSERT(ap->a_vap->va_type == VLNK); in lfs_symlink() 865 KASSERT(vap->va_type == VDIR); in lfs_mkdir() 1167 vap->va_type = vp->v_type; in lfs_getattr()
|
H A D | lfs_rfw.c | 142 va.va_type = VREG; in lfs_rf_valloc()
|
/minix/sys/ufs/ffs/ |
H A D | ffs_wapbl.c | 621 va.va_type = VREG; in wapbl_create_infs_log()
|
H A D | ffs_vfsops.c | 2083 KASSERT(vap->va_type != VNON); in ffs_newvnode() 2088 mode = MAKEIMODE(vap->va_type, vap->va_mode); in ffs_newvnode()
|