Searched refs:kbuflen (Results 1 - 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/syscall/
H A Dgetcwd.c44 size_t kbuflen; local
52 kbuflen = MIN(buflen, MAXPATHLEN);
55 kbuf = kmem_alloc(kbuflen, KM_SLEEP);
57 if (((err = dogetcwd(kbuf, kbuflen)) == 0) &&
61 kmem_free(kbuf, kbuflen);
68 if (kbuflen == buflen) {
72 kbuflen = MIN(kbuflen * 2, buflen);
/illumos-gate/usr/src/uts/common/ipp/
H A Dippctl.c685 size_t kbuflen)
742 if (ubuflen < kbuflen)
752 if (ddi_copyout((caddr_t)kbuf, ubuf, kbuflen, mode) != 0)
681 ippctl_copyout( caddr_t arg, int mode, char *kbuf, size_t kbuflen) argument

Completed in 71 milliseconds