Searched refs:npaths_alloc (Results 1 – 2 of 2) sorted by relevance
| /illumos-gate/usr/src/uts/common/fs/dev/ |
| H A D | sdev_subr.c | 2686 int npaths_alloc = 0; in sdev_modctl_readdir() local 2742 if (npaths == npaths_alloc) { in sdev_modctl_readdir() 2743 npaths_alloc += 64; in sdev_modctl_readdir() 2745 kmem_zalloc((npaths_alloc + 1) * in sdev_modctl_readdir() 2779 *npathsp_alloc = npaths_alloc; in sdev_modctl_readdir() 2785 sdev_modctl_readdir_free(char **pathlist, int npaths, int npaths_alloc) in sdev_modctl_readdir_free() argument 2794 kmem_free(pathlist, (npaths_alloc + 1) * sizeof (char *)); in sdev_modctl_readdir_free()
|
| /illumos-gate/usr/src/uts/common/os/ |
| H A D | modctl.c | 2181 int npaths_alloc; in modctl_devreaddir() local 2208 &npaths, &npaths_alloc, 0)) != 0) { in modctl_devreaddir() 2248 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc); in modctl_devreaddir() 2262 int npaths_alloc; in modctl_devemptydir() local 2276 &npaths, &npaths_alloc, 1)) != 0) { in modctl_devemptydir() 2286 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc); in modctl_devemptydir()
|