Home
last modified time | relevance | path

Searched refs:n_openflags (Results 1 – 7 of 7) sorted by relevance

/xnu-8020.101.4/bsd/nfs/
H A Dnfs4_vnops.c1950 while (np->n_openflags & N_OPENBUSY) { in nfs_open_state_set_busy()
1954 np->n_openflags |= N_OPENWANT; in nfs_open_state_set_busy()
1955 msleep(&np->n_openflags, &np->n_openlock, slpflag, "nfs_open_state_set_busy", &ts); in nfs_open_state_set_busy()
1959 np->n_openflags |= N_OPENBUSY; in nfs_open_state_set_busy()
1976 if (!(np->n_openflags & N_OPENBUSY)) { in nfs_open_state_clear_busy()
1979 wanted = (np->n_openflags & N_OPENWANT); in nfs_open_state_clear_busy()
1980 np->n_openflags &= ~(N_OPENBUSY | N_OPENWANT); in nfs_open_state_clear_busy()
1983 wakeup(&np->n_openflags); in nfs_open_state_clear_busy()
2682 …if ((readaccess && (np->n_openflags & N_DELEG_MASK)) || (writeaccess && (np->n_openflags & N_DELEG… in nfs_get_stateid()
2848 if (np->n_openflags & N_DELEG_MASK) { in nfs4_open()
[all …]
H A Dnfs4_subs.c2700 if ((np->n_flag & NREVOKE) || !(np->n_openflags & N_DELEG_MASK)) { in nfs4_expired_check_delegation()
2737 if (np->n_openflags & N_DELEG_MASK) { in nfs4_expired_check_delegation()
2738 np->n_openflags &= ~N_DELEG_MASK; in nfs4_expired_check_delegation()
2899 if (nofp->nof_np->n_openflags & N_DELEG_RETURN) { in nfs_recover()
3002 if ((nofp->nof_np->n_openflags & N_DELEG_RETURN) || in nfs_recover()
3003 (reopen && (nofp->nof_np->n_openflags & N_DELEG_MASK))) { in nfs_recover()
H A Dnfs_node.c964 if ((np->n_openflags & N_DELEG_MASK) && !force) { in nfs_vnop_reclaim()
966 np->n_openflags &= ~N_DELEG_MASK; in nfs_vnop_reclaim()
H A Dnfsnode.h654 uint32_t n_openflags; /* open state flags */ member
H A Dnfs_vnops.c1677 …if (!(flags & (NGA_UNCACHED | NGA_MONITOR)) || ((nfsvers >= NFS_VER4) && (np->n_openflags & N_DELE… in nfs_getattr_internal()
4529 if ((nmp->nm_vers >= NFS_VER4) && (np->n_openflags & N_DELEG_MASK)) { in nfs_vnop_remove()
4797 else if (tvp && (nmp->nm_vers >= NFS_VER4) && (tnp->n_openflags & N_DELEG_MASK)) { in nfs_vnop_rename()
H A Dnfs_subs.c1894 if ((nmp->nm_vers >= NFS_VER4) && (np->n_openflags & N_DELEG_MASK)) { in nfs_attrcachetimeout()
H A Dnfs_socket.c3043 } else if (!(np->n_openflags & N_DELEG_MASK) || in nfs4_cb_handler()