Home
last modified time | relevance | path

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

/titanic_44/usr/src/uts/common/avs/ns/nsctl/
H A Dnsctl.c93 int _nsc_maxdev; variable
244 _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 …]
H A Dnsc_dev.h125 extern int _nsc_maxdev;