Searched refs:buffers (Results 1 - 23 of 23) sorted by relevance

/freebsd-13-stable/sys/contrib/xz-embedded/linux/lib/xz/
H A Dxz_dec_test.c42 * Input and output buffers. The input buffer is used as a temporary safe
49 * Structure to pass the input and output buffers to the XZ decoder.
52 static struct xz_buf buffers = { variable in typeref:struct:xz_buf
75 buffers.in_pos = 0;
76 buffers.in_size = 0;
77 buffers.out_pos = 0;
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size)
122 if (buffers.in_pos == buffers
[all...]
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-dma-engine.c310 * @param buffers Command data pointers
314 int cvmx_dma_engine_submit(int engine, cvmx_dma_engine_header_t header, int num_buffers, cvmx_dma_engine_buffer_t buffers[]) argument
333 cmds[cmd_count++] = buffers->u64;
334 buffers++;
376 * @param buffers Location to store the list
382 static inline int __cvmx_dma_engine_build_internal_pointers(cvmx_dma_engine_buffer_t *buffers, uint64_t address, int size) argument
391 buffers[segments].u64 = 0;
392 buffers[segments].internal.size = chunk;
393 buffers[segments].internal.addr = address;
406 * @param buffers Locatio
413 __cvmx_dma_engine_build_external_pointers(cvmx_dma_engine_buffer_t *buffers, uint64_t address, int size) argument
523 cvmx_dma_engine_buffer_t buffers[32]; local
[all...]
H A Dcvmx-helper-fpa.c63 * @param buffer_size Size of buffers to allocate in bytes
64 * @param buffers Number of buffers to put in the pool. Zero is allowed
69 uint64_t buffers, const char *name)
75 /* Align the allocation so that power of 2 size buffers are naturally aligned */
79 if (buffers == 0)
85 cvmx_dprintf("Fpa pool %d(%s) already has %llu buffers. Skipping setup.\n",
90 memory = cvmx_bootmem_alloc(buffer_size * buffers, align);
96 cvmx_fpa_setup_pool(pool, name, memory, buffer_size, buffers);
105 * buffers wil
68 __cvmx_helper_initialize_fpa_pool(int pool, uint64_t buffer_size, uint64_t buffers, const char *name) argument
[all...]
H A Dcvmx-dma-engine.h129 buffers in the FIRST POINTERS area:
133 whether local buffers are freed on a pointer-by-pointer basis:
136 II must never be set, and local buffers are never freed. */
138 When FL = 1, for an OUTBOUND operation, it indicates that the local buffers in
147 FL must never be set, and local buffers are never freed. */
190 This bit gives the software the ability to free buffers independently for an
192 must not be set, and buffers are never freed, for INBOUND, INTERNAL-ONLY,
201 Back must be 0x0, and buffers are never freed, for INBOUND, INTERNAL-ONLY,
207 and buffers are never freed, for INBOUND, INTERNAL-ONLY, and EXTERNAL-ONLY
279 * @param buffers Comman
[all...]
H A Dcvmx-sriomaintx-defs.h2430 uint32_t tx_wm3 : 4; /**< Number of buffers free before a priority 3 packet
2433 uint32_t tx_wm2 : 4; /**< Number of buffers free before a priority 2 packet
2436 uint32_t tx_wm1 : 4; /**< Number of buffers free before a priority 1 packet
2439 uint32_t tx_wm0 : 4; /**< Number of buffers free before a priority 0 packet
2442 uint32_t rx_wm3 : 4; /**< Number of buffers free before a priority 3 packet
2445 uint32_t rx_wm2 : 4; /**< Number of buffers free before a priority 2 packet
2448 uint32_t rx_wm1 : 4; /**< Number of buffers free before a priority 1 packet
2451 uint32_t rx_wm0 : 4; /**< Number of buffers free before a priority 0 packet
2773 uint32_t buffers : 4; /**< This field indicates how many complete packets are member in struct:cvmx_sriomaintx_ir_sp_rx_stat::cvmx_sriomaintx_ir_sp_rx_stat_s
2778 equals the number of available reception buffers
2799 uint32_t buffers : 4; /**< This field indicates how many complete packets are member in struct:cvmx_sriomaintx_ir_sp_rx_stat::cvmx_sriomaintx_ir_sp_rx_stat_cn63xxp1
2910 uint32_t buffers : 4; /**< This field indicates how many complete packets are member in struct:cvmx_sriomaintx_ir_sp_tx_stat::cvmx_sriomaintx_ir_sp_tx_stat_s
[all...]
H A Dcvmx-srio.c1367 if (sriomaintx_ir_sp_rx_stat.s.buffers < 1)
1555 * to a chain of buffers that hold an outbound srio packet.
/freebsd-13-stable/sys/dev/isci/scil/
H A Dscic_sds_unsolicited_frame_control.h61 * payload buffers.
159 // unused buffers.
201 * 64-bit pointers that point to 1KB buffers into which
209 * can be larger than the actual number of UF buffers, but it must
255 SCIC_SDS_UF_BUFFER_ARRAY_T buffers; member in struct:SCIC_SDS_UNSOLICITED_FRAME_CONTROL
299 ( ((uf_control).buffers.count * SCU_UNSOLICITED_FRAME_BUFFER_SIZE) \
301 + ((uf_control).buffers.count * sizeof(SCU_UNSOLICITED_FRAME_HEADER_T)) )
H A Dscic_sds_unsolicited_frame_control.c75 * the number of unsolicited frame buffers to be utilized.
88 (uf_control->address_table.count < uf_control->buffers.count)
133 // Program the unused buffers into the UF address table and the
137 uf = &uf_control->buffers.array[index];
147 // Program the actual used UF buffers into the UF address table and
153 uf = &uf_control->buffers.array[index];
172 * frame control object (buffers, headers, address, table, etc).
199 // table, and UF buffers themselves.
200 used_uf_buffer_bytes = uf_control->buffers.count
203 - uf_control->buffers
[all...]
H A Dscic_sds_controller.c303 // the number of unsolicited frame buffers to be utilized.
2193 = this_controller->uf_control.buffers.array[frame_index].header;
2194 this_controller->uf_control.buffers.array[frame_index].state
4524 this_controller->uf_control.buffers.count =
4525 MIN(this_controller->uf_control.buffers.count, SCU_UNSOLICITED_FRAME_COUNT);
4539 this_controller->uf_control.buffers.count =
4540 MIN(this_controller->uf_control.buffers.count, SCU_MIN_UNSOLICITED_FRAMES);
6560 this_controller->uf_control.buffers.count = SCU_UNSOLICITED_FRAME_COUNT;
/freebsd-13-stable/contrib/libevent/
H A Dbuffer_iocp.c65 /** How many chains are pinned; how many of the fields in buffers
68 WSABUF buffers[MAX_WSABUFS]; member in struct:evbuffer_overlapped
116 len = buf->buffers[i].len;
200 memset(buf_o->buffers, 0, sizeof(buf_o->buffers));
205 WSABUF *b = &buf_o->buffers[i];
225 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0,
266 memset(buf_o->buffers, 0, sizeof(buf_o->buffers));
276 &buf_o->buffers[
[all...]
/freebsd-13-stable/contrib/ntp/sntp/libevent/
H A Dbuffer_iocp.c65 /** How many chains are pinned; how many of the fields in buffers
68 WSABUF buffers[MAX_WSABUFS]; member in struct:evbuffer_overlapped
116 len = buf->buffers[i].len;
200 memset(buf_o->buffers, 0, sizeof(buf_o->buffers));
205 WSABUF *b = &buf_o->buffers[i];
225 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0,
266 memset(buf_o->buffers, 0, sizeof(buf_o->buffers));
276 &buf_o->buffers[
[all...]
/freebsd-13-stable/crypto/heimdal/lib/krb5/
H A Dpac.c47 struct PAC_INFO_BUFFER buffers[1]; member in struct:PACTYPE
144 ret = EINVAL; /* Too few buffers */
157 sizeof(*p->pac) + (sizeof(p->pac->buffers[0]) * (tmp - 1)));
173 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].type), out);
174 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].buffersize), out);
175 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_lo), out);
176 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_hi), out);
179 if (p->pac->buffers[i].offset_lo & (PAC_ALIGNMENT - 1)) {
185 if (p->pac->buffers[i].offset_hi) {
191 if (p->pac->buffers[
[all...]
/freebsd-13-stable/sys/dev/adb/
H A Dadb_kbd.c86 volatile int buffers; member in struct:adb_kbd_softc
303 sc->buffers = 0;
437 if ((data[0] & 0x7f) == 57 && sc->buffers < 7) {
439 sc->buffer[sc->buffers++] = data[0] & 0x7f;
440 sc->buffer[sc->buffers++] = (data[0] & 0x7f) | (1 << 7);
442 sc->buffer[sc->buffers++] = data[0];
444 if (sc->buffer[sc->buffers-1] < 0xff)
445 sc->last_press = sc->buffer[sc->buffers-1];
447 if ((data[1] & 0x7f) == 57 && sc->buffers < 7) {
449 sc->buffer[sc->buffers
[all...]
/freebsd-13-stable/contrib/bmake/unit-tests/
H A Dcmdline-redirect-stdin.mk22 # probably buffers its input. Most shells use unbuffered stdin, and this
/freebsd-13-stable/tests/sys/aio/
H A Daio_test.c1217 * two buffers should ensure that the write has not completed
1297 } buffers[16]; local
1312 ATF_REQUIRE(ftruncate(fd, sb.st_blksize * nitems(buffers)) == 0);
1320 for (i = 0; i < nitems(buffers); i++) {
1321 buffers[i].done = false;
1322 memset(&buffers[i].iocb, 0, sizeof(buffers[i].iocb));
1323 buffers[i].buffer = malloc(sb.st_blksize);
1324 aio_fill_buffer(buffers[i].buffer, sb.st_blksize, random());
1325 buffers[
[all...]
/freebsd-13-stable/contrib/libpcap/msdos/
H A Dpkt_rx1.s11 %define NUM_RX_BUF 32 ; # of RX element buffers
H A Dpkt_rx0.asm21 NUM_RX_BUF = 32 ; # of RX element buffers
/freebsd-13-stable/sys/compat/linprocfs/
H A Dlinprocfs.c150 unsigned long buffers; /* buffer cache */ local
172 sz = sizeof(buffers);
173 error = kernel_sysctlbyname(curthread, "vfs.bufspace", &buffers, &sz,
176 buffers = 0;
185 B2K(memtotal), B2K(memfree), B2K(buffers),
/freebsd-13-stable/usr.bin/dtc/
H A Dfdt.hh313 * Constructs a new property from two input buffers, pointing to the
520 * Constructs a new node from two input buffers, pointing to the struct
818 * A collection of input buffers that we are using. These input
819 * buffers are the ones that own their memory, and so we must preserve
822 std::vector<std::unique_ptr<input_buffer>> buffers; member in class:dtc::fdt::device_tree
/freebsd-13-stable/crypto/heimdal/lib/gssapi/gssapi/
H A Dgssapi.h835 size_t buffers; /**< extra GSS_IOV_BUFFER_TYPE_EMPTY buffer to pass */ member in struct:__anon6727
/freebsd-13-stable/contrib/mandoc/
H A Dread.c269 * preprocessor can also readjust the buffers with new
/freebsd-13-stable/sys/dev/qat/
H A Dqat.c1353 qat_crypto_populate_buf_list(struct buffer_list_desc *buffers, argument
1377 flatbuf = &buffers->flat_bufs[oseg++];
1381 buffers->num_buffers = oseg;
/freebsd-13-stable/sys/contrib/openzfs/module/zfs/
H A Darc.c111 * arc_meta_limit is reached and no buffers can be safely evicted. In
112 * this case the arc user should drop a reference on some arc buffers so
146 * caches data in two ways -- in a list of ARC buffers (arc_buf_t) and
158 * arc_buf_hdr_t can have multiple ARC buffers (arc_buf_t) which reference it.
163 * amount of memory consumed by the arc_buf_ts' data buffers can be seen via the
254 * a newly allocated b_pabd. Writes are always done into buffers which have
256 * buffers which have been released (and hence have their own hdr, if there
282 * copied out of this header. To avoid complications with b_pabd, raw buffers
315 /* set with ZFS_DEBUG=watch, to enable watchpoints on frozen buffers */
439 * Enable or disable compressed arc buffers
2518 uint32_t buffers = 0; local
2578 uint32_t buffers = 0; local
[all...]

Completed in 309 milliseconds