Home
last modified time | relevance | path

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

/xnu-11417.101.15/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-11417.101.15/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-11417.101.15/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()
2849 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-11417.101.15/bsd/vfs/
H A Dvfs_vnops.c1114 if ((read_offset < 0) && (vnode_vtype(vp) != VCHR)) { in vn_read_common()
1189 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_read()
1252 if (offset_locked && (vnode_vtype(vp) != VREG || vnode_isswap(vp))) { in vn_write()
1323 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()
3473 if (vnode_vtype(vp) != in_type) { in vnode_cmp_paired_dev()
3476 if (vnode_vtype(bdev_vp) != out_type) { in vnode_cmp_paired_dev()
7228 if (vnode_vtype(vp) == VREG && in vnode_create_internal()
7246 if (vnode_vtype(vp) == VREG) { in vnode_create_internal()
10270 VATTR_RETURN(&va, va_type, vnode_vtype(vp)); in vnode_authorize_callback_int()
10285 VATTR_RETURN(&dva, va_type, vnode_vtype(vcp->dvp)); in vnode_authorize_callback_int()
13245 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.c300 if (vnode_vtype(rft->vp) == VBAD) { in set_base_dir()
H A Dvfs_syscalls.c4153 if (vnode_vtype(dvp_at) != VDIR) { in nameiat()
4771 if ((vnode_vtype(vp) == VREG) && (flags & (O_CREAT | O_TRUNC))) { in open1()
4819 if (vnode_vtype(vp) == VDIR) { in open1()
4826 if (secluded_for_filecache && vnode_vtype(vp) == VREG) { in open1()
5017 if (vnode_vtype(dvp_at) != VDIR) { in open1at()
8813 v_type = vnode_vtype(fvp); in clonefile_internal()
8989 switch (vnode_vtype(tvp)) { in clonefile_internal()
12378 vp_vtype = vnode_vtype(vp); in vfs_materialize_item()
H A Dkpi_vfs.c1882 vnode_vtype(vnode_t vp) in vnode_vtype() function
3217 VFS_DEBUG(ctx, vp, "SETATTR - Can't write ACL to file type %d", vnode_vtype(vp)); in vnode_setattr_fallback()
6029 if (vnode_vtype(fvp) == VDIR) { in VNOP_CLONEFILE()
H A Dvfs_attrlist.c3147 v_type = vnode_vtype(vp); in vfs_attr_pack_ext()
3822 (vnode_vtype(vp) == VDIR), (options & FSOPT_ATTR_CMN_EXTENDED)); in get_error_attributes()
/xnu-11417.101.15/bsd/kern/
H A Dkern_descrip.c3579 (vnode_vtype((struct vnode *)fp_get_data(fp)) != VREG))) { in sys_fcntl_nocancel()
5095 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
5103 if (vnode_vtype(vp) == VDIR && fl_type == F_WRLCK) { in sys_fcntl_nocancel()
5137 if ((vnode_vtype(vp) != VREG && vnode_vtype(vp) != VDIR) || in sys_fcntl_nocancel()
/xnu-11417.101.15/bsd/sys/
H A Dvnode.h1055 enum vtype vnode_vtype(vnode_t vp);