Lines Matching refs:swapname
451 char *swapname;
719 if ((swapname = kmem_alloc(MAXPATHLEN, KM_NOSLEEP)) == NULL)
722 error = copyinstr(sr.sr_name, swapname, MAXPATHLEN, 0);
726 error = lookupname(swapname, UIO_SYSSPACE, FOLLOW, NULLVPP, &vp);
731 vp = swapdel_byname(swapname, (size_t)sr.sr_start);
764 sr.sr_length, swapname);
768 kmem_free(swapname, MAXPATHLEN);
787 char *swapname;
1013 if ((swapname = kmem_alloc(MAXPATHLEN, KM_NOSLEEP)) == NULL)
1017 swapname, MAXPATHLEN, NULL);
1021 error = lookupname(swapname, UIO_SYSSPACE, FOLLOW, NULLVPP, &vp);
1026 vp = swapdel_byname(swapname, (uint_t)sr.sr_start);
1059 swapname);
1063 kmem_free(swapname, MAXPATHLEN);
1073 swapadd(struct vnode *vp, ulong_t lowblk, ulong_t nblks, char *swapname)
1086 SWAP_PRINT(SW_CTL, "swapadd: vp %p lowblk %ld nblks %ld swapname %s\n",
1087 vp, lowblk, nblks, swapname, 0);
1148 swapname, vattr.va_size, MAXOFF32_T);
1220 nsip->si_pnamelen = (int)strlen(swapname) + 1;
1222 bcopy(swapname, nsip->si_pname, nsip->si_pnamelen - 1);
1224 swapname, pages, 0, 0, 0);
1333 (void) dumpinit(vp, swapname, 0);