FreeBSD/sys/fs/nfsclient/nfs_clstate.c
/*
 * Free up all state related to this client structure.
 */
Free up all state related to this client structure.
Free up all state related to this client structure .
static void
nfscl_cleanclient(struct nfsclclient *clp)
{
	struct nfsclowner *owp, *nowp;
	struct nfsclopen *op, *nop;
	LIST_FOREACH_SAFE(owp, &clp->nfsc_owner, nfsow_list, nowp) {
		LIST_FOREACH_SAFE(op, &owp->nfsow_open, nfso_list, nop) {
			nfscl_freeopen(op, 0);
		}
		nfscl_freeopenowner(owp, 0);
	}
}
static void nfscl_cleanclient ( struct nfsclclient * clp ) { struct nfsclowner * owp , * nowp ; struct nfsclopen * op , * nop ; LIST_FOREACH_SAFE ( owp , & clp -> nfsc_owner , nfsow_list , nowp ) { LIST_FOREACH_SAFE ( op , & owp -> nfsow_open , nfso_list , nop ) { nfscl_freeopen ( op , 0 ) ; } nfscl_freeopenowner ( owp , 0 ) ; } }
Free up all state related to this client structure.
Free up all state related to this client structure .
/* Now, all the OpenOwners, etc. */