Home | History | Annotate | Download | only in nfs

Lines Matching defs:owp

1066 	struct nfsrv_descript *wp, *nfsd, *owp, *swp;
1159 owp = NULL;
1163 owp = wp;
1166 if (owp) {
1167 LIST_INSERT_AFTER(owp, nfsd, nd_tq);
1173 owp = NULL;
1176 owp = wp;
1181 owp = wp;
1184 if (owp) {
1185 LIST_INSERT_AFTER(owp, nfsd, nd_hash);
1191 for(; nfsd && NFSW_CONTIG(owp, nfsd); nfsd = wp) {
1193 if (nfsrv_samecred(owp->nd_cr, nfsd->nd_cr))
1194 nfsrvw_coalesce(owp, nfsd);
1211 for (nfsd = LIST_FIRST(&slp->ns_tq); nfsd; nfsd = owp) {
1212 owp = LIST_NEXT(nfsd, nd_tq);
1367 * Coalesce the write request nfsd into owp. To do this we must:
1369 * - merge nfsd->nd_mrep into owp->nd_mrep
1370 * - update the nd_eoff and nd_stable for owp
1371 * - put nfsd on owp's nd_coalesce list
1375 nfsrvw_coalesce(struct nfsrv_descript *owp, struct nfsrv_descript *nfsd)
1385 if (owp->nd_eoff < nfsd->nd_eoff) {
1386 overlap = owp->nd_eoff - nfsd->nd_off;
1391 mp = owp->nd_mrep;
1395 owp->nd_eoff = nfsd->nd_eoff;
1400 owp->nd_stable = NFSV3WRITE_FILESYNC;
1402 owp->nd_stable == NFSV3WRITE_UNSTABLE)
1403 owp->nd_stable = NFSV3WRITE_DATASYNC;
1404 LIST_INSERT_HEAD(&owp->nd_coalesce, nfsd, nd_tq);
1406 * nfsd might hold coalesce elements! Move them to owp.
1411 LIST_INSERT_HEAD(&owp->nd_coalesce, m, nd_tq);