Home
last modified time | relevance | path

Searched refs:bpbBytesPerSec (Results 1 – 10 of 10) sorted by relevance

/dragonfly/sbin/fsck_msdosfs/
H A Dboot.c63 boot->bpbBytesPerSec = block[11] + (block[12] << 8); in readboot()
64 if (boot->bpbBytesPerSec < DOSBOOTBLOCKSIZE_REAL || in readboot()
65 boot->bpbBytesPerSec > DOSBOOTBLOCKSIZE || in readboot()
66 !powerof2(boot->bpbBytesPerSec)) { in readboot()
67 pfatal("Invalid sector size: %u", boot->bpbBytesPerSec); in readboot()
195 SEEK_SET) != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()
221 boot->bpbBytesPerSec, SEEK_SET) in readboot()
222 != boot->bpbFSInfo * boot->bpbBytesPerSec in readboot()
252 boot->bpbBytesPerSec - 1) / boot->bpbBytesPerSec + in readboot()
336 != boot->bpbFSInfo * boot->bpbBytesPerSec in writefsinfo()
[all …]
H A Ddir.c224 cluster_size = boot->bpbSecPerClust * boot->bpbBytesPerSec; in resetDosDirSection()
302 clsz = boot->bpbSecPerClust * boot->bpbBytesPerSec; in delete()
314 off *= boot->bpbBytesPerSec; in delete()
500 buf = malloc(boot->bpbBytesPerSec); in check_subdirectory()
503 boot->bpbBytesPerSec); in check_subdirectory()
507 off *= boot->bpbBytesPerSec; in check_subdirectory()
509 read(fd, buf, boot->bpbBytesPerSec) != (ssize_t)boot->bpbBytesPerSec) { in check_subdirectory()
586 iosize = boot->bpbSecPerClust * boot->bpbBytesPerSec; in readDosDirSection()
607 off *= boot->bpbBytesPerSec; in readDosDirSection()
1129 + boot->FirstCluster * boot->bpbBytesPerSec; in reconnect()
H A Dfat.c572 off *= boot->bpbBytesPerSec; in cleardirty()
574 buffer = malloc(len = boot->bpbBytesPerSec); in cleardirty()
618 fat->fatsize = boot->FATsecs * boot->bpbBytesPerSec; in _readfat()
621 off *= boot->bpbBytesPerSec; in _readfat()
651 fat->fat32_offset = boot->bpbResSectors * boot->bpbBytesPerSec; in _readfat()
1072 dst_off *= boot->bpbBytesPerSec; in copyfat()
1140 dst_base *= boot->bpbBytesPerSec; in writefat()
H A Ddosfs.h46 u_int bpbBytesPerSec; /* bytes per sector */ member
/dragonfly/sbin/newfs_msdos/
H A Dmkfs_msdos.c348 !powerof2(bpb.bpbBytesPerSec)) { in mkfs_msdos()
350 bpb.bpbBytesPerSec); in mkfs_msdos()
385 o.block_size, bpb.bpbBytesPerSec); in mkfs_msdos()
455 bpb.bpbBytesPerSec * NPB) * in mkfs_msdos()
532 DEFBLK, bpb.bpbBytesPerSec); in mkfs_msdos()
558 bpb.bpbBytesPerSec * NPB); in mkfs_msdos()
669 memset(img, 0, bpb.bpbBytesPerSec); in mkfs_msdos()
675 mk2(bsbpb->bpbBytesPerSec, bpb.bpbBytesPerSec); in mkfs_msdos()
758 img += bpb.bpbBytesPerSec; in mkfs_msdos()
954 if (bpb->bpbBytesPerSec) in getdiskinfo()
[all …]
/dragonfly/sys/vfs/msdosfs/
H A Dbpb.h29 uint16_t bpbBytesPerSec; /* bytes per sector */ member
47 uint16_t bpbBytesPerSec; /* bytes per sector */ member
65 uint16_t bpbBytesPerSec; /* bytes per sector */ member
107 int8_t bpbBytesPerSec[2]; /* bytes per sector */ member
125 int8_t bpbBytesPerSec[2]; /* bytes per sector */ member
143 uint8_t bpbBytesPerSec[2]; /* bytes per sector */ member
H A Dbootsect.h84 #define bsBytesPerSec bsBPB.bpbBytesPerSec
H A Dmsdosfsmount.h125 #define pm_BytesPerSec pm_bpb.bpbBytesPerSec
H A Dmsdosfs_vfsops.c363 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in mountmsdosfs()
/dragonfly/usr.sbin/makefs/msdos/
H A Dmsdosfs_vfsops.c113 pmp->pm_BytesPerSec = getushort(b50->bpbBytesPerSec); in m_msdosfs_mount()