nfs-ganesha 1.4
|
00001 /* 00002 * 00003 * 00004 * Copyright CEA/DAM/DIF (2010) 00005 * contributeur : Philippe DENIEL philippe.deniel@cea.fr 00006 * Thomas LEIBOVICI thomas.leibovici@cea.fr 00007 * 00008 * 00009 * This program is free software; you can redistribute it and/or 00010 * modify it under the terms of the GNU Lesser General Public 00011 * License as published by the Free Software Foundation; either 00012 * version 3 of the License, or (at your option) any later version. 00013 * 00014 * This program is distributed in the hope that it will be useful, 00015 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00016 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00017 * Lesser General Public License for more details. 00018 * 00019 * You should have received a copy of the GNU Lesser General Public 00020 * License along with this library; if not, write to the Free Software 00021 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA 00022 * 00023 * --------------------------------------- 00024 */ 00025 00033 #ifndef _FSAL_GLUE_CONST_H 00034 #define _FSAL_GLUE_CONST_H 00035 00036 #define FSAL_INDEX_ARRAY_SIZE 2 00037 #define FSAL_XFS_INDEX 0 00038 #define FSAL_PROXY_INDEX 1 00039 00040 #define FSAL_HANDLE_T_SIZE 152 /* Has to be a multiple of 8 for alignement reasons */ 00041 #define FSAL_OP_CONTEXT_T_SIZE 680 /* Has to be a multiple of 8 for alignement reasons */ 00042 #define FSAL_FILE_T_SIZE 192 /* Has to be a multiple of 8 for alignement reasons */ 00043 #define FSAL_DIR_T_SIZE 4880 /* Has to be a multiple of 8 for alignement reasons */ 00044 #define FSAL_EXPORT_CONTEXT_T_SIZE 4208 /* Has to be a multiple of 8 for alignement reasons */ 00045 #define FSAL_COOKIE_T_SIZE 16 /* Has to be a multiple of 8 for alignement reasons */ 00046 #define FSAL_FS_SPECIFIC_INITINFO_T 17216 /* Has to be a multiple of 8 for alignement reasons */ 00047 #define FSAL_CRED_T_SIZE 144 /* Has to be a multiple of 8 for alignement reasons */ 00048 00049 #define NB_AVAILABLE_FSAL 1 /* No need to allocate more than once in the static case */ 00050 #endif /* _FSAL_GLUE_CONST_H */