Deleted Added
full compact
uma.h (105689) uma.h (109623)
1/*
2 * Copyright (c) 2002, Jeffrey Roberson <jeff@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
1/*
2 * Copyright (c) 2002, Jeffrey Roberson <jeff@freebsd.org>
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25 *
26 * $FreeBSD: head/sys/vm/uma.h 105689 2002-10-22 12:10:27Z sheldonh $
26 * $FreeBSD: head/sys/vm/uma.h 109623 2003-01-21 08:56:16Z alfred $
27 *
28 */
29
30/*
31 * uma.h - External definitions for the Universal Memory Allocator
32 *
33*/
34

--- 169 unchanged lines hidden (view full) ---

204 *
205 * Arguments:
206 * zone The zone we are allocating from
207 * arg This data is passed to the ctor function
208 * flags See sys/malloc.h for available flags.
209 *
210 * Returns:
211 * A non null pointer to an initialized element from the zone is
27 *
28 */
29
30/*
31 * uma.h - External definitions for the Universal Memory Allocator
32 *
33*/
34

--- 169 unchanged lines hidden (view full) ---

204 *
205 * Arguments:
206 * zone The zone we are allocating from
207 * arg This data is passed to the ctor function
208 * flags See sys/malloc.h for available flags.
209 *
210 * Returns:
211 * A non null pointer to an initialized element from the zone is
212 * garanteed if the wait flag is M_WAITOK, otherwise a null pointer may be
212 * garanteed if the wait flag is not M_NOWAIT, otherwise null may be
213 * returned if the zone is empty or the ctor failed.
214 */
215
216void *uma_zalloc_arg(uma_zone_t zone, void *arg, int flags);
217
218/*
219 * Allocates an item out of a zone without supplying an argument
220 *

--- 209 unchanged lines hidden ---
213 * returned if the zone is empty or the ctor failed.
214 */
215
216void *uma_zalloc_arg(uma_zone_t zone, void *arg, int flags);
217
218/*
219 * Allocates an item out of a zone without supplying an argument
220 *

--- 209 unchanged lines hidden ---