Searched refs:DKIOCGETBLOCKCOUNT (Results 1 - 25 of 25) sorted by relevance

/macosx-10.10.1/diskdev_cmds-576/disklib/
H A Ddkdisklabel.c78 if ( (error = ioctl(fd, DKIOCGETBLOCKCOUNT, &numblks)) < 0 )
/macosx-10.10.1/hfs-285/CopyHFSMeta/
H A DDeviceWrapper.c133 if (ioctl(ctx.fd, DKIOCGETBLOCKCOUNT, &blockCount) == -1) {
H A Dutil.c103 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &dev.blockCount) == -1) {
/macosx-10.10.1/hfs-285/fsck_hfs/dfalib/
H A DSDevice.c49 if (ioctl(driveRefNum, DKIOCGETBLOCKCOUNT, &devBlockCount) < 0) {
50 plog("ioctl(DKIOCGETBLOCKCOUNT) for fd %d: %s\n", driveRefNum, strerror(errno));
/macosx-10.10.1/xnu-2782.1.97/bsd/sys/
H A Ddisk.h51 * DKIOCGETBLOCKCOUNT get media's block count
141 #define DKIOCGETBLOCKCOUNT _IOR('d', 25, uint64_t) macro
/macosx-10.10.1/diskdev_cmds-576/fdisk.tproj/
H A Ddisk.c174 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &size) == -1) {
/macosx-10.10.1/hfs-285/hfs_util/
H A Dhfsutil_jnl.c266 if (ioctl(fd, DKIOCGETBLOCKCOUNT, (caddr_t)&blkcnt)) {
690 if (ioctl(fd, DKIOCGETBLOCKCOUNT, (caddr_t)&blkcnt)) {
986 if (ioctl(fd, DKIOCGETBLOCKCOUNT, (caddr_t)&blkcnt)) {
1144 if (ioctl(fd, DKIOCGETBLOCKCOUNT, (caddr_t)&blkcnt)) {
/macosx-10.10.1/libutil-38/
H A Dwipefs.cpp149 if (ioctl(fd, DKIOCGETBLOCKCOUNT, (char *)&numBlocks) < 0) {
/macosx-10.10.1/xnu-2782.1.97/bsd/hfs/
H A Dhfs_vfsops.c1302 if (VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t)&log_blkcnt, 0, context)) {
1306 printf("hfs_mountfs: DKIOCGETBLOCKCOUNT failed\n");
1351 if (VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t)&log_blkcnt, 0, context)) {
1353 printf("hfs_mountfs: DKIOCGETBLOCKCOUNT (2) failed\n");
1531 if (VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t)&log_blkcnt, 0, context)) {
1595 if (VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT,
1598 printf("hfs_mountfs: DKIOCGETBLOCKCOUNT (3) failed\n");
1786 if (VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t)&log_blkcnt, 0, context)) {
1788 printf("hfs_mountfs: DKIOCGETBLOCKCOUNT (4) failed \n");
3771 if ((retval = VNOP_IOCTL(hfsmp->hfs_devvp, DKIOCGETBLOCKCOUNT,
[all...]
H A Dhfs_resize.c126 if (VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t)&sector_count, 0, context)) {
/macosx-10.10.1/disklabel-6/
H A Dutil.c873 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &bc) == -1) {
/macosx-10.10.1/hfs-285/fsck_hfs/
H A Dfsck_hfs.c925 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &devBlockTotal) == -1) {
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/
H A Dmemdev.c409 case DKIOCGETBLOCKCOUNT:
/macosx-10.10.1/xnu-2782.1.97/bsd/kern/
H A Dkern_symfile.c304 error = do_ioctl(p1, p2, DKIOCGETBLOCKCOUNT, (caddr_t) &fileblk);
/macosx-10.10.1/xnu-2782.1.97/bsd/dev/vn/
H A Dvn.c910 case DKIOCGETBLOCKCOUNT:
985 case DKIOCGETBLOCKCOUNT:
/macosx-10.10.1/gpt-12/
H A Dgpt.c625 ioctl(fd, DKIOCGETBLOCKCOUNT, &mediasz) == -1)
/macosx-10.10.1/hfs-285/newfs_hfs/
H A Dnewfs_hfs.c832 if (ioctl(fso, DKIOCGETBLOCKCOUNT, &dip.physTotalSectors) < 0)
/macosx-10.10.1/IOStorageFamily-182.1.1/
H A DIOMediaBSDClient.cpp1253 case DKIOCGETBLOCKCOUNT: // (uint64_t *)
2171 case DKIOCGETBLOCKCOUNT: // (uint64_t *)
/macosx-10.10.1/msdosfs-209.1.1/msdosfs.kextproj/msdosfs.kmodproj/
H A Dmsdosfs_vfsops.c626 error = VNOP_IOCTL(devvp, DKIOCGETBLOCKCOUNT, (caddr_t) &block_count, 0, context);
/macosx-10.10.1/msdosfs-209.1.1/newfs_msdos.tproj/
H A Dnewfs_msdos.c1049 if (ioctl(fd, DKIOCGETBLOCKCOUNT, &block_count) == -1)
1107 * count returned by DKIOCGETBLOCKCOUNT, without adjusting for
/macosx-10.10.1/xnu-2782.1.97/bsd/miscfs/specfs/
H A Dspec_vnops.c405 if (!VNOP_IOCTL(vp, DKIOCGETBLOCKCOUNT, (caddr_t)&blkcnt, 0, ap->a_context)) {
/macosx-10.10.1/msdosfs-209.1.1/userfs_plugin/
H A Dmsdosfs.c1883 err = ioctl(device_fd(device), DKIOCGETBLOCKCOUNT, &blockCount);
/macosx-10.10.1/BootCache-109/
H A Dkext.c3162 DKIOCGETBLOCKCOUNT,
/macosx-10.10.1/ntfs-84/kext/
H A Dntfs_vfsops.c4263 err = VNOP_IOCTL(dev_vn, DKIOCGETBLOCKCOUNT, (caddr_t)&nr_blocks, 0,
4267 "(DKIOCGETBLOCKCOUNT ioctl returned error "
/macosx-10.10.1/xnu-2782.1.97/tools/tests/xnu_quick_test/
H A Dtests.c3056 my_err = ioctl( my_fd, DKIOCGETBLOCKCOUNT, &my_block_count );
3058 printf( "ioctl DKIOCGETBLOCKCOUNT failed with error %d - \"%s\" \n", errno, strerror( errno) );

Completed in 440 milliseconds