• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/bsd/ufs/ufs/

Lines Matching defs:cg

153 byte_swap_cgin(struct cg *cg, struct fs * fs)
159 byte_swap_int(cg->cg_firstfield);
160 byte_swap_int(cg->cg_magic);
161 byte_swap_int(cg->cg_time);
162 byte_swap_int(cg->cg_cgx);
163 byte_swap_short(cg->cg_ncyl);
164 byte_swap_short(cg->cg_niblk);
165 byte_swap_int(cg->cg_ndblk);
166 byte_swap_csum(&cg->cg_cs);
167 byte_swap_int(cg->cg_rotor);
168 byte_swap_int(cg->cg_frotor);
169 byte_swap_int(cg->cg_irotor);
170 byte_swap_ints(cg->cg_frsum, MAXFRAG);
171 byte_swap_int(cg->cg_iusedoff);
172 byte_swap_int(cg->cg_freeoff);
173 byte_swap_int(cg->cg_nextfreeoff);
174 byte_swap_int(cg->cg_clusteroff);
175 byte_swap_int(cg->cg_nclusterblks);
176 byte_swap_ints((int *)&cg->cg_sparecon, 13);
178 byte_swap_int(cg->cg_btotoff);
179 ulptr = ((int32_t *)((u_int8_t *)(cg) + (cg)->cg_btotoff));
183 byte_swap_int(cg->cg_boff);
184 usptr = ((int16_t *)((u_int8_t *)(cg) + (cg)->cg_boff));
188 byte_swap_int(cg->cg_clustersumoff);
192 ulptr = ((int32_t *)((u_int8_t *)(cg) + (cg)->cg_clustersumoff));
201 byte_swap_cgout(struct cg *cg, struct fs * fs)
207 byte_swap_int(cg->cg_firstfield);
208 byte_swap_int(cg->cg_magic);
209 byte_swap_int(cg->cg_time);
210 byte_swap_int(cg->cg_cgx);
211 byte_swap_short(cg->cg_ncyl);
212 byte_swap_short(cg->cg_niblk);
213 byte_swap_int(cg->cg_ndblk);
214 byte_swap_csum(&cg->cg_cs);
215 byte_swap_int(cg->cg_rotor);
216 byte_swap_int(cg->cg_frotor);
217 byte_swap_int(cg->cg_irotor);
218 byte_swap_ints(cg->cg_frsum, MAXFRAG);
219 byte_swap_int(cg->cg_freeoff);
220 byte_swap_int(cg->cg_nextfreeoff);
221 byte_swap_int(cg->cg_nclusterblks);
222 byte_swap_ints((int *)&cg->cg_sparecon, 13);
224 byte_swap_int(cg->cg_iusedoff);
225 byte_swap_int(cg->cg_clusteroff);
226 ulptr = ((int32_t *)((u_int8_t *)(cg) + (cg)->cg_btotoff));
229 byte_swap_int(cg->cg_btotoff);
231 usptr = ((int16_t *)((u_int8_t *)(cg) + (cg)->cg_boff));
234 byte_swap_int(cg->cg_boff);
237 ulptr = ((int32_t *)((u_int8_t *)(cg) + (cg)->cg_clustersumoff));
242 byte_swap_int(cg->cg_clustersumoff);
397 byte_swap_ocylgroup(struct cg *cg)
399 byte_swap_int(cg->cg_time);
400 byte_swap_int(cg->cg_cgx);
401 byte_swap_short(cg->cg_ncyl);
402 byte_swap_short(cg->cg_niblk);
403 byte_swap_int(cg->cg_ndblk);
404 byte_swap_csum(&cg->cg_cs);
405 byte_swap_int(cg->cg_rotor);
406 byte_swap_int(cg->cg_frotor);
407 byte_swap_int(cg->cg_irotor);
408 byte_swap_ints(&cg->cg_frsum, 8);
409 byte_swap_ints(&cg->cg_btot, 32);
410 byte_swap_shorts((short *)&cg->cg_b, 32 * 8);
411 byte_swap_int(cg->cg_magic);