Lines Matching refs:ndirents
317 u_int idx, ndirents; in tarfs_readdir() local
332 ndirents = 0; in tarfs_readdir()
359 ndirents++; in tarfs_readdir()
387 __func__, ndirents, current, current->name); in tarfs_readdir()
388 ndirents++; in tarfs_readdir()
400 __func__, ndirents, current, current->name); in tarfs_readdir()
439 ndirents++; in tarfs_readdir()
446 __func__, ndirents, current, current->name); in tarfs_readdir()
452 error = (ndirents == 0) ? EINVAL : 0; in tarfs_readdir()
455 TARFS_DPF(VNODE, "%s: %u entries written\n", __func__, ndirents); in tarfs_readdir()
475 *cookies = malloc(ndirents * sizeof(off_t), M_TEMP, M_WAITOK); in tarfs_readdir()
476 *ncookies = ndirents; in tarfs_readdir()
477 for (idx = 0; idx < ndirents; idx++) { in tarfs_readdir()