/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qede/ |
H A D | qede_main.c | 1511 int i, rc, size; in qede_alloc_mem_rxq() local 1518 size = rxq->rx_headroom + in qede_alloc_mem_rxq() 1522 if (rxq->rx_buf_size + size > PAGE_SIZE) in qede_alloc_mem_rxq() 1523 rxq->rx_buf_size = PAGE_SIZE - size; in qede_alloc_mem_rxq() 1525 /* Segment size to split a page in multiple equal parts, in qede_alloc_mem_rxq() 1529 size = size + rxq->rx_buf_size; in qede_alloc_mem_rxq() 1530 rxq->rx_buf_seg_size = roundup_pow_of_two(size); in qede_alloc_mem_rxq() 1537 size = sizeof(*rxq->sw_rx_ring) * RX_RING_SIZE; in qede_alloc_mem_rxq() 1538 rxq->sw_rx_ring = kzalloc(size, GFP_KERNE in qede_alloc_mem_rxq() 1603 int size, rc; qede_alloc_mem_txq() local [all...] |
/kernel/linux/linux-5.10/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 354 * fcoe_ctlr_fcoe_size() - Return the maximum FCoE size required for VN_Port 355 * @fip: The FCoE controller to get the maximum FCoE size from 357 * Returns the maximum packet size including the FCoE header and trailer, 363 * Determine the max FCoE frame size allowed, including in fcoe_ctlr_fcoe_size() 365 * Note: lp->mfs is currently the payload size, not the frame size. in fcoe_ctlr_fcoe_size() 385 struct fip_size_desc size; in fcoe_ctlr_solicit() member 418 sol->desc.size.fd_desc.fip_dtype = FIP_DT_FCOE_SIZE; in fcoe_ctlr_solicit() 419 sol->desc.size.fd_desc.fip_dlen = sizeof(sol->desc.size) / FIP_BP in fcoe_ctlr_solicit() 2034 struct fip_size_desc *size; fcoe_ctlr_vn_send() local 2282 struct fip_size_desc *size = NULL; fcoe_ctlr_vn_parse() local [all...] |
/kernel/linux/linux-5.10/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 1308 int rcv_len, bufsize, urb_len, size; in packet_read() local 1341 size = rcv_len; in packet_read() 1343 size = bufsize; in packet_read() 1349 urb->actual_length += size; in packet_read() 1356 urb->iso_frame_desc[td->iso_cnt].actual_length = size; in packet_read() 1371 if (size == 0) in packet_read() 1375 buf, size); in packet_read() 1385 int bufsize, size; in packet_write() local 1409 size = min(bufsize, in packet_write() 1413 size in packet_write() [all...] |
/kernel/linux/linux-5.10/net/sctp/ |
H A D | sm_make_chunk.c | 416 /* Calculate the total size of allocation, include the reserved in sctp_make_init_ack() 556 * Set to the size of the chunk in bytes, including the 4 bytes of 557 * the chunk header and the size of the Cookie. 559 * Cookie: variable size 1211 size_t size) in sctp_make_op_error_space() 1216 sizeof(struct sctp_errhdr) + size, in sctp_make_op_error_space() 1236 /* Create an Operation Error chunk of a fixed size, specifically, 1247 size_t size = SCTP_DEFAULT_MAXSEGMENT; in sctp_make_op_error_limited() local 1251 size = min_t(size_t, size, aso in sctp_make_op_error_limited() 1208 sctp_make_op_error_space( const struct sctp_association *asoc, const struct sctp_chunk *chunk, size_t size) sctp_make_op_error_space() argument 3730 __u16 size = sizeof(addstrm); sctp_make_strreset_addstrm() local [all...] |
/kernel/linux/linux-5.10/net/mpls/ |
H A D | af_mpls.c | 108 /* The size of the layer 2.5 labels to be added for this route */ in mpls_nh_header_size() 505 /* all nexthops within a route have the same size based on max 512 size_t size; in mpls_rt_alloc() local 514 size = sizeof(*rt) + num_nh * nh_size; in mpls_rt_alloc() 515 if (size > MAX_MPLS_ROUTE_MEM) in mpls_rt_alloc() 518 rt = kzalloc(size, GFP_KERNEL); in mpls_rt_alloc() 1168 int size = NLMSG_ALIGN(sizeof(struct netconfmsg)) in mpls_netconf_msgsize_devconf() local 1176 size += nla_total_size(4); in mpls_netconf_msgsize_devconf() 1178 return size; in mpls_netconf_msgsize_devconf() 1532 size_t size in mpls_ifdown() local 2530 size_t size = sizeof(struct mpls_route *) * limit; resize_platform_label_table() local [all...] |
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | block.c | 550 * We don't do any blockcount validation because the max size in __mmc_blk_ioctl_cmd() 1472 * Adjust the sg list so it is the same size as the in mmc_blk_data_prep() 2460 sector_t size, in mmc_blk_alloc_req() 2540 set_capacity(md->disk, size); in mmc_blk_alloc_req() 2562 string_get_size((u64)size, 512, STRING_UNITS_2, in mmc_blk_alloc_req() 2588 sector_t size; in mmc_blk_alloc() local 2595 size = card->ext_csd.sectors; in mmc_blk_alloc() 2601 size = (typeof(sector_t))card->csd.capacity in mmc_blk_alloc() 2605 return mmc_blk_alloc_req(card, &card->dev, size, false, NULL, in mmc_blk_alloc() 2612 sector_t size, in mmc_blk_alloc_part() 2458 mmc_blk_alloc_req(struct mmc_card *card, struct device *parent, sector_t size, bool default_ro, const char *subname, int area_type, unsigned int part_type) mmc_blk_alloc_req() argument 2609 mmc_blk_alloc_part(struct mmc_card *card, struct mmc_blk_data *md, unsigned int part_type, sector_t size, bool default_ro, const char *subname, int area_type) mmc_blk_alloc_part() argument 2712 mmc_blk_alloc_rpmb_part(struct mmc_card *card, struct mmc_blk_data *md, unsigned int part_index, sector_t size, const char *subname) mmc_blk_alloc_rpmb_part() argument [all...] |
/kernel/linux/linux-6.6/drivers/media/usb/uvc/ |
H A D | uvc_driver.c | 436 * value to 1.1x the actual frame size to hardwiring the in uvc_parse_format() 438 * memory usage as well as a wrong image size information. For in uvc_parse_format() 440 * value from the frame size. in uvc_parse_format() 519 unsigned int size, i, n, p; in uvc_parse_streaming() local 586 size = 9; in uvc_parse_streaming() 591 size = 13; in uvc_parse_streaming() 602 n = buflen >= size ? buffer[size-1] : 0; in uvc_parse_streaming() 604 if (buflen < size + p*n) { in uvc_parse_streaming() 624 streaming->header.bmaControls = kmemdup(&buffer[size], in uvc_parse_streaming() 772 unsigned int size; uvc_alloc_entity() local 1237 uvc_gpio_get_cur(struct uvc_device *dev, struct uvc_entity *entity, u8 cs, void *data, u16 size) uvc_gpio_get_cur() argument [all...] |
/kernel/linux/linux-6.6/drivers/usb/host/ |
H A D | r8a66597-hcd.c | 1308 int rcv_len, bufsize, urb_len, size; in packet_read() local 1341 size = rcv_len; in packet_read() 1343 size = bufsize; in packet_read() 1349 urb->actual_length += size; in packet_read() 1356 urb->iso_frame_desc[td->iso_cnt].actual_length = size; in packet_read() 1371 if (size == 0) in packet_read() 1375 buf, size); in packet_read() 1385 int bufsize, size; in packet_write() local 1409 size = min(bufsize, in packet_write() 1413 size in packet_write() [all...] |
/kernel/linux/linux-6.6/sound/core/seq/ |
H A D | seq_clientmgr.c | 1017 if (client->pool->size > 0 && !snd_seq_write_pool_allocated(client)) { in snd_seq_write() 1858 info->output_pool = cptr->pool->size; in snd_seq_ioctl_get_client_pool() 1887 info->output_pool != client->pool->size)) { in snd_seq_ioctl_set_client_pool() 1896 client->pool->size = info->output_pool; in snd_seq_ioctl_set_client_pool() 1905 /* change pool size */ in snd_seq_ioctl_set_client_pool() 1912 info->output_room <= client->pool->size) { in snd_seq_ioctl_set_client_pool() 2161 size_t size; in snd_seq_ioctl_client_ump_info() local 2172 size = sizeof(struct snd_ump_endpoint_info); in snd_seq_ioctl_client_ump_info() 2174 size = sizeof(struct snd_ump_block_info); in snd_seq_ioctl_client_ump_info() 2194 if (copy_to_user(argp->info, p, size)) { in snd_seq_ioctl_client_ump_info() 2292 unsigned long size; snd_seq_ioctl() local [all...] |
/kernel/linux/linux-6.6/drivers/scsi/fcoe/ |
H A D | fcoe_ctlr.c | 354 * fcoe_ctlr_fcoe_size() - Return the maximum FCoE size required for VN_Port 355 * @fip: The FCoE controller to get the maximum FCoE size from 357 * Returns the maximum packet size including the FCoE header and trailer, 363 * Determine the max FCoE frame size allowed, including in fcoe_ctlr_fcoe_size() 365 * Note: lp->mfs is currently the payload size, not the frame size. in fcoe_ctlr_fcoe_size() 385 struct fip_size_desc size; in fcoe_ctlr_solicit() member 418 sol->desc.size.fd_desc.fip_dtype = FIP_DT_FCOE_SIZE; in fcoe_ctlr_solicit() 419 sol->desc.size.fd_desc.fip_dlen = sizeof(sol->desc.size) / FIP_BP in fcoe_ctlr_solicit() 2026 struct fip_size_desc *size; fcoe_ctlr_vn_send() local 2274 struct fip_size_desc *size = NULL; fcoe_ctlr_vn_parse() local [all...] |
/kernel/linux/linux-6.6/net/sctp/ |
H A D | sm_make_chunk.c | 416 /* Calculate the total size of allocation, include the reserved in sctp_make_init_ack() 556 * Set to the size of the chunk in bytes, including the 4 bytes of 557 * the chunk header and the size of the Cookie. 559 * Cookie: variable size 1256 size_t size) in sctp_make_op_error_space() 1261 sizeof(struct sctp_errhdr) + size, in sctp_make_op_error_space() 1281 /* Create an Operation Error chunk of a fixed size, specifically, 1292 size_t size = SCTP_DEFAULT_MAXSEGMENT; in sctp_make_op_error_limited() local 1296 size = min_t(size_t, size, aso in sctp_make_op_error_limited() 1253 sctp_make_op_error_space( const struct sctp_association *asoc, const struct sctp_chunk *chunk, size_t size) sctp_make_op_error_space() argument 3768 __u16 size = sizeof(addstrm); sctp_make_strreset_addstrm() local [all...] |
/third_party/ffmpeg/libavcodec/arm/ |
H A D | vp9itxfm_16bpp_neon.S | 1268 .macro idct16_partial size 1269 function idct16x16_\size\()_add_16_neon 1272 .ifc \size,quarter 1279 bl idct16_1d_2x16_pass1_\size\()_neon 1282 .ifc \size,half 1290 bl idct16_1d_2x16_pass1_\size\()_neon 1312 bl idct16_1d_2x16_pass2_\size\()_neon 1883 .macro idct32_partial size, rows 1884 function idct32x32_\size\()_add_16_neon 1887 .ifc \size,quarte [all...] |
/third_party/ffmpeg/libavutil/ |
H A D | opt.c | 342 av_log(obj, AV_LOG_ERROR, "Unable to parse option value \"%s\" as image size\n", val); in set_string_image_size() 678 "The value set by option '%s' is not an image size.\n", o->name); in av_opt_set_image_size() 683 "Invalid negative size value %dx%d for size '%s'\n", w, h, o->name); in av_opt_set_image_size() 802 static void format_duration(char *buf, size_t size, int64_t d) in format_duration() argument 806 av_assert0(size >= 25); in format_duration() 809 size--; in format_duration() 813 snprintf(buf, size, "INT64_MAX"); in format_duration() 815 snprintf(buf, size, "INT64_MIN"); in format_duration() 817 snprintf(buf, size, " in format_duration() 1935 int size = opt_size(o->type); av_opt_copy() local 2120 int size; av_opt_is_set_to_default() member [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ubidi.cpp | 12 * tab size: 8 (not used) 1807 if (pInsertPoints->size >= pInsertPoints->capacity) /* no room for new point */ in addPoint() 1822 pInsertPoints->points[pInsertPoints->size]=point; in addPoint() 1823 pInsertPoints->size++; in addPoint() 1906 (pInsertPoints->size <= pInsertPoints->confirmed)) in processPropertySeq() 1918 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1929 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1934 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1943 pInsertPoints->size=pInsertPoints->confirmed; in processPropertySeq() 1987 pInsertPoints->confirmed=pInsertPoints->size; /* confir in processPropertySeq() [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ubidi.cpp | 12 * tab size: 8 (not used) 1807 if (pInsertPoints->size >= pInsertPoints->capacity) /* no room for new point */ in addPoint() 1822 pInsertPoints->points[pInsertPoints->size]=point; in addPoint() 1823 pInsertPoints->size++; in addPoint() 1906 (pInsertPoints->size <= pInsertPoints->confirmed)) in processPropertySeq() 1918 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1929 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1934 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1943 pInsertPoints->size=pInsertPoints->confirmed; in processPropertySeq() 1987 pInsertPoints->confirmed=pInsertPoints->size; /* confir in processPropertySeq() [all...] |
/third_party/node/deps/v8/src/codegen/arm64/ |
H A D | assembler-arm64.h | 234 // the instruction size). 287 // Get the size of the special target encoded at 'location'. 303 DCHECK((pc_ >= buffer_start_) && (pc_ < (buffer_start_ + buffer_->size()))); in SizeOfGeneratedCode() 307 // Return the code size generated from label to the current position. 311 DCHECK_LT(pc_offset(), buffer_->size()); in SizeOfCodeGeneratedSince() 348 // The emission of constant and veneer pools depends on the size of the code 357 // Recording the position and size of emitted pools allows to correctly 361 // The parameter indicates the size of the pool (in bytes), including 363 void RecordConstPool(int size); 1960 // Shift left long by element size [all...] |
/third_party/node/deps/v8/src/torque/ |
H A D | torque-parser.cc | 362 if (id->generic_arguments.size() != 0) { in MakeCall() 493 result.implicit_count = implicit_params->parameters.size(); in MakeParameterList() 615 if (annotations.size()) { in HasAnnotation() 616 if (annotations.size() > 1 || annotations[0].name->value != annotation) { in HasAnnotation() 889 DCHECK_EQ(num_chars_converted, value.size()); in YieldInt32() 904 DCHECK_EQ(num_chars_converted, value.size()); in YieldDouble() 913 if (value.size() > 0 && value[0] == '-') { in YieldIntegerLiteral() 921 DCHECK_EQ(parsed, value.size()); in YieldIntegerLiteral() 1416 entry_decls.reserve(entries.size()); in MakeEnumDeclaration() 1637 for (size_t i = 0; i < cases.size(); in MakeTypeswitchStatement() [all...] |
/third_party/mesa3d/src/gallium/drivers/iris/ |
H A D | iris_program.c | 187 unsigned size, in upload_state() 191 u_upload_alloc(uploader, 0, size, alignment, &ref->offset, &ref->res, &p); in upload_state() 207 screen->isl_dev.ss.size, 64); in iris_upload_ubo_ssbo_surf_state() 241 /* This level's element size is the previous level's array size */ in get_aoa_deref_offset() 254 * element is negative or greater than or equal to the size of the array, in get_aoa_deref_offset() 601 offsetof(struct brw_image_param, size), 3); in iris_setup_uniforms() 756 uint32_t size = bt->sizes[i]; in iris_print_binding_table() local 757 total += size; in iris_print_binding_table() 758 if (size) in iris_print_binding_table() 185 upload_state(struct u_upload_mgr *uploader, struct iris_state_ref *ref, unsigned size, unsigned alignment) upload_state() argument 2391 uint32_t size = per_thread_scratch * devinfo->max_scratch_ids[stage]; iris_get_scratch_space() local [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineMultisampleShaderBuiltInTests.cpp | 1142 const auto size = imageSize(sampleCount); in getExtent3D() local 1143 return vk::VkExtent3D{size.width, size.height, 1u}; in getExtent3D() 1585 const auto size = imageSize(m_params.sampleCount); in initPrograms() local 1648 << " uint bufferp = ((ucoords.y * " << size.width << " + ucoords.x) * " << m_params.sampleCount << ") + uint(gl_SampleID);\n" in initPrograms() 1735 const auto vertexBufferSize = static_cast<vk::VkDeviceSize>(quadVertices.size() * sizeof(decltype(quadVertices)::value_type)); in iterate() 1852 static_cast<deUint32>(attachments.size()), // deUint32 attachmentCount; in iterate() 1854 static_cast<deUint32>(subpasses.size()), // deUint32 subpassCount; in iterate() 1856 static_cast<deUint32>(subpassDependencies.size()), // deUint32 dependencyCount; in iterate() 1872 renderPass.createFramebuffer(vkd, device, static_cast<deUint32>(imageViews.size()), image in iterate() [all...] |
H A D | vktPipelineSamplerTests.cpp | 131 static tcu::IVec3 getImageSize (SamplerViewType viewType, int size); 493 for (unsigned int i = 0; i < vertices.size(); ++i) { in createVertices() 584 tcu::IVec3 SamplerTest::getImageSize (SamplerViewType viewType, int size) in getImageSize() argument 590 return tcu::IVec3(size, 1, 1); in getImageSize() 593 return tcu::IVec3(size, size, 4); in getImageSize() 599 return tcu::IVec3(size, size, 1); in getImageSize() 817 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNdx++) in createVertices() 824 for (size_t vertexNdx = 0; vertexNdx < vertices.size(); vertexNd in createVertices() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
H A D | vktTextureShadowTests.cpp | 348 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in Texture2DShadowTestInstance() 441 return m_caseNdx < (int)m_cases.size() ? tcu::TestStatus::incomplete() : tcu::TestStatus::pass("Pass"); in iterate() 513 const int numLevels = deLog2Floor32(m_testParameters.size)+1; in TextureCubeShadowTestInstance() 523 m_textures.push_back(TestTextureCubeSp(new pipeline::TestTextureCube(vk::mapVkFormat(m_testParameters.format), m_testParameters.size))); in TextureCubeShadowTestInstance() 680 return m_caseNdx < (int)m_cases.size() ? tcu::TestStatus::incomplete() : tcu::TestStatus::pass("Pass"); in iterate() 909 return m_caseNdx < (int)m_cases.size() ? tcu::TestStatus::incomplete() : tcu::TestStatus::pass("Pass"); in iterate() 1041 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in Texture1DShadowTestInstance() 1131 return m_caseNdx < (int)m_cases.size() ? tcu::TestStatus::incomplete() : tcu::TestStatus::pass("Pass"); in iterate() 1357 return m_caseNdx < (int)m_cases.size() ? tcu::TestStatus::incomplete() : tcu::TestStatus::pass("Pass"); in iterate() 1428 const int numLevels = deLog2Floor32(m_testParameters.size) in TextureCubeArrayShadowTestInstance() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
H A D | ModuloSchedule.cpp | 325 if (EpilogBBs.size() > 0) { in generateEpilog() 854 assert(PrologBBs.size() == EpilogBBs.size() && "Prolog/Epilog mismatch"); in addBranches() 861 unsigned MaxIter = PrologBBs.size() - 1; in addBranches() 1414 LLVM_DEBUG(dbgs() << " -- padding defaults array from " << Defaults.size() in remapUse() 1415 << " to " << (Defaults.size() + StageDiff) << "\n"); in remapUse() 1419 Defaults.resize(Defaults.size() + StageDiff, Defaults.empty() in remapUse() 1553 return PhiDefaults.size() == Other.PhiDefaults.size(); in operator ==() 1557 OS << "use of " << *Source << ": distance(" << PhiDefaults.size() << ") i in print() [all...] |
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
H A D | ClearTest.cpp | 46 glDeleteFramebuffers(static_cast<GLsizei>(mFBOs.size()), mFBOs.data()); 51 glDeleteTextures(static_cast<GLsizei>(mTextures.size()), mTextures.data()); 65 void verifyDepth(float depthValue, uint32_t size) in verifyDepth() argument 80 EXPECT_PIXEL_COLOR_NEAR(size - 1, 0, GLColor::blue, 1); in verifyDepth() 81 EXPECT_PIXEL_COLOR_NEAR(0, size - 1, GLColor::blue, 1); in verifyDepth() 82 EXPECT_PIXEL_COLOR_NEAR(size - 1, size - 1, GLColor::blue, 1); in verifyDepth() 85 void verifyStencil(uint32_t stencilValue, uint32_t size) in verifyStencil() argument 97 EXPECT_PIXEL_COLOR_NEAR(size - 1, 0, GLColor::green, 1); in verifyStencil() 98 EXPECT_PIXEL_COLOR_NEAR(0, size in verifyStencil() [all...] |
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/ |
H A D | ARMFrameLowering.cpp | 219 if (F.hasFnAttribute("stack-probe-size")) in WindowsRequiresStackProbe() 220 F.getFnAttribute("stack-probe-size") in WindowsRequiresStackProbe() 415 for (unsigned i = 0, e = CSI.size(); i != e; ++i) { in emitPrologue() 747 // of the stack pointer is at this point. Any variable size objects in emitPrologue() 987 unsigned i = CSI.size(); in emitPushInst() 1023 if (Regs.size() > 1 || StrOpc== 0) { in emitPushInst() 1028 for (unsigned i = 0, e = Regs.size(); i < e; ++i) in emitPushInst() 1030 } else if (Regs.size() == 1) { in emitPushInst() 1075 unsigned i = CSI.size(); in emitPopInst() 1119 if (Regs.size() > in emitPopInst() [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ubidi.cpp | 12 * tab size: 8 (not used) 1807 if (pInsertPoints->size >= pInsertPoints->capacity) /* no room for new point */ in addPoint() 1822 pInsertPoints->points[pInsertPoints->size]=point; in addPoint() 1823 pInsertPoints->size++; in addPoint() 1906 (pInsertPoints->size <= pInsertPoints->confirmed)) in processPropertySeq() 1918 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1929 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1934 pInsertPoints->confirmed=pInsertPoints->size; in processPropertySeq() 1943 pInsertPoints->size=pInsertPoints->confirmed; in processPropertySeq() 1987 pInsertPoints->confirmed=pInsertPoints->size; /* confir in processPropertySeq() [all...] |