Home
last modified time | relevance | path

Searched refs:vnode_vtype (Results 1 – 20 of 20) sorted by relevance

/xnu-8020.101.4/bsd/miscfs/nullfs/
H A Dnull_subr.c270 type = vnode_vtype(lowervp); in null_getnewvnode()
H A Dnull_vnops.c191 VATTR_RETURN(args->a_vap, va_type, vnode_vtype(args->a_vp)); in nullfs_special_getattr()
1009 if (vnode_vtype(vp) != VREG) { in nullfs_pagein()
/xnu-8020.101.4/bsd/miscfs/bindfs/
H A Dbind_subr.c264 type = vnode_vtype(lowervp); in bind_getnewvnode()
H A Dbind_vnops.c512 if (vnode_vtype(vp) != VREG) { in bindfs_pagein()
/xnu-8020.101.4/bsd/nfs/
H A Dnfs_serv.c822 if (vnode_vtype(vp) != VLNK) { in nfsrv_readlink()
957 if (vnode_vtype(vp) != VREG) { in nfsrv_read()
961 error = (vnode_vtype(vp) == VDIR) ? EISDIR : EACCES; in nfsrv_read()
1377 if (vnode_vtype(vp) != VREG) { in nfsrv_write()
1381 error = (vnode_vtype(vp) == VDIR) ? EISDIR : EACCES; in nfsrv_write()
1695 if (vnode_vtype(vp) != VREG) { in nfsrv_writegather()
1699 error = (vnode_vtype(vp) == VDIR) ? EISDIR : EACCES; in nfsrv_writegather()
2667 if (vnode_vtype(vp) == VDIR) { in nfsrv_remove()
2852 fvtype = vnode_vtype(fvp); in nfsrv_rename()
2912 tvtype = vnode_vtype(tvp); in nfsrv_rename()
[all …]
H A Dnfs_node.c792 if (vnode_vtype(vp) != VDIR) { in nfs_vnop_inactive()
1075 if ((vnode_vtype(vp) != VDIR) && np->n_sillyrename) { in nfs_vnop_reclaim()
1100 if ((vnode_vtype(vp) == VDIR) && np->n_cookiecache) { in nfs_vnop_reclaim()
H A Dnfs_vnops.c837 vtype = vnode_vtype(vp); in nfs_vnop_open()
1102 vtype = vnode_vtype(vp); in nfs_vnop_close()
1500 NFS_VNOP_DBG("vnode is %d\n", vnode_vtype(vp)); in nfs_refresh_fh()
1503 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VLNK) || in nfs_refresh_fh()
1587 if (vnode_vtype(vp) == VREG) { in nfs_refresh_fh()
1814 enum vtype vtype = vnode_vtype(vp); in nfs_getattr_internal()
2016 switch (vnode_vtype(vp)) { in nfs_vnop_setattr()
2215 if ((np->n_flag & NMODIFIED) && (vnode_vtype(vp) == VREG)) { in nfs_vnop_setattr()
2430 vtonfsv2_mode(vnode_vtype(NFSTOV(np)), vap->va_mode) : -1); in nfs3_setattr_rpc()
2470 if ((vnode_vtype(NFSTOV(np)) == VDIR) && in nfs3_setattr_rpc()
[all …]
H A Dnfs_subs.c1638 if (vp && (nvap->nva_type != vnode_vtype(vp))) { in nfs_loadattrcache()
1661 vnode_vtype(vp), nvap->nva_type); in nfs_loadattrcache()
2467 if (error || (vnode_vtype(dp) != VDIR)) { in nfsrv_namei()
3511 if (vnode_vtype(xvp) != VDIR) { in nfsrv_export()
H A Dnfs4_vnops.c4808 vtype = vnode_vtype(ap->a_vp); in nfs_vnop_advlock()
5005 if ((vnode_vtype(vp) != VDIR) && np->n_sillyrename) { in nfs4_reopen()
5630 if ((vnode_vtype(NFSTOV(np)) != VDIR) && np->n_sillyrename) { in nfs4_claim_delegated_open_rpc()
6790 if (vnode_vtype(ap->a_vp) != VREG) { in nfs_vnop_read()
6791 return (vnode_vtype(vp) == VDIR) ? EISDIR : EPERM; in nfs_vnop_read()
7009 if (vnode_vtype(NFSTOV(np)) == VREG) { in nfs4_vnop_create()
7286 if (vnode_vtype(newvp) != nfstov_type(type, nfsvers)) { in nfs4_create_rpc()
7542 if (vnode_vtype(vp) != VDIR) { in nfs4_vnop_rmdir()
H A Dnfs_boot.c1235 if (vnode_vtype(vp) != VDIR) { in nfs_mount_diskless_private()
H A Dnfs_bio.c2103 if (vnode_vtype(vp) != VREG) { in nfs_bioread()
2104 printf("nfs_bioread: type %x unexpected\n", vnode_vtype(vp)); in nfs_bioread()
3951 if (vnode_vtype(NFSTOV(np)) == VREG) { in nfs_vinvalbuf_internal()
H A Dnfs_syscalls.c743 if (vnode_vtype(vp) == VSOCK) { in fhopen()
H A Dnfs4_subs.c532 if ((vnode_vtype(NFSTOV(np)) != VDIR) && np->n_sillyrename) { in nfs4_secinfo_rpc()
/xnu-8020.101.4/bsd/vfs/
H A Dvfs_vnops.c1061 if ((read_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_read_common()
1136 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_read()
1199 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_write()
1260 if ((write_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_write()
H A Dvfs_fsevents.c672 cur->mode = (int32_t)vnode_vttoif(vnode_vtype(vp)) | va.va_mode; in add_fsevent()
2612 fse->mode = (int32_t)vnode_vttoif(vnode_vtype(vp)) | vap->va_mode; in vnode_get_fse_info_from_vap()
2653 fse.mode = vnode_vttoif(vnode_vtype(vp)) | (uint32_t)vap->va_mode; in create_fsevent_from_kevent()
H A Dvfs_subr.c1375 if (vnode_vtype(incoming_rootvnode_with_iocount) != VDIR) { in verify_incoming_rootfs()
1566 if (vnode_vtype(outgoing_vol_new_covered_vp) != VDIR) { in vfs_switch_root()
1611 if (vnode_vtype(pmi->pm_new_covered_vp) != VDIR) { in vfs_switch_root()
6322 if (vnode_vtype(vp) == VREG && in vnode_create_internal()
6339 if (vnode_vtype(vp) == VREG) { in vnode_create_internal()
9182 VATTR_RETURN(&va, va_type, vnode_vtype(vp)); in vnode_authorize_callback_int()
9197 VATTR_RETURN(&dva, va_type, vnode_vtype(vcp->dvp)); in vnode_authorize_callback_int()
10289 error = (vnode_vtype(vp) == VDIR) ? 0 : EBADF; in vnode_materialize_dataless_file()
H A Dkpi_vfs.c1689 vnode_vtype(vnode_t vp) in vnode_vtype() function
3012 VFS_DEBUG(ctx, vp, "SETATTR - Can't write ACL to file type %d", vnode_vtype(vp)); in vnode_setattr_fallback()
5784 if (vnode_vtype(fvp) == VDIR) { in VNOP_CLONEFILE()
H A Dvfs_syscalls.c3648 if (vnode_vtype(dvp_at) != VDIR) { in nameiat()
4265 if (vnode_vtype(vp) == VDIR) { in open1()
4291 vnode_vtype(vp) == VREG) { in open1()
4415 if (vnode_vtype(dvp_at) != VDIR) { in open1at()
7997 v_type = vnode_vtype(fvp); in clonefile_internal()
8154 switch (vnode_vtype(tvp)) { in clonefile_internal()
H A Dvfs_attrlist.c3033 v_type = vnode_vtype(vp); in vfs_attr_pack_ext()
3700 (vnode_vtype(vp) == VDIR), (options & FSOPT_ATTR_CMN_EXTENDED)); in get_error_attributes()
/xnu-8020.101.4/bsd/sys/
H A Dvnode.h1000 enum vtype vnode_vtype(vnode_t vp);