kernel.c revision fa9e4066f08beec538e775443c5be79dd423fcab
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * CDDL HEADER START
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * The contents of this file are subject to the terms of the
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * Common Development and Distribution License, Version 1.0 only
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * (the "License"). You may not use this file except in compliance
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * with the License.
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * See the License for the specific language governing permissions
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * and limitations under the License.
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * When distributing Covered Code, include this CDDL HEADER in each
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * If applicable, add the following below this CDDL HEADER, with the
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * fields enclosed by brackets "[]" replaced with your own identifying
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * information: Portions Copyright [yyyy] [name of copyright owner]
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * CDDL HEADER END
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * Copyright 2005 Sun Microsystems, Inc. All rights reserved.
14ea4bb737263733ad80a36b4f73f681c30a6b45sd * Use is subject to license terms.
14ea4bb737263733ad80a36b4f73f681c30a6b45sd#pragma ident "%Z%%M% %I% %E% SMI"
&tid) == 0);
int rv;
if (rv == 0) {
int error;
top:
if (delta <= 0)
goto top;
* starting vp is always rootdir (which is true for spa_directory.c, the only
int fd;
int old_umask;
char *dsk;
return (errno);
return (errno);
return (errno);
return (errno);
return (errno);
int ret;
return (ret);
return (errno);
if (residp)
return (EIO);
#ifdef ZFS_DEBUG
static char *dprintf_string;
static int dprintf_print_all;
for (j = i; j < *argc; j++)
(*argc)--;
const char *newfile;
if (dprintf_print_all ||
#ifdef _LP64
while (resid != 0) {
umem_out_of_memory(void)
abort();
kernel_fini(void)
spa_fini();