/kernel/linux/linux-5.10/drivers/md/persistent-data/ |
H A D | dm-array.c | 389 struct resize { struct 414 * 'old' refers to before the resize, 'new' after. 437 static int drop_blocks(struct resize *resize, unsigned begin_index, in drop_blocks() argument 444 r = dm_btree_remove(&resize->info->btree_info, resize->root, in drop_blocks() 445 &key, &resize->root); in drop_blocks() 465 static int shrink(struct resize *resize) in shrink() argument 475 if (resize in shrink() 505 grow_extend_tail_block(struct resize *resize, uint32_t new_nr_entries) grow_extend_tail_block() argument 522 grow_add_tail_block(struct resize *resize) grow_add_tail_block() argument 531 grow_needs_more_blocks(struct resize *resize) grow_needs_more_blocks() argument 558 grow(struct resize *resize) grow() argument 660 struct resize resize; array_resize() local [all...] |
/kernel/linux/linux-6.6/drivers/md/persistent-data/ |
H A D | dm-array.c | 387 struct resize { struct 412 * 'old' refers to before the resize, 'new' after. 435 static int drop_blocks(struct resize *resize, unsigned int begin_index, in drop_blocks() argument 443 r = dm_btree_remove(&resize->info->btree_info, resize->root, in drop_blocks() 444 &key, &resize->root); in drop_blocks() 464 static int shrink(struct resize *resize) in shrink() argument 474 if (resize in shrink() 504 grow_extend_tail_block(struct resize *resize, uint32_t new_nr_entries) grow_extend_tail_block() argument 521 grow_add_tail_block(struct resize *resize) grow_add_tail_block() argument 530 grow_needs_more_blocks(struct resize *resize) grow_needs_more_blocks() argument 557 grow(struct resize *resize) grow() argument 668 struct resize resize; array_resize() local [all...] |
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/unittest/audiosourcetest/src/ |
H A D | daudio_ipc_callback_test.cpp | 90 devId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 97 devId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 98 dhId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 101 dhId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 102 reqId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 158 devId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 165 devId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 166 dhId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 169 dhId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 170 reqId.resize(DAUDIO_MAX_DEVICE_ID_LE in HWTEST_F() [all...] |
H A D | daudio_source_proxy_test.cpp | 83 devId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 108 devId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 110 dhId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 120 dhId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 121 reqId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 158 devId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 165 devId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 166 dhId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F()
|
H A D | daudio_source_handler_test.cpp | 118 devId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 131 devId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 132 dhId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 198 devId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F() 202 devId.resize(DAUDIO_LEGAL_DEVICE_ID_LEN); in HWTEST_F() 203 dhId.resize(DAUDIO_MAX_DEVICE_ID_LEN); in HWTEST_F()
|
/kernel/linux/linux-5.10/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 35 #define resize_hpt_debug(resize, ...) \ 37 printk(KERN_DEBUG "RESIZE HPT %p: ", resize); \ 41 #define resize_hpt_debug(resize, ...) \ 668 * instead let the guest retry after the resize operation is complete. in kvmppc_book3s_hv_page_fault() 1214 static int resize_hpt_allocate(struct kvm_resize_hpt *resize) in resize_hpt_allocate() argument 1218 rc = kvmppc_allocate_hpt(&resize->hpt, resize->order); in resize_hpt_allocate() 1222 resize_hpt_debug(resize, "resize_hpt_allocate(): HPT @ 0x%lx\n", in resize_hpt_allocate() 1223 resize->hpt.virt); in resize_hpt_allocate() 1228 static unsigned long resize_hpt_rehash_hpte(struct kvm_resize_hpt *resize, in resize_hpt_rehash_hpte() argument 1383 resize_hpt_rehash(struct kvm_resize_hpt *resize) resize_hpt_rehash() argument 1398 resize_hpt_pivot(struct kvm_resize_hpt *resize) resize_hpt_pivot() argument 1425 resize_hpt_release(struct kvm *kvm, struct kvm_resize_hpt *resize) resize_hpt_release() argument 1445 struct kvm_resize_hpt *resize = container_of(work, resize_hpt_prepare_work() local 1493 struct kvm_resize_hpt *resize; kvm_vm_ioctl_resize_hpt_prepare() local 1559 struct kvm_resize_hpt *resize; kvm_vm_ioctl_resize_hpt_commit() local [all...] |
/kernel/linux/linux-6.6/arch/powerpc/kvm/ |
H A D | book3s_64_mmu_hv.c | 37 #define resize_hpt_debug(resize, ...) \ 39 printk(KERN_DEBUG "RESIZE HPT %p: ", resize); \ 43 #define resize_hpt_debug(resize, ...) \ 692 * instead let the guest retry after the resize operation is complete. in kvmppc_book3s_hv_page_fault() 1212 static int resize_hpt_allocate(struct kvm_resize_hpt *resize) in resize_hpt_allocate() argument 1216 rc = kvmppc_allocate_hpt(&resize->hpt, resize->order); in resize_hpt_allocate() 1220 resize_hpt_debug(resize, "%s(): HPT @ 0x%lx\n", __func__, in resize_hpt_allocate() 1221 resize->hpt.virt); in resize_hpt_allocate() 1226 static unsigned long resize_hpt_rehash_hpte(struct kvm_resize_hpt *resize, in resize_hpt_rehash_hpte() argument 1381 resize_hpt_rehash(struct kvm_resize_hpt *resize) resize_hpt_rehash() argument 1396 resize_hpt_pivot(struct kvm_resize_hpt *resize) resize_hpt_pivot() argument 1423 resize_hpt_release(struct kvm *kvm, struct kvm_resize_hpt *resize) resize_hpt_release() argument 1443 struct kvm_resize_hpt *resize = container_of(work, resize_hpt_prepare_work() local 1491 struct kvm_resize_hpt *resize; kvm_vm_ioctl_resize_hpt_prepare() local 1557 struct kvm_resize_hpt *resize; kvm_vm_ioctl_resize_hpt_commit() local [all...] |
/foundation/graphic/graphic_3d/lume/LumeRender/src/gles/ |
H A D | node_context_descriptor_set_manager_gles.cpp | 87 newSet.buffers.resize(bufferCount); in CreateDescriptorSet() 88 newSet.images.resize(imageCount); in CreateDescriptorSet() 89 newSet.samplers.resize(samplerCount); in CreateDescriptorSet() 94 currCpuDescriptorSet.dynamicOffsetDescriptors.resize(dynamicOffsetCount); in CreateDescriptorSet() 137 newSet.buffers.resize(bufferCount); in CreateOneFrameDescriptorSet() 138 newSet.images.resize(imageCount); in CreateOneFrameDescriptorSet() 139 newSet.samplers.resize(samplerCount); in CreateOneFrameDescriptorSet() 145 currCpuDescriptorSet.dynamicOffsetDescriptors.resize(dynamicOffsetCount); in CreateOneFrameDescriptorSet()
|
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/ |
H A D | zlib_compression.cpp | 43 destData.resize(destLen); in Compress() 52 destData.resize(destLen); in Compress() 67 destData.resize(destLen); in Uncompress() 77 destData.resize(destDataLen); in Uncompress()
|
H A D | performance_analysis.cpp | 48 counts_.resize(stepNum_); in Initialization() 49 timeRecordData_.timeInfo.resize(stepNum_); in Initialization() 50 stepTimeRecordInfo_.resize(stepNum_); in Initialization() 219 counts_.resize(stepNum_); in Clear() 220 timeRecordData_.timeInfo.resize(stepNum_); in Clear() 221 stepTimeRecordInfo_.resize(stepNum_); in Clear()
|
/foundation/ability/ability_runtime/frameworks/native/appkit/app/ |
H A D | dump_ffrt_helper.cpp | 27 result.resize(MAX_BUF_SIZE); in DumpFfrt() 31 result.resize(printNum); in DumpFfrt() 34 result.resize(0); in DumpFfrt()
|
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/pipeline/ |
H A D | rs_dirty_region_manager.cpp | 27 dirtyHistory_.resize(HISTORY_QUEUE_MAX_SIZE); in RSDirtyRegionManager() 28 debugRegionEnabled_.resize(DebugRegionType::TYPE_MAX); in RSDirtyRegionManager() 29 dirtyCanvasNodeInfo_.resize(DirtyRegionType::TYPE_AMOUNT); in RSDirtyRegionManager() 30 dirtySurfaceNodeInfo_.resize(DirtyRegionType::TYPE_AMOUNT); in RSDirtyRegionManager() 35 dirtyHistory_.resize(HISTORY_QUEUE_MAX_SIZE); in RSDirtyRegionManager() 36 debugRegionEnabled_.resize(DebugRegionType::TYPE_MAX); in RSDirtyRegionManager() 37 dirtyCanvasNodeInfo_.resize(DirtyRegionType::TYPE_AMOUNT); in RSDirtyRegionManager() 38 dirtySurfaceNodeInfo_.resize(DirtyRegionType::TYPE_AMOUNT); in RSDirtyRegionManager() 241 dirtyCanvasNodeInfo_.resize(DirtyRegionType::TYPE_AMOUNT); in Clear() 243 dirtySurfaceNodeInfo_.resize(DirtyRegionTyp in Clear() [all...] |
/test/xts/hats/useriam/common/src/ |
H A D | iam_hat_test.cpp | 60 data.resize(len); in FillTestUint8Vector() 69 data.resize(len); in FillTestInt8Vector() 78 data.resize(len); in FillTestUint32Vector() 87 data.resize(len); in FillTestInt32Vector() 96 data.resize(len); in FillTestUint64Vector()
|
/foundation/arkui/ace_engine/interfaces/native/node/ |
H A D | waterflow_section_option.cpp | 29 waterFlowSectionOption->sections.resize(1); in OH_ArkUI_WaterFlowSectionOption_Create() 49 option->sections.resize(size); in OH_ArkUI_WaterFlowSectionOption_SetSize() 64 option->sections.resize(static_cast<uint32_t>(index + 1)); in OH_ArkUI_WaterFlowSectionOption_SetItemCount() 83 option->sections.resize(static_cast<uint32_t>(index + 1)); in OH_ArkUI_WaterFlowSectionOption_SetCrossCount() 101 option->sections.resize(static_cast<uint32_t>(index + 1)); in OH_ArkUI_WaterFlowSectionOption_SetColumnGap() 119 option->sections.resize(static_cast<uint32_t>(index + 1)); in OH_ArkUI_WaterFlowSectionOption_SetRowGap() 135 option->sections.resize(static_cast<uint32_t>(index + 1)); in OH_ArkUI_WaterFlowSectionOption_SetMargin()
|
/kernel/linux/linux-5.10/drivers/media/i2c/ |
H A D | rj54n1cb0c.c | 164 unsigned short resize; /* Sensor * 1024 / resize = Output */ member 561 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 562 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 565 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_set_selection() 573 rj54n1->resize = ret; in rj54n1_set_selection() 630 * the output one, updates the window sizes and returns an error or the resize 638 unsigned int skip, resize, input_ in rj54n1_sensor_scale() local [all...] |
/kernel/linux/linux-6.6/drivers/media/i2c/ |
H A D | rj54n1cb0c.c | 164 unsigned short resize; /* Sensor * 1024 / resize = Output */ member 561 output_w = (input_w * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 562 output_h = (input_h * 1024 + rj54n1->resize / 2) / rj54n1->resize; in rj54n1_set_selection() 565 input_w, input_h, rj54n1->resize, output_w, output_h); in rj54n1_set_selection() 573 rj54n1->resize = ret; in rj54n1_set_selection() 630 * the output one, updates the window sizes and returns an error or the resize 638 unsigned int skip, resize, input_ in rj54n1_sensor_scale() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/cxlflash/ |
H A D | vlun.c | 27 * marshal_virt_to_resize() - translate uvirtual to resize structure 29 * @resize: Destination structure for the translate/copy. 32 struct dk_cxlflash_resize *resize) in marshal_virt_to_resize() 34 resize->hdr = virt->hdr; in marshal_virt_to_resize() 35 resize->context_id = virt->context_id; in marshal_virt_to_resize() 36 resize->rsrc_handle = virt->rsrc_handle; in marshal_virt_to_resize() 37 resize->req_size = virt->lun_size; in marshal_virt_to_resize() 38 resize->last_lba = virt->last_lba; in marshal_virt_to_resize() 719 * @resize: Resize ioctl data structure. 731 struct dk_cxlflash_resize *resize) in _cxlflash_vlun_resize() 31 marshal_virt_to_resize(struct dk_cxlflash_uvirtual *virt, struct dk_cxlflash_resize *resize) marshal_virt_to_resize() argument 729 _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_resize *resize) _cxlflash_vlun_resize() argument 822 cxlflash_vlun_resize(struct scsi_device *sdev, struct dk_cxlflash_resize *resize) cxlflash_vlun_resize() argument 981 struct dk_cxlflash_resize resize; cxlflash_disk_virtual_open() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/cxlflash/ |
H A D | vlun.c | 27 * marshal_virt_to_resize() - translate uvirtual to resize structure 29 * @resize: Destination structure for the translate/copy. 32 struct dk_cxlflash_resize *resize) in marshal_virt_to_resize() 34 resize->hdr = virt->hdr; in marshal_virt_to_resize() 35 resize->context_id = virt->context_id; in marshal_virt_to_resize() 36 resize->rsrc_handle = virt->rsrc_handle; in marshal_virt_to_resize() 37 resize->req_size = virt->lun_size; in marshal_virt_to_resize() 38 resize->last_lba = virt->last_lba; in marshal_virt_to_resize() 719 * @resize: Resize ioctl data structure. 731 struct dk_cxlflash_resize *resize) in _cxlflash_vlun_resize() 31 marshal_virt_to_resize(struct dk_cxlflash_uvirtual *virt, struct dk_cxlflash_resize *resize) marshal_virt_to_resize() argument 729 _cxlflash_vlun_resize(struct scsi_device *sdev, struct ctx_info *ctxi, struct dk_cxlflash_resize *resize) _cxlflash_vlun_resize() argument 822 cxlflash_vlun_resize(struct scsi_device *sdev, struct dk_cxlflash_resize *resize) cxlflash_vlun_resize() argument 981 struct dk_cxlflash_resize resize; cxlflash_disk_virtual_open() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/engine_adapter/skia_adapter/ |
H A D | skia_vertices.cpp | 45 skPts.resize(vertexCount); in MakeCopy() 54 skTexs.resize(vertexCount); in MakeCopy() 63 skColors.resize(vertexCount); in MakeCopy() 83 skPts.resize(vertexCount); in MakeCopy() 92 skTexs.resize(vertexCount); in MakeCopy() 101 skColors.resize(vertexCount); in MakeCopy()
|
/test/xts/hats/useriam/userauth_additional/src/ |
H A D | user_auth_hdi.cpp | 71 vector.resize(len); in FillExecutorIndexVector() 106 vector.resize(len); in FillCredentialInfoVector() 115 vector.resize(len); in FillEnrolledInfoVector() 138 info.publicKey.resize(32); in HWTEST_F() 167 info.publicKey.resize(32); in HWTEST_F() 188 info.publicKey.resize(32); in HWTEST_F() 289 info.publicKey.resize(32); in HWTEST_F() 343 info.publicKey.resize(32); in HWTEST_F() 372 info.publicKey.resize(32); in HWTEST_F() 466 info.publicKey.resize(3 in HWTEST_F() [all...] |
/test/testfwk/arkxtest/uitest/record/ |
H A D | least_square_impl.cpp | 27 params.resize(paramsNum_, ZERO);
in GetLSMParams() 34 xVals.resize(countNum, ZERO);
in GetLSMParams() 36 yVals.resize(countNum, ZERO);
in GetLSMParams()
|
/applications/standard/calendardata/calendarmanager/napi/src/ |
H A D | calendar_enum_napi.cpp | 91 value.resize(vecSize); in JsEnumIntInit() 97 property.resize(vecSize); in JsEnumIntInit() 127 value.resize(vecSize); in JsEnumStringInit() 133 property.resize(vecSize); in JsEnumStringInit()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/ability/ |
H A D | camera_ability_parse_util.cpp | 206 modeInfo.specInfos.resize(specCount);
in GetSpecInfo() 238 specInfo.streamInfos.resize(streamTypeCount);
in GetStreamInfo() 266 streamInfo.detailInfos.resize(detailCount);
in GetDetailInfo() 278 detailInfo.abilityIds.resize(j - i);
in GetDetailInfo() 302 availableConfig.configInfos.resize(configInfoCount);
in GetAvailableConfigInfo() 308 configInfo.tagIds.resize(j - i + 1);
in GetAvailableConfigInfo() 332 conflictConfig.configInfos.resize(configInfoCount);
in GetConflictConfigInfo() 339 configInfo.tagInfos.resize(tagInfoCount);
in GetConflictConfigInfo()
|
/foundation/graphic/graphic_3d/lume/LumeRender/src/vulkan/ |
H A D | node_context_descriptor_set_manager_vk.cpp | 229 // resize vector data in BeginBackendFrame() 411 newSet.buffers.resize(descSetData.descriptorCounts.bufferCount); in CreateDescriptorSet() 412 newSet.images.resize(descSetData.descriptorCounts.imageCount); in CreateDescriptorSet() 413 newSet.samplers.resize(descSetData.descriptorCounts.samplerCount); in CreateDescriptorSet() 419 currCpuDescriptorSet.dynamicOffsetDescriptors.resize(dynamicOffsetCount); in CreateDescriptorSet() 455 newSet.buffers.resize(descSetData.descriptorCounts.bufferCount); in CreateOneFrameDescriptorSet() 456 newSet.images.resize(descSetData.descriptorCounts.imageCount); in CreateOneFrameDescriptorSet() 457 newSet.samplers.resize(descSetData.descriptorCounts.samplerCount); in CreateOneFrameDescriptorSet() 463 currCpuDescriptorSet.dynamicOffsetDescriptors.resize(dynamicOffsetCount); in CreateOneFrameDescriptorSet() 756 lowLevelDescriptorWriteData_.writeDescriptorSets.resize(descW in ResizeDescriptorSetWriteData() [all...] |
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/list/ |
H A D | list_children_main_size.h | 61 childrenSize_.resize(start, DEFAULT_SIZE); in ChangeData() 71 childrenSize_.resize(start + replaceCount, DEFAULT_SIZE); in ChangeData() 138 childrenSize_.resize(std::max(size, 0), DEFAULT_SIZE); in ResizeChildrenSize()
|