Lines Matching defs:cache
280 /* ioremap will take care of cache attributes */
1545 * PARAMETERS: name - Ascii name for the cache
1547 * depth - Maximum depth of the cache (in objects) <ignored>
1548 * cache - Where the new cache object is returned
1552 * DESCRIPTION: Create a cache object
1557 acpi_os_create_cache(char *name, u16 size, u16 depth, acpi_cache_t ** cache)
1559 *cache = kmem_cache_create(name, size, 0, 0, NULL);
1560 if (*cache == NULL)
1570 * PARAMETERS: Cache - Handle to cache object
1574 * DESCRIPTION: Free all objects within the requested cache.
1578 acpi_status acpi_os_purge_cache(acpi_cache_t * cache)
1580 kmem_cache_shrink(cache);
1588 * PARAMETERS: Cache - Handle to cache object
1592 * DESCRIPTION: Free all objects within the requested cache and delete the
1593 * cache object.
1597 acpi_status acpi_os_delete_cache(acpi_cache_t * cache)
1599 kmem_cache_destroy(cache);
1607 * PARAMETERS: Cache - Handle to cache object
1612 * DESCRIPTION: Release an object to the specified cache. If cache is full,
1617 acpi_status acpi_os_release_object(acpi_cache_t * cache, void *object)
1619 kmem_cache_free(cache, object);