nfscllock
void nfscl_freelock(struct nfscllock *, int);
struct nfscllock;
LIST_ENTRY(nfscllock) nfslo_list;
LIST_HEAD(nfscllockhead, nfscllock);
struct nfscllock *lop, *nlop;
struct nfscllock *nlop, *otherlop;
sizeof (struct nfscllock), M_NFSCLLOCK, M_WAITOK);
sizeof (struct nfscllock), M_NFSCLLOCK, M_WAITOK);
static void nfscl_insertlock(struct nfscllockowner *, struct nfscllock *,
struct nfscllock *, int);
static int nfscl_updatelock(struct nfscllockowner *, struct nfscllock **,
struct nfscllock **, int);
struct nfscllock *nlop, *other_lop = NULL;
static int nfscl_checkconflict(struct nfscllockownerhead *, struct nfscllock *,
sizeof (struct nfscllock), M_NFSCLLOCK, M_WAITOK);
u_int8_t *, struct nfscllock **);
sizeof (struct nfscllock), M_NFSCLLOCK, M_WAITOK);
struct nfscllock *, u_int8_t *, struct nfscldeleg *, struct nfscllock **);
struct nfscllockowner *, struct nfscllock *, struct ucred *, NFSPROC_T *);
struct nfscllock *lop;
struct nfscllock *lop, *nlop;
nfscl_freelock(struct nfscllock *lop, int local)
struct nfscllock *lop, *nlop;
nfscl_insertlock(struct nfscllockowner *lp, struct nfscllock *new_lop,
struct nfscllock *insert_lop, int local)
nfscl_updatelock(struct nfscllockowner *lp, struct nfscllock **new_lopp,
struct nfscllock **other_lopp, int local)
struct nfscllock *new_lop = *new_lopp;
struct nfscllock *lop, *tlop, *ilop;
struct nfscllock *other_lop;
ilop = (struct nfscllock *)lp;
struct nfscllock *lop;
struct nfscllock *nlop, u_int8_t *own, struct nfscldeleg *dp,
struct nfscllock **lopp)
nfscl_checkconflict(struct nfscllockownerhead *lhp, struct nfscllock *nlop,
u_int8_t *own, struct nfscllock **lopp)
struct nfscllock *lop;
struct nfscllock *lop, nlck;
struct nfscllock *lckp;
struct nfscllockowner *lp, struct nfscllock *lop, struct ucred *cred,