Home
last modified time | relevance | path

Searched refs:bitstrp (Results 1 – 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/picl/plugins/sun4v/lib/snmp/
H A Dsnmplib.c435 snmp_get_bitstr(picl_snmphdl_t hdl, char *prefix, int row, uchar_t **bitstrp, in snmp_get_bitstr() argument
444 if (smd == NULL || prefix == NULL || bitstrp == NULL || nbytes == NULL) in snmp_get_bitstr()
447 *bitstrp = NULL; in snmp_get_bitstr()
453 ret = fetch_single_bitstr(smd, prefix, row, bitstrp, in snmp_get_bitstr()
466 if ((*bitstrp = (uchar_t *)calloc(*nbytes, 1)) == NULL) in snmp_get_bitstr()
468 (void) memcpy(*bitstrp, (const void *)val, *nbytes); in snmp_get_bitstr()
485 if ((*bitstrp = (uchar_t *)calloc(*nbytes, 1)) == NULL) in snmp_get_bitstr()
487 (void) memcpy(*bitstrp, (const void *)val, *nbytes); in snmp_get_bitstr()