Searched refs:objhdl (Results 1 – 2 of 2) sorted by relevance
425 acpidev_data_handle_t objhdl = data; in acpidev_free_object_handler() local427 if (objhdl->aod_class != NULL) { in acpidev_free_object_handler()428 atomic_dec_32(&objhdl->aod_class->adc_refcnt); in acpidev_free_object_handler()429 objhdl->aod_class = NULL; in acpidev_free_object_handler()431 kmem_free(objhdl, sizeof (acpidev_data_handle_t)); in acpidev_free_object_handler()438 acpidev_data_handle_t objhdl = NULL; in acpidev_data_get_handle() local441 objhdl = (acpidev_data_handle_t)ptr; in acpidev_data_get_handle()444 return (objhdl); in acpidev_data_get_handle()450 acpidev_data_handle_t objhdl; in acpidev_data_create_handle() local452 objhdl = kmem_zalloc(sizeof (*objhdl), KM_SLEEP); in acpidev_data_create_handle()[all …]
377 acpidev_data_handle_t objhdl; in acpidev_create_root_node() local431 objhdl = acpidev_data_create_handle(ACPI_ROOT_OBJECT); in acpidev_create_root_node()432 if (objhdl == NULL) { in acpidev_create_root_node()437 objhdl->aod_level = 0; in acpidev_create_root_node()438 objhdl->aod_hdl = ACPI_ROOT_OBJECT; in acpidev_create_root_node()439 objhdl->aod_dip = dip; in acpidev_create_root_node()440 objhdl->aod_class = &acpidev_class_scope; in acpidev_create_root_node()441 objhdl->aod_status = acpidev_query_device_status(ACPI_ROOT_OBJECT); in acpidev_create_root_node()442 objhdl->aod_iflag = ACPIDEV_ODF_STATUS_VALID | in acpidev_create_root_node()