Lines Matching refs:hp_usage
154 if (node->hp_usage)
155 free(node->hp_usage);
310 * hp_usage()
315 hp_usage(hp_node_t node)
317 i_hp_dprintf("hp_usage: node=%p\n", (void *)node);
320 i_hp_dprintf("hp_usage: invalid arguments.\n");
326 i_hp_dprintf("hp_usage: operation not supported.\n");
331 if (node->hp_usage == NULL) {
332 i_hp_dprintf("hp_usage: missing usage value.\n");
336 return (node->hp_usage);
1432 if ((node->hp_usage) &&
1433 ((rv = nvlist_add_string(nvl, HP_INFO_USAGE, node->hp_usage)) != 0))
1633 if ((node->hp_usage = strdup(val_string)) == NULL) {