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