| /src/usr.sbin/installboot/ |
| ffs.c | 124 char sbbuf[SBLOCKSIZE]; local 145 sbbuf)) 147 fs = (struct fs *)sbbuf; 261 char sbbuf[SBLOCKSIZE]; local 282 sbbuf)) 284 fs = (struct fs *)sbbuf; 490 char sbbuf[SBLOCKSIZE]; local 498 fs = (struct fs *)sbbuf; 501 if (!ffs_read_disk_block(params, loc, SBLOCKSIZE, sbbuf))
|
| ext2fs.c | 128 uint8_t sbbuf[SBSIZE]; local 131 sbbuf) == 0) 133 e2fs_sbload((void *)sbbuf, &fs->e2fs); 196 uint8_t sbbuf[sizeof(struct m_ext2fs)]; local 216 fs = (void *)sbbuf; 402 uint8_t sbbuf[sizeof(struct m_ext2fs)]; local 409 fs = (void *)sbbuf;
|
| /src/sys/ufs/ffs/ |
| ffs_snapshot.c | 180 void *sbbuf = NULL; 272 error = snapshot_copyfs(mp, vp, &sbbuf); 275 copy_fs = (struct fs *)((char *)sbbuf + ffs_blkoff(fs, fs->fs_sblockloc)); 324 error = snapshot_writefs(mp, vp, sbbuf); 365 if (sbbuf != NULL) { 367 free(sbbuf, M_UFSMNT); 559 snapshot_copyfs(struct mount *mp, struct vnode *vp, void **sbbuf) 572 *sbbuf = malloc(fs->fs_bsize, M_UFSMNT, M_WAITOK); 575 memset(*sbbuf, 0, loc); 576 copyfs = (struct fs *)((char *)(*sbbuf) + loc) [all...] |
| /src/sys/lib/libsa/ |
| minixfs3.c | 450 static uint8_t sbbuf[MINBSIZE]; local 461 SUPER_BLOCK_OFF / GETSECSIZE(f), MINBSIZE, sbbuf, &buf_size); 468 mfs_sbload((void *)sbbuf, fs);
|
| ext2fs.c | 415 static uint8_t sbbuf[SBSIZE]; local 421 SBOFF / GETSECSIZE(f), SBSIZE, sbbuf, &buf_size); 428 e2fs_sbload((void *)sbbuf, &ext2fs); 439 e2fs_sbload((void *)sbbuf, &fs->e2fs);
|
| /src/usr.sbin/makefs/ |
| ffs.c | 1102 char sbbuf[FFS_MAXBSIZE]; local 1118 ffs_rdfs(FFS_FSBTODB(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, &sbbuf, local 1120 cgp = (struct cg *)sbbuf; 1169 ffs_wtfs(FFS_FSBTODB(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, &sbbuf, local
|
| /src/sbin/resize_ffs/ |
| resize_ffs.c | 89 static char sbbuf[2 * SBLOCKSIZE] variable 1017 * overwriting anything important by this. (The choice of sbbuf as 1020 writeat(FFS_FSBTODB(newsb,newsb->fs_size - 1), &sbbuf, newsb->fs_fsize); 2225 oldsb = (struct fs *) & sbbuf; 2226 newsb = (struct fs *) (SBLOCKSIZE + (char *) &sbbuf);
|