Searched refs:_nsc_maxdev (Results 1 – 2 of 2) sorted by relevance
93 int _nsc_maxdev; variable244 _nsc_maxdev = _nsc_max_devices; in _nsctl_attach()386 _nsc_minor_fd = nsc_kmem_zalloc(sizeof (nsc_fd_t *)*_nsc_maxdev, in nscsetup()394 _nsc_minor_slp = nsc_kmem_zalloc(sizeof (kmutex_t *)*_nsc_maxdev, in nscsetup()399 nsc_kmem_free(_nsc_minor_fd, sizeof (nsc_fd_t *) * _nsc_maxdev); in nscsetup()414 for (i = 1; i < _nsc_maxdev; i++) { in nscteardown()420 nsc_kmem_free(_nsc_minor_fd, sizeof (nsc_fd_t *) * _nsc_maxdev); in nscteardown()421 nsc_kmem_free(_nsc_minor_slp, sizeof (kmutex_t *) * _nsc_maxdev); in nscteardown()496 for (i = 1; i < _nsc_maxdev; i++) { in nscopen()505 if (i >= _nsc_maxdev) { in nscopen()[all …]
125 extern int _nsc_maxdev;