/haiku/src/add-ons/kernel/file_systems/ramfs/ |
H A D | AllocationInfo.h | 29 void AddListAllocation(size_t capacity, size_t elementSize);
|
H A D | AllocationInfo.cpp | 129 AllocationInfo::AddListAllocation(size_t capacity, size_t elementSize) argument 132 fListSize += capacity * elementSize;
|
/haiku/src/bin/ |
H A D | listport.c | 82 printf(" ID name capacity queued\n"); 89 this_port.capacity,
|
/haiku/src/kits/network/libnetservices2/ |
H A D | HttpBuffer.h | 28 HttpBuffer(size_t capacity = 8 * 1024);
|
/haiku/headers/private/device/ |
H A D | power_managment.h | 41 uint32 capacity; member in struct:__anon2
|
/haiku/src/apps/diskusage/ |
H A D | Scanner.cpp | 154 fVolumeBytesInUse = fSnapshot->capacity - fSnapshot->freeBytes; 181 off_t previousVolumeCapacity = fSnapshot->capacity; 183 fSnapshot->capacity = fVolume->Capacity(); 187 fVolumeBytesInUse = fSnapshot->capacity - fSnapshot->freeBytes; 198 fSnapshot->capacity = previousVolumeCapacity;
|
H A D | Snapshot.cpp | 118 capacity = volume->Capacity();
|
/haiku/src/kits/storage/disk_device/ |
H A D | PartitioningInfo.cpp | 241 // If the capacity is sufficient, we just need to copy the spaces to create 251 int32 capacity = (fCount + count) * 2; local 255 = new(nothrow) partitionable_space_data[capacity]; 266 fCapacity = capacity;
|
/haiku/src/preferences/virtualmemory/ |
H A D | Settings.cpp | 157 const char* capacity = get_driver_parameter(settings.Get(), local 161 || volume == NULL || capacity == NULL || filesystem == NULL) 164 off_t volCapacity = atoll(capacity);
|
/haiku/src/add-ons/kernel/drivers/disk/scsi/scsi_cd/ |
H A D | scsi_cd.cpp | 90 /*! Iteratively correct the reported capacity by trying to read from the device 101 B_PRIu32", capacity %llu\n", kBufferSize, blockSize, 104 info->capacity = info->original_capacity; 166 info->capacity = errorBlock; 187 if (info->capacity != info->original_capacity) { 188 dprintf("scsi_cd: adjusted capacity from %" B_PRIu64 " to %" B_PRIu64 189 " blocks.\n", info->original_capacity, info->capacity); 209 devfs_compute_geometry_size(geometry, info->capacity, info->block_size); 684 // Get initial capacity, but ignore the result; we do not care 755 if (handle->info->capacity 897 cd_set_capacity(cd_driver_info* info, uint64 capacity, uint32 blockSize, uint32 physicalBlockSize) argument [all...] |
/haiku/src/servers/launch/ |
H A D | Job.h | 121 int32 capacity);
|
H A D | Job.cpp | 625 const int32 capacity = iterator->second.GetInt32("capacity", 630 port = _CreateAndTransferPort(name.String(), capacity); 649 data.AddInt32("capacity", B_LOOPER_PORT_DEFAULT_CAPACITY); 671 Job::_CreateAndTransferPort(const char* name, int32 capacity)
|
/haiku/headers/private/drivers/ |
H A D | scsi_periph.h | 17 - detection of medium capacity 65 void (*set_capacity)(periph_device_cookie cookie, uint64 capacity, 119 // check medium capacity (calls set_capacity callback on success)
|
/haiku/src/add-ons/kernel/drivers/disk/nvme/ |
H A D | nvme_disk.cpp | 86 uint64 capacity; member in struct:__anon25 117 devfs_compute_geometry_size(geometry, info->capacity, info->block_size); 136 nvme_disk_set_capacity(nvme_disk_driver_info* info, uint64 capacity, argument 139 TRACE("set_capacity(device = %p, capacity = %" B_PRIu64 ", blockSize = %" B_PRIu32 ")\n", 140 info, capacity, blockSize); 142 info->capacity = capacity; 223 // store capacity information 626 const off_t ns_end = (handle->info->capacity * handle->info->block_size); 803 const off_t ns_end = (handle->info->capacity * handl [all...] |
/haiku/src/add-ons/kernel/generic/scsi_periph/ |
H A D | block.cpp | 119 // we don't set PMI (partial medium indicator) as we want the whole capacity; 341 // driver doesn't support capacity callback - seems to be no block 365 uint64 capacity; local 369 capacity = capacityInfo.lastLba + 1; 373 capacity = 0; 418 // Although the capacity and block size will be set to 0 in this case, 423 SHOW_FLOW(3, "capacity = %" B_PRIu64 ", block_size = %" B_PRIu32 424 " (%sreported)", capacity, blockSize, 447 capacity, blockSize, physicalBlockSize); 452 device->capacity [all...] |
/haiku/headers/cpp/ |
H A D | stl_bvector.h | 475 if (capacity() - size() >= __n) { 512 size_type capacity() const { function in class:vector 593 if (__x.size() > capacity()) { 664 if (capacity() < __n) { 724 if (capacity() - size() >= __n) { 745 if (capacity() - size() >= __n) { 765 if (capacity() - size() >= __n) {
|
H A D | stl_vector.h | 215 size_type capacity() const function in class:vector 284 if (capacity() < __n) { 523 if (__xlen > capacity()) { 545 if (__n > capacity()) { 578 if (__len > capacity()) {
|
/haiku/src/system/kernel/slab/ |
H A D | ObjectDepot.cpp | 201 object_depot_init(object_depot* depot, size_t capacity, size_t maxCount, argument 209 depot->magazine_capacity = capacity; 422 kprintf(" capacity: %lu\n", depot->magazine_capacity);
|
/haiku/src/tools/vmdkimage/ |
H A D | vmdkimage.cpp | 73 printf(" capacity: %d\n", (int)header.capacity); 303 header.capacity = 0;
|
/haiku/src/kits/tracker/infowindow/ |
H A D | GeneralInfoView.cpp | 707 off_t capacity = 0; local 713 capacity = volume.Capacity(); 714 volumeHasNoCapacity = capacity == 0; 723 capacity += volume.Capacity(); 733 // set to "-" if capacity is 0 739 fSizeString.SetTo(B_TRANSLATE("%capacity (%used used -- %free free)")); 742 string_for_size(capacity, sizeStr, sizeof(sizeStr)); 743 fSizeString.ReplaceFirst("%capacity", sizeStr); 744 string_for_size(capacity - fFreeBytes, sizeStr, sizeof(sizeStr));
|
/haiku/src/system/kernel/ |
H A D | port.cpp | 124 int32 capacity; member in struct:__anon6::Port 140 capacity(queueLength), 254 fCapacity(port->capacity) 264 out.Print("port %ld created, name \"%s\", owner %ld, capacity %ld", 528 port->capacity, port->read_count, port->write_count, 543 kprintf(" capacity: %" B_PRId32 "\n", port->capacity); 664 return port->capacity == 0; 761 info->capacity = port->capacity; [all...] |
/haiku/src/add-ons/accelerants/common/ |
H A D | create_display_modes.cpp | 445 uint32 capacity = (fCapacity + count + 0xf) & ~0xf; 447 capacity * sizeof(display_mode)); 452 fCapacity = capacity;
|
/haiku/src/add-ons/kernel/drivers/power/acpi_battery/ |
H A D | acpi_battery.cpp | 111 batteryStatus->capacity = GetUint32(pointer++); 119 && batteryStatus->capacity == UINT32_MAX) { 264 TRACE("BIF design capacity %i\n", batteryInfo->design_capacity); 268 TRACE("BIF design capacity warning %i\n", 270 TRACE("BIF design capacity low %i\n", batteryInfo->design_capacity_low); 271 TRACE("BIF capacity granularity 1 %i\n", 273 TRACE("BIF capacity granularity 2 %i\n", 364 batteryStatus.capacity, batteryStatus.voltage);
|
/haiku/src/bin/bfs_tools/ |
H A D | chkindex.cpp | 37 BlockRunHashtable(int capacity) argument 38 : Hashtable(capacity)
|
/haiku/headers/libs/agg/ |
H A D | agg_array.h | 175 // Set new capacity. All data is lost, size is set to zero. 176 void capacity(unsigned cap, unsigned extra_tail=0); 177 unsigned capacity() const { return m_capacity; } function in class:agg::pod_vector 220 void pod_vector<T>::capacity(unsigned cap, unsigned extra_tail) function in class:agg::pod_vector 235 capacity(size, extra_tail);
|