Home
last modified time | relevance | path

Searched full:buffer (Results 1 – 25 of 4085) sorted by relevance

12345678910>>...164

/openbmc/qemu/util/
H A Dbuffer.c23 #include "qemu/buffer.h"
34 static size_t buffer_req_size(Buffer *buffer, size_t len) in buffer_req_size() argument
37 pow2ceil(buffer->offset + len)); in buffer_req_size()
40 static void buffer_adj_size(Buffer *buffer, size_t len) in buffer_adj_size() argument
42 size_t old = buffer->capacity; in buffer_adj_size()
43 buffer->capacity = buffer_req_size(buffer, len); in buffer_adj_size()
44 buffer->buffer = g_realloc(buffer->buffer, buffer->capacity); in buffer_adj_size()
45 trace_buffer_resize(buffer->name ?: "unnamed", in buffer_adj_size()
46 old, buffer->capacity); in buffer_adj_size()
48 /* make it even harder for the buffer to shrink, reset average size in buffer_adj_size()
[all …]
/openbmc/qemu/include/qemu/
H A Dbuffer.h25 typedef struct Buffer Buffer; typedef
28 * Buffer:
30 * The Buffer object provides a simple dynamically resizing
35 struct Buffer { struct
40 uint8_t *buffer; member
45 * @buffer: the buffer object
46 * @name: buffer name
48 * Optionally attach a name to the buffer, to make it easier
51 void buffer_init(Buffer *buffer, const char *name, ...) argument
56 * @buffer: the buffer object
[all …]
/openbmc/linux/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c
/openbmc/linux/tools/testing/selftests/mm/
Dhmm-tests.c
/openbmc/linux/drivers/s390/char/
Dsclp_rw.c
/openbmc/linux/fs/configfs/
Dfile.c
/openbmc/linux/sound/pci/hda/
Dhda_proc.c
/openbmc/linux/sound/pci/ca0106/
Dca0106_proc.c
/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/
H A Dncsi_server.h37 * Build the header for the response to the command in the buffer.
40 * request_buf: buffer containing NC-SI request.
41 * response_buf: buffer, where to put the response. Must be big enough to fit
52 * Construct simple ACK command in the buffer, given the buffer with the
56 * request_buf: buffer containing NC-SI request.
57 * response_buf: buffer, where to put the response. Must be big enough to fit
60 * Returns the size of the response in the buffer.
66 * Construct simple NACK command in the buffer, given the buffer with the
70 * request_buf: buffer containing NC-SI request.
71 * response_buf: buffer, where to put the response. Must be big enough to fit
[all …]
/openbmc/linux/drivers/pnp/
Dinterface.c
/openbmc/linux/sound/usb/6fire/
Dcomm.c
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
Dport_buffer.c
/openbmc/linux/tools/wmi/
Ddell-smbios-example.c
/openbmc/linux/drivers/acpi/acpica/
Dexstorob.c
/openbmc/u-boot/include/
H A Dbouncebuf.h3 * Generic bounce buffer implementation
14 * GEN_BB_READ -- Data are read from the buffer eg. by DMA hardware.
15 * The source buffer is copied into the bounce buffer (if unaligned, otherwise
16 * the source buffer is used directly) upon start() call, then the operation
17 * requiring the aligned transfer happens, then the bounce buffer is lost upon
22 * GEN_BB_WRITE -- Data are written into the buffer eg. by DMA hardware.
23 * The source buffer starts in an undefined state upon start() call, then the
24 * operation requiring the aligned transfer happens, then the bounce buffer is
25 * copied into the destination buffer (if unaligned, otherwise destination
26 * buffer is used directly) upon stop() call.
[all …]
/openbmc/linux/sound/usb/
Dproc.c
/openbmc/linux/sound/firewire/dice/
Ddice-proc.c
/openbmc/linux/Documentation/core-api/
Dcircular-buffers.rst
/openbmc/openbmc-test-automation/lib/
H A Descape.tcl6 proc escape_bash_quotes { buffer } { argument
8 # Do a bash-style escape of all single quotes in the buffer and return the result.
23 # buffer The string whose single quotes are to be escaped.
25 regsub -all {'} $buffer {'\''} new_buffer
31 proc quotes_to_curly_braces { buffer } { argument
40 # buffer The string whose quotes are to be converted to curly braces.
44 # set buffer {'Mike'\''s dog'}
45 # print_var buffer
46 # set buffer [quotes_to_curly_braces $buffer]
47 # print_var buffer
[all …]
/openbmc/linux/drivers/platform/surface/aggregator/
Dssh_parser.h
/openbmc/linux/fs/xfs/libxfs/
Dxfs_cksum.h
/openbmc/linux/drivers/media/tuners/
Dtea5767.c
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/fault/
Dgp100.c
/openbmc/linux/sound/pci/lola/
Dlola_proc.c
/openbmc/linux/sound/firewire/fireworks/
Dfireworks_proc.c

12345678910>>...164