Lines Matching refs:numfileports
404 uint32_t needfileports, numfileports;
416 numfileports = 0;
418 proc_fileport_count, &numfileports)) {
429 if (numfileports == 0) {
434 numfileports += 20; /* accelerate convergence */
435 *retval = numfileports * sizeof (*pfi);
438 if (needfileports > numfileports)
439 needfileports = numfileports;
457 if ((numfileports = pfi - (typeof(pfi))kbuf) == 0)
459 if (numfileports > needfileports)
461 error = copyout(kbuf, buffer, numfileports * sizeof (*pfi));
475 *retval = numfileports * sizeof (*pfi);