Lines Matching refs:owp
1373 struct nfsrv_descript *nd, *wp, *owp, *swp;
1452 owp = NULL;
1455 owp = wp;
1458 if (owp) {
1459 LIST_INSERT_AFTER(owp, nd, nd_tq);
1465 owp = NULL;
1468 owp = wp;
1473 owp = wp;
1476 if (owp) {
1477 LIST_INSERT_AFTER(owp, nd, nd_hash);
1482 for(; nd && NFSW_CONTIG(owp, nd); nd = wp) {
1484 if (NFSW_SAMECRED(owp, nd))
1485 nfsrv_wg_coalesce(owp, nd);
1502 for (nd = slp->ns_tq.lh_first; nd; nd = owp) {
1503 owp = nd->nd_tq.le_next;
1680 * Coalesce the write request nd into owp. To do this we must:
1682 * - merge nd->nd_nmreq into owp->nd_nmreq
1683 * - update the nd_eoff and nd_stable for owp
1684 * - put nd on owp's nd_coalesce list
1687 nfsrv_wg_coalesce(struct nfsrv_descript *owp, struct nfsrv_descript *nd)
1695 if (owp->nd_eoff < nd->nd_eoff) {
1696 overlap = owp->nd_eoff - nd->nd_off;
1701 mp = owp->nd_nmreq.nmc_mhead;
1707 owp->nd_eoff = nd->nd_eoff;
1714 owp->nd_stable = NFS_WRITE_FILESYNC;
1716 (owp->nd_stable == NFS_WRITE_UNSTABLE))
1717 owp->nd_stable = NFS_WRITE_DATASYNC;
1718 LIST_INSERT_HEAD(&owp->nd_coalesce, nd, nd_tq);
1722 * to owp, otherwise their replies will never get sent.
1726 LIST_INSERT_HEAD(&owp->nd_coalesce, p, nd_tq);