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

Function nvpair_get_descriptor

freebsd/contrib/libnv/bsd_nvpair.c:1837–1845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1835
1836#ifndef _KERNEL
1837int
1838nvpair_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
1848const void *

Callers 3

nvlist_dumpFunction · 0.85
nvlist_xdescriptorsFunction · 0.85
nvpair_cloneFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected