/illumos-gate/usr/src/uts/common/syscall/ |
H A D | rw.c | 99 if (vp->v_type == VREG && cnt == 0) { in read() 140 if (fileoff >= OFFSET_MAX(fp) && (vp->v_type == VREG)) { in read() 157 if ((vp->v_type == VREG) && in read() 193 (vp->v_type != VREG) || (bcount != 0)) /* POSIX */ in read() 235 if (vp->v_type == VREG && cnt == 0) { in write() 265 if (vp->v_type == VREG) { in write() 322 (vp->v_type != VREG) || (bcount != 0)) /* POSIX */ in write() 370 if (vp->v_type == VREG) { in pread() 418 if (vp->v_type == VREG && fileoff == (u_offset_t)maxoff) { in pread() 509 if (vp->v_type == VREG) { in pwrite() [all …]
|
H A D | sendfile.c | 120 if (vp->v_type == VREG) { in sendvec_chunk64() 161 if (vp->v_type == VREG) in sendvec_chunk64() 182 if (readvp->v_type != VREG) { in sendvec_chunk64() 325 if (vp->v_type == VREG) in sendvec_chunk64() 379 if (vp->v_type == VREG) in sendvec64() 543 if (readvp->v_type != VREG) { in sendvec_small_chunk() 750 if (vp->v_type == VREG) { in sendvec_chunk() 879 if (readvp->v_type != VREG) { in sendvec_chunk() 1192 case VREG: in sendfilev() 1333 ASSERT(vp->v_type == VREG); in sendfilev() [all …]
|
H A D | lseek.c | 86 reg = (vp->v_type == VREG); in lseek32_common() 225 if (fp->f_vnode->v_type == VREG || stype != SEEK_SET) in lseek32()
|
H A D | ioctl.c | 72 if (vp->v_type == VREG || vp->v_type == VDIR) { in ioctl()
|
/illumos-gate/usr/src/uts/common/fs/tmpfs/ |
H A D | tmp_tnode.c | 70 ASSERT(tp->tn_type == VREG); in tmp_resv() 114 ASSERT(tp->tn_type == VREG); in tmp_unresv() 137 ASSERT(tp->tn_type == VREG); in tmpnode_growmap() 248 case VREG: in tmpnode_trunc()
|
H A D | tmp_vnops.c | 137 ASSERT(vp->v_type == VREG); in wrtmp() 487 ASSERT(tp->tn_type == VREG); in rdtmp() 594 if (vp->v_type != VREG) in tmp_read() 621 if (vp->v_type != VREG) in tmp_write() 973 if (vap->va_type == VREG && (vap->va_mode & VSVTX)) { in tmp_create() 1016 if ((*vpp)->v_type == VREG && (vap->va_mask & AT_SIZE) && in tmp_create() 1697 if (tp->tn_type == VREG) { in tmp_inactive() 2196 if (vp->v_type != VREG) in tmp_map() 2274 ASSERT(vp->v_type == VREG); in tmp_freesp() 2418 (vp->v_type == VREG || vp->v_type == VDIR); in tmp_pathconf()
|
H A D | tmp_subr.c | 94 (entry->tn_type != VREG || in tmp_sticky_remove_access()
|
/illumos-gate/usr/src/uts/common/fs/dev/ |
H A D | sdev_vnops.c | 333 ASSERT((*vpp)->v_type == VREG); in sdev_open() 334 if ((*vpp)->v_type != VREG) in sdev_open() 364 ASSERT(vp->v_type == VREG); in sdev_close() 365 if (vp->v_type != VREG) in sdev_close() 387 ASSERT(vp->v_type == VREG); in sdev_read() 388 if (vp->v_type != VREG) in sdev_read() 414 ASSERT(vp->v_type == VREG); in sdev_write() 415 if (vp->v_type != VREG) in sdev_write() 440 ASSERT(vp->v_type == VREG); in sdev_ioctl() 441 if (vp->v_type != VREG) in sdev_ioctl() [all …]
|
/illumos-gate/usr/src/uts/common/fs/pcfs/ |
H A D | pc_alloc.c | 97 if (vp->v_type == VREG && in pc_bmap() 196 if ((vp->v_type == VREG && pcp->pc_size == 0) || in pc_balloc() 270 if (pcp->pc_size == 0 && vp->v_type == VREG) { in pc_bfree() 273 if (vp->v_type == VREG) { in pc_bfree()
|
H A D | pc_node.c | 186 vp->v_type = VREG; in pc_getnode() 281 if ((vp->v_type == VREG)) { in pc_rele() 312 ASSERT(PCTOV(pcp)->v_type == VREG); in pc_mark_mod() 335 ASSERT(PCTOV(pcp)->v_type == VREG); in pc_mark_acc() 551 if (vp->v_type == VREG) { in pc_nodeupdate()
|
/illumos-gate/usr/src/lib/smbclnt/libfksmbfs/common/ |
H A D | fake_rw.c | 72 if (vp->v_type == VREG) { in fake_pread() 144 if (vp->v_type == VREG) { in fake_pwrite()
|
H A D | fake_open.c | 136 vattr.va_type = VREG; in vn_open() 201 if ((filemode & FEXEC) && vp->v_type != VREG) { in vn_open()
|
H A D | fake_vnode.c | 106 VREG, VNON, VLNK, VNON, VSOCK, VNON, VNON, VNON enumerator 1009 if ((*vpp)->v_type == VREG) { in fop_open() 1026 if ((vp->v_type == VREG) && (mode & FREAD)) in fop_open() 1028 if ((vp->v_type == VREG) && (mode & FWRITE)) in fop_open() 1042 if (((*vpp)->v_type == VREG) && (mode & FREAD)) in fop_open() 1044 if ((vp->v_type == VREG) && (mode & FREAD)) in fop_open() 1046 if (((*vpp)->v_type == VREG) && (mode & FWRITE)) in fop_open() 1048 if ((vp->v_type == VREG) && (mode & FWRITE)) in fop_open() 1075 if ((vp->v_type == VREG) && (count == 1)) { in fop_close()
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | urw.c | 74 vp != NULL && vp->v_type == VREG && in page_valid() 108 (svd->vp == NULL || svd->vp->v_type != VREG) && in page_valid()
|
/illumos-gate/usr/src/uts/common/fs/nfs/ |
H A D | nfs4_shadow.c | 126 } else if ((*vpp)->v_type == VREG && !((*vpp)->v_flag & VROOT)) { in sv_activate() 128 ASSERT(resvp->v_type == VREG); in sv_activate()
|
H A D | nfs_srv.c | 236 if ((va.va_mask & AT_MODE) && vp->v_type == VREG && in rfs_setattr() 262 if (vp->v_type == VREG && va.va_mask & AT_SIZE) { in rfs_setattr() 782 if (vp->v_type != VREG) { in rfs_read() 1076 if (vp->v_type != VREG) { in rfs_write_sync() 1436 if (vp->v_type != VREG) { in rfs_write() 1882 va.va_type = VREG; in rfs_create() 1904 if (!(va.va_mask & AT_SIZE) || va.va_type != VREG) { in rfs_create() 1923 } else if (va.va_type != VREG && va.va_type != VFIFO && in rfs_create() 1937 if (!error && (va.va_type == VREG) && (va.va_mask & AT_SIZE)) { in rfs_create() 1993 if (va.va_type == VREG && in rfs_create() [all …]
|
/illumos-gate/usr/src/uts/common/fs/ |
H A D | vnode.c | 218 VREG, VNON, VLNK, VNON, VSOCK, VNON, VNON, VNON enumerator 1022 vattr.va_type = VREG; in vn_openat() 1056 if (!(filemode & FOFFMAX) && (vp->v_type == VREG)) { in vn_openat() 1123 if ((filemode & FEXEC) && vp->v_type != VREG) { in vn_openat() 1170 if ((vp->v_type == VREG) && nbl_need_check(vp)) { in vn_openat() 1295 ASSERT(vp->v_type == VREG); in vn_open_upgrade() 1309 ASSERT(vp->v_type == VREG); in vn_open_downgrade() 1553 (vp->v_type == VREG)) { in vn_createat() 3384 if ((*vpp)->v_type == VREG) { in fop_open() 3401 if ((vp->v_type == VREG) && (mode & FREAD)) in fop_open() [all …]
|
H A D | fs_subr.c | 296 if (vp->v_type != VREG) { in fs_frlock() 694 if (vp->v_type != VREG) { in fs_shrlock() 863 if (fs_av_scan && vp->v_type == VREG) in fs_vscan()
|
H A D | gfs.c | 483 VN_SET_VFS_TYPE_DEV(vp, pvp->v_vfsp, VREG, 0); in gfs_file_create() 588 VN_SET_VFS_TYPE_DEV(vp, vfsp, VREG, 0); in gfs_root_create_file() 1116 if (vp->v_type != VREG) in gfs_vop_map()
|
/illumos-gate/usr/src/uts/common/fs/ctfs/ |
H A D | ctfs_event.c | 274 vap->va_type = VREG; in ctfs_ev_getattr() 433 vap->va_type = VREG; in ctfs_bu_getattr()
|
H A D | ctfs_latest.c | 161 vap->va_type = VREG; in ctfs_latest_getattr()
|
H A D | ctfs_tmpl.c | 97 vap->va_type = VREG; in ctfs_tmpl_getattr()
|
/illumos-gate/usr/src/uts/common/fs/sharefs/ |
H A D | sharefs_vnops.c | 170 vap->va_type = VREG; in sharefs_getattr() 246 VN_SET_VFS_TYPE_DEV(vp, ovp->v_vfsp, VREG, 0); in sharefs_open()
|
/illumos-gate/usr/src/uts/common/fs/smbclnt/smbfs/ |
H A D | smbfs_vnops.c | 225 if (vp->v_type != VREG && vp->v_type != VDIR) { /* XXX VLNK? */ in smbfs_open() 509 case VREG: in smbfs_rele_fid() 572 if (vp->v_type != VREG) in smbfs_read() 737 if (vp->v_type != VREG) in smbfs_write() 1869 static const vnode_t tmpl_vreg = { .v_type = VREG }; in smbfs_access_rwx() 1903 va.va_type == VREG && MANDMODE(va.va_mode)) in smbfs_access_rwx() 2144 case VREG: in smbfs_inactive() 2578 if (va->va_type != VREG) in smbfs_create() 2641 if ((vattr.va_mask & AT_SIZE) && vp->v_type == VREG) { in smbfs_create() 2686 error = smbfs_access_rwx(vfsp, VREG, mode, cr); in smbfs_create() [all …]
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | lofi.h | 217 ((vtype == VREG) || (vtype == VBLK) || (vtype == VCHR))
|