Lines Matching defs:tstp
305 struct nfsstate *stp, *tstp;
528 LIST_FOREACH(tstp, &new_clp->lc_open, ls_list)
529 tstp->ls_clp = new_clp;
531 LIST_FOREACH(tstp, &new_clp->lc_deleg, ls_list)
532 tstp->ls_clp = new_clp;
535 LIST_FOREACH(tstp, &new_clp->lc_olddeleg, ls_list)
536 tstp->ls_clp = new_clp;
540 LIST_FOREACH(tstp, &new_clp->lc_stateid[i], ls_hash)
541 tstp->ls_clp = new_clp;
604 LIST_FOREACH(tstp, &new_clp->lc_open, ls_list)
605 tstp->ls_clp = new_clp;
607 LIST_FOREACH(tstp, &new_clp->lc_deleg, ls_list)
608 tstp->ls_clp = new_clp;
610 LIST_FOREACH(tstp, &new_clp->lc_olddeleg, ls_list)
611 tstp->ls_clp = new_clp;
615 LIST_FOREACH(tstp, &new_clp->lc_stateid[i], ls_hash)
616 tstp->ls_clp = new_clp;
1564 struct nfsstate *nstp, *tstp;
1572 tstp = nstp;
1574 nfsrv_freeopen(tstp, NULL, cansleep, p);
1592 struct nfsstate *nstp, *tstp;
1605 LIST_FOREACH_SAFE(tstp, &stp->ls_open, ls_list, nstp)
1606 nfsrv_freelockowner(tstp, vp, cansleep, p);
1826 struct nfsstate *tstp, *mystp, *nstp;
2207 LIST_FOREACH(tstp, &lfp->lf_open, ls_file) {
2208 if (tstp != mystp) {
2209 bits = tstp->ls_flags;
2214 ret = nfsrv_clientconflict(tstp->ls_clp, &haslock,
2285 tstp = LIST_FIRST(&lfp->lf_deleg);
2286 while (tstp != LIST_END(&lfp->lf_deleg)) {
2287 nstp = LIST_NEXT(tstp, ls_file);
2291 clp != tstp->ls_clp &&
2292 (tstp->ls_flags & NFSLCK_DELEGWRITE)) ||
2295 (clp != tstp->ls_clp ||
2296 (tstp->ls_flags & NFSLCK_DELEGREAD)))) {
2316 ret = nfsrv_delegconflict(tstp, &haslock, p, vp);
2335 tstp = nstp;
5947 struct nfsstate *tstp;
5949 LIST_FOREACH(tstp, &stp->ls_openowner->ls_open, ls_list) {
5950 if (tstp != stp || !LIST_EMPTY(&tstp->ls_lock))