Deleted Added
full compact
zfs_context.h (331382) zfs_context.h (332528)
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

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

359#define kmem_free(_b, _s) umem_free(_b, _s)
360#define kmem_size() (physmem * PAGESIZE)
361#define kmem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) \
362 umem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i)
363#define kmem_cache_destroy(_c) umem_cache_destroy(_c)
364#define kmem_cache_alloc(_c, _f) umem_cache_alloc(_c, _f)
365#define kmem_cache_free(_c, _b) umem_cache_free(_c, _b)
366#define kmem_debugging() 0
1/*
2 * CDDL HEADER START
3 *
4 * The contents of this file are subject to the terms of the
5 * Common Development and Distribution License (the "License").
6 * You may not use this file except in compliance with the License.
7 *
8 * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE

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

359#define kmem_free(_b, _s) umem_free(_b, _s)
360#define kmem_size() (physmem * PAGESIZE)
361#define kmem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i) \
362 umem_cache_create(_a, _b, _c, _d, _e, _f, _g, _h, _i)
363#define kmem_cache_destroy(_c) umem_cache_destroy(_c)
364#define kmem_cache_alloc(_c, _f) umem_cache_alloc(_c, _f)
365#define kmem_cache_free(_c, _b) umem_cache_free(_c, _b)
366#define kmem_debugging() 0
367#define kmem_cache_reap_now(_c) /* nothing */
367#define kmem_cache_reap_active() (B_FALSE)
368#define kmem_cache_reap_soon(_c) /* nothing */
368#define kmem_cache_set_move(_c, _cb) /* nothing */
369#define POINTER_INVALIDATE(_pp) /* nothing */
370#define POINTER_IS_VALID(_p) 0
371
372typedef umem_cache_t kmem_cache_t;
373
374typedef enum kmem_cbrc {
375 KMEM_CBRC_YES,

--- 451 unchanged lines hidden ---
369#define kmem_cache_set_move(_c, _cb) /* nothing */
370#define POINTER_INVALIDATE(_pp) /* nothing */
371#define POINTER_IS_VALID(_p) 0
372
373typedef umem_cache_t kmem_cache_t;
374
375typedef enum kmem_cbrc {
376 KMEM_CBRC_YES,

--- 451 unchanged lines hidden ---