| 1872 | } |
| 1873 | |
| 1874 | const uint64_t * |
| 1875 | nvpair_get_number_array(const nvpair_t *nvp, size_t *nitems) |
| 1876 | { |
| 1877 | |
| 1878 | NVPAIR_ASSERT(nvp); |
| 1879 | PJDLOG_ASSERT(nvp->nvp_type == NV_TYPE_NUMBER_ARRAY); |
| 1880 | |
| 1881 | if (nitems != NULL) |
| 1882 | *nitems = nvp->nvp_nitems; |
| 1883 | |
| 1884 | return ((const uint64_t *)(intptr_t)nvp->nvp_data); |
| 1885 | } |
| 1886 | |
| 1887 | const char * const * |
| 1888 | nvpair_get_string_array(const nvpair_t *nvp, size_t *nitems) |
no outgoing calls
no test coverage detected