Home
last modified time | relevance | path

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

/xnu-11215/bsd/miscfs/bindfs/
H A Dbind_subr.c272 type = vnode_vtype(lowervp); in bind_getnewvnode()
H A Dbind_vnops.c513 if (vnode_vtype(vp) != VREG) { in bindfs_pagein()
/xnu-11215/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-11215/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()
1381 if (vnode_vtype(vp) != VREG) { in nfsrv_write()
2663 if (vnode_vtype(vp) == VDIR) { in nfsrv_remove()
2849 fvtype = vnode_vtype(fvp); in nfsrv_rename()
2909 tvtype = vnode_vtype(tvp); in nfsrv_rename()
3437 if (vnode_vtype(vp) == VDIR) { in nfsrv_link()
4098 if (vnode_vtype(vp) != VDIR) { in nfsrv_rmdir()
4809 if (vnode_vtype(vp) != VREG) { in nfsrv_commit()
[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-11215/bsd/vfs/
H A Dvfs_vnops.c1106 if ((read_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_read_common()
1181 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_read()
1244 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_write()
1315 if ((write_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_write()
H A Dvfs_subr.c1448 if (vnode_vtype(incoming_rootvnode_with_iocount) != VDIR) { in verify_incoming_rootfs()
1639 if (vnode_vtype(outgoing_vol_new_covered_vp) != VDIR) { in vfs_switch_root()
1684 if (vnode_vtype(pmi->pm_new_covered_vp) != VDIR) { in vfs_switch_root()
3469 if (vnode_vtype(vp) != in_type) { in vnode_cmp_paired_dev()
3472 if (vnode_vtype(bdev_vp) != out_type) { in vnode_cmp_paired_dev()
7219 if (vnode_vtype(vp) == VREG && in vnode_create_internal()
7237 if (vnode_vtype(vp) == VREG) { in vnode_create_internal()
10261 VATTR_RETURN(&va, va_type, vnode_vtype(vp)); in vnode_authorize_callback_int()
10276 VATTR_RETURN(&dva, va_type, vnode_vtype(vcp->dvp)); in vnode_authorize_callback_int()
13236 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in vnode_breakdirlease()
[all …]
H A Dvfs_fsevents.c848 cur->regular_event.mode = (int32_t)vnode_vttoif(vnode_vtype(vp)) | va.va_mode; in add_fsevent()
3009 fse->mode = (int32_t)vnode_vttoif(vnode_vtype(vp)) | vap->va_mode; in vnode_get_fse_info_from_vap()
3050 fse.mode = vnode_vttoif(vnode_vtype(vp)) | (uint32_t)vap->va_mode; in create_fsevent_from_kevent()
H A Dvfs_exclave_fs.c294 if (vnode_vtype(rft->vp) == VBAD) { in set_base_dir()
H A Dvfs_syscalls.c4136 if (vnode_vtype(dvp_at) != VDIR) { in nameiat()
4754 if ((vnode_vtype(vp) == VREG) && (flags & (O_CREAT | O_TRUNC))) { in open1()
4799 if (vnode_vtype(vp) == VDIR) { in open1()
4806 if (secluded_for_filecache && vnode_vtype(vp) == VREG) { in open1()
4997 if (vnode_vtype(dvp_at) != VDIR) { in open1at()
8765 v_type = vnode_vtype(fvp); in clonefile_internal()
8941 switch (vnode_vtype(tvp)) { in clonefile_internal()
12330 vp_vtype = vnode_vtype(vp); in vfs_materialize_item()
H A Dkpi_vfs.c1856 vnode_vtype(vnode_t vp) in vnode_vtype() function
3180 VFS_DEBUG(ctx, vp, "SETATTR - Can't write ACL to file type %d", vnode_vtype(vp)); in vnode_setattr_fallback()
5989 if (vnode_vtype(fvp) == VDIR) { in VNOP_CLONEFILE()
H A Dvfs_attrlist.c3094 v_type = vnode_vtype(vp); in vfs_attr_pack_ext()
3769 (vnode_vtype(vp) == VDIR), (options & FSOPT_ATTR_CMN_EXTENDED)); in get_error_attributes()
/xnu-11215/bsd/kern/
H A Dkern_descrip.c3564 (vnode_vtype((struct vnode *)fp_get_data(fp)) != VREG))) { in sys_fcntl_nocancel()
5080 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
5088 if (vnode_vtype(vp) == VDIR && fl_type == F_WRLCK) { in sys_fcntl_nocancel()
5122 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
/xnu-11215/bsd/sys/
H A Dvnode.h1054 enum vtype vnode_vtype(vnode_t vp);