libumem.spec revision f808c858fa61e7769218966759510a8b1190dfcf
#
# Copyright 2005 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License, Version 1.0 only
# (the "License"). You may not use this file except in compliance
# with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
# ident "%Z%%M% %I% %E% SMI"
#
#malloc interface
end
end
end
end
end
end
#umem_alloc interface
function umem_alloc
declaration void *umem_alloc(size_t size, int flags);
end
function umem_alloc_align
end
function umem_zalloc
declaration void *umem_zalloc(size_t size, int flags);
end
function umem_free
end
function umem_free_align
declaration void umem_free_align(void *buf, size_t size);
end
#Cache manipulation and allocation
function umem_cache_create
declaration umem_cache_t *umem_cache_create(char *debug_name, size_t bufsize, size_t align, umem_constructor_t *constructor, umem_destructor_t *destructor, umem_reclaim_t *reclaim, void *callback_data, vmem_t *source, int cflags);
end
function umem_cache_destroy
declaration void umem_cache_destroy(umem_cache_t *cache);
end
function umem_cache_alloc
declaration void *umem_cache_alloc(umem_cache_t *cache, int flags);
end
function umem_cache_free
declaration void umem_cache_free(umem_cache_t *cache, void *buffer);
end
#misc
function umem_nofail_callback
declaration void umem_nofail_callback(umem_nofail_callback_t *callback);
end
#misc -- private
function umem_reap
end
#vmem interface
function vmem_create
end
function vmem_destroy
end
function vmem_alloc
end
function vmem_xalloc
end
function vmem_free
end
function vmem_xfree
end
function vmem_add
end
function vmem_contains
end
function vmem_walk
end
function vmem_size
end
function vmem_heap_arena
end