Searched refs:d_bsize (Results 1 – 8 of 8) sorted by relevance
/freebsd/lib/libufs/ |
H A D | block.c | 64 cnt = pread(disk->d_fd, p2, size, (off_t)(blockno * disk->d_bsize)); in bread() 110 cnt = pwrite(disk->d_fd, p2, size, (off_t)(blockno * disk->d_bsize)); in bwrite() 131 ioarg[0] = blockno * disk->d_bsize; in berase_helper() 145 offset = blockno * disk->d_bsize; in berase_helper() 146 zero_chunk_size = 65536 * disk->d_bsize; in berase_helper()
|
H A D | sblock.c | 137 disk->d_bsize = fs->fs_fsize / fsbtodb(fs, 1); in handle_disk_read() 138 disk->d_sblock = fs->fs_sblockloc / disk->d_bsize; in handle_disk_read()
|
H A D | type.c | 160 disk->d_bsize = 1; in ufs_disk_fillout_blank()
|
H A D | libufs.h | 65 int64_t d_bsize; /* device bsize */ member
|
/freebsd/sbin/newfs/ |
H A D | mkfs.c | 136 disk.d_bsize = sectorsize; in mkfs() 536 sblock.fs_sblockloc / disk.d_bsize, in mkfs() 538 berase(&disk, sblock.fs_sblockloc / disk.d_bsize, in mkfs() 545 i = bread(&disk, part_ofs + SBLOCK_UFS1 / disk.d_bsize, chdummy, in mkfs() 553 bwrite(&disk, part_ofs + SBLOCK_UFS1 / disk.d_bsize, in mkfs() 652 part_ofs + (SBLOCK_UFS2 - realsectorsize) / disk.d_bsize, in mkfs() 665 wtfs((SBLOCK_UFS2 - realsectorsize) / disk.d_bsize, in mkfs()
|
H A D | newfs.c | 315 disk.d_bsize = 1; in main()
|
/freebsd/sbin/tunefs/ |
H A D | tunefs.c | 1028 dp.dp1->di_blocks *= sblock.fs_bsize / disk.d_bsize; in journal_alloc() 1030 dp.dp2->di_blocks *= sblock.fs_bsize / disk.d_bsize; in journal_alloc()
|
/freebsd/sbin/dumpfs/ |
H A D | dumpfs.c | 340 cur = fsbtodb(&afs, cgtod(&afs, disk.d_lcg)) * disk.d_bsize; in dumpcg()
|