Home
last modified time | relevance | path

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

/xnu-8019.80.24/bsd/nfs/
H A Dnfs4_vnops.c1946 while (np->n_openflags & N_OPENBUSY) { in nfs_open_state_set_busy()
1950 np->n_openflags |= N_OPENWANT; in nfs_open_state_set_busy()
1951 msleep(&np->n_openflags, &np->n_openlock, slpflag, "nfs_open_state_set_busy", &ts); in nfs_open_state_set_busy()
1955 np->n_openflags |= N_OPENBUSY; in nfs_open_state_set_busy()
1972 if (!(np->n_openflags & N_OPENBUSY)) { in nfs_open_state_clear_busy()
1975 wanted = (np->n_openflags & N_OPENWANT); in nfs_open_state_clear_busy()
1976 np->n_openflags &= ~(N_OPENBUSY | N_OPENWANT); in nfs_open_state_clear_busy()
1979 wakeup(&np->n_openflags); in nfs_open_state_clear_busy()
2678 …if ((readaccess && (np->n_openflags & N_DELEG_MASK)) || (writeaccess && (np->n_openflags & N_DELEG… in nfs_get_stateid()
2844 if (np->n_openflags & N_DELEG_MASK) { in nfs4_open()
[all …]
H A Dnfs4_subs.c2705 if ((np->n_flag & NREVOKE) || !(np->n_openflags & N_DELEG_MASK)) { in nfs4_expired_check_delegation()
2742 if (np->n_openflags & N_DELEG_MASK) { in nfs4_expired_check_delegation()
2743 np->n_openflags &= ~N_DELEG_MASK; in nfs4_expired_check_delegation()
2904 if (nofp->nof_np->n_openflags & N_DELEG_RETURN) { in nfs_recover()
3007 if ((nofp->nof_np->n_openflags & N_DELEG_RETURN) || in nfs_recover()
3008 (reopen && (nofp->nof_np->n_openflags & N_DELEG_MASK))) { in nfs_recover()
H A Dnfs_node.c962 if ((np->n_openflags & N_DELEG_MASK) && !force) { in nfs_vnop_reclaim()
964 np->n_openflags &= ~N_DELEG_MASK; in nfs_vnop_reclaim()
H A Dnfsnode.h664 uint32_t n_openflags; /* open state flags */ member
H A Dnfs_vnops.c1686 …if (!(flags & (NGA_UNCACHED | NGA_MONITOR)) || ((nfsvers >= NFS_VER4) && (np->n_openflags & N_DELE… in nfs_getattr_internal()
4542 if ((nmp->nm_vers >= NFS_VER4) && (np->n_openflags & N_DELEG_MASK)) { in nfs_vnop_remove()
4809 else if (tvp && (nmp->nm_vers >= NFS_VER4) && (tnp->n_openflags & N_DELEG_MASK)) { in nfs_vnop_rename()
H A Dnfs_subs.c1896 if ((nmp->nm_vers >= NFS_VER4) && (np->n_openflags & N_DELEG_MASK)) { in nfs_attrcachetimeout()
H A Dnfs_socket.c3041 } else if (!(np->n_openflags & N_DELEG_MASK) || in nfs4_cb_handler()