Home
last modified time | relevance | path

Searched refs:length1 (Results 1 – 8 of 8) sorted by relevance

/linux-6.12.1/sound/usb/line6/
Dmidibuf.c84 int length1, length2; in line6_midibuf_write() local
102 length1 = this->size - this->pos_write; in line6_midibuf_write()
104 if (length < length1) { in line6_midibuf_write()
110 length2 = length - length1; in line6_midibuf_write()
111 memcpy(this->buf + this->pos_write, data, length1); in line6_midibuf_write()
112 memcpy(this->buf, data + length1, length2); in line6_midibuf_write()
127 int length1, length2; in line6_midibuf_read() local
145 length1 = this->size - this->pos_read; in line6_midibuf_read()
182 if (length < length1) { in line6_midibuf_read()
191 length2 = length - length1; in line6_midibuf_read()
[all …]
/linux-6.12.1/drivers/acpi/acpica/
Dexmisc.c281 u32 length1; in acpi_ex_do_logical_op() local
375 length1 = local_operand1->buffer.length; in acpi_ex_do_logical_op()
381 (length0 > length1) ? length1 : length0); in acpi_ex_do_logical_op()
388 if ((length0 == length1) && (compare == 0)) { in acpi_ex_do_logical_op()
408 if (length0 > length1) { in acpi_ex_do_logical_op()
425 if (length0 < length1) { in acpi_ex_do_logical_op()
Dexconcat.c348 acpi_size length1; in acpi_ex_concat_template() local
375 length1 = ACPI_PTR_DIFF(end_tag, operand1->buffer.pointer); in acpi_ex_concat_template()
379 new_length = length0 + length1 + sizeof(struct aml_resource_end_tag); in acpi_ex_concat_template()
394 memcpy(new_buf + length0, operand1->buffer.pointer, length1); in acpi_ex_concat_template()
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dloop6.c73 __u64 length1 = 0, length2 = 0; in BPF_KPROBE() local
84 length1 += len; in BPF_KPROBE()
100 result = length2 - length1; in BPF_KPROBE()
/linux-6.12.1/lib/zstd/decompress/
Dzstd_decompress_block.c893 { size_t const length1 = dictEnd - match; in ZSTD_execSequenceEnd() local
894 ZSTD_memmove(oLitEnd, match, length1); in ZSTD_execSequenceEnd()
895 op = oLitEnd + length1; in ZSTD_execSequenceEnd()
896 sequence.matchLength -= length1; in ZSTD_execSequenceEnd()
941 { size_t const length1 = dictEnd - match; in ZSTD_execSequenceEndSplitLitBuffer() local
942 ZSTD_memmove(oLitEnd, match, length1); in ZSTD_execSequenceEndSplitLitBuffer()
943 op = oLitEnd + length1; in ZSTD_execSequenceEndSplitLitBuffer()
944 sequence.matchLength -= length1; in ZSTD_execSequenceEndSplitLitBuffer()
1008 { size_t const length1 = dictEnd - match; in ZSTD_execSequence() local
1009 ZSTD_memmove(oLitEnd, match, length1); in ZSTD_execSequence()
[all …]
Dhuf_decompress.c189 size_t const length1 = MEM_readLE16(istart); in HUF_DecompressAsmArgs_init() local
192 size_t const length4 = srcSize - (length1 + length2 + length3 + 6); in HUF_DecompressAsmArgs_init()
194 args->iend[1] = args->iend[0] + length1; in HUF_DecompressAsmArgs_init()
203 if (length1 < 16 || length2 < 8 || length3 < 8 || length4 < 8) in HUF_DecompressAsmArgs_init()
569 size_t const length1 = MEM_readLE16(istart); in HUF_decompress4X1_usingDTable_internal_body() local
572 size_t const length4 = cSrcSize - (length1 + length2 + length3 + 6); in HUF_decompress4X1_usingDTable_internal_body()
574 const BYTE* const istart2 = istart1 + length1; in HUF_decompress4X1_usingDTable_internal_body()
591 CHECK_F( BIT_initDStream(&bitD1, istart1, length1) ); in HUF_decompress4X1_usingDTable_internal_body()
1263 size_t const length1 = MEM_readLE16(istart); in HUF_decompress4X2_usingDTable_internal_body() local
1266 size_t const length4 = cSrcSize - (length1 + length2 + length3 + 6); in HUF_decompress4X2_usingDTable_internal_body()
[all …]
/linux-6.12.1/drivers/accessibility/speakup/
Di18n.c496 size_t length1 = end1 - *input1; in compare_specifiers() local
499 if ((length1 == length2) && !memcmp(*input1, *input2, length1)) in compare_specifiers()
/linux-6.12.1/drivers/crypto/
Datmel-sha.c592 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_pdc() argument
598 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_pdc()
600 len32 = DIV_ROUND_UP(length1, sizeof(u32)); in atmel_sha_xmit_pdc()
612 ctx->digcnt[0] += length1; in atmel_sha_xmit_pdc()
613 if (ctx->digcnt[0] < length1) in atmel_sha_xmit_pdc()
638 size_t length1, dma_addr_t dma_addr2, size_t length2, int final) in atmel_sha_xmit_dma() argument
645 ctx->digcnt[1], ctx->digcnt[0], length1, final); in atmel_sha_xmit_dma()
655 sg_dma_len(&sg[0]) = length1; in atmel_sha_xmit_dma()
663 sg_dma_len(&sg[0]) = length1; in atmel_sha_xmit_dma()
676 ctx->digcnt[0] += length1; in atmel_sha_xmit_dma()
[all …]