Lines Matching refs:layp
6515 struct nfscllayout *layp; in nfscl_doiods() local
6550 layp = nfscl_getlayout(nmp->nm_clp, np->n_fhp->nfh_fh, in nfscl_doiods()
6552 if (layp == NULL || rflp == NULL) { in nfscl_doiods()
6560 if (layp != NULL) { in nfscl_doiods()
6561 nfscl_rellayout(layp, (rflp == NULL) ? 1 : 0); in nfscl_doiods()
6562 layp = NULL; in nfscl_doiods()
6571 rwaccess, NULL, &stateid, off, &layp, newcred, p); in nfscl_doiods()
6579 if (layp != NULL) in nfscl_doiods()
6580 nfscl_rellayout(layp, 0); in nfscl_doiods()
6595 error = nfscl_findlayoutforio(layp, off, rwaccess, &rflp); in nfscl_doiods()
6609 if ((layp->nfsly_flags & NFSLY_FLEXFILE) != 0 && in nfscl_doiods()
6646 if ((layp->nfsly_flags & NFSLY_FLEXFILE) != 0) { in nfscl_doiods()
6661 dip, layp, rflp, off, xfer, in nfscl_doiods()
6668 dip, layp, rflp, off, xfer, in nfscl_doiods()
6705 layp->nfsly_flags |= NFSLY_WRITTEN; in nfscl_doiods()
6710 if (lastbyte > layp->nfsly_lastbyte) in nfscl_doiods()
6711 layp->nfsly_lastbyte = lastbyte; in nfscl_doiods()
6729 &layp->nfsly_stateid, newcred, p, error, op, in nfscl_doiods()
6753 nfscl_rellayout(layp, 0); in nfscl_doiods()