zfs_context.h (263393) | zfs_context.h (265740) |
---|---|
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 --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. | 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 --- 6 unchanged lines hidden (view full) --- 15 * If applicable, add the following below this CDDL HEADER, with the 16 * fields enclosed by brackets "[]" replaced with your own identifying 17 * information: Portions Copyright [yyyy] [name of copyright owner] 18 * 19 * CDDL HEADER END 20 */ 21/* 22 * Copyright (c) 2005, 2010, Oracle and/or its affiliates. All rights reserved. |
23 * Copyright (c) 2013 by Delphix. All rights reserved. | 23 * Copyright (c) 2012, 2014 by Delphix. All rights reserved. |
24 * Copyright (c) 2012, Joyent, Inc. All rights reserved. 25 */ 26/* 27 * Copyright 2011 Nexenta Systems, Inc. All rights reserved. 28 */ 29 30#ifndef _SYS_ZFS_CONTEXT_H 31#define _SYS_ZFS_CONTEXT_H --- 521 unchanged lines hidden (view full) --- 553#define CRED() NULL 554 555#ifndef ptob 556#define ptob(x) ((x) * PAGESIZE) 557#endif 558 559extern uint64_t physmem; 560 | 24 * Copyright (c) 2012, Joyent, Inc. All rights reserved. 25 */ 26/* 27 * Copyright 2011 Nexenta Systems, Inc. All rights reserved. 28 */ 29 30#ifndef _SYS_ZFS_CONTEXT_H 31#define _SYS_ZFS_CONTEXT_H --- 521 unchanged lines hidden (view full) --- 553#define CRED() NULL 554 555#ifndef ptob 556#define ptob(x) ((x) * PAGESIZE) 557#endif 558 559extern uint64_t physmem; 560 |
561extern int highbit(ulong_t i); | 561extern int highbit64(uint64_t i); |
562extern int random_get_bytes(uint8_t *ptr, size_t len); 563extern int random_get_pseudo_bytes(uint8_t *ptr, size_t len); 564 565extern void kernel_init(int); 566extern void kernel_fini(void); 567 568struct spa; 569extern void nicenum(uint64_t num, char *buf); --- 248 unchanged lines hidden --- | 562extern int random_get_bytes(uint8_t *ptr, size_t len); 563extern int random_get_pseudo_bytes(uint8_t *ptr, size_t len); 564 565extern void kernel_init(int); 566extern void kernel_fini(void); 567 568struct spa; 569extern void nicenum(uint64_t num, char *buf); --- 248 unchanged lines hidden --- |