zfs_znode.h (303970) | zfs_znode.h (307108) |
---|---|
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 by Delphix. All rights reserved. | 23 * Copyright (c) 2012, 2015 by Delphix. All rights reserved. |
24 * Copyright (c) 2014 Integros [integros.com] 25 */ 26 27#ifndef _SYS_FS_ZFS_ZNODE_H 28#define _SYS_FS_ZFS_ZNODE_H 29 30#ifdef _KERNEL 31#include <sys/list.h> --- 98 unchanged lines hidden (view full) --- 130#define ZFS_UNLINKED_SET "DELETE_QUEUE" 131#define ZFS_ROOT_OBJ "ROOT" 132#define ZPL_VERSION_STR "VERSION" 133#define ZFS_FUID_TABLES "FUID" 134#define ZFS_SHARES_DIR "SHARES" 135#define ZFS_SA_ATTRS "SA_ATTRS" 136 137/* | 24 * Copyright (c) 2014 Integros [integros.com] 25 */ 26 27#ifndef _SYS_FS_ZFS_ZNODE_H 28#define _SYS_FS_ZFS_ZNODE_H 29 30#ifdef _KERNEL 31#include <sys/list.h> --- 98 unchanged lines hidden (view full) --- 130#define ZFS_UNLINKED_SET "DELETE_QUEUE" 131#define ZFS_ROOT_OBJ "ROOT" 132#define ZPL_VERSION_STR "VERSION" 133#define ZFS_FUID_TABLES "FUID" 134#define ZFS_SHARES_DIR "SHARES" 135#define ZFS_SA_ATTRS "SA_ATTRS" 136 137/* |
138 * Path component length 139 * 140 * The generic fs code uses MAXNAMELEN to represent 141 * what the largest component length is. Unfortunately, 142 * this length includes the terminating NULL. ZFS needs 143 * to tell the users via pathconf() and statvfs() what the 144 * true maximum length of a component is, excluding the NULL. 145 */ 146#define ZFS_MAXNAMELEN (MAXNAMELEN - 1) 147 148/* | |
149 * Convert mode bits (zp_mode) to BSD-style DT_* values for storing in 150 * the directory entries. 151 */ 152#ifndef IFTODT 153#define IFTODT(mode) (((mode) & S_IFMT) >> 12) 154#endif 155 156/* --- 221 unchanged lines hidden --- | 138 * Convert mode bits (zp_mode) to BSD-style DT_* values for storing in 139 * the directory entries. 140 */ 141#ifndef IFTODT 142#define IFTODT(mode) (((mode) & S_IFMT) >> 12) 143#endif 144 145/* --- 221 unchanged lines hidden --- |