/titanic_52/usr/src/grub/grub-0.97/stage2/ |
H A D | fs.h | 42 * @(#)fs.h 7.7 (Berkeley) 5/9/89 57 * For file system fs, the offsets of the various blocks of interest 59 * [fs->fs_sblkno] Super-block 60 * [fs->fs_cblkno] Cylinder group block 61 * [fs->fs_iblkno] Inode blocks 62 * [fs->fs_dblkno] Data blocks 63 * The beginning of cylinder group cg in fs, is given by 64 * the ``cgbase(fs, cg)'' macro. 89 * information in the inode, using the ``blksize(fs, ip, lbn)'' macro. 146 struct fs struct 148 xxx1fs global() argument 149 xxx2fs global() argument 150 fs_sblknofs global() argument 151 fs_cblknofs global() argument 152 fs_iblknofs global() argument 153 fs_dblknofs global() argument 154 fs_cgoffsetfs global() argument 155 fs_cgmaskfs global() argument 156 fs_timefs global() argument 157 fs_sizefs global() argument 158 fs_dsizefs global() argument 159 fs_ncgfs global() argument 160 fs_bsizefs global() argument 161 fs_fsizefs global() argument 162 fs_fragfs global() argument 164 fs_minfreefs global() argument 165 fs_rotdelayfs global() argument 166 fs_rpsfs global() argument 168 fs_bmaskfs global() argument 169 fs_fmaskfs global() argument 170 fs_bshiftfs global() argument 171 fs_fshiftfs global() argument 173 fs_maxcontigfs global() argument 174 fs_maxbpgfs global() argument 176 fs_fragshiftfs global() argument 177 fs_fsbtodbfs global() argument 178 fs_sbsizefs global() argument 179 fs_csmaskfs global() argument 180 fs_csshiftfs global() argument 181 fs_nindirfs global() argument 182 fs_inopbfs global() argument 183 fs_nspffs global() argument 185 fs_optimfs global() argument 187 fs_npsectfs global() argument 188 fs_interleavefs global() argument 189 fs_trackskewfs global() argument 190 fs_headswitchfs global() argument 191 fs_trkseekfs global() argument 193 fs_csaddrfs global() argument 194 fs_cssizefs global() argument 195 fs_cgsizefs global() argument 197 fs_ntrakfs global() argument 198 fs_nsectfs global() argument 199 fs_spcfs global() argument 201 fs_ncylfs global() argument 203 fs_cpgfs global() argument 204 fs_ipgfs global() argument 205 fs_fpgfs global() argument 207 fs_cstotalfs global() argument 209 fs_fmodfs global() argument 210 fs_cleanfs global() argument 211 fs_ronlyfs global() argument 212 fs_flagsfs global() argument 213 fs_fsmntfs global() argument 215 fs_cgrotorfs global() argument 217 was_fs_cspfs global() argument 219 fs_cspfs global() argument 221 fs_cpcfs global() argument 222 fs_opostblfs global() argument 223 fs_spareconfs global() argument 224 fs_contigsumsizefs global() argument 225 fs_maxsymlinklenfs global() argument 226 fs_inodefmtfs global() argument 227 fs_maxfilesizefs global() argument 228 fs_qbmaskfs global() argument 229 fs_qfmaskfs global() argument 230 fs_statefs global() argument 231 fs_postblformatfs global() argument 232 fs_nrposfs global() argument 233 fs_postblofffs global() argument 234 fs_rotblofffs global() argument 235 fs_magicfs global() argument 236 fs_spacefs global() argument 253 fs_postbl(fs,cylno) global() argument 257 fs_rotbl(fs) global() argument 267 fs_cs(fs,indx) global() argument 304 cg_blks(fs,cgp,cylno) global() argument 349 fsbtodb(fs,b) global() argument 350 dbtofsb(fs,b) global() argument 356 cgbase(fs,c) global() argument 357 cgstart(fs,c) global() argument 359 cgsblock(fs,c) global() argument 360 cgtod(fs,c) global() argument 361 cgimin(fs,c) global() argument 362 cgdmin(fs,c) global() argument 370 itoo(fs,x) global() argument 371 itog(fs,x) global() argument 372 itod(fs,x) global() argument 380 dtog(fs,d) global() argument 381 dtogd(fs,d) global() argument 387 blkmap(fs,map,loc) global() argument 389 cbtocylno(fs,bno) global() argument 391 cbtorpos(fs,bno) global() argument 401 blkoff(fs,loc) global() argument 403 fragoff(fs,loc) global() argument 405 lblkno(fs,loc) global() argument 407 numfrags(fs,loc) global() argument 409 blkroundup(fs,size) global() argument 411 fragroundup(fs,size) global() argument 413 fragstoblks(fs,frags) global() argument 415 blkstofrags(fs,blks) global() argument 417 fragnum(fs,fsb) global() argument 419 blknum(fs,fsb) global() argument 426 freespace(fs,percentreserved) global() argument 433 blksize(fs,ip,lbn) global() argument 437 dblksize(fs,dip,lbn) global() argument 445 NSPB(fs) global() argument 446 NSPF(fs) global() argument 451 INOPB(fs) global() argument 452 INOPF(fs) global() argument 457 NINDIR(fs) global() argument [all...] |
H A D | ufs2.h | 244 struct fs { struct 254 grub_int32_t fs_old_size; /* number of blocks in fs */ argument 255 grub_int32_t fs_old_dsize; /* number of data blocks in fs */ argument 257 grub_int32_t fs_bsize; /* size of basic blocks in fs */ argument 258 grub_int32_t fs_fsize; /* size of frag blocks in fs */ argument 259 grub_int32_t fs_frag; /* number of frags in a block in fs */ argument 312 grub_u_int *fs_active; /* used by snapshots to track fs */ argument 319 grub_int64_t fs_size; /* number of blocks in fs */ argument 320 grub_int64_t fs_dsize; /* number of data blocks in fs */ argument 354 #define fsbtodb(fs, argument 245 fs_firstfieldfs global() argument 246 fs_unused_1fs global() argument 247 fs_sblknofs global() argument 248 fs_cblknofs global() argument 249 fs_iblknofs global() argument 250 fs_dblknofs global() argument 251 fs_old_cgoffsetfs global() argument 252 fs_old_cgmaskfs global() argument 253 fs_old_timefs global() argument 256 fs_ncgfs global() argument 261 fs_minfreefs global() argument 262 fs_old_rotdelayfs global() argument 263 fs_old_rpsfs global() argument 265 fs_bmaskfs global() argument 266 fs_fmaskfs global() argument 267 fs_bshiftfs global() argument 268 fs_fshiftfs global() argument 270 fs_maxcontigfs global() argument 271 fs_maxbpgfs global() argument 273 fs_fragshiftfs global() argument 274 fs_fsbtodbfs global() argument 275 fs_sbsizefs global() argument 276 fs_spare1fs global() argument 278 fs_nindirfs global() argument 279 fs_inopbfs global() argument 280 fs_old_nspffs global() argument 282 fs_optimfs global() argument 283 fs_old_npsectfs global() argument 284 fs_old_interleavefs global() argument 285 fs_old_trackskewfs global() argument 286 fs_idfs global() argument 288 fs_old_csaddrfs global() argument 289 fs_cssizefs global() argument 290 fs_cgsizefs global() argument 291 fs_spare2fs global() argument 292 fs_old_nsectfs global() argument 293 fs_old_spcfs global() argument 294 fs_old_ncylfs global() argument 295 fs_old_cpgfs global() argument 296 fs_ipgfs global() argument 297 fs_fpgfs global() argument 299 fs_old_cstotalfs global() argument 301 fs_fmodfs global() argument 302 fs_cleanfs global() argument 303 fs_ronlyfs global() argument 304 fs_old_flagsfs global() argument 305 fs_fsmntfs global() argument 307 fs_cgrotorfs global() argument 308 fs_ocspfs global() argument 309 fs_contigdirsfs global() argument 310 fs_cspfs global() argument 311 fs_maxclusterfs global() argument 313 fs_old_cpcfs global() argument 314 fs_maxbsizefs global() argument 315 fs_sparecon64fs global() argument 316 fs_sblocklocfs global() argument 317 fs_cstotalfs global() argument 318 fs_timefs global() argument 321 fs_csaddrfs global() argument 322 fs_pendingblocksfs global() argument 323 fs_pendinginodesfs global() argument 324 fs_snapinumfs global() argument 325 fs_avgfilesizefs global() argument 326 fs_avgfpdirfs global() argument 327 fs_save_cgsizefs global() argument 328 fs_sparecon32fs global() argument 329 fs_flagsfs global() argument 330 fs_contigsumsizefs global() argument 331 fs_maxsymlinklenfs global() argument 332 fs_old_inodefmtfs global() argument 333 fs_maxfilesizefs global() argument 334 fs_qbmaskfs global() argument 335 fs_qfmaskfs global() argument 336 fs_statefs global() argument 337 fs_old_postblformatfs global() argument 338 fs_old_nrposfs global() argument 339 fs_spare5fs global() argument 341 fs_magicfs global() argument 355 dbtofsb(fs,b) global() argument 361 cgbase(fs,c) global() argument 362 cgimin(fs,c) global() argument 363 cgstart(fs,c) global() argument 373 ino_to_cg(fs,x) global() argument 374 ino_to_fsba(fs,x) global() argument 377 ino_to_fsbo(fs,x) global() argument 384 blkoff(fs,loc) global() argument 388 smalllblktosize(fs,blk) global() argument 392 lblkno(fs,loc) global() argument 395 fragroundup(fs,size) global() argument 398 fragstoblks(fs,frags) global() argument 400 blkstofrags(fs,blks) global() argument 402 fragnum(fs,fsb) global() argument 404 blknum(fs,fsb) global() argument 410 blksize(fs,ip,lbn) global() argument 414 sblksize(fs,size,lbn) global() argument 423 INOPB(fs) global() argument 424 INOPF(fs) global() argument 429 NINDIR(fs) global() argument [all...] |
H A D | ufs.h | 62 struct fs { struct 64 grub_uint32_t fs_rolled; /* logging only: fs fully rolled */ argument 72 grub_int32_t fs_size; /* number of blocks in fs */ argument 73 grub_int32_t fs_dsize; /* number of data blocks in fs */ argument 75 grub_int32_t fs_bsize; /* size of basic blocks in fs */ argument 76 grub_int32_t fs_fsize; /* size of frag blocks in fs */ argument 77 grub_int32_t fs_frag; /* number of frags in a block in fs */ argument 208 #define INOPB(fs) ((fs)->fs_inopb) argument 209 #define itoo(fs, argument 63 fs_linkfs global() argument 65 fs_sblknofs global() argument 66 fs_cblknofs global() argument 67 fs_iblknofs global() argument 68 fs_dblknofs global() argument 69 fs_cgoffsetfs global() argument 70 fs_cgmaskfs global() argument 71 fs_timefs global() argument 74 fs_ncgfs global() argument 79 fs_minfreefs global() argument 80 fs_rotdelayfs global() argument 81 fs_rpsfs global() argument 83 fs_bmaskfs global() argument 84 fs_fmaskfs global() argument 85 fs_bshiftfs global() argument 86 fs_fshiftfs global() argument 88 fs_maxcontigfs global() argument 89 fs_maxbpgfs global() argument 91 fs_fragshiftfs global() argument 92 fs_fsbtodbfs global() argument 93 fs_sbsizefs global() argument 94 fs_csmaskfs global() argument 95 fs_csshiftfs global() argument 96 fs_nindirfs global() argument 97 fs_inopbfs global() argument 98 fs_nspffs global() argument 100 fs_optimfs global() argument 115 fs_statefs global() argument 116 fs_sifs global() argument 117 fs_trackskewfs global() argument 122 fs_idfs global() argument 124 fs_csaddrfs global() argument 125 fs_cssizefs global() argument 126 fs_cgsizefs global() argument 128 fs_ntrakfs global() argument 129 fs_nsectfs global() argument 130 fs_spcfs global() argument 132 fs_ncylfs global() argument 134 fs_cpgfs global() argument 135 fs_ipgfs global() argument 136 fs_fpgfs global() argument 138 fs_cstotalfs global() argument 140 fs_fmodfs global() argument 141 fs_cleanfs global() argument 142 fs_ronlyfs global() argument 143 fs_flagsfs global() argument 144 fs_fsmntfs global() argument 146 fs_cgrotorfs global() argument 153 __anon3319b22a020afs global() argument 156 fs_ufs global() argument 157 fs_cpcfs global() argument 158 fs_opostblfs global() argument 159 fs_spareconfs global() argument 160 fs_versionfs global() argument 161 fs_logbnofs global() argument 162 fs_reclaimfs global() argument 163 fs_sparecon2fs global() argument 165 fs_npsectfs global() argument 166 fs_qbmaskfs global() argument 167 fs_qfmaskfs global() argument 168 fs_postblformatfs global() argument 169 fs_nrposfs global() argument 170 fs_postblofffs global() argument 171 fs_rotblofffs global() argument 173 fs_magicfs global() argument 174 fs_spacefs global() argument 210 itog(fs,x) global() argument 211 itod(fs,x) global() argument 216 UFS_NINDIR(fs) global() argument 217 blkoff(fs,loc) global() argument 218 lblkno(fs,loc) global() argument 220 fsbtodb(fs,b) global() argument 221 blkstofrags(fs,b) global() argument 224 cgbase(fs,c) global() argument 225 cgimin(fs,c) global() argument 226 cgstart(fs,c) global() argument [all...] |
/titanic_52/usr/src/uts/common/sys/fs/ |
H A D | ufs_fs.h | 75 * For file system fs, the offsets of the various blocks of interest 77 * [fs->fs_sblkno] Super-block 78 * [fs->fs_cblkno] Cylinder group block 79 * [fs->fs_iblkno] Inode blocks 80 * [fs->fs_dblkno] Data blocks 81 * The beginning of cylinder group cg in fs, is given by 82 * the ``cgbase(fs, cg)'' macro. 107 * information in the inode, using the ``blksize(fs, ip, lbn)'' macro. 216 * These fields require the use of fs->fs_lock. 230 #define FSLOG ((char)0xfd) /* logging fs */ 238 struct fs { global() struct 239 fs_linkfs global() argument 240 fs_rolledfs global() argument 241 fs_sblknofs global() argument 242 fs_cblknofs global() argument 243 fs_iblknofs global() argument 244 fs_dblknofs global() argument 245 fs_cgoffsetfs global() argument 246 fs_cgmaskfs global() argument 247 fs_timefs global() argument 248 fs_sizefs global() argument 249 fs_dsizefs global() argument 250 fs_ncgfs global() argument 251 fs_bsizefs global() argument 252 fs_fsizefs global() argument 253 fs_fragfs global() argument 255 fs_minfreefs global() argument 256 fs_rotdelayfs global() argument 257 fs_rpsfs global() argument 259 fs_bmaskfs global() argument 260 fs_fmaskfs global() argument 261 fs_bshiftfs global() argument 262 fs_fshiftfs global() argument 264 fs_maxcontigfs global() argument 265 fs_maxbpgfs global() argument 267 fs_fragshiftfs global() argument 268 fs_fsbtodbfs global() argument 269 fs_sbsizefs global() argument 270 fs_csmaskfs global() argument 271 fs_csshiftfs global() argument 272 fs_nindirfs global() argument 273 fs_inopbfs global() argument 274 fs_nspffs global() argument 276 fs_optimfs global() argument 292 fs_statefs global() argument 294 fs_npsectfs global() argument 296 fs_sifs global() argument 297 fs_trackskewfs global() argument 302 fs_idfs global() argument 304 fs_csaddrfs global() argument 305 fs_cssizefs global() argument 306 fs_cgsizefs global() argument 308 fs_ntrakfs global() argument 309 fs_nsectfs global() argument 310 fs_spcfs global() argument 312 fs_ncylfs global() argument 314 fs_cpgfs global() argument 315 fs_ipgfs global() argument 316 fs_fpgfs global() argument 318 fs_cstotalfs global() argument 320 fs_fmodfs global() argument 321 fs_cleanfs global() argument 322 fs_ronlyfs global() argument 323 fs_flagsfs global() argument 324 fs_fsmntfs global() argument 326 fs_cgrotorfs global() argument 333 __anon3ba25eed010afs global() argument 336 fs_ufs global() argument 337 fs_cpcfs global() argument 338 fs_opostblfs global() argument 339 fs_spareconfs global() argument 340 fs_versionfs global() argument 341 fs_logbnofs global() argument 342 fs_reclaimfs global() argument 343 fs_sparecon2fs global() argument 346 fs_npsectfs global() argument 348 fs_statefs global() argument 350 fs_qbmaskfs global() argument 351 fs_qfmaskfs global() argument 352 fs_postblformatfs global() argument 353 fs_nrposfs global() argument 354 fs_postblofffs global() argument 355 fs_rotblofffs global() argument 356 fs_magicfs global() argument 357 fs_spacefs global() argument 408 fs_postbl(fs,cylno) global() argument 416 fs_rotbl(fs) global() argument 428 fs_cs(fs,indx) global() argument 476 cg_blks(fs,cgp,cylno) global() argument 529 fsbtodb(fs,b) global() argument 531 fsbtodb(fs,b) global() argument 534 dbtofsb(fs,b) global() argument 544 logbtodb(fs,b) global() argument 547 logbtodb(fs,b) global() argument 550 logbtofrag(fs,b) global() argument 552 logbtofsblk(fs,b) global() argument 560 cgbase(fs,c) global() argument 562 cgstart(fs,c) global() argument 565 cgsblock(fs,c) global() argument 567 cgtod(fs,c) global() argument 569 cgimin(fs,c) global() argument 571 cgdmin(fs,c) global() argument 579 itoo(fs,x) global() argument 581 itog(fs,x) global() argument 583 itod(fs,x) global() argument 591 dtog(fs,d) global() argument 592 dtogd(fs,d) global() argument 598 blkmap(fs,map,loc) global() argument 602 cbtocylno(fs,bno) global() argument 611 cbtorpos(fs,bno) global() argument 629 blkoff(fs,loc) global() argument 636 fragoff(fs,loc) global() argument 645 lblkno(fs,loc) global() argument 652 numfrags(fs,loc) global() argument 663 blkroundup(fs,size) global() argument 670 fragroundup(fs,size) global() argument 677 fragstoblks(fs,frags) global() argument 680 blkstofrags(fs,blks) global() argument 683 fragnum(fs,fsb) global() argument 686 blknum(fs,fsb) global() argument 693 freespace(fs,ufsvfsp) global() argument 701 blksize(fs,ip,lbn) global() argument 707 dblksize(fs,dip,lbn) global() argument 716 NSPB(fs) global() argument 717 NSPF(fs) global() argument 722 INOPB(fs) global() argument 723 INOPF(fs) global() argument 728 NINDIR(fs) global() argument [all...] |
/titanic_52/usr/src/boot/sys/ufs/ffs/ |
H A D | fs.h | 29 * @(#)fs.h 8.13 (Berkeley) 3/21/95 51 * For filesystem fs, the offsets of the various blocks of interest 53 * [fs->fs_sblkno] Super-block 54 * [fs->fs_cblkno] Cylinder group block 55 * [fs->fs_iblkno] Inode blocks 56 * [fs->fs_dblkno] Data blocks 57 * The beginning of cylinder group cg in fs, is given by 58 * the ``cgbase(fs, cg)'' macro. 97 * information in the inode, using the ``blksize(fs, ip, lbn)'' macro. 260 struct fs { struct 261 fs_firstfieldfs global() argument 262 fs_unused_1fs global() argument 263 fs_sblknofs global() argument 264 fs_cblknofs global() argument 265 fs_iblknofs global() argument 266 fs_dblknofs global() argument 267 fs_old_cgoffsetfs global() argument 268 fs_old_cgmaskfs global() argument 269 fs_old_timefs global() argument 270 fs_old_sizefs global() argument 271 fs_old_dsizefs global() argument 272 fs_ncgfs global() argument 273 fs_bsizefs global() argument 274 fs_fsizefs global() argument 275 fs_fragfs global() argument 277 fs_minfreefs global() argument 278 fs_old_rotdelayfs global() argument 279 fs_old_rpsfs global() argument 281 fs_bmaskfs global() argument 282 fs_fmaskfs global() argument 283 fs_bshiftfs global() argument 284 fs_fshiftfs global() argument 286 fs_maxcontigfs global() argument 287 fs_maxbpgfs global() argument 289 fs_fragshiftfs global() argument 290 fs_fsbtodbfs global() argument 291 fs_sbsizefs global() argument 292 fs_spare1fs global() argument 294 fs_nindirfs global() argument 295 fs_inopbfs global() argument 296 fs_old_nspffs global() argument 298 fs_optimfs global() argument 299 fs_old_npsectfs global() argument 300 fs_old_interleavefs global() argument 301 fs_old_trackskewfs global() argument 302 fs_idfs global() argument 304 fs_old_csaddrfs global() argument 305 fs_cssizefs global() argument 306 fs_cgsizefs global() argument 307 fs_spare2fs global() argument 308 fs_old_nsectfs global() argument 309 fs_old_spcfs global() argument 310 fs_old_ncylfs global() argument 311 fs_old_cpgfs global() argument 312 fs_ipgfs global() argument 313 fs_fpgfs global() argument 315 fs_old_cstotalfs global() argument 317 fs_fmodfs global() argument 318 fs_cleanfs global() argument 319 fs_ronlyfs global() argument 320 fs_old_flagsfs global() argument 321 fs_fsmntfs global() argument 322 fs_volnamefs global() argument 323 fs_swuidfs global() argument 324 fs_padfs global() argument 326 fs_cgrotorfs global() argument 327 fs_ocspfs global() argument 328 fs_contigdirsfs global() argument 329 fs_cspfs global() argument 330 fs_maxclusterfs global() argument 331 fs_activefs global() argument 332 fs_old_cpcfs global() argument 333 fs_maxbsizefs global() argument 334 fs_unrefsfs global() argument 335 fs_providersizefs global() argument 336 fs_metaspacefs global() argument 337 fs_sparecon64fs global() argument 338 fs_sblocklocfs global() argument 339 fs_cstotalfs global() argument 340 fs_timefs global() argument 341 fs_sizefs global() argument 342 fs_dsizefs global() argument 343 fs_csaddrfs global() argument 344 fs_pendingblocksfs global() argument 345 fs_pendinginodesfs global() argument 346 fs_snapinumfs global() argument 347 fs_avgfilesizefs global() argument 348 fs_avgfpdirfs global() argument 349 fs_save_cgsizefs global() argument 350 fs_mtimefs global() argument 351 fs_sujfreefs global() argument 352 fs_sparecon32fs global() argument 353 fs_flagsfs global() argument 354 fs_contigsumsizefs global() argument 355 fs_maxsymlinklenfs global() argument 356 fs_old_inodefmtfs global() argument 357 fs_maxfilesizefs global() argument 358 fs_qbmaskfs global() argument 359 fs_qfmaskfs global() argument 360 fs_statefs global() argument 361 fs_old_postblformatfs global() argument 362 fs_old_nrposfs global() argument 363 fs_spare5fs global() argument 365 fs_magicfs global() argument 432 ACTIVECGNUM(fs,cg) global() argument 434 ACTIVESET(fs,cg) global() argument 438 ACTIVECLEAR(fs,cg) global() argument 449 CGSIZE(fs) global() argument 467 fs_cs(fs,indx) global() argument 521 fsbtodb(fs,b) global() argument 522 dbtofsb(fs,b) global() argument 528 cgbase(fs,c) global() argument 529 cgdata(fs,c) global() argument 530 cgmeta(fs,c) global() argument 531 cgdmin(fs,c) global() argument 532 cgimin(fs,c) global() argument 533 cgsblock(fs,c) global() argument 534 cgtod(fs,c) global() argument 535 cgstart(fs,c) global() argument 545 ino_to_cg(fs,x) global() argument 546 ino_to_fsba(fs,x) global() argument 549 ino_to_fsbo(fs,x) global() argument 555 dtog(fs,d) global() argument 556 dtogd(fs,d) global() argument 562 blkmap(fs,map,loc) global() argument 570 blkoff(fs,loc) global() argument 572 fragoff(fs,loc) global() argument 574 lfragtosize(fs,frag) global() argument 576 lblktosize(fs,blk) global() argument 579 smalllblktosize(fs,blk) global() argument 581 lblkno(fs,loc) global() argument 583 numfrags(fs,loc) global() argument 585 blkroundup(fs,size) global() argument 587 fragroundup(fs,size) global() argument 589 fragstoblks(fs,frags) global() argument 591 blkstofrags(fs,blks) global() argument 593 fragnum(fs,fsb) global() argument 595 blknum(fs,fsb) global() argument 602 freespace(fs,percentreserved) global() argument 610 blksize(fs,ip,lbn) global() argument 614 sblksize(fs,size,lbn) global() argument 622 NINDIR(fs) global() argument 651 lbn_offset(struct fs * fs,int level) lbn_offset() argument 663 INOPB(fs) global() argument 664 INOPF(fs) global() argument [all...] |
/titanic_52/usr/src/uts/common/fs/ufs/ |
H A D | ufs_alloc.c | 54 #include <sys/fs/ufs_fs.h> 55 #include <sys/fs/ufs_inode.h> 56 #include <sys/fs/ufs_acl.h> 57 #include <sys/fs/ufs_bio.h> 58 #include <sys/fs/ufs_quota.h> 60 #include <sys/fs/ufs_trans.h> 61 #include <sys/fs/ufs_panic.h> 68 #include <fs/fs_subr.h> 71 #include <sys/fs/ufs_log.h> 107 struct fs *f in alloc() local 186 struct fs *fs; realloccg() local 298 struct fs *fs; ufs_ialloc() local 478 struct fs *fs = dp->i_fs; dirpref() local 537 struct fs *fs; blkpref() local 625 struct fs *fs = ip->i_fs; free() local 773 struct fs *fs = ip->i_fs; ufs_ifree() local 847 struct fs *fs; hashalloc() local 897 struct fs *fs = ip->i_fs; fragextend() local 978 struct fs *fs = ip->i_fs; alloccg() local 1113 struct fs *fs; alloccgblk() local 1294 struct fs *fs = ip->i_fs; ialloccg() local 1386 struct fs *fs = ufsvfsp->vfs_fs; mapsearch() local 1558 struct fs *fs; ufs_allocsp() local 1955 struct fs *fs = ufsvfsp->vfs_fs; contigpref() local 2048 findlogstartcg(struct fs * fs,daddr_t requested,daddr_t minblk) findlogstartcg() argument [all...] |
H A D | ufs_subr.c | 43 #include <sys/fs/ufs_fs.h> 59 #include <sys/fs/ufs_inode.h> 60 #include <sys/fs/ufs_trans.h> 61 #include <sys/fs/ufs_panic.h> 62 #include <sys/fs/ufs_bio.h> 63 #include <sys/fs/ufs_log.h> 196 struct fs *fs; in ufs_update() local 273 fs = ufsp->vfs_fs; in ufs_update() 291 if ((fs in ufs_update() 577 struct fs *fs; ufs_sync_indir() local 680 struct fs *fs; ufs_indirblk_sync() local 875 struct fs *fs = ufsvfsp->vfs_fs; ufs_checkclean() local 991 struct fs *fs = ufsvfsp->vfs_fs; ufs_setreclaim() local 1026 struct fs *fs = ufsvfsp->vfs_fs; ufs_notclean() local 1124 struct fs *fs = ufsvfsp->vfs_fs; ufs_sbwrite() local 1240 ufs_construct_si(dev_t dev,struct fs * fs,struct ufsvfs * ufsvfsp) ufs_construct_si() argument 1309 ufs_getsummaryinfo(dev_t dev,struct ufsvfs * ufsvfsp,struct fs * fs) ufs_getsummaryinfo() argument 1385 ufs_putsummaryinfo(dev_t dev,struct ufsvfs * ufsvfsp,struct fs * fs) ufs_putsummaryinfo() argument 1474 fragacct(struct fs * fs,int fragmap,int32_t * fraglist,int cnt) fragacct() argument 1512 isblock(struct fs * fs,uchar_t * cp,daddr_t h) isblock() argument 1546 clrblock(struct fs * fs,uchar_t * cp,daddr_t h) clrblock() argument 1579 isclrblock(struct fs * fs,uchar_t * cp,daddr_t h) isclrblock() argument 1614 setblock(struct fs * fs,uchar_t * cp,daddr_t h) setblock() argument [all...] |
H A D | ufs_snap.c | 37 #include <sys/fs/ufs_inode.h> 38 #include <sys/fs/ufs_filio.h> 39 #include <sys/fs/ufs_snap.h> 43 #include <sys/fs/ufs_bio.h> 67 struct fs *fs = ufsvfsp->vfs_fs; in ufs_snap_create() local 86 if (fs->fs_ronly) { in ufs_snap_create() 131 if (fs->fs_clean != FSACTIVE && in ufs_snap_create() 132 fs->fs_clean != FSSTABLE && in ufs_snap_create() 133 fs in ufs_snap_create() 283 struct fs *fs = ufsvfsp->vfs_fs; ufs_snap_find_candidates() local 361 struct fs *fs = ufsvfsp->vfs_fs; ufs_snap_delete() local [all...] |
/titanic_52/usr/src/boot/lib/libstand/ |
H A D | nandfs.c | 34 #include <fs/nandfs/nandfs_fs.h> 125 #define NINDIR(fs) ((fs)->nf_blocksize / sizeof(nandfs_daddr_t)) argument 195 nandfs_find_super_block(struct nandfs *fs, struct open_file *f) in nandfs_find_super_block() argument 201 sb = malloc(fs->nf_sectorsize); in nandfs_find_super_block() 205 memset(fs->nf_sb, 0, sizeof(*fs->nf_sb)); in nandfs_find_super_block() 207 sectors_to_read = (NANDFS_NFSAREAS * fs->nf_fsdata->f_erasesize) / in nandfs_find_super_block() 208 fs->nf_sectorsize; in nandfs_find_super_block() 211 i * fs in nandfs_find_super_block() 245 nandfs_find_fsdata(struct nandfs * fs,struct open_file * f) nandfs_find_fsdata() argument 270 nandfs_read_structures(struct nandfs * fs,struct open_file * f) nandfs_read_structures() argument 288 nandfs_mount(struct nandfs * fs,struct open_file * f) nandfs_mount() argument 366 NINDIR(fs) global() argument 371 struct nandfs *fs; nandfs_open() local 437 struct nandfs *fs = f->f_fsdata; nandfs_close() local 453 struct nandfs *fs = (struct nandfs *)f->f_fsdata; nandfs_read() local 487 struct nandfs *fs = f->f_fsdata; nandfs_seek() local 525 struct nandfs *fs = f->f_fsdata; nandfs_stat() local 539 struct nandfs *fs = f->f_fsdata; nandfs_readdir() local 570 nandfs_buf_read(struct nandfs * fs,void ** buf_p,size_t * size_p) nandfs_buf_read() argument 600 nandfs_lookup_node(struct nandfs * fs,uint64_t ino) nandfs_lookup_node() argument 631 nandfs_lookup_path(struct nandfs * fs,const char * path) nandfs_lookup_path() argument 768 nandfs_read_inode(struct nandfs * fs,struct nandfs_node * node,nandfs_daddr_t blknr,u_int nblks,void * buf,int raw) nandfs_read_inode() argument 811 nandfs_read_blk(struct nandfs * fs,nandfs_daddr_t blknr,void * buf,int phys) nandfs_read_blk() argument 822 nandfs_get_checkpoint(struct nandfs * fs,uint64_t cpno,struct nandfs_checkpoint * cp) nandfs_get_checkpoint() argument 851 nandfs_get_map(struct nandfs * fs,struct nandfs_node * node,nandfs_daddr_t blknr,int phys) nandfs_get_map() argument 879 nandfs_bmap_lookup(struct nandfs * fs,struct nandfs_node * node,nandfs_lbn_t lblknr,nandfs_daddr_t * vblknr,int phys) nandfs_bmap_lookup() argument 945 nandfs_vtop(struct nandfs * fs,nandfs_daddr_t vblocknr) nandfs_vtop() argument [all...] |
H A D | dosfs.c | 111 #define bytblk(fs, n) ((n) >> (fs)->bshift) argument 112 #define blkbyt(fs, b) ((b) << (fs)->bshift) argument 113 #define secblk(fs, s) ((s) >> ((fs)->bshift - SSHIFT)) argument 114 #define blksec(fs, b) ((b) << ((fs)->bshift - SSHIFT)) argument 117 #define blkoff(fs, b) (secbyt((fs) argument 120 blklsn(fs,b) global() argument 128 okclus(fs,c) global() argument 148 dos_read_fatblk(DOS_FS * fs,struct open_file * fd,u_int blknum) dos_read_fatblk() argument 182 dos_mount(DOS_FS * fs,struct open_file * fd) dos_mount() argument 222 dos_unmount(DOS_FS * fs) dos_unmount() argument 239 DOS_FS *fs; dos_open() local 379 DOS_FS *fs = f->fs; dos_close() local 498 parsebs(DOS_FS * fs,DOS_BS * bs) parsebs() argument 547 namede(DOS_FS * fs,const char * path,DOS_DE ** dep) namede() argument 582 lookup(DOS_FS * fs,u_int clus,const char * name,DOS_DE ** dep) lookup() argument 718 fsize(DOS_FS * fs,DOS_DE * de) fsize() argument 740 fatcnt(DOS_FS * fs,u_int c) fatcnt() argument 755 fatget(DOS_FS * fs,u_int * c) fatget() argument 818 ioread(DOS_FS * fs,u_int offset,void * buf,size_t nbyte) ioread() argument [all...] |
H A D | ext2fs.c | 139 #define fsb_to_db(fs, blk) ((blk) << (fs)->fs_fsbtodb) argument 147 #define ino_to_bgo(fs, ino) (((ino) - 1) % (fs)->fs_ipg) argument 148 #define ino_to_bg(fs, ino) (((ino) - 1) / (fs)->fs_ipg) argument 149 #define ino_to_db(fs, bg, ino) \ argument 150 fsb_to_db(fs, ((bg)[ino_to_bg(fs, ino)].bg_inotbl + \ 151 ino_to_bgo(fs, in 152 ino_to_bo(fs,ino) global() argument 154 nindir(fs) global() argument 156 lblkno(fs,loc) global() argument 158 smalllblktosize(fs,blk) global() argument 160 blkoff(fs,loc) global() argument 162 fragroundup(fs,size) global() argument 164 dblksize(fs,dip,lbn) global() argument 336 struct ext2fs *fs; ext2fs_open() local 500 struct ext2fs *fs = fp->f_fs; ext2fs_open() local 561 struct ext2fs *fs = fp->f_fs; read_inode() local 603 struct ext2fs *fs = fp->f_fs; block_map() local 703 struct ext2fs *fs = fp->f_fs; buf_read_file() local [all...] |
/titanic_52/usr/src/man/man7fs/ |
H A D | Makefile | 20 MANSECT= 7fs 22 MANFILES= bootfs.7fs \ 23 ctfs.7fs \ 24 dcfs.7fs \ 25 dev.7fs \ 26 devfs.7fs \ 27 fd.7fs \ 28 hsfs.7fs \ 29 lofs.7fs \ 30 objfs.7fs \ [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/delegate/ |
H A D | delegate_common.kshlib | 203 typeset fs=$3 208 verify_fs_create $user $perm $fs 212 verify_fs_destroy $user $perm $fs 216 verify_fs_snapshot $user $perm $fs 220 verify_fs_rollback $user $perm $fs 224 verify_fs_clone $user $perm $fs 228 verify_fs_rename $user $perm $fs 232 verify_fs_mount $user $perm $fs 236 verify_fs_share $user $perm $fs 240 verify_fs_mountpoint $user $perm $fs [all...] |
/titanic_52/usr/src/cmd/fs.d/ufs/fsirand/ |
H A D | fsirand.c | 52 #include <sys/fs/ufs_fs.h> 54 #include <sys/fs/ufs_inode.h> 62 struct fs *fs; in main() local 98 fs = (struct fs *)fsbuf; in main() 99 if ((n = read(fd, (char *)fs, SBSIZE)) != SBSIZE) { in main() 105 if ((fs->fs_magic != FS_MAGIC) && in main() 106 (fs->fs_magic != MTB_UFS_MAGIC)) { in main() 111 if (fs in main() [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/userquota/ |
H A D | userquota_011_pos.ksh | 42 # 1. Create a pool, and create fs with preset user,group quota 51 for ds in $TESTPOOL/fs $TESTPOOL/fs-rename $TESTPOOL/fs-clone; do 66 -o groupquota@$QGROUP=$GQUOTA_SIZE $TESTPOOL/fs 68 log_must $ZFS snapshot $TESTPOOL/fs@snap 72 log_must check_quota "userquota@$QUSER1" $TESTPOOL/fs@snap "$UQUOTA_SIZE" 73 log_must check_quota "groupquota@$QGROUP" $TESTPOOL/fs@snap "$GQUOTA_SIZE" 76 log_note "clone fs gets its parent's userquota/groupquota initially" 79 $TESTPOOL/fs [all...] |
/titanic_52/usr/src/boot/sys/boot/common/ |
H A D | ufsread.c | 50 #include <ufs/ffs/fs.h> 54 (see sys/ufs/ffs/fs.h rev 1.39) so that small boot loaders (e.g. boot2) can 57 #define cgbase(fs, c) ((ufs2_daddr_t)((fs)->fs_fpg * (c))) argument 70 #define INDIRPERVBLK(fs) (NINDIR(fs) / ((fs)->fs_bsize >> VBLKSHIFT)) argument 71 #define IPERVBLK(fs) (INOPB(fs) / ((fs) argument 72 INO_TO_VBA(fs,ipervblk,x) global() argument 76 FS_TO_VBA(fs,fsb,off) global() argument 78 FS_TO_VBO(fs,fsb,off) global() argument 103 static struct fs fs; global() variable [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/cli_root/zfs_mount/ |
H A D | zfs_mount.kshlib | 41 # Create pool and ( fs | container | vol ) with the given parameters, 44 function setup_filesystem #disklist #pool #fs #mntpoint #type #vdev 48 typeset fs=${3##/} 53 if [[ -z $pool || -z $fs || -z $mntpoint ]]; then 54 log_note "Missing parameter: (\"$pool\", \"$fs\", \"$mntpoint\")" 74 datasetexists $pool/$fs && \ 75 log_must cleanup_filesystem $pool $fs 83 'ctr') log_must $ZFS create $pool/$fs 84 log_must $ZFS set mountpoint=$mntpoint $pool/$fs 86 'vol') log_must $ZFS create -V $VOLSIZE $pool/$fs [all...] |
H A D | zfs_mount_007_pos.ksh | 71 typeset fs=$1 95 val=$(get_prop $prop $fs) || log_fail "get_prop $prop $fs" 105 fs=$TESTPOOL/$TESTFS 109 orig_val=$(get_prop $property $fs) 110 (($? != 0)) && log_fail "get_prop $property $fs" 113 reverse_opt=$(get_reverse_option $fs $property) 114 log_must $ZFS mount -o remount,$reverse_opt $fs 116 cur_val=$(get_prop $property $fs) 117 (($? != 0)) && log_fail "get_prop $property $fs" [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/cli_root/zfs/ |
H A D | zfs_002_pos.ksh | 54 for ds in $fs1 $fs $ctr; do 75 fs=$ctr/$TESTFS 77 snap=$fs@$TESTSNAP 81 typeset cmds=("create $fs" "list $fs" "snapshot $snap" "set snapdir=hidden $fs" \ 82 "get snapdir $fs" "rollback $snap" "inherit snapdir $fs" \ 83 "rename $fs $fs [all...] |
/titanic_52/usr/src/cmd/fs.d/ufs/fsck/ |
H A D | pass5.c | 33 #include <sys/fs/ufs_fs.h> 35 #include <sys/fs/ufs_inode.h> 50 struct fs *fs = &sblock; in pass5() local 68 newcg->cg_niblk = fs->fs_ipg; in pass5() 70 if (fs->fs_postblformat != FS_DYNAMICPOSTBLFMT) { in pass5() 72 fs->fs_postblformat); in pass5() 93 newcg->cg_boff = newcg->cg_btotoff + fs->fs_cpg * sizeof (daddr32_t); in pass5() 95 fs->fs_cpg * fs in pass5() 251 cg_blks(fs, newcg, j)[cbtorpos(fs, i)]++; pass5() local [all...] |
/titanic_52/usr/src/uts/sparc/udfs/ |
H A D | Makefile | 68 LDFLAGS += -dy -N fs/specfs 109 -cstyle -p ../../common/fs/udfs/udf_alloc.c 110 -cstyle -p ../../common/fs/udfs/udf_bmap.c 111 -cstyle -p ../../common/fs/udfs/udf_dir.c 112 -cstyle -p ../../common/fs/udfs/udf_inode.c 113 -cstyle -p ../../common/fs/udfs/udf_subr.c 114 -cstyle -p ../../common/fs/udfs/udf_vfsops.c 115 -cstyle -p ../../common/fs/udfs/udf_vnops.c 116 -keywords ../../common/fs/udfs/udf_alloc.c 117 -keywords ../../common/fs/udf [all...] |
/titanic_52/usr/src/pkg/manifests/ |
H A D | system-kernel.man7fs.inc | 17 file path=usr/share/man/man7fs/bootfs.7fs 18 file path=usr/share/man/man7fs/ctfs.7fs 19 file path=usr/share/man/man7fs/dcfs.7fs 20 file path=usr/share/man/man7fs/dev.7fs 21 file path=usr/share/man/man7fs/devfs.7fs 22 file path=usr/share/man/man7fs/fd.7fs 23 file path=usr/share/man/man7fs/hsfs.7fs 24 file path=usr/share/man/man7fs/lofs.7fs 25 file path=usr/share/man/man7fs/objfs.7fs 26 file path=usr/share/man/man7fs/sharefs.7fs [all...] |
/titanic_52/usr/src/test/zfs-tests/tests/functional/history/ |
H A D | history_006_neg.ksh | 50 if datasetexists $fs ; then 51 log_must $ZFS destroy -rf $fs 53 log_must $ZFS create $fs 61 fs=$TESTPOOL/$TESTFS; snap1=$fs@snap1; snap2=$fs@snap2 62 log_must $ZFS set sharenfs=on $fs 70 log_must $ZFS list $fs > /dev/null 71 log_must $ZFS get mountpoint $fs > /dev/null 72 log_must $ZFS unmount $fs [all...] |
/titanic_52/usr/src/cmd/fm/dicts/ |
H A D | ZFS.dict | 31 ereport.fs.zfs.pool.corrupt_cache=1 32 ereport.fs.zfs.device.missing_r=2 33 ereport.fs.zfs.device.missing_nr=3 34 ereport.fs.zfs.device.corrupt_label_r=4 35 ereport.fs.zfs.device.corrupt_label_nr=5 36 ereport.fs.zfs.pool.bad_guid_sum=6 37 ereport.fs.zfs.pool.corrupt_pool=7 38 ereport.fs.zfs.object.corrupt_data=8 39 ereport.fs.zfs.device.failing=9 40 ereport.fs [all...] |
/titanic_52/usr/src/cmd/fs.d/ufs/fsdb/ |
H A D | fsdb.c | 66 #include <sys/fs/ufs_fsdir.h> 67 #include <sys/fs/ufs_fs.h> 68 #include <sys/fs/ufs_inode.h> 69 #include <sys/fs/ufs_acl.h> 70 #include <sys/fs/ufs_log.h> 73 #include <ufs/fs.h> 92 #define cg_blks(fs, cgp, cylno) (((cgp))->cg_b[cylno]) argument 140 #define SB (sizeof (struct fs)) 141 #define BLKSIZE (fs->fs_bsize) /* for clarity */ 142 #define FRGSIZE (fs 209 struct fs *fs; global() variable 216 struct fs filesystem, *fs; /* super block */ global() variable 4544 printsb(struct fs * fs) printsb() argument 4618 if (fs_postbl(fs, c)[i] == -1) printsb() local 4627 if (fs_rotbl(fs)[j] == 0) printsb() local [all...] |