Home
last modified time | relevance | path

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

/xnu-8792.81.2/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-8792.81.2/bsd/miscfs/nullfs/ !
H A Dnull_subr.c278 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-8792.81.2/bsd/nfs/ !
H A Dnfs_serv.c820 if (vnode_vtype(vp) != VLNK) { in nfsrv_readlink()
955 if (vnode_vtype(vp) != VREG) { in nfsrv_read()
959 error = (vnode_vtype(vp) == VDIR) ? EISDIR : EACCES; in nfsrv_read()
1371 if (vnode_vtype(vp) != VREG) { in nfsrv_write()
1375 error = (vnode_vtype(vp) == VDIR) ? EISDIR : EACCES; in nfsrv_write()
1685 if (vnode_vtype(vp) != VREG) { in nfsrv_writegather()
1689 error = (vnode_vtype(vp) == VDIR) ? EISDIR : EACCES; in nfsrv_writegather()
2653 if (vnode_vtype(vp) == VDIR) { in nfsrv_remove()
2838 fvtype = vnode_vtype(fvp); in nfsrv_rename()
2898 tvtype = vnode_vtype(tvp); in nfsrv_rename()
[all …]
H A Dnfs_subs.c1004 if (error || (vnode_vtype(dp) != VDIR)) { in nfsrv_namei()
2048 if (vnode_vtype(xvp) != VDIR) { in nfsrv_export()
H A Dnfs_syscalls.c458 if (vnode_vtype(vp) == VSOCK) { in fhopen()
/xnu-8792.81.2/bsd/vfs/ !
H A Dvfs_vnops.c1103 if ((read_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_read_common()
1178 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_read()
1241 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_write()
1302 if ((write_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_write()
H A Dvfs_subr.c1424 if (vnode_vtype(incoming_rootvnode_with_iocount) != VDIR) { in verify_incoming_rootfs()
1615 if (vnode_vtype(outgoing_vol_new_covered_vp) != VDIR) { in vfs_switch_root()
1660 if (vnode_vtype(pmi->pm_new_covered_vp) != VDIR) { in vfs_switch_root()
6818 if (vnode_vtype(vp) == VREG && in vnode_create_internal()
6835 if (vnode_vtype(vp) == VREG) { in vnode_create_internal()
9697 VATTR_RETURN(&va, va_type, vnode_vtype(vp)); in vnode_authorize_callback_int()
9712 VATTR_RETURN(&dva, va_type, vnode_vtype(vcp->dvp)); in vnode_authorize_callback_int()
10815 error = (vnode_vtype(vp) == VDIR) ? 0 : EBADF; in vnode_materialize_dataless_file()
12636 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in vnode_breakdirlease()
12675 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 Dkpi_vfs.c1790 vnode_vtype(vnode_t vp) in vnode_vtype() function
3114 VFS_DEBUG(ctx, vp, "SETATTR - Can't write ACL to file type %d", vnode_vtype(vp)); in vnode_setattr_fallback()
5914 if (vnode_vtype(fvp) == VDIR) { in VNOP_CLONEFILE()
H A Dvfs_syscalls.c3976 if (vnode_vtype(dvp_at) != VDIR) { in nameiat()
4594 if ((vnode_vtype(vp) == VREG) && (flags & (O_CREAT | O_TRUNC))) { in open1()
4639 if (vnode_vtype(vp) == VDIR) { in open1()
4665 vnode_vtype(vp) == VREG) { in open1()
4833 if (vnode_vtype(dvp_at) != VDIR) { in open1at()
8579 v_type = vnode_vtype(fvp); in clonefile_internal()
8745 switch (vnode_vtype(tvp)) { in clonefile_internal()
H A Dvfs_attrlist.c3035 v_type = vnode_vtype(vp); in vfs_attr_pack_ext()
3710 (vnode_vtype(vp) == VDIR), (options & FSOPT_ATTR_CMN_EXTENDED)); in get_error_attributes()
/xnu-8792.81.2/bsd/kern/ !
H A Dkern_descrip.c5000 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
5008 if (vnode_vtype(vp) == VDIR && fl_type == F_WRLCK) { in sys_fcntl_nocancel()
5042 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
/xnu-8792.81.2/bsd/sys/ !
H A Dvnode.h1038 enum vtype vnode_vtype(vnode_t vp);