Lines Matching defs:fss_softc
143 struct fss_softc { struct
144 device_t sc_dev; /* Self */
145 kmutex_t sc_slock; /* Protect this softc */
146 kcondvar_t sc_work_cv; /* Signals work for the kernel thread */
147 kcondvar_t sc_cache_cv; /* Signals free cache slot */
148 fss_state_t sc_state; /* Current state */
149 volatile int sc_flags; /* Flags */
155 int sc_uflags; /* User visible flags */
156 struct disk *sc_dkdev; /* Generic disk device info */
157 struct mount *sc_mount; /* Mount point */
158 char sc_mntname[MNAMELEN]; /* Mount point */
159 struct timeval sc_time; /* Time this snapshot was taken */
160 dev_t sc_bdev; /* Underlying block device */
161 struct vnode *sc_bs_vp; /* Our backing store */
162 int sc_bs_bshift; /* Shift of backing store block */
163 u_int32_t sc_bs_bmask; /* Mask of backing store block */
164 struct lwp *sc_bs_lwp; /* Our kernel thread */
165 int sc_clshift; /* Shift of cluster size */
166 u_int32_t sc_clmask; /* Mask of cluster size */
167 u_int32_t sc_clcount; /* # clusters in file system */
168 u_int8_t *sc_copied; /* Map of clusters already copied */
169 long sc_clresid; /* Bytes in last cluster */
170 int sc_cache_size; /* Number of entries in sc_cache */
171 struct fss_cache *sc_cache; /* Cluster cache */
172 struct bufq_state *sc_bufq; /* Transfer queue */
173 u_int32_t sc_clnext; /* Next free cluster on backing store */
174 int sc_indir_size; /* # clusters for indirect mapping */
175 u_int8_t *sc_indir_valid; /* Map of valid indirect clusters */
176 u_int32_t sc_indir_cur; /* Current indir cluster number */
177 int sc_indir_dirty; /* Current indir cluster modified */
178 u_int32_t *sc_indir_data; /* Current indir cluster data */