Searched refs:vnode_vtype (Results 1 – 15 of 15) sorted by relevance
| /xnu-8796.121.2/bsd/miscfs/bindfs/ |
| H A D | bind_subr.c | 272 type = vnode_vtype(lowervp); in bind_getnewvnode()
|
| H A D | bind_vnops.c | 512 if (vnode_vtype(vp) != VREG) { in bindfs_pagein()
|
| /xnu-8796.121.2/bsd/miscfs/nullfs/ |
| H A D | null_subr.c | 278 type = vnode_vtype(lowervp); in null_getnewvnode()
|
| H A D | null_vnops.c | 191 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-8796.121.2/bsd/nfs/ |
| H A D | nfs_serv.c | 820 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 D | nfs_subs.c | 1006 if (error || (vnode_vtype(dp) != VDIR)) { in nfsrv_namei() 2059 if (vnode_vtype(xvp) != VDIR) { in nfsrv_export()
|
| H A D | nfs_syscalls.c | 489 if (vnode_vtype(vp) == VSOCK) { in fhopen()
|
| /xnu-8796.121.2/bsd/vfs/ |
| H A D | vfs_vnops.c | 1099 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 D | vfs_subr.c | 1456 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() 6971 if (vnode_vtype(vp) == VREG && in vnode_create_internal() 6988 if (vnode_vtype(vp) == VREG) { in vnode_create_internal() 9850 VATTR_RETURN(&va, va_type, vnode_vtype(vp)); in vnode_authorize_callback_int() 9865 VATTR_RETURN(&dva, va_type, vnode_vtype(vcp->dvp)); in vnode_authorize_callback_int() 10968 error = (vnode_vtype(vp) == VDIR) ? 0 : EBADF; in vnode_materialize_dataless_file() 12789 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in vnode_breakdirlease() 12828 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR)) { in vnode_revokelease()
|
| H A D | vfs_fsevents.c | 790 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 D | kpi_vfs.c | 1790 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 D | vfs_syscalls.c | 3998 if (vnode_vtype(dvp_at) != VDIR) { in nameiat() 4616 if ((vnode_vtype(vp) == VREG) && (flags & (O_CREAT | O_TRUNC))) { in open1() 4661 if (vnode_vtype(vp) == VDIR) { in open1() 4668 if (secluded_for_filecache && vnode_vtype(vp) == VREG) { in open1() 4857 if (vnode_vtype(dvp_at) != VDIR) { in open1at() 8599 v_type = vnode_vtype(fvp); in clonefile_internal() 8765 switch (vnode_vtype(tvp)) { in clonefile_internal()
|
| H A D | vfs_attrlist.c | 3055 v_type = vnode_vtype(vp); in vfs_attr_pack_ext() 3730 (vnode_vtype(vp) == VDIR), (options & FSOPT_ATTR_CMN_EXTENDED)); in get_error_attributes()
|
| /xnu-8796.121.2/bsd/kern/ |
| H A D | kern_descrip.c | 4984 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel() 4992 if (vnode_vtype(vp) == VDIR && fl_type == F_WRLCK) { in sys_fcntl_nocancel() 5026 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
|
| /xnu-8796.121.2/bsd/sys/ |
| H A D | vnode.h | 1038 enum vtype vnode_vtype(vnode_t vp);
|