Lines Matching +full:block +full:- +full:number

55 The block size and number of blocks which
68 .Em super-block
71 The following structure describes the super-block and is
74 .Bd -literal
76 * Super block for an FFS filesystem.
81 int32_t fs_sblkno; /* offset of super-block in filesys */
82 int32_t fs_cblkno; /* offset of cyl-block in filesys */
83 int32_t fs_iblkno; /* offset of inode-blocks in filesys */
88 int32_t fs_old_size; /* number of blocks in fs */
89 int32_t fs_old_dsize; /* number of data blocks in fs */
90 int32_t fs_ncg; /* number of cylinder groups */
93 int32_t fs_frag; /* number of frags in a block in fs */
96 int32_t fs_old_rotdelay; /* num of ms for optimal next block */
102 int32_t fs_fshift; /* ``numfrags'' calc number of frags */
104 int32_t fs_maxcontig; /* max number of contiguous blks */
105 int32_t fs_maxbpg; /* max number of blks per cyl group */
107 int32_t fs_fragshift; /* block to frag shift */
109 int32_t fs_sbsize; /* actual size of super block */
121 /* sizes determined by number of cylinder groups and their sizes */
132 /* this data must be re-computed after crashes */
135 int8_t fs_fmod; /* super block modified flag */
137 int8_t fs_ronly; /* mounted read-only flag */
141 uint64_t fs_swuid; /* system-wide uid */
143 /* these fields retain the current block allocation info */
152 int64_t fs_unrefs; /* number of unreferenced inodes */
153 int64_t fs_sparecon64[16]; /* old rotation block list head */
157 int64_t fs_size; /* number of blocks in fs */
158 int64_t fs_dsize; /* number of data blocks in fs */
170 int32_t fs_old_inodefmt; /* format of on-disk inodes */
172 int64_t fs_qbmask; /* ~fs_bmask for use with 64-bit size */
173 int64_t fs_qfmask; /* ~fs_fmask for use with 64-bit size */
176 int32_t fs_old_nrpos; /* number of rotational positions */
179 int32_t fs_magic; /* magic number */
185 #define FS_UFS1_MAGIC 0x011954 /* UFS1 fast filesystem magic number */
186 #define FS_UFS2_MAGIC 0x19540119 /* UFS2 fast filesystem magic number */
188 #define FS_42INODEFMT -1 /* 4.2BSD inode format */
198 Each disk drive contains some number of file systems.
199 A file system consists of a number of cylinder groups.
202 A file system is described by its super-block, which in turn
204 The super-block is critical
209 super-block data does not change, so the copies need not be
227 undue wasted disk space, the last data block of a small file is
228 allocated as only as many fragments of a large block as are
231 to such a fragment, which is a piece of a single large block that
239 to determine block availability, aligned fragments are examined.
253 only the super-user may continue to allocate blocks.
264 Empirically the best trade-off between block fragmentation and
267 of the block size.
291 gives the minimum number of milliseconds to initiate
299 Each file system has a statically allocated number of inodes.
306 is the smallest allowable block size.
313 must be big enough to hold a cylinder group block,
318 Note that super-blocks are never more than size
325 the super-block for this name.
329 For a 4096 byte block size, it is currently parameterized for a
338 in addition to the super-block.
348 .Em "Super-block for a file system" :
350 is limited by the fact that the super-block is of size
354 proportional to the block
358 as this increases the number of cylinders
362 tables is derived from the number of bytes remaining in
365 The number of blocks of data per cylinder group
366 is limited because cylinder groups are at most one block.
367 The inode and free block tables
368 must fit into a single block after deducting space for
379 each current directory, each mounted-on file,
381 An inode is `named' by its device/i-number pair.
386 .Bd -literal
392 char ea_name[1]; /* attribute name (NOT nul-terminated) */
400 .Bl -tag -width ".Dv EXTATTR_CONTENT_SIZE(eap)"
413 .Bd -literal
414 if (eap->ea_namespace == EXTATTR_NAMESPACE_SYSTEM &&
415 eap->ea_namelength == sizeof(POSIX1E_ACL_ACCESS_EXTATTR_NAME) - 1 &&
416 strncmp(eap->ea_name, POSIX1E_ACL_ACCESS_EXTATTR_NAME,
417 sizeof(POSIX1E_ACL_ACCESS_EXTATTR_NAME) - 1) == 0) {
424 A super-block structure named filsys appeared in