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

/freebsd-11-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-11-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-11-stable/sys/dev/isci/scil/
H A Dscic_sds_unsolicited_frame_control.h59 * payload buffers.
157 // unused buffers.
199 * 64-bit pointers that point to 1KB buffers into which
207 * can be larger than the actual number of UF buffers, but it must
253 SCIC_SDS_UF_BUFFER_ARRAY_T buffers; member in struct:SCIC_SDS_UNSOLICITED_FRAME_CONTROL
297 ( ((uf_control).buffers.count * SCU_UNSOLICITED_FRAME_BUFFER_SIZE) \
299 + ((uf_control).buffers.count * sizeof(SCU_UNSOLICITED_FRAME_HEADER_T)) )
H A Dscic_sds_unsolicited_frame_control.c73 * the number of unsolicited frame buffers to be utilized.
86 (uf_control->address_table.count < uf_control->buffers.count)
131 // Program the unused buffers into the UF address table and the
135 uf = &uf_control->buffers.array[index];
145 // Program the actual used UF buffers into the UF address table and
151 uf = &uf_control->buffers.array[index];
170 * frame control object (buffers, headers, address, table, etc).
197 // table, and UF buffers themselves.
198 used_uf_buffer_bytes = uf_control->buffers.count
201 - uf_control->buffers
[all...]
H A Dscic_sds_controller.c301 // the number of unsolicited frame buffers to be utilized.
2191 = this_controller->uf_control.buffers.array[frame_index].header;
2192 this_controller->uf_control.buffers.array[frame_index].state
4522 this_controller->uf_control.buffers.count =
4523 MIN(this_controller->uf_control.buffers.count, SCU_UNSOLICITED_FRAME_COUNT);
4537 this_controller->uf_control.buffers.count =
4538 MIN(this_controller->uf_control.buffers.count, SCU_MIN_UNSOLICITED_FRAMES);
6558 this_controller->uf_control.buffers.count = SCU_UNSOLICITED_FRAME_COUNT;
/freebsd-11-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-11-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-11-stable/sys/dev/adb/
H A Dadb_kbd.c82 volatile int buffers; member in struct:adb_kbd_softc
300 sc->buffers = 0;
433 if ((data[0] & 0x7f) == 57 && sc->buffers < 7) {
435 sc->buffer[sc->buffers++] = data[0] & 0x7f;
436 sc->buffer[sc->buffers++] = (data[0] & 0x7f) | (1 << 7);
438 sc->buffer[sc->buffers++] = data[0];
440 if (sc->buffer[sc->buffers-1] < 0xff)
441 sc->last_press = sc->buffer[sc->buffers-1];
443 if ((data[1] & 0x7f) == 57 && sc->buffers < 7) {
445 sc->buffer[sc->buffers
[all...]
/freebsd-11-stable/tests/sys/aio/
H A Daio_test.c1010 * two buffers should ensure that the write has not completed
1054 } buffers[16]; local
1069 ATF_REQUIRE(ftruncate(fd, sb.st_blksize * nitems(buffers)) == 0);
1077 for (i = 0; i < nitems(buffers); i++) {
1078 buffers[i].done = false;
1079 memset(&buffers[i].iocb, 0, sizeof(buffers[i].iocb));
1080 buffers[i].buffer = malloc(sb.st_blksize);
1081 aio_fill_buffer(buffers[i].buffer, sb.st_blksize, random());
1082 buffers[
[all...]
/freebsd-11-stable/sys/dev/ixl/
H A Dixl_txrx.c258 ** Flush all queue ring buffers
340 buf = &txr->buffers[first];
419 buf = &txr->buffers[i];
451 txr->buffers[first].map = buf->map;
456 buf = &txr->buffers[first];
530 if (!(txr->buffers =
539 buf = txr->buffers;
557 free(txr->buffers, M_DEVBUF);
558 txr->buffers = NULL;
609 buf = txr->buffers;
[all...]
H A Dixl.h455 struct ixl_tx_buf *buffers; member in struct:tx_ring
492 struct ixl_rx_buf *buffers; member in struct:rx_ring
/freebsd-11-stable/sys/dev/netmap/
H A Dif_ixl_netmap.h152 * reclaim buffers from previously completed transmission.
210 __builtin_prefetch(&txr->buffers[nic_i]);
220 struct ixl_tx_buf *txbuf = &txr->buffers[nic_i];
227 __builtin_prefetch(&txr->buffers[nic_i + 1]);
264 * Second part: reclaim buffers for completed transmissions.
350 rxr->buffers[nic_i].pmap, BUS_DMASYNC_POSTREAD);
369 * and make the buffers available for reception.
383 struct ixl_rx_buf *rxbuf = &rxr->buffers[nic_i];
/freebsd-11-stable/sys/dev/pdq/
H A Dpdq.c38 * a flushing of memory or write buffers and/or has incoherent caches)
42 * flushing of the write buffers.
646 * event buffers so it can be used to initialize the queue
710 * Now give back the event buffers back to the PDQ.
730 PDQ_OS_DATABUF_T **buffers = (PDQ_OS_DATABUF_T **) rx->rx_buffers;
740 fpdu = lpdu = buffers[completion];
772 * Update the lengths of the data buffers now that we know
782 buffers[completion] = npdu;
790 PDQ_OS_DATABUF_NEXT_SET(lpdu, buffers[(completion + idx) & ring_mask]);
792 buffers[(completio
722 PDQ_OS_DATABUF_T **buffers = (PDQ_OS_DATABUF_T **) rx->rx_buffers; local
1120 PDQ_OS_DATABUF_T **buffers; local
[all...]
/freebsd-11-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-11-stable/sys/compat/linprocfs/
H A Dlinprocfs.c147 unsigned long buffers, cached; /* buffer / cache memory ??? */ local
173 buffers = bufspace;
178 buffers = 0;
188 B2K(memtotal), B2K(memfree), B2K(buffers),
/freebsd-11-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-11-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:__anon5959
/freebsd-11-stable/contrib/mdocml/
H A Dread.c442 * preprocessor can also readjust the buffers with new
537 /* Temporary buffers typically are not full. */
/freebsd-11-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/
H A Darc.c130 * caches data in two ways -- in a list of ARC buffers (arc_buf_t) and
142 * arc_buf_hdr_t can have multiple ARC buffers (arc_buf_t) which reference it.
147 * amount of memory consumed by the arc_buf_ts' data buffers can be seen via the
238 * a newly allocated b_pabd. Writes are always done into buffers which have
240 * buffers which have been released (and hence have their own hdr, if there
286 /* set with ZFS_DEBUG=watch, to enable watchpoints on frozen buffers */
492 * Note that buffers can be in one of 6 states:
501 * the only buffers that can be evicted or deleted. Within each
507 * Anonymous buffers are buffers tha
2619 uint32_t buffers = 0; local
2672 uint32_t buffers = 0; local
[all...]

Completed in 408 milliseconds