Lines Matching refs:object
188 acpi_os_release_object(struct acpi_memory_list * cache, void *object) in acpi_os_release_object() argument
194 if (!cache || !object) { in acpi_os_release_object()
201 ACPI_FREE(object); in acpi_os_release_object()
215 ACPI_MEMSET(object, 0xCA, cache->object_size); in acpi_os_release_object()
216 ACPI_SET_DESCRIPTOR_TYPE(object, ACPI_DESC_TYPE_CACHED); in acpi_os_release_object()
220 ACPI_SET_DESCRIPTOR_PTR(object, cache->list_head); in acpi_os_release_object()
221 cache->list_head = object; in acpi_os_release_object()
246 void *object; in acpi_os_acquire_object() local
267 object = cache->list_head; in acpi_os_acquire_object()
268 cache->list_head = ACPI_GET_DESCRIPTOR_PTR(object); in acpi_os_acquire_object()
274 "Object %p from %s cache\n", object, in acpi_os_acquire_object()
284 ACPI_MEMSET(object, 0, cache->object_size); in acpi_os_acquire_object()
305 object = ACPI_ALLOCATE_ZEROED(cache->object_size); in acpi_os_acquire_object()
306 if (!object) { in acpi_os_acquire_object()
311 return_PTR(object); in acpi_os_acquire_object()