1295041Sbr/*- 2295041Sbr * Copyright (c) 2003 Alan L. Cox <alc@cs.rice.edu> 3295041Sbr * All rights reserved. 4295041Sbr * 5295041Sbr * Redistribution and use in source and binary forms, with or without 6295041Sbr * modification, are permitted provided that the following conditions 7295041Sbr * are met: 8295041Sbr * 1. Redistributions of source code must retain the above copyright 9295041Sbr * notice, this list of conditions and the following disclaimer. 10295041Sbr * 2. Redistributions in binary form must reproduce the above copyright 11295041Sbr * notice, this list of conditions and the following disclaimer in the 12295041Sbr * documentation and/or other materials provided with the distribution. 13295041Sbr * 14295041Sbr * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND 15295041Sbr * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 16295041Sbr * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 17295041Sbr * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE 18295041Sbr * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19295041Sbr * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20295041Sbr * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21295041Sbr * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22295041Sbr * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23295041Sbr * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24295041Sbr * SUCH DAMAGE. 25295041Sbr */ 26295041Sbr 27295041Sbr#include <sys/cdefs.h> 28295041Sbr__FBSDID("$FreeBSD$"); 29295041Sbr 30295041Sbr#include <sys/param.h> 31295041Sbr#include <sys/lock.h> 32295041Sbr#include <sys/malloc.h> 33295041Sbr#include <sys/mutex.h> 34295041Sbr#include <sys/systm.h> 35295041Sbr#include <vm/vm.h> 36295041Sbr#include <vm/vm_page.h> 37295041Sbr#include <vm/vm_pageout.h> 38295041Sbr#include <vm/uma.h> 39295041Sbr#include <vm/uma_int.h> 40295041Sbr#include <machine/md_var.h> 41295041Sbr#include <machine/vmparam.h> 42295041Sbr 43295041Sbrvoid * 44295041Sbruma_small_alloc(uma_zone_t zone, vm_size_t bytes, u_int8_t *flags, int wait) 45295041Sbr{ 46295041Sbr 47295041Sbr panic("uma_small_alloc"); 48295041Sbr} 49295041Sbr 50295041Sbrvoid 51295041Sbruma_small_free(void *mem, vm_size_t size, u_int8_t flags) 52295041Sbr{ 53295041Sbr 54295041Sbr panic("uma_small_free"); 55295041Sbr} 56