Home
last modified time | relevance | path

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

/xnu-8019.80.24/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-8019.80.24/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-8019.80.24/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()
2656 if (vnode_vtype(vp) == VDIR) { in nfsrv_remove()
2841 fvtype = vnode_vtype(fvp); in nfsrv_rename()
2901 tvtype = vnode_vtype(tvp); in nfsrv_rename()
[all …]
H A Dnfs_node.c789 if (vnode_vtype(vp) != VDIR) { in nfs_vnop_inactive()
1071 if ((vnode_vtype(vp) != VDIR) && np->n_sillyrename) { in nfs_vnop_reclaim()
1096 if ((vnode_vtype(vp) == VDIR) && np->n_cookiecache) { in nfs_vnop_reclaim()
H A Dnfs_vnops.c846 vtype = vnode_vtype(vp); in nfs_vnop_open()
1111 vtype = vnode_vtype(vp); in nfs_vnop_close()
1509 NFS_VNOP_DBG("vnode is %d\n", vnode_vtype(vp)); in nfs_refresh_fh()
1512 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VLNK) || in nfs_refresh_fh()
1596 if (vnode_vtype(vp) == VREG) { in nfs_refresh_fh()
1823 enum vtype vtype = vnode_vtype(vp); in nfs_getattr_internal()
2029 switch (vnode_vtype(vp)) { in nfs_vnop_setattr()
2228 if ((np->n_flag & NMODIFIED) && (vnode_vtype(vp) == VREG)) { in nfs_vnop_setattr()
2444 vtonfsv2_mode(vnode_vtype(NFSTOV(np)), vap->va_mode) : -1); in nfs3_setattr_rpc()
2483 if ((vnode_vtype(NFSTOV(np)) == VDIR) && in nfs3_setattr_rpc()
[all …]
H A Dnfs_subs.c1640 if (vp && (nvap->nva_type != vnode_vtype(vp))) { in nfs_loadattrcache()
1663 vnode_vtype(vp), nvap->nva_type); in nfs_loadattrcache()
2469 if (error || (vnode_vtype(dp) != VDIR)) { in nfsrv_namei()
3512 if (vnode_vtype(xvp) != VDIR) { in nfsrv_export()
H A Dnfs4_vnops.c4802 vtype = vnode_vtype(ap->a_vp); in nfs_vnop_advlock()
4999 if ((vnode_vtype(vp) != VDIR) && np->n_sillyrename) { in nfs4_reopen()
5622 if ((vnode_vtype(NFSTOV(np)) != VDIR) && np->n_sillyrename) { in nfs4_claim_delegated_open_rpc()
6779 if (vnode_vtype(ap->a_vp) != VREG) { in nfs_vnop_read()
6780 return (vnode_vtype(vp) == VDIR) ? EISDIR : EPERM; in nfs_vnop_read()
6998 if (vnode_vtype(NFSTOV(np)) == VREG) { in nfs4_vnop_create()
7275 if (vnode_vtype(newvp) != nfstov_type(type, nfsvers)) { in nfs4_create_rpc()
7530 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()
3952 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-8019.80.24/bsd/vfs/
H A Dvfs_vnops.c1049 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_read()
1093 if ((read_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_read()
1189 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_write()
1250 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()
2609 fse->mode = (int32_t)vnode_vttoif(vnode_vtype(vp)) | vap->va_mode; in vnode_get_fse_info_from_vap()
2650 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()
1568 if (vnode_vtype(outgoing_vol_new_covered_vp) != VDIR) { in vfs_switch_root()
1613 if (vnode_vtype(pmi->pm_new_covered_vp) != VDIR) { in vfs_switch_root()
6318 if (vnode_vtype(vp) == VREG && in vnode_create_internal()
6335 if (vnode_vtype(vp) == VREG) { in vnode_create_internal()
9178 VATTR_RETURN(&va, va_type, vnode_vtype(vp)); in vnode_authorize_callback_int()
9193 VATTR_RETURN(&dva, va_type, vnode_vtype(vcp->dvp)); in vnode_authorize_callback_int()
10285 error = (vnode_vtype(vp) == VDIR) ? 0 : EBADF; in vnode_materialize_dataless_file()
H A Dkpi_vfs.c1676 vnode_vtype(vnode_t vp) in vnode_vtype() function
2999 VFS_DEBUG(ctx, vp, "SETATTR - Can't write ACL to file type %d", vnode_vtype(vp)); in vnode_setattr_fallback()
5771 if (vnode_vtype(fvp) == VDIR) { in VNOP_CLONEFILE()
H A Dvfs_syscalls.c3644 if (vnode_vtype(dvp_at) != VDIR) { in nameiat()
4261 if (vnode_vtype(vp) == VDIR) { in open1()
4287 vnode_vtype(vp) == VREG) { in open1()
4411 if (vnode_vtype(dvp_at) != VDIR) { in open1at()
7940 v_type = vnode_vtype(fvp); in clonefile_internal()
8097 switch (vnode_vtype(tvp)) { in clonefile_internal()
H A Dvfs_attrlist.c3032 v_type = vnode_vtype(vp); in vfs_attr_pack_ext()
3696 (vnode_vtype(vp) == VDIR), (options & FSOPT_ATTR_CMN_EXTENDED)); in get_error_attributes()
/xnu-8019.80.24/bsd/sys/
H A Dvnode.h1000 enum vtype vnode_vtype(vnode_t vp);