Deleted Added
full compact
27c27
< * $FreeBSD: head/sys/vm/uma.h 249313 2013-04-09 17:43:48Z glebius $
---
> * $FreeBSD: head/sys/vm/uma.h 251826 2013-06-17 03:43:47Z jeff $
126a127,136
> * Import new memory into a cache zone.
> */
> typedef int (*uma_import)(void *arg, void **store, int count, int flags);
>
> /*
> * Free memory from a cache zone.
> */
> typedef void (*uma_release)(void *arg, void **store, int count);
>
> /*
218a229,241
> * Create cache-only zones.
> *
> * This allows uma's per-cpu cache facilities to handle arbitrary
> * pointers. Consumers must specify the import and release functions to
> * fill and destroy caches. UMA does not allocate any memory for these
> * zones. The 'arg' parameter is passed to import/release and is caller
> * specific.
> */
> uma_zone_t uma_zcache_create(char *name, uma_ctor ctor, uma_dtor dtor,
> uma_init zinit, uma_fini zfini, uma_import zimport,
> uma_release zrelease, void *arg, int flags);
>
> /*