Searched refs:nvl_usersz (Results 1 – 3 of 3) sorted by relevance
/titanic_50/usr/src/uts/common/sys/ |
H A D | devctl.h | 53 size_t nvl_usersz; member 67 uint32_t nvl_usersz; member
|
/titanic_50/usr/src/uts/common/os/ |
H A D | sunndi.c | 335 dcp->nvl_usersz = (size_t)dcp32.nvl_usersz; in ndi_dc_allochdl() 368 if ((dcp->nvl_usersz == 0) || in ndi_dc_allochdl() 369 (dcp->nvl_usersz > DEVCTL_MAX_NVL_USERSZ)) { in ndi_dc_allochdl() 377 cpybuf = kmem_alloc(dcp->nvl_usersz, KM_SLEEP); in ndi_dc_allochdl() 378 if (copyin(dcp->nvl_user, cpybuf, dcp->nvl_usersz) != 0) { in ndi_dc_allochdl() 379 kmem_free(cpybuf, dcp->nvl_usersz); in ndi_dc_allochdl() 388 if (nvlist_unpack(cpybuf, dcp->nvl_usersz, &dcp->nvl_user, in ndi_dc_allochdl() 390 kmem_free(cpybuf, dcp->nvl_usersz); in ndi_dc_allochdl() 401 kmem_free(cpybuf, dcp->nvl_usersz); in ndi_dc_allochdl()
|
/titanic_50/usr/src/lib/libdevice/ |
H A D | devctl.c | 1350 &iocdata.nvl_usersz, NV_ENCODE_NATIVE, 0)) { in dc_cmd() 1358 iocdata.nvl_usersz = 0; in dc_cmd()
|