Home
last modified time | relevance | path

Searched refs:VREG (Results 1 – 25 of 113) sorted by relevance

12345

/titanic_50/usr/src/uts/common/syscall/
H A Drw.c98 if (vp->v_type == VREG && cnt == 0) { in read()
139 if (fileoff >= OFFSET_MAX(fp) && (vp->v_type == VREG)) { in read()
156 if ((vp->v_type == VREG) && in read()
192 (vp->v_type != VREG) || (bcount != 0)) /* POSIX */ in read()
234 if (vp->v_type == VREG && cnt == 0) { in write()
264 if (vp->v_type == VREG) { in write()
321 (vp->v_type != VREG) || (bcount != 0)) /* POSIX */ in write()
369 if (vp->v_type == VREG) { in pread()
417 if (vp->v_type == VREG && fileoff == (u_offset_t)maxoff) { in pread()
508 if (vp->v_type == VREG) { in pwrite()
[all …]
H A Dsendfile.c121 if (vp->v_type == VREG) { in sendvec_chunk64()
162 if (vp->v_type == VREG) in sendvec_chunk64()
183 if (readvp->v_type != VREG) { in sendvec_chunk64()
326 if (vp->v_type == VREG) in sendvec_chunk64()
380 if (vp->v_type == VREG) in sendvec64()
544 if (readvp->v_type != VREG) { in sendvec_small_chunk()
747 if (vp->v_type == VREG) { in sendvec_chunk()
876 if (readvp->v_type != VREG) { in sendvec_chunk()
1178 case VREG: in sendfilev()
1326 ASSERT(vp->v_type == VREG); in sendfilev()
[all …]
H A Dlseek.c88 reg = (vp->v_type == VREG); in lseek32_common()
227 if (fp->f_vnode->v_type == VREG || stype != SEEK_SET) in lseek32()
H A Dioctl.c74 if (vp->v_type == VREG || vp->v_type == VDIR) { in ioctl()
/titanic_50/usr/src/uts/common/fs/tmpfs/
H A Dtmp_tnode.c70 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 Dtmp_subr.c84 (entry->tn_type != VREG || in tmp_sticky_remove_access()
H A Dtmp_vnops.c135 ASSERT(vp->v_type == VREG); in wrtmp()
485 ASSERT(tp->tn_type == VREG); in rdtmp()
592 if (vp->v_type != VREG) in tmp_read()
619 if (vp->v_type != VREG) in tmp_write()
971 if (vap->va_type == VREG && (vap->va_mode & VSVTX)) { in tmp_create()
1014 if ((*vpp)->v_type == VREG && (vap->va_mask & AT_SIZE) && in tmp_create()
1682 if (tp->tn_type == VREG) { in tmp_inactive()
2181 if (vp->v_type != VREG) in tmp_map()
2259 ASSERT(vp->v_type == VREG); in tmp_freesp()
2403 (vp->v_type == VREG || vp->v_type == VDIR); in tmp_pathconf()
/titanic_50/usr/src/uts/common/fs/dev/
H A Dsdev_vnops.c333 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 …]
/titanic_50/usr/src/uts/common/fs/pcfs/
H A Dpc_alloc.c95 if (vp->v_type == VREG && in pc_bmap()
194 if ((vp->v_type == VREG && pcp->pc_size == 0) || in pc_balloc()
268 if (pcp->pc_size == 0 && vp->v_type == VREG) { in pc_bfree()
271 if (vp->v_type == VREG) { in pc_bfree()
H A Dpc_node.c184 vp->v_type = VREG; in pc_getnode()
279 if ((vp->v_type == VREG)) { in pc_rele()
310 ASSERT(PCTOV(pcp)->v_type == VREG); in pc_mark_mod()
333 ASSERT(PCTOV(pcp)->v_type == VREG); in pc_mark_acc()
549 if (vp->v_type == VREG) { in pc_nodeupdate()
/titanic_50/usr/src/uts/common/os/
H A Durw.c74 vp != NULL && vp->v_type == VREG && in page_valid()
108 (svd->vp == NULL || svd->vp->v_type != VREG) && in page_valid()
/titanic_50/usr/src/uts/common/fs/nfs/
H A Dnfs4_shadow.c123 } else if ((*vpp)->v_type == VREG && !((*vpp)->v_flag & VROOT)) { in sv_activate()
125 ASSERT(resvp->v_type == VREG); in sv_activate()
H A Dnfs_srv.c204 if ((va.va_mask & AT_MODE) && vp->v_type == VREG && in rfs_setattr()
230 if (vp->v_type == VREG && va.va_mask & AT_SIZE) { in rfs_setattr()
654 if (vp->v_type != VREG) { in rfs_read()
946 if (vp->v_type != VREG) { in rfs_write_sync()
1309 if (vp->v_type != VREG) { in rfs_write()
1755 va.va_type = VREG; in rfs_create()
1777 if (!(va.va_mask & AT_SIZE) || va.va_type != VREG) { in rfs_create()
1796 } else if (va.va_type != VREG && va.va_type != VFIFO && in rfs_create()
1810 if (!error && (va.va_type == VREG) && (va.va_mask & AT_SIZE)) { in rfs_create()
1866 if (va.va_type == VREG && in rfs_create()
[all …]
/titanic_50/usr/src/uts/common/fs/smbclnt/smbfs/
H A Dsmbfs_vnops.c266 if (vp->v_type != VREG && vp->v_type != VDIR) { /* XXX VLNK? */ in smbfs_open()
537 case VREG: in smbfs_rele_fid()
602 if (vp->v_type != VREG) in smbfs_read()
687 if (vp->v_type != VREG) in smbfs_write()
1161 static const vnode_t tmpl_vreg = { .v_type = VREG }; in smbfs_access_rwx()
1198 va.va_type == VREG && MANDMODE(va.va_mode)) in smbfs_access_rwx()
1363 case VREG: in smbfs_inactive()
1789 if (va->va_type != VREG) in smbfs_create()
1885 error = smbfs_access_rwx(vfsp, VREG, mode, cr); in smbfs_create()
1902 if ((va->va_type == VREG) && in smbfs_create()
[all …]
/titanic_50/usr/src/uts/common/fs/sharefs/
H A Dsharefs_vnops.c165 vap->va_type = VREG; in sharefs_getattr()
241 VN_SET_VFS_TYPE_DEV(vp, ovp->v_vfsp, VREG, 0); in sharefs_open()
/titanic_50/usr/src/uts/common/fs/
H A Dvnode.c209 VREG, VNON, VLNK, VNON, VSOCK, VNON, VNON, VNON enumerator
989 vattr.va_type = VREG; in vn_openat()
1023 if (!(filemode & FOFFMAX) && (vp->v_type == VREG)) { in vn_openat()
1088 if ((filemode & FEXEC) && vp->v_type != VREG) { in vn_openat()
1135 if ((vp->v_type == VREG) && nbl_need_check(vp)) { in vn_openat()
1244 ASSERT(vp->v_type == VREG); in vn_open_upgrade()
1258 ASSERT(vp->v_type == VREG); in vn_open_downgrade()
1506 (vp->v_type == VREG)) { in vn_createat()
3147 if ((*vpp)->v_type == VREG) { in fop_open()
3164 if ((vp->v_type == VREG) && (mode & FREAD)) in fop_open()
[all …]
H A Dfs_subr.c271 if (vp->v_type != VREG) { in fs_frlock()
649 if (vp->v_type != VREG) { in fs_shrlock()
818 if (fs_av_scan && vp->v_type == VREG) in fs_vscan()
H A Dgfs.c482 VN_SET_VFS_TYPE_DEV(vp, pvp->v_vfsp, VREG, 0); in gfs_file_create()
587 VN_SET_VFS_TYPE_DEV(vp, vfsp, VREG, 0); in gfs_root_create_file()
1117 if (vp->v_type != VREG) in gfs_vop_map()
/titanic_50/usr/src/uts/common/fs/ctfs/
H A Dctfs_event.c275 vap->va_type = VREG; in ctfs_ev_getattr()
434 vap->va_type = VREG; in ctfs_bu_getattr()
H A Dctfs_latest.c163 vap->va_type = VREG; in ctfs_latest_getattr()
H A Dctfs_tmpl.c97 vap->va_type = VREG; in ctfs_tmpl_getattr()
/titanic_50/usr/src/uts/common/sys/
H A Dlofi.h183 ((vtype == VREG) || (vtype == VBLK) || (vtype == VCHR))
/titanic_50/usr/src/uts/common/vm/
H A Dseg_vn.h189 SEGVN_DATA(seg)->vp->v_type != VREG) && \
/titanic_50/usr/src/lib/smbsrv/libfksmbsrv/common/
H A Dfake_vop.c63 if ((*vpp)->v_type == VREG) { in fop_open()
92 if ((vp->v_type == VREG) && (count == 1)) { in fop_close()
1174 VREG, VNON, VLNK, VNON, VSOCK, VNON, VNON, VNON enumerator
/titanic_50/usr/src/uts/common/fs/zfs/
H A Dvdev_file.c101 if (vp->v_type != VREG) { in vdev_file_open()

12345