Searched refs:sbbuf (Results 1 - 7 of 7) sorted by relevance
/netbsd-6-1-5-RELEASE/usr.sbin/installboot/ |
H A D | 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))
|
H A D | 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;
|
/netbsd-6-1-5-RELEASE/sys/ufs/ffs/ |
H A D | ffs_snapshot.c | 182 void *sbbuf = NULL; 270 error = snapshot_copyfs(mp, vp, &sbbuf); 271 copy_fs = (struct fs *)((char *)sbbuf + blkoff(fs, fs->fs_sblockloc)); 322 error = snapshot_writefs(mp, vp, sbbuf); 357 if (sbbuf != NULL) { 359 free(sbbuf, M_UFSMNT); 542 snapshot_copyfs(struct mount *mp, struct vnode *vp, void **sbbuf) 556 *sbbuf = malloc(fs->fs_bsize, M_UFSMNT, M_WAITOK); 559 memset(*sbbuf, 0, loc); 560 copyfs = (struct fs *)((char *)(*sbbuf) [all...] |
/netbsd-6-1-5-RELEASE/sys/lib/libsa/ |
H A D | minixfs3.c | 461 static uint8_t sbbuf[MINBSIZE]; local 472 SUPER_BLOCK_OFF / DEV_BSIZE, MINBSIZE, sbbuf, &buf_size); 479 mfs_sbload((void *)sbbuf, fs);
|
H A D | ext2fs.c | 436 static uint8_t sbbuf[SBSIZE]; local 442 SBOFF / DEV_BSIZE, SBSIZE, sbbuf, &buf_size); 449 e2fs_sbload((void *)sbbuf, &ext2fs); 460 e2fs_sbload((void *)sbbuf, &fs->e2fs);
|
/netbsd-6-1-5-RELEASE/usr.sbin/makefs/ |
H A D | ffs.c | 1049 char sbbuf[FFS_MAXBSIZE]; local 1065 ffs_rdfs(fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, &sbbuf, local 1067 cgp = (struct cg *)sbbuf; 1118 ffs_wtfs(fsbtodb(fs, cgtod(fs, cg)), (int)fs->fs_cgsize, &sbbuf, local
|
/netbsd-6-1-5-RELEASE/sbin/resize_ffs/ |
H A D | resize_ffs.c | 83 static char sbbuf[2 * SBLOCKSIZE] variable 941 * overwriting anything important by this. (The choice of sbbuf as 944 writeat(fsbtodb(newsb,newsb->fs_size - 1), &sbbuf, newsb->fs_fsize); 2115 oldsb = (struct fs *) & sbbuf; 2116 newsb = (struct fs *) (SBLOCKSIZE + (char *) &sbbuf);
|
Completed in 184 milliseconds