Home
last modified time | relevance | path

Searched refs:dest_size (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/drivers/acpi/acpica/
H A Dutnonansi.c128 u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source) in acpi_ut_safe_strcpy() argument
131 if (strlen(source) >= dest_size) { in acpi_ut_safe_strcpy()
139 u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source) in acpi_ut_safe_strcat() argument
142 if ((strlen(dest) + strlen(source)) >= dest_size) { in acpi_ut_safe_strcat()
152 acpi_size dest_size, in acpi_ut_safe_strncat() argument
159 if ((strlen(dest) + actual_transfer_length) >= dest_size) { in acpi_ut_safe_strncat()
167 void acpi_ut_safe_strncpy(char *dest, char *source, acpi_size dest_size) in acpi_ut_safe_strncpy() argument
171 strncpy(dest, source, dest_size); in acpi_ut_safe_strncpy()
172 dest[dest_size - 1] = 0; in acpi_ut_safe_strncpy()
H A Dacutils.h627 u8 acpi_ut_safe_strcpy(char *dest, acpi_size dest_size, char *source);
629 void acpi_ut_safe_strncpy(char *dest, char *source, acpi_size dest_size);
631 u8 acpi_ut_safe_strcat(char *dest, acpi_size dest_size, char *source);
635 acpi_size dest_size,
/openbmc/qemu/block/
H A Dqcow2-threads.c69 typedef ssize_t (*Qcow2CompressFunc)(void *dest, size_t dest_size,
73 size_t dest_size; member
93 static ssize_t qcow2_zlib_compress(void *dest, size_t dest_size, in qcow2_zlib_compress() argument
113 strm.avail_out = dest_size; in qcow2_zlib_compress()
118 ret = dest_size - strm.avail_out; in qcow2_zlib_compress()
149 strm.avail_out = dest_size; in qcow2_zlib_decompress()
195 .size = dest_size, in qcow2_zstd_compress()
237 assert(output.pos <= dest_size); in qcow2_zstd_compress()
263 .size = dest_size, in qcow2_zstd_decompress()
332 data->ret = data->func(data->dest, data->dest_size, in qcow2_compress_pool_func()
[all …]
H A Dqcow2.h1062 qcow2_co_compress(BlockDriverState *bs, void *dest, size_t dest_size,
1065 qcow2_co_decompress(BlockDriverState *bs, void *dest, size_t dest_size,
/openbmc/linux/fs/pstore/
H A Dftrace.c160 size_t dest_size, src_size, total, dest_off, src_off; in pstore_ftrace_combine_log() local
167 dest_size = *dest_log_size - dest_off; in pstore_ftrace_combine_log()
172 total = dest_size + src_size; in pstore_ftrace_combine_log()
181 while (dest_size > 0 && src_size > 0) { in pstore_ftrace_combine_log()
185 dest_size -= record_size; in pstore_ftrace_combine_log()
192 while (dest_size > 0) { in pstore_ftrace_combine_log()
194 dest_size -= record_size; in pstore_ftrace_combine_log()
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dmain.c1051 u16 *dest_size, in b43legacy_generate_probe_resp() argument
1089 *dest_size = dest_pos; in b43legacy_generate_probe_resp()
1098 *dest_size, in b43legacy_generate_probe_resp()