Searched refs:block_size (Results 51 - 75 of 112) sorted by relevance

12345

/haiku/src/preferences/virtualmemory/
H A DSettings.cpp188 if (volCapacity == volStat.total_blocks * volStat.block_size)
234 info.total_blocks * info.block_size);
/haiku/src/system/kernel/disk_device_manager/
H A DKDiskDevice.cpp393 fPartitionData.block_size = fDeviceData.geometry.bytes_per_sector;
396 fPartitionData.size = (off_t)fPartitionData.block_size
H A DKPartition.cpp75 fPartitionData.block_size = 0;
444 if (fPartitionData.block_size != blockSize) {
445 fPartitionData.block_size = blockSize;
454 return fPartitionData.block_size;
1291 data->block_size = BlockSize();
/haiku/src/bin/bfs_tools/lib/
H A DDisk.h47 uint32 BlockSize() const { return fSuperBlock.block_size; }
H A Dbfs.h45 uint32 block_size; member in struct:disk_super_block
/haiku/src/add-ons/kernel/file_systems/udf/
H A Dkernel_interface.cpp80 "content_size = %lld, block_size = %lu\n", fd, partition->id,
82 partition->block_size));
90 partition->block_size, blockShift, primaryVolumeDescriptor,
117 partition->block_size = volumeDescriptor.logical_block_size();
158 info->block_size = volume->BlockSize();
/haiku/src/add-ons/kernel/partitioning_systems/amiga/
H A Damiga_rdb.cpp201 child->block_size = environment.BlockSize();
/haiku/src/add-ons/kernel/file_systems/bfs/
H A Dbfs.h63 uint32 block_size; member in struct:BFS::disk_super_block
87 uint32 BlockSize() const { return BFS_ENDIAN_TO_HOST_INT32(block_size); }
H A DVolume.cpp41 || (int32)block_size != inode_size
75 block_size = inode_size = HOST_ENDIAN_TO_BFS_INT32(blockSize);
/haiku/src/tests/add-ons/kernel/partitioning_systems/
H A DPartitioningSystemsTest.cpp83 partition->block_size = device->geometry.bytes_per_sector;
126 printf(" block_size %lu\n", data->block_size);
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/
H A Dscsi_cd.cpp97 const uint32 blockSize = info->block_size;
209 devfs_compute_geometry_size(geometry, info->capacity, info->block_size);
779 size_t size = info->capacity * info->block_size;
902 if (info->block_size != blockSize) {
909 if (info->block_size != 0) {
910 dprintf("old %" B_PRId32 ", new %" B_PRId32 "\n", info->block_size,
947 info->block_size = blockSize;
1079 info->block_size = 0;
/haiku/headers/libs/agg/
H A Dagg_path_storage.h38 block_size = 1 << block_shift, enumerator in enum:agg::vertex_block_storage::block_scale_e
39 block_mask = block_size - 1,
95 block_size * 2 +
96 block_size / (sizeof(T) / sizeof(unsigned char)));
326 pod_allocator<T>::allocate(block_size * 2 +
327 block_size / (sizeof(T) / sizeof(unsigned char)));
330 (unsigned char*)(m_coord_blocks[nb] + block_size * 2);
/haiku/src/system/libroot/posix/glibc/libio/
H A Dfileops.c1349 _IO_size_t block_size, do_write; local
1356 block_size = f->_IO_buf_end - f->_IO_buf_base;
1357 do_write = to_do - (block_size >= 128 ? to_do % block_size : 0);
1451 _IO_size_t block_size = fp->_IO_buf_end - fp->_IO_buf_base; variable
1452 if (block_size >= 128)
1453 count -= want % block_size;
/haiku/src/tools/fs_shell/
H A Dfuse.cpp392 sfs->f_bsize = sfs->f_frsize = info.block_size;
518 blkSize = info.block_size;
/haiku/src/system/kernel/cache/
H A Dblock_cache.cpp217 size_t block_size; member in struct:__anon39::block_cache
506 fSize(cache->block_size),
1282 size_t blockSize = fCache->block_size;
1403 block_size(blockSize),
1443 buffer_cache = create_object_cache_etc("block cache buffers", block_size,
1838 && memcmp(block->current_data, block->compare, cache->block_size)) {
1944 int32 blockSize = cache->block_size;
2012 memset(block->current_data, 0, cache->block_size);
2082 memcpy(block->original_data, block->current_data, cache->block_size);
2102 memcpy(block->parent_data, block->current_data, cache->block_size);
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DRootInode.cpp116 fInfoCache.block_size = ioSize;
/haiku/headers/private/userlandfs/fuse/
H A Dfuse_compat.h162 long block_size; member in struct:fuse_statfs_compat1
/haiku/src/add-ons/translators/jpeg2000/
H A DJPEG2000Translator.cpp844 int block_size = 65536; local
845 void* buffer = malloc(block_size);
849 block_size = 1024;
855 ssize_t to_read = block_size;
/haiku/src/tests/add-ons/kernel/file_systems/bfs/dump_log/
H A Ddump_log.cpp30 || (int32)block_size != inode_size
/haiku/src/add-ons/kernel/partitioning_systems/atari/
H A Datari.cpp197 child->block_size = SECTSZ;
/haiku/src/tests/kits/storage/
H A DVolumeTest.cpp134 CHK(volume.Capacity() == info.total_blocks * info.block_size);
135 CHK(volume.FreeBytes() == info.free_blocks * info.block_size);
/haiku/src/add-ons/kernel/file_systems/reiserfs/
H A Dkernel_interface.cpp89 partition->block_size = volume->GetBlockSize();
163 info->block_size = volume->GetBlockSize();
/haiku/src/add-ons/kernel/bus_managers/ata/
H A DATADevice.cpp182 data.block_size = B_HOST_TO_BENDIAN_INT32(fBlockSize);
216 data.block_size = B_HOST_TO_BENDIAN_INT32(fBlockSize);
/haiku/src/add-ons/kernel/generic/scsi_periph/
H A Dio.cpp234 uint32 blockSize = device->block_size;
529 const uint32 blockSize = device->block_size;
/haiku/src/add-ons/kernel/file_systems/exfat/
H A Dkernel_interface.cpp139 partition->block_size = 1 << cookie->super_block.BlockShift();
204 info->block_size = volume->BlockSize();

Completed in 390 milliseconds

12345