| 1835 | |
| 1836 | #ifndef _KERNEL |
| 1837 | int |
| 1838 | nvpair_get_descriptor(const nvpair_t *nvp) |
| 1839 | { |
| 1840 | |
| 1841 | NVPAIR_ASSERT(nvp); |
| 1842 | PJDLOG_ASSERT(nvp->nvp_type == NV_TYPE_DESCRIPTOR); |
| 1843 | |
| 1844 | return ((int)nvp->nvp_data); |
| 1845 | } |
| 1846 | #endif |
| 1847 | |
| 1848 | const void * |
no outgoing calls
no test coverage detected