1/*-
2 * Copyright (c) 2002, 2003, 2004, 2005 Jeffrey Roberson <jeff@FreeBSD.org>
3 * Copyright (c) 2004, 2005 Bosko Milekic <bmilekic@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
--- 10 unchanged lines hidden (view full) ---
19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/vm/uma.h 151104 2005-10-08 21:03:54Z des $
28 *
29 */
30
31/*
32 * uma.h - External definitions for the Universal Memory Allocator
33 *
34*/
35
--- 468 unchanged lines hidden (view full) ---
504 * item The address of the item for which we want a refcnt.
505 *
506 * Returns:
507 * A pointer to a u_int32_t reference counter.
508 */
509u_int32_t *uma_find_refcnt(uma_zone_t zone, void *item);
510
511/*
512 * Exported statistics structures to be used by user space monitoring tools.
513 * Statistics stream consusts of a uma_stream_header, followed by a series of
514 * alternative uma_type_header and uma_type_stat structures. Statistics
515 * structures
516 */
517#define UMA_STREAM_VERSION 0x00000001
518struct uma_stream_header {
519 u_int32_t ush_version; /* Stream format version. */
--- 40 unchanged lines hidden ---
2 * Copyright (c) 2002, 2003, 2004, 2005 Jeffrey Roberson <jeff@FreeBSD.org>
3 * Copyright (c) 2004, 2005 Bosko Milekic <bmilekic@FreeBSD.org>
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
--- 10 unchanged lines hidden (view full) ---
19 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
20 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
21 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
22 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
23 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26 *
27 * $FreeBSD: head/sys/vm/uma.h 151104 2005-10-08 21:03:54Z des $
28 *
29 */
30
31/*
32 * uma.h - External definitions for the Universal Memory Allocator
33 *
34*/
35
--- 468 unchanged lines hidden (view full) ---
504 * item The address of the item for which we want a refcnt.
505 *
506 * Returns:
507 * A pointer to a u_int32_t reference counter.
508 */
509u_int32_t *uma_find_refcnt(uma_zone_t zone, void *item);
510
511/*
512 * Exported statistics structures to be used by user space monitoring tools.
513 * Statistics stream consusts of a uma_stream_header, followed by a series of
514 * alternative uma_type_header and uma_type_stat structures. Statistics
515 * structures
516 */
517#define UMA_STREAM_VERSION 0x00000001
518struct uma_stream_header {
519 u_int32_t ush_version; /* Stream format version. */
--- 40 unchanged lines hidden ---