Home
last modified time | relevance | path

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

/xnu-10002.81.5/bsd/miscfs/bindfs/
H A Dbind_subr.c272 type = vnode_vtype(lowervp); in bind_getnewvnode()
H A Dbind_vnops.c512 if (vnode_vtype(vp) != VREG) { in bindfs_pagein()
/xnu-10002.81.5/bsd/nfs/
H A Dnfs_serv.c573 switch (vnode_vtype(vp)) { in nfsrv_setattr()
830 if (vnode_vtype(vp) != VLNK) { in nfsrv_readlink()
965 if (vnode_vtype(vp) != VREG) { in nfsrv_read()
969 error = (vnode_vtype(vp) == VDIR) ? EISDIR : EACCES; in nfsrv_read()
1381 if (vnode_vtype(vp) != VREG) { in nfsrv_write()
1385 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()
2663 if (vnode_vtype(vp) == VDIR) { in nfsrv_remove()
2848 fvtype = vnode_vtype(fvp); in nfsrv_rename()
[all …]
H A Dnfs_subs.c971 if (error || (vnode_vtype(dp) != VDIR)) { in nfsrv_namei()
2024 if (vnode_vtype(xvp) != VDIR) { in nfsrv_export()
H A Dnfs_syscalls.c491 if (vnode_vtype(vp) == VSOCK) { in fhopen()
/xnu-10002.81.5/bsd/miscfs/nullfs/
H A Dnull_subr.c278 type = vnode_vtype(lowervp); in null_getnewvnode()
H A Dnull_vnops.c199 VATTR_RETURN(args->a_vap, va_type, vnode_vtype(args->a_vp)); in nullfs_special_getattr()
1017 if (vnode_vtype(vp) != VREG) { in nullfs_pagein()
/xnu-10002.81.5/bsd/vfs/
H A Dvfs_vnops.c1099 if ((read_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_read_common()
1174 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_read()
1237 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_write()
1298 if ((write_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_write()
H A Dvfs_subr.c1456 if (vnode_vtype(incoming_rootvnode_with_iocount) != VDIR) { in verify_incoming_rootfs()
1647 if (vnode_vtype(outgoing_vol_new_covered_vp) != VDIR) { in vfs_switch_root()
1692 if (vnode_vtype(pmi->pm_new_covered_vp) != VDIR) { in vfs_switch_root()
7112 if (vnode_vtype(vp) == VREG && in vnode_create_internal()
7129 if (vnode_vtype(vp) == VREG) { in vnode_create_internal()
10033 VATTR_RETURN(&va, va_type, vnode_vtype(vp)); in vnode_authorize_callback_int()
10048 VATTR_RETURN(&dva, va_type, vnode_vtype(vcp->dvp)); in vnode_authorize_callback_int()
12994 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in vnode_breakdirlease()
13033 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR)) { in vnode_revokelease()
H A Dvfs_fsevents.c790 cur->regular_event.mode = (int32_t)vnode_vttoif(vnode_vtype(vp)) | va.va_mode; in add_fsevent()
2884 fse->mode = (int32_t)vnode_vttoif(vnode_vtype(vp)) | vap->va_mode; in vnode_get_fse_info_from_vap()
2925 fse.mode = vnode_vttoif(vnode_vtype(vp)) | (uint32_t)vap->va_mode; in create_fsevent_from_kevent()
H A Dvfs_syscalls.c3991 if (vnode_vtype(dvp_at) != VDIR) { in nameiat()
4609 if ((vnode_vtype(vp) == VREG) && (flags & (O_CREAT | O_TRUNC))) { in open1()
4654 if (vnode_vtype(vp) == VDIR) { in open1()
4661 if (secluded_for_filecache && vnode_vtype(vp) == VREG) { in open1()
4850 if (vnode_vtype(dvp_at) != VDIR) { in open1at()
8567 v_type = vnode_vtype(fvp); in clonefile_internal()
8733 switch (vnode_vtype(tvp)) { in clonefile_internal()
12096 vp_vtype = vnode_vtype(vp); in vfs_materialize_item()
H A Dkpi_vfs.c1814 vnode_vtype(vnode_t vp) in vnode_vtype() function
3138 VFS_DEBUG(ctx, vp, "SETATTR - Can't write ACL to file type %d", vnode_vtype(vp)); in vnode_setattr_fallback()
5938 if (vnode_vtype(fvp) == VDIR) { in VNOP_CLONEFILE()
H A Dvfs_attrlist.c3088 v_type = vnode_vtype(vp); in vfs_attr_pack_ext()
3763 (vnode_vtype(vp) == VDIR), (options & FSOPT_ATTR_CMN_EXTENDED)); in get_error_attributes()
/xnu-10002.81.5/bsd/kern/
H A Dkern_descrip.c5031 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
5039 if (vnode_vtype(vp) == VDIR && fl_type == F_WRLCK) { in sys_fcntl_nocancel()
5073 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
/xnu-10002.81.5/bsd/sys/
H A Dvnode.h1050 enum vtype vnode_vtype(vnode_t vp);