Home
last modified time | relevance | path

Searched refs:numsecs (Results 1 – 6 of 6) sorted by relevance

/netbsd-src/external/cddl/osnet/dist/uts/common/fs/zfs/
H A Dvdev_disk.c148 uint64_t numsecs; in vdev_disk_open() local
263 error = getdisksize(vp, &numsecs, &secsize); in vdev_disk_open()
269 *psize = numsecs * secsize; in vdev_disk_open()
293 dkw.dkw_offset == 0 && dkw.dkw_size == numsecs) in vdev_disk_open()
/netbsd-src/usr.sbin/makefs/cd9660/
H A Dcd9660_write.c389 const unsigned char *buf, int numsecs) in cd9660_write_filedata() argument
399 success = fwrite(buf, diskStructure->sectorSize * numsecs, 1, fd); in cd9660_write_filedata()
405 success = diskStructure->sectorSize * numsecs; in cd9660_write_filedata()
/netbsd-src/sys/dev/raidframe/
H A Drf_netbsdkintf.c2911 const char *cname, RF_SectorCount_t size, uint64_t numsecs, in rf_get_component() argument
2922 if (rf_reasonable_label(clabel, numsecs) && in rf_get_component()
2963 uint64_t numsecs; in rf_find_raid_components() local
3042 error = getdisksize(vp, &numsecs, &secsize); in rf_find_raid_components()
3077 device_xname(dv), dkw.dkw_size, numsecs, secsize); in rf_find_raid_components()
3137 label.d_partitions[i].p_size, numsecs, secsize); in rf_find_raid_components()
3167 label.d_partitions[RAW_PART].p_size, numsecs, secsize); in rf_find_raid_components()
3176 rf_reasonable_label(RF_ComponentLabel_t *clabel, uint64_t numsecs) in rf_reasonable_label() argument
3201 if (numsecs) in rf_reasonable_label()
3202 rf_fix_old_label_size(clabel, numsecs); in rf_reasonable_label()
3219 rf_fix_old_label_size(RF_ComponentLabel_t * clabel,uint64_t numsecs) rf_fix_old_label_size() argument
3772 uint64_t numsecs; rf_getdisksize() local
[all...]
/netbsd-src/sys/fs/adosfs/
H A Dadvfsops.c169 uint64_t numsecs; in adosfs_mountfs() local
187 error = getdisksize(devvp, &numsecs, &secsize); in adosfs_mountfs()
227 blksperdisk = numsecs / secsperblk; in adosfs_mountfs()
/netbsd-src/sys/ufs/ffs/
H A Dffs_wapbl.c545 uint64_t numsecs; in wapbl_log_position()
586 error = getdisksize(devvp, &numsecs, &secsize); in wapbl_log_position()
590 logend = btodb(numsecs * secsize); in wapbl_log_position()
541 uint64_t numsecs; wapbl_log_position() local
/netbsd-src/sys/dev/
H A Ddksubr.c245 uint64_t numsecs; in dk_translate() local
252 numsecs = dk->dk_geom.dg_secperunit; in dk_translate()
270 uint64_t numblocks = btodb(numsecs * secsize); in dk_translate()