Lines Matching refs:ddef_hdl
983 devctl_bus_dev_create(devctl_hdl_t dcp, devctl_ddef_t ddef_hdl, in devctl_bus_dev_create() argument
990 if (dcp == NULL || ddef_hdl == NULL) { in devctl_bus_dev_create()
997 (nvlist_t *)ddef_hdl, devname); in devctl_bus_dev_create()
1178 devctl_ddef_free(devctl_ddef_t ddef_hdl) in devctl_ddef_free() argument
1181 (void) printf("devctl_ddef_free: nvp %p\n", (void *)ddef_hdl); in devctl_ddef_free()
1183 if (ddef_hdl != NULL) { in devctl_ddef_free()
1184 nvlist_free((nvlist_t *)ddef_hdl); in devctl_ddef_free()
1192 devctl_ddef_int(devctl_ddef_t ddef_hdl, char *name, int32_t value) in devctl_ddef_int() argument
1197 if (ddef_hdl == NULL || name == NULL || *name == '\0') { in devctl_ddef_int()
1202 rv = nvlist_add_int32((nvlist_t *)ddef_hdl, name, value); in devctl_ddef_int()
1206 rv, (void *)ddef_hdl, name, value); in devctl_ddef_int()
1215 devctl_ddef_int_array(devctl_ddef_t ddef_hdl, char *name, int nelements, in devctl_ddef_int_array() argument
1220 if (ddef_hdl == NULL || name == NULL || *name == '\0') { in devctl_ddef_int_array()
1225 rv = nvlist_add_int32_array((nvlist_t *)ddef_hdl, name, value, in devctl_ddef_int_array()
1230 rv, (void *)ddef_hdl, name); in devctl_ddef_int_array()
1243 devctl_ddef_string(devctl_ddef_t ddef_hdl, char *name, char *value) in devctl_ddef_string() argument
1247 if (ddef_hdl == NULL || name == NULL || *name == '\0') { in devctl_ddef_string()
1252 rv = nvlist_add_string((nvlist_t *)ddef_hdl, name, value); in devctl_ddef_string()
1256 rv, (void *)ddef_hdl, name, value); in devctl_ddef_string()
1265 devctl_ddef_string_array(devctl_ddef_t ddef_hdl, char *name, int nelements, in devctl_ddef_string_array() argument
1270 if (ddef_hdl == NULL || name == NULL || *name == '\0') { in devctl_ddef_string_array()
1275 rv = nvlist_add_string_array((nvlist_t *)ddef_hdl, name, in devctl_ddef_string_array()
1280 "name %s:\n", rv, (void *)ddef_hdl, name); in devctl_ddef_string_array()
1291 devctl_ddef_byte_array(devctl_ddef_t ddef_hdl, char *name, int nelements, in devctl_ddef_byte_array() argument
1296 if (ddef_hdl == NULL || name == NULL || *name == '\0') { in devctl_ddef_byte_array()
1301 rv = nvlist_add_byte_array((nvlist_t *)ddef_hdl, name, value, in devctl_ddef_byte_array()