• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/xnu-2422.115.4/bsd/vfs/

Lines Matching refs:fmode

217 		struct vnode_attr *vap, uint32_t flags, int fmode, uint32_t *statusp, vfs_context_t ctx);
1525 vnode_ref_ext(vnode_t vp, int fmode, int flags)
1552 if (fmode & FWRITE) {
1556 if (fmode & O_EVTONLY) {
1771 vnode_rele_ext(vnode_t vp, int fmode, int dont_reenter)
1773 vnode_rele_internal(vp, fmode, dont_reenter, 0);
1778 vnode_rele_internal(vnode_t vp, int fmode, int dont_reenter, int locked)
1790 if (fmode & FWRITE) {
1794 if (fmode & O_EVTONLY) {
5004 vnode_open(const char *path, int fmode, int cmode, int flags, vnode_t *vpp, vfs_context_t ctx)
5015 if (fmode & O_NOFOLLOW)
5032 if ((error = vn_open(&nd, fmode, cmode)))
5098 vn_create_reg(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, uint32_t flags, int fmode, uint32_t *statusp, vfs_context_t ctx)
5103 return VNOP_COMPOUND_OPEN(dvp, vpp, ndp, VNOP_COMPOUND_OPEN_DO_CREATE, fmode, statusp, vap, ctx);
5151 vn_create(vnode_t dvp, vnode_t *vpp, struct nameidata *ndp, struct vnode_attr *vap, uint32_t flags, int fmode, uint32_t *statusp, vfs_context_t ctx)
5177 if (vap->va_type != VREG && (fmode != 0 || (flags & VN_CREATE_DOOPEN) || statusp)) {
5180 if ((fmode != 0) && ((flags & VN_CREATE_DOOPEN) == 0)) {
5189 error = vn_create_reg(dvp, vpp, ndp, vap, flags, fmode, statusp, ctx);
5234 VNOP_CLOSE(vp, fmode, ctx);
5393 vn_authorize_open_existing(vnode_t vp, struct componentname *cnp, int fmode, vfs_context_t ctx, void *reserved)
5414 if ( (fmode & O_DIRECTORY) && vp->v_type != VDIR ) {
5422 if (vp->v_type == VLNK && (fmode & O_NOFOLLOW) != 0) {
5427 if (vnode_isdir(vp) && (fmode & (FWRITE | O_TRUNC))) {
5444 error = mac_vnode_check_open(ctx, vp, fmode);
5453 if (fmode & FREAD) {
5456 if (fmode & (FWRITE | O_TRUNC)) {
5463 if ((fmode & O_APPEND) && !(fmode & O_TRUNC)) {