MCPcopy Create free account
hub / github.com/F-Stack/f-stack / nvpair_get_number_array

Function nvpair_get_number_array

freebsd/contrib/libnv/bsd_nvpair.c:1874–1885  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1872}
1873
1874const uint64_t *
1875nvpair_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
1887const char * const *
1888nvpair_get_string_array(const nvpair_t *nvp, size_t *nitems)

Callers 2

nvlist_dumpFunction · 0.85
nvpair_cloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected