Home
last modified time | relevance | path

Searched refs:npaths_alloc (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/uts/common/fs/dev/
H A Dsdev_subr.c2687 int npaths_alloc = 0; in sdev_modctl_readdir() local
2743 if (npaths == npaths_alloc) { in sdev_modctl_readdir()
2744 npaths_alloc += 64; in sdev_modctl_readdir()
2746 kmem_zalloc((npaths_alloc + 1) * in sdev_modctl_readdir()
2781 *npathsp_alloc = npaths_alloc; in sdev_modctl_readdir()
2787 sdev_modctl_readdir_free(char **pathlist, int npaths, int npaths_alloc) in sdev_modctl_readdir_free() argument
2796 kmem_free(pathlist, (npaths_alloc + 1) * sizeof (char *)); in sdev_modctl_readdir_free()
/illumos-gate/usr/src/uts/common/os/
H A Dmodctl.c2169 int npaths_alloc; in modctl_devreaddir() local
2196 &npaths, &npaths_alloc, 0)) != 0) { in modctl_devreaddir()
2236 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc); in modctl_devreaddir()
2250 int npaths_alloc; in modctl_devemptydir() local
2264 &npaths, &npaths_alloc, 1)) != 0) { in modctl_devemptydir()
2274 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc); in modctl_devemptydir()