1/* 2 * Copyright (c) 1982, 1986, 1993 3 * The Regents of the University of California. All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions 7 * are met: 8 * 1. Redistributions of source code must retain the above copyright --- 17 unchanged lines hidden (view full) --- 26 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 27 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 28 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 29 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 30 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 31 * SUCH DAMAGE. 32 * 33 * @(#)fs.h 8.13 (Berkeley) 3/21/95 |
34 * $FreeBSD: head/sys/ufs/ffs/fs.h 76357 2001-05-08 07:42:20Z mckusick $ |
35 */ 36 37#ifndef _UFS_FFS_FS_H_ 38#define _UFS_FFS_FS_H_ 39 40/* 41 * Each disk drive contains some number of file systems. 42 * A file system consists of a number of cylinder groups. --- 247 unchanged lines hidden (view full) --- 290 u_int8_t *fs_contigdirs; /* # of contiguously allocated dirs */ 291 struct csum *fs_csp; /* cg summary info buffer for fs_cs */ 292 int32_t *fs_maxcluster; /* max cluster in each cyl group */ 293 int32_t fs_cpc; /* cyl per cycle in postbl */ 294 int16_t fs_opostbl[16][8]; /* old rotation block list head */ 295 int32_t fs_snapinum[FSMAXSNAP];/* list of snapshot inode numbers */ 296 int32_t fs_avgfilesize; /* expected average file size */ 297 int32_t fs_avgfpdir; /* expected # of files per directory */ |
298 int32_t fs_sparecon[26]; /* reserved for future constants */ 299 int32_t fs_pendingblocks; /* blocks in process of being freed */ 300 int32_t fs_pendinginodes; /* inodes in process of being freed */ |
301 int32_t fs_contigsumsize; /* size of cluster summary array */ 302 int32_t fs_maxsymlinklen; /* max length of an internal symlink */ 303 int32_t fs_inodefmt; /* format of on-disk inodes */ 304 u_int64_t fs_maxfilesize; /* maximum representable file size */ 305 int64_t fs_qbmask; /* ~fs_bmask for use with 64-bit size */ 306 int64_t fs_qfmask; /* ~fs_fmask for use with 64-bit size */ 307 int32_t fs_state; /* validate fs_clean field */ 308 int32_t fs_postblformat; /* format of positional layout tables */ --- 289 unchanged lines hidden --- |