Searched refs:sbbuf (Results 1 – 7 of 7) sorted by relevance
/netbsd/usr.sbin/installboot/ |
H A D | ffs.c | 124 char sbbuf[SBLOCKSIZE]; in ffs_find_disk_blocks_ufs1() local 145 sbbuf)) in ffs_find_disk_blocks_ufs1() 147 fs = (struct fs *)sbbuf; in ffs_find_disk_blocks_ufs1() 261 char sbbuf[SBLOCKSIZE]; in ffs_find_disk_blocks_ufs2() local 282 sbbuf)) in ffs_find_disk_blocks_ufs2() 284 fs = (struct fs *)sbbuf; in ffs_find_disk_blocks_ufs2() 490 char sbbuf[SBLOCKSIZE]; in ffs_match_common() local 498 fs = (struct fs *)sbbuf; in ffs_match_common() 501 if (!ffs_read_disk_block(params, loc, SBLOCKSIZE, sbbuf)) in ffs_match_common()
|
H A D | ext2fs.c | 128 uint8_t sbbuf[SBSIZE]; in ext2fs_read_sblock() local 131 sbbuf) == 0) in ext2fs_read_sblock() 133 e2fs_sbload((void *)sbbuf, &fs->e2fs); in ext2fs_read_sblock() 196 uint8_t sbbuf[sizeof(struct m_ext2fs)]; in ext2fs_find_disk_blocks() local 216 fs = (void *)sbbuf; in ext2fs_find_disk_blocks() 402 uint8_t sbbuf[sizeof(struct m_ext2fs)]; in ext2fs_match() local 409 fs = (void *)sbbuf; in ext2fs_match()
|
/netbsd/sys/ufs/ffs/ |
H A D | ffs_snapshot.c | 180 void *sbbuf = NULL; 272 error = snapshot_copyfs(mp, vp, &sbbuf); 324 error = snapshot_writefs(mp, vp, sbbuf); 365 if (sbbuf != NULL) { 367 free(sbbuf, M_UFSMNT); 572 *sbbuf = malloc(fs->fs_bsize, M_UFSMNT, M_WAITOK); 575 memset(*sbbuf, 0, loc); 576 copyfs = (struct fs *)((char *)(*sbbuf) + loc); 596 free(*sbbuf, M_UFSMNT); 597 *sbbuf = NULL; [all …]
|
/netbsd/sys/lib/libsa/ |
H A D | minixfs3.c | 449 static uint8_t sbbuf[MINBSIZE]; in read_sblock() local 460 SUPER_BLOCK_OFF / GETSECSIZE(f), MINBSIZE, sbbuf, &buf_size); in read_sblock() 467 mfs_sbload((void *)sbbuf, fs); in read_sblock()
|
H A D | ext2fs.c | 414 static uint8_t sbbuf[SBSIZE]; in read_sblock() local 420 SBOFF / GETSECSIZE(f), SBSIZE, sbbuf, &buf_size); in read_sblock() 427 e2fs_sbload((void *)sbbuf, &ext2fs); in read_sblock() 438 e2fs_sbload((void *)sbbuf, &fs->e2fs); in read_sblock()
|
/netbsd/usr.sbin/makefs/ |
H A D | ffs.c | 1072 char sbbuf[FFS_MAXBSIZE]; in ffs_write_inode() local 1088 ffs_rdfs(FFS_FSBTODB(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, &sbbuf, in ffs_write_inode() 1090 cgp = (struct cg *)sbbuf; in ffs_write_inode() 1138 ffs_wtfs(FFS_FSBTODB(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, &sbbuf, in ffs_write_inode()
|
/netbsd/sbin/resize_ffs/ |
H A D | resize_ffs.c | 89 static char sbbuf[2 * SBLOCKSIZE] variable 1020 writeat(FFS_FSBTODB(newsb,newsb->fs_size - 1), &sbbuf, newsb->fs_fsize); in grow() 2225 oldsb = (struct fs *) & sbbuf; in main() 2226 newsb = (struct fs *) (SBLOCKSIZE + (char *) &sbbuf); in main()
|