typedef enum _vfs_op_type vfs_op_type |
typedef enum _vfs_op_layer vfs_op_layer |
enum _vfs_op_type |
00104 { 00105 SMB_VFS_OP_NOOP = -1, 00106 00107 /* Disk operations */ 00108 00109 SMB_VFS_OP_CONNECT = 0, 00110 SMB_VFS_OP_DISCONNECT, 00111 SMB_VFS_OP_DISK_FREE, 00112 SMB_VFS_OP_GET_QUOTA, 00113 SMB_VFS_OP_SET_QUOTA, 00114 SMB_VFS_OP_GET_SHADOW_COPY_DATA, 00115 SMB_VFS_OP_STATVFS, 00116 00117 /* Directory operations */ 00118 00119 SMB_VFS_OP_OPENDIR, 00120 SMB_VFS_OP_READDIR, 00121 SMB_VFS_OP_SEEKDIR, 00122 SMB_VFS_OP_TELLDIR, 00123 SMB_VFS_OP_REWINDDIR, 00124 SMB_VFS_OP_MKDIR, 00125 SMB_VFS_OP_RMDIR, 00126 SMB_VFS_OP_CLOSEDIR, 00127 00128 /* File operations */ 00129 00130 SMB_VFS_OP_OPEN, 00131 SMB_VFS_OP_CLOSE, 00132 SMB_VFS_OP_READ, 00133 SMB_VFS_OP_PREAD, 00134 SMB_VFS_OP_WRITE, 00135 SMB_VFS_OP_PWRITE, 00136 SMB_VFS_OP_LSEEK, 00137 SMB_VFS_OP_SENDFILE, 00138 SMB_VFS_OP_RENAME, 00139 SMB_VFS_OP_FSYNC, 00140 SMB_VFS_OP_STAT, 00141 SMB_VFS_OP_FSTAT, 00142 SMB_VFS_OP_LSTAT, 00143 SMB_VFS_OP_UNLINK, 00144 SMB_VFS_OP_CHMOD, 00145 SMB_VFS_OP_FCHMOD, 00146 SMB_VFS_OP_CHOWN, 00147 SMB_VFS_OP_FCHOWN, 00148 SMB_VFS_OP_CHDIR, 00149 SMB_VFS_OP_GETWD, 00150 SMB_VFS_OP_NTIMES, 00151 SMB_VFS_OP_FTRUNCATE, 00152 SMB_VFS_OP_LOCK, 00153 SMB_VFS_OP_KERNEL_FLOCK, 00154 SMB_VFS_OP_LINUX_SETLEASE, 00155 SMB_VFS_OP_GETLOCK, 00156 SMB_VFS_OP_SYMLINK, 00157 SMB_VFS_OP_READLINK, 00158 SMB_VFS_OP_LINK, 00159 SMB_VFS_OP_MKNOD, 00160 SMB_VFS_OP_REALPATH, 00161 SMB_VFS_OP_NOTIFY_WATCH, 00162 SMB_VFS_OP_CHFLAGS, 00163 00164 /* NT ACL operations. */ 00165 00166 SMB_VFS_OP_FGET_NT_ACL, 00167 SMB_VFS_OP_GET_NT_ACL, 00168 SMB_VFS_OP_FSET_NT_ACL, 00169 SMB_VFS_OP_SET_NT_ACL, 00170 00171 /* POSIX ACL operations. */ 00172 00173 SMB_VFS_OP_CHMOD_ACL, 00174 SMB_VFS_OP_FCHMOD_ACL, 00175 00176 SMB_VFS_OP_SYS_ACL_GET_ENTRY, 00177 SMB_VFS_OP_SYS_ACL_GET_TAG_TYPE, 00178 SMB_VFS_OP_SYS_ACL_GET_PERMSET, 00179 SMB_VFS_OP_SYS_ACL_GET_QUALIFIER, 00180 SMB_VFS_OP_SYS_ACL_GET_FILE, 00181 SMB_VFS_OP_SYS_ACL_GET_FD, 00182 SMB_VFS_OP_SYS_ACL_CLEAR_PERMS, 00183 SMB_VFS_OP_SYS_ACL_ADD_PERM, 00184 SMB_VFS_OP_SYS_ACL_TO_TEXT, 00185 SMB_VFS_OP_SYS_ACL_INIT, 00186 SMB_VFS_OP_SYS_ACL_CREATE_ENTRY, 00187 SMB_VFS_OP_SYS_ACL_SET_TAG_TYPE, 00188 SMB_VFS_OP_SYS_ACL_SET_QUALIFIER, 00189 SMB_VFS_OP_SYS_ACL_SET_PERMSET, 00190 SMB_VFS_OP_SYS_ACL_VALID, 00191 SMB_VFS_OP_SYS_ACL_SET_FILE, 00192 SMB_VFS_OP_SYS_ACL_SET_FD, 00193 SMB_VFS_OP_SYS_ACL_DELETE_DEF_FILE, 00194 SMB_VFS_OP_SYS_ACL_GET_PERM, 00195 SMB_VFS_OP_SYS_ACL_FREE_TEXT, 00196 SMB_VFS_OP_SYS_ACL_FREE_ACL, 00197 SMB_VFS_OP_SYS_ACL_FREE_QUALIFIER, 00198 00199 /* EA operations. */ 00200 SMB_VFS_OP_GETXATTR, 00201 SMB_VFS_OP_LGETXATTR, 00202 SMB_VFS_OP_FGETXATTR, 00203 SMB_VFS_OP_LISTXATTR, 00204 SMB_VFS_OP_LLISTXATTR, 00205 SMB_VFS_OP_FLISTXATTR, 00206 SMB_VFS_OP_REMOVEXATTR, 00207 SMB_VFS_OP_LREMOVEXATTR, 00208 SMB_VFS_OP_FREMOVEXATTR, 00209 SMB_VFS_OP_SETXATTR, 00210 SMB_VFS_OP_LSETXATTR, 00211 SMB_VFS_OP_FSETXATTR, 00212 00213 /* aio operations */ 00214 SMB_VFS_OP_AIO_READ, 00215 SMB_VFS_OP_AIO_WRITE, 00216 SMB_VFS_OP_AIO_RETURN, 00217 SMB_VFS_OP_AIO_CANCEL, 00218 SMB_VFS_OP_AIO_ERROR, 00219 SMB_VFS_OP_AIO_FSYNC, 00220 SMB_VFS_OP_AIO_SUSPEND, 00221 00222 /* This should always be last enum value */ 00223 00224 SMB_VFS_OP_LAST 00225 } vfs_op_type;
enum _vfs_op_layer |
SMB_VFS_LAYER_NOOP | |
SMB_VFS_LAYER_OPAQUE | |
SMB_VFS_LAYER_TRANSPARENT | |
SMB_VFS_LAYER_LOGGER | |
SMB_VFS_LAYER_SPLITTER | |
SMB_VFS_LAYER_SCANNER |
00494 { 00495 SMB_VFS_LAYER_NOOP = -1, /* - For using in VFS module to indicate end of array */ 00496 /* of operations description */ 00497 SMB_VFS_LAYER_OPAQUE = 0, /* - Final level, does not call anything beyond itself */ 00498 SMB_VFS_LAYER_TRANSPARENT, /* - Normal operation, calls underlying layer after */ 00499 /* possibly changing passed data */ 00500 SMB_VFS_LAYER_LOGGER, /* - Logs data, calls underlying layer, logging may not */ 00501 /* use Samba VFS */ 00502 SMB_VFS_LAYER_SPLITTER, /* - Splits operation, calls underlying layer _and_ own facility, */ 00503 /* then combines result */ 00504 SMB_VFS_LAYER_SCANNER /* - Checks data and possibly initiates additional */ 00505 /* file activity like logging to files _inside_ samba VFS */ 00506 } vfs_op_layer;