FreeBSD/sys/fs/nfsclient/nfs_clstate.c
/*
 * Free up all lock owners and associated locks.
 */
Free up all lock owners and associated locks.
Free up all lock owners and associated locks .
static void
nfscl_freealllocks(struct nfscllockownerhead *lhp, int local)
{
	struct nfscllockowner *lp, *nlp;
	LIST_FOREACH_SAFE(lp, lhp, nfsl_list, nlp) {
		if ((lp->nfsl_rwlock.nfslock_lock & NFSV4LOCK_WANTED))
			panic("nfscllckw");
		nfscl_freelockowner(lp, local);
	}
}
static void nfscl_freealllocks ( struct nfscllockownerhead * lhp , int local ) { struct nfscllockowner * lp , * nlp ; LIST_FOREACH_SAFE ( lp , lhp , nfsl_list , nlp ) { if ( ( lp -> nfsl_rwlock . nfslock_lock & NFSV4LOCK_WANTED ) ) panic ( " " ) ; nfscl_freelockowner ( lp , local ) ; } }
Free up all lock owners and associated locks.
Free up all lock owners and associated locks .