Lines Matching defs:blocks
83 #define BLKGETSIZE _IO(0x12,96) /* Get device size in 512-byte blocks. */
304 * @count: number of blocks to read
309 * blocks of size @bksize bytes each from device @dev at position @pos into the
312 * On success, return the number of successfully read blocks. If this number is
324 * is possible that we return count blocks as being read but that any number
325 * (between zero and count!) of these blocks is actually subject to a multi
352 /* Finally, return the number of complete blocks read. */
360 * @count: number of blocks to write
365 * @count blocks of size @bksize bytes each from data buffer @b to the device
368 * On success, return the number of successfully written blocks. If this number
418 /* Finally, return the number of complete blocks written. */
518 * ntfs_device_size_get - return the size of a device in blocks
522 * Return the number of @block_size sized blocks in the device described by the
552 ntfs_log_debug("BLKGETSIZE nr 512 byte blocks = %lu (0x%lx)\n",
562 ntfs_log_debug("FDGETPRM nr 512 byte blocks = %lu (0x%lx)\n",
585 uint64_t blocks;
590 DKIOCGETBLOCKCOUNT, &blocks) >= 0)
592 ntfs_log_debug("DKIOCGETBLOCKCOUNT nr blocks = %llu (0x%llx)\n",
593 (unsigned long long) blocks,
594 (unsigned long long) blocks);
595 return blocks * sector_size / block_size;