Lines Matching defs:cache
278 /* ioremap will take care of cache attributes */
1643 * PARAMETERS: name - Ascii name for the cache
1645 * depth - Maximum depth of the cache (in objects) <ignored>
1646 * cache - Where the new cache object is returned
1650 * DESCRIPTION: Create a cache object
1655 acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache)
1657 *cache = kmem_cache_create(name, size, 0, 0, NULL);
1658 if (*cache == NULL)
1668 * PARAMETERS: Cache - Handle to cache object
1672 * DESCRIPTION: Free all objects within the requested cache.
1676 acpi_status acpi_os_purge_cache(acpi_cache_t * cache)
1678 kmem_cache_shrink(cache);
1686 * PARAMETERS: Cache - Handle to cache object
1690 * DESCRIPTION: Free all objects within the requested cache and delete the
1691 * cache object.
1695 acpi_status acpi_os_delete_cache(acpi_cache_t * cache)
1697 kmem_cache_destroy(cache);
1705 * PARAMETERS: Cache - Handle to cache object
1710 * DESCRIPTION: Release an object to the specified cache. If cache is full,
1715 acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object)
1717 kmem_cache_free(cache, object);