/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | bundle_util.cpp | 55 // single max hap size 93 APP_LOGE("file size larger than max hap size Max size is: %{public}" PRId64, MAX_HAP_SIZE); in CheckFilePath() 113 if (bundlePaths.size() == 1) { in CheckFilePath() 169 if (fileName.size() > ServiceConstants::PATH_MAX_SIZE) { in CheckFileName() 170 APP_LOGE("bundle file path length %{public}zu too long", fileName.size()); in CheckFileName() 198 APP_LOGD("left free size in the disk path is %{public}" PRId64, freeSize); in CheckSystemSize() 210 bool BundleUtil::CheckSystemFreeSize(const std::string &path, int64_t size) in CheckSystemFreeSize() argument 218 return freeSize >= size; in CheckSystemFreeSize() [all...] |
/foundation/arkui/ace_engine/test/unittest/core/property/ |
H A D | accessibility_property_test_ng.cpp | 68 EXPECT_EQ(actions.size(), 0); in HWTEST_F() 76 EXPECT_EQ(actions.size(), ARRAY_SIZE); in HWTEST_F() 84 EXPECT_EQ(actions.size(), 2); in HWTEST_F() 92 EXPECT_EQ(actions.size(), ARRAY_SIZE); in HWTEST_F() 100 EXPECT_EQ(actions.size(), 2); in HWTEST_F() 108 EXPECT_EQ(actions.size(), 2); in HWTEST_F() 116 EXPECT_EQ(actions.size(), 3); in HWTEST_F() 124 EXPECT_EQ(actions.size(), 0); in HWTEST_F() 132 EXPECT_EQ(actions.size(), 1); in HWTEST_F() 140 EXPECT_EQ(actions.size(), in HWTEST_F() [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/components/ |
H A D | chart_component.cpp | 40 const char * const ChartComponent::SIZE = "size"; 231 seriesOptions_->head->strokeColor, seriesOptions_->head->size, seriesOptions_->head->strokeWidth); in UpdatePointToSerial() 241 seriesOptions_->top->strokeColor, seriesOptions_->top->size, seriesOptions_->top->strokeWidth); in UpdatePointToSerial() 252 seriesOptions_->bottom->size, seriesOptions_->bottom->strokeWidth); in UpdatePointToSerial() 832 uint8_t size = GetSizeVal(jPointStyleVal, styleName, defaultValue); in SetOptionsInfo() local 847 seriesOptions_->head->size = size; in SetOptionsInfo() 855 seriesOptions_->top->size = size; in SetOptionsInfo() 863 seriesOptions_->bottom->size in SetOptionsInfo() 975 uint16_t size = strtol(sizeVal, nullptr, DEC); GetSizeVal() local [all...] |
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/ |
H A D | js_fwk_common.cpp | 155 jerry_size_t size = jerry_get_string_size(target); in MallocStringOf() local 156 if (size >= UINT16_MAX) { in MallocStringOf() 157 HILOG_ERROR(HILOG_MODULE_ACE, "String size exceeds UINT16_MAX, cannot process"); in MallocStringOf() 160 buffer = static_cast<jerry_char_t *>(ace_malloc(sizeof(jerry_char_t) * (size + 1))); in MallocStringOf() 165 if (size == 0) { in MallocStringOf() 171 length = jerry_string_to_char_buffer(target, buffer, size); in MallocStringOf() 172 if ((length == 0) || (length >= UINT16_MAX) || (length > size)) { in MallocStringOf() 173 HILOG_ERROR(HILOG_MODULE_ACE, "jerry string to char buffer failed, target size[%{public}d]", size); in MallocStringOf() 1022 size_t size in ParseRgbaColor() local 1133 CallWithRootAbilitySlice(JSValue func, JSValue args[], JSSize size) CallWithRootAbilitySlice() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/offload/ |
H A D | offload_audio_renderer_sink.cpp | 125 int32_t UpdateAppsUid(const int32_t appsUid[MAX_MIX_CHANNELS], const size_t size) final; 477 enum AudioPortDirection portFlag, struct AudioPort &renderPort, uint32_t size) in SwitchAdapterRender() 482 for (uint32_t index = 0; index < size; index++) { in SwitchAdapterRender() 600 uint32_t size = MAX_AUDIO_ADAPTER_NUM; in Init() local 607 ret = audioManager_->GetAllAdapters(audioManager_, (struct AudioAdapterDescriptor *)&descs, &size); in Init() 608 CHECK_AND_RETURN_RET_LOG(size <= MAX_AUDIO_ADAPTER_NUM && size != 0 && ret == 0, ERR_NOT_STARTED, in Init() 613 SwitchAdapterRender((struct AudioAdapterDescriptor *)&descs, adapterNameCase_, port, audioPort_, size); in Init() 965 uint32_t size = (uint64_t) sizeMs * AUDIO_SAMPLE_RATE_48K * 4 * STEREO_CHANNEL_COUNT / SECOND_TO_MILLISECOND; in SetBufferSize() local 969 ret = audioRender_->SetBufferSize(audioRender_, size); in SetBufferSize() 476 SwitchAdapterRender(struct AudioAdapterDescriptor *descs, const string &adapterNameCase, enum AudioPortDirection portFlag, struct AudioPort &renderPort, uint32_t size) SwitchAdapterRender() argument 1098 UpdateAppsUid(const int32_t appsUid[MAX_MIX_CHANNELS], const size_t size) UpdateAppsUid() argument [all...] |
/foundation/multimedia/audio_framework/frameworks/native/hdiadapter/sink/multichannel/ |
H A D | multichannel_audio_renderer_sink.cpp | 108 int32_t UpdateAppsUid(const int32_t appsUid[MAX_MIX_CHANNELS], const size_t size) final; 194 enum AudioPortDirection portFlag, struct AudioPort &renderPort, uint32_t size) in SwitchAdapterRender() 199 for (uint32_t index = 0; index < size; index++) { in SwitchAdapterRender() 771 CHECK_AND_RETURN_RET_LOG(!outputDevices.empty() && outputDevices.size() <= AUDIO_CONCURRENT_ACTIVE_DEVICES_LIMIT, in SetOutputRoutes() 846 CHECK_AND_RETURN_RET_LOG(!activeDevices.empty() && activeDevices.size() <= AUDIO_CONCURRENT_ACTIVE_DEVICES_LIMIT, in SetAudioScene() 1098 uint32_t size = MAX_AUDIO_ADAPTER_NUM; in InitAdapter() local 1103 int32_t ret = audioManager_->GetAllAdapters(audioManager_, (struct AudioAdapterDescriptor *)&descs, &size); in InitAdapter() 1104 if (size > MAX_AUDIO_ADAPTER_NUM || size == 0 || ret != 0) { in InitAdapter() 1111 SwitchAdapterRender((struct AudioAdapterDescriptor *)&descs, "primary", port, audioPort_, size); in InitAdapter() 193 SwitchAdapterRender(struct AudioAdapterDescriptor *descs, const string &adapterNameCase, enum AudioPortDirection portFlag, struct AudioPort &renderPort, uint32_t size) SwitchAdapterRender() argument 1166 UpdateAppsUid(const int32_t appsUid[MAX_MIX_CHANNELS], const size_t size) UpdateAppsUid() argument [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service/unittest/pipeline/ |
H A D | rs_round_corner_display_test.cpp | 505 EXPECT_TRUE(msgBus.m_map.size() == 1); in TestMsgBusFunc() 508 EXPECT_TRUE(msgBus.m_map.size() == 0); in TestMsgBusFunc() 510 EXPECT_TRUE(msgBus.m_map.size() == 1); in TestMsgBusFunc() 513 EXPECT_TRUE(msgBus.m_map.size() == 0); in TestMsgBusFunc() 515 EXPECT_TRUE(msgBus.m_map.size() == 1); in TestMsgBusFunc() 518 EXPECT_TRUE(msgBus.m_map.size() == 0); in TestMsgBusFunc() 562 EXPECT_TRUE(msgBus.m_map.size() == 0); in HWTEST_F() 862 uint32_t size = 10; in HWTEST_F() local 863 rcdRenderNode.SetRcdBufferSize(size); in HWTEST_F() 865 EXPECT_EQ(bufferSize, size); in HWTEST_F() [all...] |
/foundation/filemanagement/storage_service/services/storage_manager/ipc/src/ |
H A D | storage_manager_stub.cpp | 555 uint size = ve.size(); in HandleGetAllVolumes() local 556 if (size == 0) { in HandleGetAllVolumes() 563 if (!reply.WriteUint32(ve.size())) { in HandleGetAllVolumes() 566 for (uint i = 0; i < size; i++) { in HandleGetAllVolumes() 685 uint size = disks.size(); in HandleGetAllDisks() local 686 if (size == 0) { in HandleGetAllDisks() 693 if (!reply.WriteUint32(disks.size())) { in HandleGetAllDisks() 696 for (uint i = 0; i < size; in HandleGetAllDisks() 1179 int32_t size = data.ReadInt32(); HandleUpdateMemoryPara() local [all...] |
/foundation/window/window_manager/utils/src/ |
H A D | window_property.cpp | 613 auto size = sysBarPropMap_.size(); in MapMarshalling() local 614 if (!parcel.WriteUint32(static_cast<uint32_t>(size))) { in MapMarshalling() 633 uint32_t size = parcel.ReadUint32(); in MapUnmarshalling() local 634 if (size > SYSTEM_BAR_PROPERTY_MAX_NUM) { in MapUnmarshalling() 637 for (uint32_t i = 0; i < size; i++) { in MapUnmarshalling() 646 auto size = touchHotAreas_.size(); in MarshallingTouchHotAreas() local 647 if (!parcel.WriteUint32(static_cast<uint32_t>(size))) { in MarshallingTouchHotAreas() 661 uint32_t size in UnmarshallingTouchHotAreas() local [all...] |
/foundation/deviceprofile/device_info_manager/services/core/src/deviceprofilemanager/ |
H A D | device_profile_manager.cpp | 581 HILOGI("values.size : %{public}zu", values.size()); in AddToPutTempCache() 592 HILOGI("business entries.size : %{public}zu", entries.size()); in SavePutTempCache() 610 HILOGI("all entries.size : %{public}zu", entries.size()); in SavePutTempCache() 697 HILOGD("delKeys.size:%{public}zu", delKeys.size()); in DeleteBatchByKeys() 838 HILOGD("localUdid:%{public}s,localDataByOwner.size:%{public}zu", in FixLocalData() 839 ProfileUtils::GetAnonyString(localUdid).c_str(), localDataByOwner.size()); in FixLocalData() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/test/moduletest/src/ |
H A D | distributeddb_kv_backup_test.cpp | 66 (void)g_passwd1.SetValue(PASSWD_VECTOR_1.data(), PASSWD_VECTOR_1.size()); in SetUpTestCase() 67 (void)g_passwd2.SetValue(PASSWD_VECTOR_2.data(), PASSWD_VECTOR_2.size()); in SetUpTestCase() 68 (void)g_filePasswd1.SetValue(FILE_PASSWD_VECTOR_1.data(), FILE_PASSWD_VECTOR_1.size()); in SetUpTestCase() 69 (void)g_filePasswd2.SetValue(FILE_PASSWD_VECTOR_2.data(), FILE_PASSWD_VECTOR_2.size()); in SetUpTestCase() 451 EXPECT_NE(valueResult.size(), size_t(0)); in HWTEST_F() 454 ASSERT_EQ(entries.size(), entriesBatch.size()); in HWTEST_F() 503 EXPECT_EQ(password.SetValue(passwordVector.data(), passwordVector.size()), CipherPassword::ErrorCode::OVERSIZE); in HWTEST_F() 513 EXPECT_EQ(password.SetValue(passwordVector.data(), passwordVector.size()), CipherPassword::ErrorCode::OK); in HWTEST_F() 524 EXPECT_EQ(password.SetValue(passwordVector.data(), passwordVector.size()), CipherPasswor in HWTEST_F() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/storage/src/sqlite/ |
H A D | sqlite_query_helper.cpp | 304 sql = keys_.empty() ? sql : (sql + " AND " + MapKeysInToSql(keys_.size())); in GetQuerySql() 332 sql = keys_.empty() ? sql : (sql + " AND " + MapKeysInToSql(keys_.size())); in GetSyncDataCheckSql() 394 sql = keys_.empty() ? sql : (sql + " AND " + MapKeysInToSql(keys_.size())); in GetCountQuerySql() 533 sql = keys_.empty() ? sql : (sql + " AND " + MapKeysInToSql(keys_.size())); in GetSyncDataQuerySql() 669 if (queryNode.fieldValue.size() == SINGLE_FIELD_VALUE_SIZE) { in MapKeywordSymbolToSql() 697 for (size_t i = 0; i < queryNode.fieldValue.size(); i++) { in MapValueToSql() 738 for (size_t i = 0; i < queryNode.fieldValue.size(); i++) { in BindFieldValue() 748 if (queryNode.fieldValue[i].stringValue.size() > MAX_SQLITE_BIND_SIZE) { in BindFieldValue() 752 queryNode.fieldValue[i].stringValue.size(), SQLITE_TRANSIENT); in BindFieldValue() 775 if (symbolType == SymbolType::RANGE_SYMBOL && queryNode.fieldValue.size() > MAX_CONDITIONS_SIZ in ParseQueryExpression() [all...] |
/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/ |
H A D | kv_store_nb_delegate_impl.cpp | 296 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in PublishLocal() 316 if (key.empty() || key.size() > DBConstant::MAX_KEY_SIZE) { in UnpublishToLocal() 370 if (key.size() > DBConstant::MAX_KEY_SIZE) { in RegisterObserver() 383 LOGE("Register nb observer by illegal mode or key size!"); in RegisterDeviceObserver() 392 if (observerMap_.size() >= DBConstant::MAX_OBSERVER_COUNT) { in RegisterDeviceObserver() 440 if (cloudObserverMap_.size() >= DBConstant::MAX_OBSERVER_COUNT) { in RegisterCloudObserver() 1125 size_t size = 0; in GetSyncDataSize() local 1126 int errCode = conn_->GetSyncDataSize(device, size); in GetSyncDataSize() 1128 LOGE("[KvStoreNbDelegate] calculate sync data size failed : %d", errCode); in GetSyncDataSize() 1131 return size; in GetSyncDataSize() [all...] |
/kernel/linux/linux-5.10/drivers/dma/ |
H A D | sa11x0-dma.c | 76 size_t size; member 439 * its total size. in sa11x0_dma_tx_status() 443 state->residue = container_of(vd, struct sa11x0_dma_desc, vd)->size; in sa11x0_dma_tx_status() 530 size_t size = 0; in sa11x0_dma_prep_slave_sg() local 567 size += len; in sa11x0_dma_prep_slave_sg() 595 txd->size = size; in sa11x0_dma_prep_slave_sg() 598 dev_dbg(chan->device->dev, "vchan %p: txd %p: size %zu nr %u\n", in sa11x0_dma_prep_slave_sg() 599 &c->vc, &txd->vd, txd->size, txd->sglen); in sa11x0_dma_prep_slave_sg() 605 struct dma_chan *chan, dma_addr_t addr, size_t size, size_ in sa11x0_dma_prep_dma_cyclic() 604 sa11x0_dma_prep_dma_cyclic( struct dma_chan *chan, dma_addr_t addr, size_t size, size_t period, enum dma_transfer_direction dir, unsigned long flags) sa11x0_dma_prep_dma_cyclic() argument [all...] |
H A D | nbpfaxi.c | 184 * @slave_src_width: source slave data size in bytes 185 * @slave_src_burst: maximum source slave burst size in bytes 187 * @slave_dst_width: destination slave data size in bytes 188 * @slave_dst_burst: maximum destination slave burst size in bytes 434 static u32 nbpf_xfer_ds(struct nbpf_device *nbpf, size_t size, in nbpf_xfer_ds() argument 459 /* Maximum supported bursts depend on the buffer size */ in nbpf_xfer_ds() 460 return min_t(int, __ffs(size), ilog2(max_burst)); in nbpf_xfer_ds() 466 size_t size; in nbpf_xfer_size() local 473 size = 8 * burst; in nbpf_xfer_size() 477 size in nbpf_xfer_size() 506 nbpf_prep_one(struct nbpf_link_desc *ldesc, enum dma_transfer_direction direction, dma_addr_t src, dma_addr_t dst, size_t size, bool last) nbpf_prep_one() argument [all...] |
H A D | pch_dma.c | 67 u32 size; member 331 dev_dbg(chan2dev(&pd_chan->chan), "chan %d -> size: %x\n", in pdc_dostart() 332 pd_chan->chan.chan_id, desc->regs.size); in pdc_dostart() 339 channel_writel(pd_chan, SIZE, desc->regs.size); in pdc_dostart() 603 desc->regs.size = sg_dma_len(sg); in pd_prep_slave_sg() 608 if (desc->regs.size > DMA_DESC_MAX_COUNT_1_BYTE) in pd_prep_slave_sg() 610 desc->regs.size |= DMA_DESC_WIDTH_1_BYTE; in pd_prep_slave_sg() 613 if (desc->regs.size > DMA_DESC_MAX_COUNT_2_BYTES) in pd_prep_slave_sg() 615 desc->regs.size |= DMA_DESC_WIDTH_2_BYTES; in pd_prep_slave_sg() 618 if (desc->regs.size > DMA_DESC_MAX_COUNT_4_BYTE in pd_prep_slave_sg() [all...] |
/kernel/linux/linux-5.10/crypto/ |
H A D | algapi.c | 978 static inline void crypto_inc_byte(u8 *a, unsigned int size) in crypto_inc_byte() argument 980 u8 *b = (a + size); in crypto_inc_byte() 983 for (; size; size--) { in crypto_inc_byte() 991 void crypto_inc(u8 *a, unsigned int size) in crypto_inc() argument 993 __be32 *b = (__be32 *)(a + size); in crypto_inc() 998 for (; size >= 4; size -= 4) { in crypto_inc() 1005 crypto_inc_byte(a, size); in crypto_inc() 1014 int size in __crypto_xor() local [all...] |
/kernel/linux/linux-5.10/arch/loongarch/kvm/intc/ |
H A D | ls3a_ext_irq.c | 267 * @size: The width of the register to be read. 275 gpa_t addr, int size, void *val) in ls3a_ext_intctl_read() 284 if (offset & (size - 1)) { in ls3a_ext_intctl_read() 285 printk("%s:unaligned address access %llx size %d\n", in ls3a_ext_intctl_read() 286 __FUNCTION__, addr, size); in ls3a_ext_intctl_read() 292 switch (size) { in ls3a_ext_intctl_read() 303 WARN_ONCE(1, "%s: Abnormal address access:addr 0x%llx, size %d\n", in ls3a_ext_intctl_read() 304 __FUNCTION__, addr, size); in ls3a_ext_intctl_read() 307 kvm_debug("%s(%d):address access %llx size %d\n", in ls3a_ext_intctl_read() 308 __FUNCTION__, __LINE__, offset, size); in ls3a_ext_intctl_read() 273 ls3a_ext_intctl_read(struct kvm_vcpu *vcpu, struct kvm_io_device *dev, gpa_t addr, int size, void *val) ls3a_ext_intctl_read() argument 657 ls3a_ext_intctl_write(struct kvm_vcpu *vcpu, struct kvm_io_device *dev, gpa_t addr, int size, const void *__val) ls3a_ext_intctl_write() argument [all...] |
/kernel/linux/linux-5.10/drivers/char/agp/ |
H A D | intel-gtt.c | 178 /* i81x does not preallocate the gtt. It's always 64kb in size. */ in i810_setup() 442 /* write the new ggtt size */ in i965_adjust_pgetbl_size() 451 int size; in i965_gtt_total_entries() local 478 size = KB(128); in i965_gtt_total_entries() 481 size = KB(256); in i965_gtt_total_entries() 484 size = KB(512); in i965_gtt_total_entries() 488 size = KB(1024); in i965_gtt_total_entries() 491 size = KB(2048); in i965_gtt_total_entries() 494 size = KB(1024 + 512); in i965_gtt_total_entries() 498 "unknown page table size, assumin in i965_gtt_total_entries() 1134 int size = KB(512); i9xx_setup() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/marvell/ |
H A D | pxa168_eth.c | 178 u16 buf_size; /* Buffer size */ 311 int size; in rxq_refill() local 322 size = skb_end_pointer(skb) - skb->data; in rxq_refill() 325 size, in rxq_refill() 327 p_used_rx_desc->buf_size = size; in rxq_refill() 886 * Make sure that the skb size is a multiple of 8 bytes, as in pxa168_eth_recalc_skb_size() 888 * size field are ignored by the hardware. in pxa168_eth_recalc_skb_size() 1008 wrl(pep, SDMA_CONFIG, SDCR_BSZ8 | /* Burst size = 32 bytes */ in pxa168_init_hw() 1014 wrl(pep, PORT_CONFIG, PCR_HS); /* Hash size is 1/2kb */ in pxa168_init_hw() 1024 int size in rxq_init() local 1084 int size = 0, i = 0; txq_init() local [all...] |
/kernel/linux/linux-5.10/drivers/input/touchscreen/ |
H A D | wdt87xx_i2c.c | 420 while (pos < fw->size) { in wdt87xx_get_fw_chunk() 428 pos += chunk_size + 2 * sizeof(u32); /* chunk ID + size */ in wdt87xx_get_fw_chunk() 506 u32 size; in wdt87xx_validate_firmware() local 517 size = get_unaligned_le32(fw->data + FW_SIZE_OFFSET); in wdt87xx_validate_firmware() 518 if (size != fw->size) { in wdt87xx_validate_firmware() 520 "fw size mismatch: expected %d, actual %zu\n", in wdt87xx_validate_firmware() 521 size, fw->size); in wdt87xx_validate_firmware() 689 u32 size in wdt87xx_write_firmware() local [all...] |
/kernel/linux/linux-5.10/drivers/iommu/ |
H A D | tegra-smmu.c | 705 phys_addr_t paddr, size_t size, int prot, gfp_t gfp, in __tegra_smmu_map() 742 size_t size, struct iommu_iotlb_gather *gather) in __tegra_smmu_unmap() 755 return size; in __tegra_smmu_unmap() 759 phys_addr_t paddr, size_t size, int prot, gfp_t gfp) in tegra_smmu_map() 766 ret = __tegra_smmu_map(domain, iova, paddr, size, prot, gfp, &flags); in tegra_smmu_map() 773 size_t size, struct iommu_iotlb_gather *gather) in tegra_smmu_unmap() 779 size = __tegra_smmu_unmap(domain, iova, size, gather); in tegra_smmu_unmap() 782 return size; in tegra_smmu_unmap() 1087 size_t size; in tegra_smmu_probe() local 704 __tegra_smmu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp, unsigned long *flags) __tegra_smmu_map() argument 741 __tegra_smmu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size, struct iommu_iotlb_gather *gather) __tegra_smmu_unmap() argument 758 tegra_smmu_map(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp) tegra_smmu_map() argument 772 tegra_smmu_unmap(struct iommu_domain *domain, unsigned long iova, size_t size, struct iommu_iotlb_gather *gather) tegra_smmu_unmap() argument [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/ni/ |
H A D | nixge.c | 98 /* Packet size info */ 164 size_t size; member 446 tx_skb->size, DMA_TO_DEVICE); in nixge_tx_skb_unmap() 450 tx_skb->size, DMA_TO_DEVICE); in nixge_tx_skb_unmap() 467 u32 size = 0; in nixge_start_xmit_done() local 478 size += status & XAXIDMA_BD_STS_ACTUAL_LEN_MASK; in nixge_start_xmit_done() 489 ndev->stats.tx_bytes += size; in nixge_start_xmit_done() 537 tx_skb->size = skb_headlen(skb); in nixge_start_xmit() 558 tx_skb->size = skb_frag_size(frag); in nixge_start_xmit() 589 tx_skb->size, DMA_TO_DEVIC in nixge_start_xmit() 603 u32 size = 0; nixge_recv() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/ |
H A D | spectrum_acl_erp.c | 330 size_t size; in mlxsw_sp_acl_erp_table_free() local 334 size = num_erps / erp_core->num_erp_banks * entry_size; in mlxsw_sp_acl_erp_table_free() 335 gen_pool_free(erp_core->erp_tables, base_index, size); in mlxsw_sp_acl_erp_table_free() 1484 unsigned int size; in mlxsw_sp_acl_erp_tables_sizes_query() local 1492 size = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_ERPT_ENTRIES_2KB); in mlxsw_sp_acl_erp_tables_sizes_query() 1493 erp_core->erpt_entries_size[MLXSW_SP_ACL_ATCAM_REGION_TYPE_2KB] = size; in mlxsw_sp_acl_erp_tables_sizes_query() 1495 size = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_ERPT_ENTRIES_4KB); in mlxsw_sp_acl_erp_tables_sizes_query() 1496 erp_core->erpt_entries_size[MLXSW_SP_ACL_ATCAM_REGION_TYPE_4KB] = size; in mlxsw_sp_acl_erp_tables_sizes_query() 1498 size = MLXSW_CORE_RES_GET(mlxsw_sp->core, ACL_ERPT_ENTRIES_8KB); in mlxsw_sp_acl_erp_tables_sizes_query() 1499 erp_core->erpt_entries_size[MLXSW_SP_ACL_ATCAM_REGION_TYPE_8KB] = size; in mlxsw_sp_acl_erp_tables_sizes_query() [all...] |
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath11k/ |
H A D | hal.c | 249 size_t size; in ath11k_hal_alloc_cont_rdp() local 251 size = sizeof(u32) * HAL_SRNG_RING_ID_MAX; in ath11k_hal_alloc_cont_rdp() 252 hal->rdp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->rdp.paddr, in ath11k_hal_alloc_cont_rdp() 263 size_t size; in ath11k_hal_free_cont_rdp() local 268 size = sizeof(u32) * HAL_SRNG_RING_ID_MAX; in ath11k_hal_free_cont_rdp() 269 dma_free_coherent(ab->dev, size, in ath11k_hal_free_cont_rdp() 277 size_t size; in ath11k_hal_alloc_cont_wrp() local 279 size = sizeof(u32) * HAL_SRNG_NUM_LMAC_RINGS; in ath11k_hal_alloc_cont_wrp() 280 hal->wrp.vaddr = dma_alloc_coherent(ab->dev, size, &hal->wrp.paddr, in ath11k_hal_alloc_cont_wrp() 291 size_t size; in ath11k_hal_free_cont_wrp() local [all...] |