Lines Matching +full:high +full:- +full:volume
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
14 #define AFS_MAXVOLNAME 64 /* Maximum length of a volume name */
15 #define AFS_MAXNSERVERS 8 /* Maximum servers in a basic volume record */
16 #define AFS_NMAXNSERVERS 13 /* Maximum servers in a N/U-class volume record */
17 #define AFS_MAXTYPES 3 /* Maximum number of volume types */
30 AFSVL_RWVOL, /* read/write volume */
31 AFSVL_ROVOL, /* read-only volume */
32 AFSVL_BACKVOL, /* backup volume */
53 afs_volid_t vid; /* volume ID */
54 afs_vnodeid_t vnode; /* Lower 64-bits of file index within volume */
55 u32 vnode_hi; /* Upper 32-bits of file index */
85 __be16 time_hi_and_version; /* high part of timestamp and version */
92 * AFS volume information
95 afs_volid_t vid; /* volume ID */
96 afs_voltype_t type; /* type of this volume */
97 afs_volid_t type_vids[5]; /* volume ID's for possible types for this vol */
99 /* list of fileservers serving this volume */
110 #define AFS_ACE_READ 0x00000001U /* - permission to read a file/dir */
111 #define AFS_ACE_WRITE 0x00000002U /* - permission to write/chmod a file */
112 #define AFS_ACE_INSERT 0x00000004U /* - permission to create dirent in a dir */
113 #define AFS_ACE_LOOKUP 0x00000008U /* - permission to lookup a file/dir in a dir */
114 #define AFS_ACE_DELETE 0x00000010U /* - permission to delete a dirent from a dir */
115 #define AFS_ACE_LOCK 0x00000020U /* - permission to lock a file */
116 #define AFS_ACE_ADMINISTER 0x00000040U /* - permission to change ACL */
117 #define AFS_ACE_USER_A 0x01000000U /* - 'A' user-defined permission */
118 #define AFS_ACE_USER_B 0x02000000U /* - 'B' user-defined permission */
119 #define AFS_ACE_USER_C 0x04000000U /* - 'C' user-defined permission */
120 #define AFS_ACE_USER_D 0x08000000U /* - 'D' user-defined permission */
121 #define AFS_ACE_USER_E 0x10000000U /* - 'E' user-defined permission */
122 #define AFS_ACE_USER_F 0x20000000U /* - 'F' user-defined permission */
123 #define AFS_ACE_USER_G 0x40000000U /* - 'G' user-defined permission */
124 #define AFS_ACE_USER_H 0x80000000U /* - 'H' user-defined permission */
142 s32 lock_count; /* file lock count (0=UNLK -1=WRLCK +ve=#RDLCK */
143 u32 abort_code; /* Abort if bulk-fetching this failed */
165 * AFS volume synchronisation information
168 time64_t creation; /* volume creation time */
172 * AFS volume status record
175 afs_volid_t vid; /* volume ID */
176 afs_volid_t parent_id; /* parent volume ID */
177 u8 online; /* true if volume currently online and available */
178 u8 in_service; /* true if volume currently in service */
181 u32 type; /* volume type (afs_voltype_t) */
183 u64 max_quota; /* maximum space this volume may occupy (blocks) */
184 u64 blocks_in_use; /* space this volume currently occupies (blocks) */
185 u64 part_blocks_avail; /* space available in volume's partition */
186 u64 part_max_blocks; /* size of volume's partition */