Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/i86pc/io/acpi/acpidev/
H A Dacpidev_util.c430 acpidev_data_handle_t objhdl = data; in acpidev_free_object_handler() local
432 if (objhdl->aod_class != NULL) { in acpidev_free_object_handler()
433 atomic_dec_32(&objhdl->aod_class->adc_refcnt); in acpidev_free_object_handler()
434 objhdl->aod_class = NULL; in acpidev_free_object_handler()
436 kmem_free(objhdl, sizeof (acpidev_data_handle_t)); in acpidev_free_object_handler()
443 acpidev_data_handle_t objhdl = NULL; in acpidev_data_get_handle() local
446 objhdl = (acpidev_data_handle_t)ptr; in acpidev_data_get_handle()
449 return (objhdl); in acpidev_data_get_handle()
455 acpidev_data_handle_t objhdl; in acpidev_data_create_handle() local
457 objhdl = kmem_zalloc(sizeof (*objhdl), KM_SLEEP); in acpidev_data_create_handle()
[all …]
H A Dacpidev_drv.c394 acpidev_data_handle_t objhdl; in acpidev_create_root_node() local
448 objhdl = acpidev_data_create_handle(ACPI_ROOT_OBJECT); in acpidev_create_root_node()
449 if (objhdl == NULL) { in acpidev_create_root_node()
454 objhdl->aod_level = 0; in acpidev_create_root_node()
455 objhdl->aod_hdl = ACPI_ROOT_OBJECT; in acpidev_create_root_node()
456 objhdl->aod_dip = dip; in acpidev_create_root_node()
457 objhdl->aod_class = &acpidev_class_scope; in acpidev_create_root_node()
458 objhdl->aod_status = acpidev_query_device_status(ACPI_ROOT_OBJECT); in acpidev_create_root_node()
459 objhdl->aod_iflag = ACPIDEV_ODF_STATUS_VALID | in acpidev_create_root_node()