Searched refs:npaths_alloc (Results 1 – 2 of 2) sorted by relevance
/titanic_50/usr/src/uts/common/fs/dev/ |
H A D | sdev_subr.c | 2818 int npaths_alloc = 0; in sdev_modctl_readdir() local 2874 if (npaths == npaths_alloc) { in sdev_modctl_readdir() 2875 npaths_alloc += 64; in sdev_modctl_readdir() 2877 kmem_zalloc((npaths_alloc + 1) * in sdev_modctl_readdir() 2912 *npathsp_alloc = npaths_alloc; in sdev_modctl_readdir() 2918 sdev_modctl_readdir_free(char **pathlist, int npaths, int npaths_alloc) in sdev_modctl_readdir_free() argument 2927 kmem_free(pathlist, (npaths_alloc + 1) * sizeof (char *)); in sdev_modctl_readdir_free()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | modctl.c | 2163 int npaths_alloc; in modctl_devreaddir() local 2190 &npaths, &npaths_alloc, 0)) != 0) { in modctl_devreaddir() 2230 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc); in modctl_devreaddir() 2244 int npaths_alloc; in modctl_devemptydir() local 2258 &npaths, &npaths_alloc, 1)) != 0) { in modctl_devemptydir() 2268 sdev_modctl_readdir_free(dirlist, npaths, npaths_alloc); in modctl_devemptydir()
|