~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

TOMOYO Linux Cross Reference
Linux/fs/orangefs/orangefs-dev-proto.h

Version: ~ [ linux-6.12-rc7 ] ~ [ linux-6.11.7 ] ~ [ linux-6.10.14 ] ~ [ linux-6.9.12 ] ~ [ linux-6.8.12 ] ~ [ linux-6.7.12 ] ~ [ linux-6.6.60 ] ~ [ linux-6.5.13 ] ~ [ linux-6.4.16 ] ~ [ linux-6.3.13 ] ~ [ linux-6.2.16 ] ~ [ linux-6.1.116 ] ~ [ linux-6.0.19 ] ~ [ linux-5.19.17 ] ~ [ linux-5.18.19 ] ~ [ linux-5.17.15 ] ~ [ linux-5.16.20 ] ~ [ linux-5.15.171 ] ~ [ linux-5.14.21 ] ~ [ linux-5.13.19 ] ~ [ linux-5.12.19 ] ~ [ linux-5.11.22 ] ~ [ linux-5.10.229 ] ~ [ linux-5.9.16 ] ~ [ linux-5.8.18 ] ~ [ linux-5.7.19 ] ~ [ linux-5.6.19 ] ~ [ linux-5.5.19 ] ~ [ linux-5.4.285 ] ~ [ linux-5.3.18 ] ~ [ linux-5.2.21 ] ~ [ linux-5.1.21 ] ~ [ linux-5.0.21 ] ~ [ linux-4.20.17 ] ~ [ linux-4.19.323 ] ~ [ linux-4.18.20 ] ~ [ linux-4.17.19 ] ~ [ linux-4.16.18 ] ~ [ linux-4.15.18 ] ~ [ linux-4.14.336 ] ~ [ linux-4.13.16 ] ~ [ linux-4.12.14 ] ~ [ linux-4.11.12 ] ~ [ linux-4.10.17 ] ~ [ linux-4.9.337 ] ~ [ linux-4.4.302 ] ~ [ linux-3.10.108 ] ~ [ linux-2.6.32.71 ] ~ [ linux-2.6.0 ] ~ [ linux-2.4.37.11 ] ~ [ unix-v6-master ] ~ [ ccs-tools-1.8.12 ] ~ [ policy-sample ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

Diff markup

Differences between /fs/orangefs/orangefs-dev-proto.h (Architecture alpha) and /fs/orangefs/orangefs-dev-proto.h (Architecture ppc)


  1 /* SPDX-License-Identifier: GPL-2.0 */              1 /* SPDX-License-Identifier: GPL-2.0 */
  2 /*                                                  2 /*
  3  * (C) 2001 Clemson University and The Univers      3  * (C) 2001 Clemson University and The University of Chicago
  4  *                                                  4  *
  5  * See COPYING in top-level directory.              5  * See COPYING in top-level directory.
  6  */                                                 6  */
  7                                                     7 
  8 #ifndef _ORANGEFS_DEV_PROTO_H                       8 #ifndef _ORANGEFS_DEV_PROTO_H
  9 #define _ORANGEFS_DEV_PROTO_H                       9 #define _ORANGEFS_DEV_PROTO_H
 10                                                    10 
 11 /*                                                 11 /*
 12  * types and constants shared between user spa     12  * types and constants shared between user space and kernel space for
 13  * device interaction using a common protocol      13  * device interaction using a common protocol
 14  */                                                14  */
 15                                                    15 
 16 /*                                                 16 /*
 17  * valid orangefs kernel operation types           17  * valid orangefs kernel operation types
 18  */                                                18  */
 19 #define ORANGEFS_VFS_OP_INVALID           0xFF     19 #define ORANGEFS_VFS_OP_INVALID           0xFF000000
 20 #define ORANGEFS_VFS_OP_FILE_IO        0xFF000     20 #define ORANGEFS_VFS_OP_FILE_IO        0xFF000001
 21 #define ORANGEFS_VFS_OP_LOOKUP         0xFF000     21 #define ORANGEFS_VFS_OP_LOOKUP         0xFF000002
 22 #define ORANGEFS_VFS_OP_CREATE         0xFF000     22 #define ORANGEFS_VFS_OP_CREATE         0xFF000003
 23 #define ORANGEFS_VFS_OP_GETATTR        0xFF000     23 #define ORANGEFS_VFS_OP_GETATTR        0xFF000004
 24 #define ORANGEFS_VFS_OP_REMOVE         0xFF000     24 #define ORANGEFS_VFS_OP_REMOVE         0xFF000005
 25 #define ORANGEFS_VFS_OP_MKDIR          0xFF000     25 #define ORANGEFS_VFS_OP_MKDIR          0xFF000006
 26 #define ORANGEFS_VFS_OP_READDIR        0xFF000     26 #define ORANGEFS_VFS_OP_READDIR        0xFF000007
 27 #define ORANGEFS_VFS_OP_SETATTR        0xFF000     27 #define ORANGEFS_VFS_OP_SETATTR        0xFF000008
 28 #define ORANGEFS_VFS_OP_SYMLINK        0xFF000     28 #define ORANGEFS_VFS_OP_SYMLINK        0xFF000009
 29 #define ORANGEFS_VFS_OP_RENAME         0xFF000     29 #define ORANGEFS_VFS_OP_RENAME         0xFF00000A
 30 #define ORANGEFS_VFS_OP_STATFS         0xFF000     30 #define ORANGEFS_VFS_OP_STATFS         0xFF00000B
 31 #define ORANGEFS_VFS_OP_TRUNCATE       0xFF000     31 #define ORANGEFS_VFS_OP_TRUNCATE       0xFF00000C
 32 #define ORANGEFS_VFS_OP_RA_FLUSH       0xFF000     32 #define ORANGEFS_VFS_OP_RA_FLUSH       0xFF00000D
 33 #define ORANGEFS_VFS_OP_FS_MOUNT       0xFF000     33 #define ORANGEFS_VFS_OP_FS_MOUNT       0xFF00000E
 34 #define ORANGEFS_VFS_OP_FS_UMOUNT      0xFF000     34 #define ORANGEFS_VFS_OP_FS_UMOUNT      0xFF00000F
 35 #define ORANGEFS_VFS_OP_GETXATTR       0xFF000     35 #define ORANGEFS_VFS_OP_GETXATTR       0xFF000010
 36 #define ORANGEFS_VFS_OP_SETXATTR          0xFF     36 #define ORANGEFS_VFS_OP_SETXATTR          0xFF000011
 37 #define ORANGEFS_VFS_OP_LISTXATTR         0xFF     37 #define ORANGEFS_VFS_OP_LISTXATTR         0xFF000012
 38 #define ORANGEFS_VFS_OP_REMOVEXATTR       0xFF     38 #define ORANGEFS_VFS_OP_REMOVEXATTR       0xFF000013
 39 #define ORANGEFS_VFS_OP_PARAM          0xFF000     39 #define ORANGEFS_VFS_OP_PARAM          0xFF000014
 40 #define ORANGEFS_VFS_OP_PERF_COUNT     0xFF000     40 #define ORANGEFS_VFS_OP_PERF_COUNT     0xFF000015
 41 #define ORANGEFS_VFS_OP_CANCEL            0xFF     41 #define ORANGEFS_VFS_OP_CANCEL            0xFF00EE00
 42 #define ORANGEFS_VFS_OP_FSYNC          0xFF00E     42 #define ORANGEFS_VFS_OP_FSYNC          0xFF00EE01
 43 #define ORANGEFS_VFS_OP_FSKEY             0xFF     43 #define ORANGEFS_VFS_OP_FSKEY             0xFF00EE02
 44 #define ORANGEFS_VFS_OP_READDIRPLUS       0xFF     44 #define ORANGEFS_VFS_OP_READDIRPLUS       0xFF00EE03
 45 #define ORANGEFS_VFS_OP_FEATURES        0xFF00     45 #define ORANGEFS_VFS_OP_FEATURES        0xFF00EE05 /* 2.9.6 */
 46                                                    46 
 47 /* features is a 64-bit unsigned bitmask */        47 /* features is a 64-bit unsigned bitmask */
 48 #define ORANGEFS_FEATURE_READAHEAD 1               48 #define ORANGEFS_FEATURE_READAHEAD 1
 49                                                    49 
 50 /*                                                 50 /*
 51  * Misc constants. Please retain them as multi     51  * Misc constants. Please retain them as multiples of 8!
 52  * Otherwise 32-64 bit interactions will be me     52  * Otherwise 32-64 bit interactions will be messed up :)
 53  */                                                53  */
 54 #define ORANGEFS_MAX_DEBUG_STRING_LEN   0x0000     54 #define ORANGEFS_MAX_DEBUG_STRING_LEN   0x00000800
 55                                                    55 
 56 #define ORANGEFS_MAX_DIRENT_COUNT_READDIR 512      56 #define ORANGEFS_MAX_DIRENT_COUNT_READDIR 512
 57                                                    57 
 58 #include "upcall.h"                                58 #include "upcall.h"
 59 #include "downcall.h"                              59 #include "downcall.h"
 60                                                    60 
 61 #endif                                             61 #endif
 62                                                    62 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~

kernel.org | git.kernel.org | LWN.net | Project Home | SVN repository | Mail admin

Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.

sflogo.php