Lines Matching defs:sp

4272 	struct nfsrv_stable *sp;
4281 LIST_FOREACH(sp, &nfsrv_stablefirst.nsf_head, nst_list) {
4282 if ((sp->nst_flag & NFSNST_RECLAIMED) == 0) {
4683 struct nfsrv_stable *sp, *nsp;
4765 LIST_FOREACH_SAFE(sp, &sf->nsf_head, nst_list, nsp) {
4766 LIST_REMOVE(sp, nst_list);
4767 free((caddr_t)sp, M_TEMP);
4780 LIST_FOREACH(sp, &sf->nsf_head, nst_list) {
4781 if (tsp->len == sp->nst_len &&
4782 !NFSBCMP(tsp->client, sp->nst_client, tsp->len))
4785 if (sp == LIST_END(&sf->nsf_head)) {
4786 sp = (struct nfsrv_stable *)malloc(tsp->len +
4789 NFSBCOPY((caddr_t)tsp, (caddr_t)&sp->nst_rec,
4791 LIST_INSERT_HEAD(&sf->nsf_head, sp, nst_list);
4794 sp->nst_flag |= NFSNST_REVOKE;
4801 sp->nst_flag &= ~NFSNST_REVOKE;
4818 struct nfsrv_stable *sp, *nsp;
4882 LIST_FOREACH_SAFE(sp, &sf->nsf_head, nst_list, nsp) {
4883 if (sp->nst_flag & NFSNST_GOTSTATE) {
4884 nfsrv_writestable(sp->nst_client, sp->nst_len,
4886 sp->nst_clp->lc_flags |= LCL_STAMPEDSTABLE;
4888 LIST_REMOVE(sp, nst_list);
4889 free((caddr_t)sp, M_TEMP);
4901 struct nfst_rec *sp;
4906 sp = (struct nfst_rec *)malloc(sizeof (struct nfst_rec) +
4908 sp->len = len;
4909 NFSBCOPY(client, sp->client, len);
4910 sp->flag = flag;
4912 (caddr_t)sp, sizeof (struct nfst_rec) + len - 1, (off_t)0,
4914 free((caddr_t)sp, M_TEMP);
4928 struct nfsrv_stable *sp;
4933 LIST_FOREACH(sp, &nfsrv_stablefirst.nsf_head, nst_list) {
4934 if (sp->nst_len == clp->lc_idlen &&
4935 !NFSBCMP(sp->nst_client, clp->lc_id, sp->nst_len))
4938 if (sp == LIST_END(&nfsrv_stablefirst.nsf_head))
4944 sp->nst_flag |= NFSNST_GOTSTATE;
4945 sp->nst_clp = clp;
4955 struct nfsrv_stable *sp;
4960 LIST_FOREACH(sp, &nfsrv_stablefirst.nsf_head, nst_list) {
4961 if (sp->nst_len == clp->lc_idlen &&
4962 !NFSBCMP(sp->nst_client, clp->lc_id, sp->nst_len))
4965 if (sp == LIST_END(&nfsrv_stablefirst.nsf_head))
4971 sp->nst_flag |= NFSNST_RECLAIMED;
4981 struct nfsrv_stable *sp;
4986 LIST_FOREACH(sp, &nfsrv_stablefirst.nsf_head, nst_list) {
4987 if (sp->nst_len == clp->lc_idlen &&
4988 !NFSBCMP(sp->nst_client, clp->lc_id, sp->nst_len))
4996 if (sp == LIST_END(&nfsrv_stablefirst.nsf_head) ||
4997 (sp->nst_flag & NFSNST_REVOKE) ||