Lines Matching defs:sp

4429 	struct nfsrv_stable *sp, *nsp;
4511 LIST_FOREACH_SAFE(sp, &sf->nsf_head, nst_list, nsp) {
4512 LIST_REMOVE(sp, nst_list);
4513 free((caddr_t)sp, M_TEMP);
4526 LIST_FOREACH(sp, &sf->nsf_head, nst_list) {
4527 if (tsp->len == sp->nst_len &&
4528 !NFSBCMP(tsp->client, sp->nst_client, tsp->len))
4531 if (sp == LIST_END(&sf->nsf_head)) {
4532 sp = (struct nfsrv_stable *)malloc(tsp->len +
4535 NFSBCOPY((caddr_t)tsp, (caddr_t)&sp->nst_rec,
4537 LIST_INSERT_HEAD(&sf->nsf_head, sp, nst_list);
4540 sp->nst_flag |= NFSNST_REVOKE;
4547 sp->nst_flag &= ~NFSNST_REVOKE;
4564 struct nfsrv_stable *sp, *nsp;
4628 LIST_FOREACH_SAFE(sp, &sf->nsf_head, nst_list, nsp) {
4629 if (sp->nst_flag & NFSNST_GOTSTATE) {
4630 nfsrv_writestable(sp->nst_client, sp->nst_len,
4632 sp->nst_clp->lc_flags |= LCL_STAMPEDSTABLE;
4634 LIST_REMOVE(sp, nst_list);
4635 free((caddr_t)sp, M_TEMP);
4647 struct nfst_rec *sp;
4652 sp = (struct nfst_rec *)malloc(sizeof (struct nfst_rec) +
4654 sp->len = len;
4655 NFSBCOPY(client, sp->client, len);
4656 sp->flag = flag;
4658 (caddr_t)sp, sizeof (struct nfst_rec) + len - 1, (off_t)0,
4660 free((caddr_t)sp, M_TEMP);
4674 struct nfsrv_stable *sp;
4679 LIST_FOREACH(sp, &nfsrv_stablefirst.nsf_head, nst_list) {
4680 if (sp->nst_len == clp->lc_idlen &&
4681 !NFSBCMP(sp->nst_client, clp->lc_id, sp->nst_len))
4684 if (sp == LIST_END(&nfsrv_stablefirst.nsf_head))
4690 sp->nst_flag |= NFSNST_GOTSTATE;
4691 sp->nst_clp = clp;
4701 struct nfsrv_stable *sp;
4706 LIST_FOREACH(sp, &nfsrv_stablefirst.nsf_head, nst_list) {
4707 if (sp->nst_len == clp->lc_idlen &&
4708 !NFSBCMP(sp->nst_client, clp->lc_id, sp->nst_len))
4716 if (sp == LIST_END(&nfsrv_stablefirst.nsf_head) ||
4717 (sp->nst_flag & NFSNST_REVOKE) ||