Deleted Added
full compact
uma.h (147996) uma.h (148070)
1/*-
2 * Copyright (c) 2004, 2005,
3 * Bosko Milekic <bmilekic@FreeBSD.org>. All rights reserved.
4 * Copyright (c) 2002, 2003, 2004, 2005,
5 * Jeffrey Roberson <jeff@FreeBSD.org>. All rights reserved.
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions

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

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

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

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

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

540 */
541 u_int32_t uth_pages; /* Keg: pages allocated. */
542 u_int32_t uth_keg_free; /* Keg: items free. */
543 u_int32_t uth_zone_free; /* Zone: items free. */
544 u_int32_t uth_bucketsize; /* Zone: desired bucket size. */
545 u_int32_t _uth_reserved0; /* Reserved. */
546 u_int64_t uth_allocs; /* Zone: number of allocations. */
547 u_int64_t uth_frees; /* Zone: number of frees. */
29 *
30 */
31
32/*
33 * uma.h - External definitions for the Universal Memory Allocator
34 *
35*/
36

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

540 */
541 u_int32_t uth_pages; /* Keg: pages allocated. */
542 u_int32_t uth_keg_free; /* Keg: items free. */
543 u_int32_t uth_zone_free; /* Zone: items free. */
544 u_int32_t uth_bucketsize; /* Zone: desired bucket size. */
545 u_int32_t _uth_reserved0; /* Reserved. */
546 u_int64_t uth_allocs; /* Zone: number of allocations. */
547 u_int64_t uth_frees; /* Zone: number of frees. */
548 u_int64_t _uth_reserved1[4]; /* Reserved. */
548 u_int64_t uth_fails; /* Zone: number of alloc failures. */
549 u_int64_t _uth_reserved1[3]; /* Reserved. */
549
550};
551
552struct uma_percpu_stat {
553 u_int64_t ups_allocs; /* Cache: number of alloctions. */
554 u_int64_t ups_frees; /* Cache: number of frees. */
555 u_int64_t ups_cache_free; /* Cache: free items in cache. */
556 u_int64_t _ups_reserved[5]; /* Reserved. */
557};
558
559#endif
550
551};
552
553struct uma_percpu_stat {
554 u_int64_t ups_allocs; /* Cache: number of alloctions. */
555 u_int64_t ups_frees; /* Cache: number of frees. */
556 u_int64_t ups_cache_free; /* Cache: free items in cache. */
557 u_int64_t _ups_reserved[5]; /* Reserved. */
558};
559
560#endif