Lines Matching defs:lfs
58 struct lfs { struct
60 u_int32_t lfs_magic; /* magic number */ argument
62 u_int32_t lfs_version; /* version number */ argument
64 u_int32_t lfs_size; /* number of blocks in fs */ argument
65 u_int32_t lfs_ssize; /* number of blocks per segment */ argument
66 u_int32_t lfs_dsize; /* number of disk blocks in fs */ argument
67 u_int32_t lfs_bsize; /* file system block size */ argument
68 u_int32_t lfs_fsize; /* size of frag blocks in fs */ argument
69 u_int32_t lfs_frag; /* number of frags in a block in fs */ argument
72 ino_t lfs_free; /* start of the free list */ argument
73 u_int32_t lfs_bfree; /* number of free disk blocks */ argument
74 u_int32_t lfs_nfiles; /* number of allocated inodes */ argument
75 int32_t lfs_avail; /* blocks available for writing */ argument
76 u_int32_t lfs_uinodes; /* inodes in cache not yet on disk */ argument
77 ufs_daddr_t lfs_idaddr; /* inode file disk address */ argument
78 ino_t lfs_ifile; /* inode file inode number */ argument
79 ufs_daddr_t lfs_lastseg; /* address of last segment written */ argument
80 ufs_daddr_t lfs_nextseg; /* address of next segment to write */ argument
81 ufs_daddr_t lfs_curseg; /* current segment being written */ argument
82 ufs_daddr_t lfs_offset; /* offset in curseg for next partial */ argument
83 ufs_daddr_t lfs_lastpseg; /* address of last partial written */ argument
84 u_int32_t lfs_tstamp; /* time stamp */ argument
87 u_int32_t lfs_minfree; /* minimum percentage of free blocks */ argument
90 u_int64_t lfs_maxfilesize; /* maximum representable file size */ argument
91 u_int32_t lfs_dbpseg; /* disk blocks per segment */ argument
92 u_int32_t lfs_inopb; /* inodes per block */ argument
93 u_int32_t lfs_ifpb; /* IFILE entries per block */ argument
94 u_int32_t lfs_sepb; /* SEGUSE entries per block */ argument
95 u_int32_t lfs_nindir; /* indirect pointers per block */ argument
96 u_int32_t lfs_nseg; /* number of segments */ argument
97 u_int32_t lfs_nspf; /* number of sectors per fragment */ argument
98 u_int32_t lfs_cleansz; /* cleaner info size in blocks */ argument
99 u_int32_t lfs_segtabsz; /* segment table size in blocks */ argument
101 u_int32_t lfs_segmask; /* calculate offset within a segment */ argument
102 u_int32_t lfs_segshift; /* fast mult/div for segments */ argument
103 u_int64_t lfs_bmask; /* calc block offset from file offset */ argument
104 u_int32_t lfs_bshift; /* calc block number from file offset */ argument
105 u_int64_t lfs_ffmask; /* calc frag offset from file offset */ argument
106 u_int32_t lfs_ffshift; /* fast mult/div for frag from file */ argument
107 u_int64_t lfs_fbmask; /* calc frag offset from block offset */ argument
108 u_int32_t lfs_fbshift; /* fast mult/div for frag from block */ argument
109 u_int32_t lfs_fsbtodb; /* fsbtodb and dbtofsb shift constant */ argument
110 u_int32_t lfs_sushift; /* fast mult/div for segusage table */ argument
112 int32_t lfs_maxsymlinklen; /* max length of an internal symlink */ argument
116 ufs_daddr_t lfs_sboffs[LFS_MAXNUMSB]; argument
119 u_int32_t lfs_cksum; /* checksum for superblock checking */ argument
122 struct segment *lfs_sp; /* current segment being written */ argument
123 struct vnode *lfs_ivnode; /* vnode for the ifile */ argument
124 u_long lfs_seglock; /* single-thread the segment writer */ argument
125 pid_t lfs_lockpid; /* pid of lock holder */ argument
126 u_long lfs_iocount; /* number of ios pending */ argument
127 u_long lfs_writer; /* don't allow any dirops to start */ argument
128 u_long lfs_dirops; /* count of active directory ops */ argument
129 u_long lfs_doifile; /* Write ifile blocks on next write */ argument
130 u_long lfs_nactive; /* Number of segments since last ckp */ argument
131 int8_t lfs_fmod; /* super block modified flag */ argument
132 int8_t lfs_clean; /* file system is clean flag */ argument
133 int8_t lfs_ronly; /* mounted read-only flag */ argument
134 int8_t lfs_flags; /* currently unused flag */ argument
135 u_char lfs_fsmnt[MNAMELEN]; /* name mounted on */ argument
137 int32_t lfs_pad[40]; /* round to 512 bytes */ argument