Deleted Added
full compact
zfs_context.h (287335) zfs_context.h (297508)
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) 2012, 2014 by Delphix. All rights reserved.
23 * Copyright (c) 2012, 2015 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

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

319extern gid_t *crgetgroups(cred_t *cr);
320
321/*
322 * Condition variables
323 */
324typedef cond_t kcondvar_t;
325
326#define CV_DEFAULT USYNC_THREAD
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

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

319extern gid_t *crgetgroups(cred_t *cr);
320
321/*
322 * Condition variables
323 */
324typedef cond_t kcondvar_t;
325
326#define CV_DEFAULT USYNC_THREAD
327#define CALLOUT_FLAG_ABSOLUTE 0x2
327
328extern void cv_init(kcondvar_t *cv, char *name, int type, void *arg);
329extern void cv_destroy(kcondvar_t *cv);
330extern void cv_wait(kcondvar_t *cv, kmutex_t *mp);
331extern clock_t cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime);
332extern clock_t cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim,
333 hrtime_t res, int flag);
334extern void cv_signal(kcondvar_t *cv);

--- 488 unchanged lines hidden ---
328
329extern void cv_init(kcondvar_t *cv, char *name, int type, void *arg);
330extern void cv_destroy(kcondvar_t *cv);
331extern void cv_wait(kcondvar_t *cv, kmutex_t *mp);
332extern clock_t cv_timedwait(kcondvar_t *cv, kmutex_t *mp, clock_t abstime);
333extern clock_t cv_timedwait_hires(kcondvar_t *cvp, kmutex_t *mp, hrtime_t tim,
334 hrtime_t res, int flag);
335extern void cv_signal(kcondvar_t *cv);

--- 488 unchanged lines hidden ---