param.h (154863) | param.h (155780) |
---|---|
1/*- 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)param.h 8.3 (Berkeley) 4/4/95 | 1/*- 2 * Copyright (c) 1982, 1986, 1989, 1993 3 * The Regents of the University of California. All rights reserved. 4 * (c) UNIX System Laboratories, Inc. 5 * All or some portions of this file are derived from material licensed 6 * to the University of California by American Telephone and Telegraph 7 * Co. or Unix System Laboratories, Inc. and are reproduced herein with 8 * the permission of UNIX System Laboratories, Inc. --- 18 unchanged lines hidden (view full) --- 27 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 28 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 29 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 30 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 31 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 32 * SUCH DAMAGE. 33 * 34 * @(#)param.h 8.3 (Berkeley) 4/4/95 |
35 * $FreeBSD: head/sys/sys/param.h 154863 2006-01-26 18:23:16Z cognet $ | 35 * $FreeBSD: head/sys/sys/param.h 155780 2006-02-17 14:14:15Z andre $ |
36 */ 37 38#ifndef _SYS_PARAM_H_ 39#define _SYS_PARAM_H_ 40 41#include <sys/_null.h> 42 43#define BSD 199506 /* System version (year & month). */ --- 98 unchanged lines hidden (view full) --- 142#endif /* MSIZE */ 143 144#ifndef MCLSHIFT 145#define MCLSHIFT 11 /* convert bytes to mbuf clusters */ 146#endif /* MCLSHIFT */ 147 148#define MCLBYTES (1 << MCLSHIFT) /* size of an mbuf cluster */ 149 | 36 */ 37 38#ifndef _SYS_PARAM_H_ 39#define _SYS_PARAM_H_ 40 41#include <sys/_null.h> 42 43#define BSD 199506 /* System version (year & month). */ --- 98 unchanged lines hidden (view full) --- 142#endif /* MSIZE */ 143 144#ifndef MCLSHIFT 145#define MCLSHIFT 11 /* convert bytes to mbuf clusters */ 146#endif /* MCLSHIFT */ 147 148#define MCLBYTES (1 << MCLSHIFT) /* size of an mbuf cluster */ 149 |
150#define MJUM4BYTES (4 * 1024) /* jumbo cluster 4k */ | 150#define MJUMPAGESIZE PAGE_SIZE /* jumbo cluster 4k */ |
151#define MJUM9BYTES (9 * 1024) /* jumbo cluster 9k */ 152#define MJUM16BYTES (16 * 1024) /* jumbo cluster 16k */ 153 154/* 155 * Some macros for units conversion 156 */ 157 158/* clicks to bytes */ --- 176 unchanged lines hidden --- | 151#define MJUM9BYTES (9 * 1024) /* jumbo cluster 9k */ 152#define MJUM16BYTES (16 * 1024) /* jumbo cluster 16k */ 153 154/* 155 * Some macros for units conversion 156 */ 157 158/* clicks to bytes */ --- 176 unchanged lines hidden --- |