Lines Matching refs:mirrorcnt
235 int mirrorcnt, fhandle_t *fhp, fhandle_t *dsfhp, char *devid, fsid_t fs);
6804 int error, mirrorcnt; in nfsrv_layoutget() local
6903 error = nfsrv_dsgetdevandfh(vp, p, &mirrorcnt, dsfhp, devid); in nfsrv_layoutget()
6913 if (NFSX_V4FLEXLAYOUT(mirrorcnt) > maxcnt) in nfsrv_layoutget()
6916 lyp = nfsrv_flexlayout(nd, *iomode, mirrorcnt, in nfsrv_layoutget()
6991 nfsrv_flexlayout(struct nfsrv_descript *nd, int iomode, int mirrorcnt, in nfsrv_flexlayout() argument
6999 lyp = malloc(sizeof(struct nfslayout) + NFSX_V4FLEXLAYOUT(mirrorcnt), in nfsrv_flexlayout()
7009 lyp->lay_mirrorcnt = mirrorcnt; in nfsrv_flexlayout()
7016 *tl++ = txdr_unsigned(mirrorcnt); /* # of mirrors. */ in nfsrv_flexlayout()
7017 for (i = 0; i < mirrorcnt; i++) { in nfsrv_flexlayout()
7048 lyp->lay_layoutlen = NFSX_V4FLEXLAYOUT(mirrorcnt); in nfsrv_flexlayout()
8088 nfsrv_maxpnfsmirror = args->mirrorcnt; in nfsrv_createdevids()
8314 struct pnfsdsfile *pf, struct pnfsdsfile *wpf, int mirrorcnt, in nfsrv_copymr() argument
8569 sizeof(*wpf) * mirrorcnt, (char *)wpf, p); in nfsrv_copymr()
8629 int dsdir, error, mirrorcnt, ippos; in nfsrv_mdscopymr() local
8763 error = nfsrv_dsgetsockmnt(vp, 0, buf, buflenp, &mirrorcnt, p, in nfsrv_mdscopymr()