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

/freebsd-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/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-10.0-release/sys/dev/adb/
H A Dadb_kbd.c82 volatile int buffers; member in struct:adb_kbd_softc
302 sc->buffers = 0;
435 if ((data[0] & 0x7f) == 57 && sc->buffers < 7) {
437 sc->buffer[sc->buffers++] = data[0] & 0x7f;
438 sc->buffer[sc->buffers++] = (data[0] & 0x7f) | (1 << 7);
440 sc->buffer[sc->buffers++] = data[0];
442 if (sc->buffer[sc->buffers-1] < 0xff)
443 sc->last_press = sc->buffer[sc->buffers-1];
445 if ((data[1] & 0x7f) == 57 && sc->buffers < 7) {
447 sc->buffer[sc->buffers
[all...]
/freebsd-10.0-release/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-10.0-release/usr.bin/dtc/
H A Dfdt.hh272 * Constructs a new property from two input buffers, pointing to the
403 * Constructs a new node from two input buffers, pointing to the struct
611 * A collection of input buffers that we are using. These input
612 * buffers are the ones that own their memory, and so we must preserve
615 std::vector<input_buffer*> buffers; member in class:dtc::fdt::device_tree
723 * Destroy the tree and any input buffers that it holds.
H A Dfdt.cc1066 buffers.push_back(b);
1079 buffers.push_back(b);
1414 while (!buffers.empty())
1416 delete buffers.back();
1417 buffers.pop_back();
/freebsd-10.0-release/sys/compat/linprocfs/
H A Dlinprocfs.c149 unsigned long buffers, cached; /* buffer / cache memory ??? */ local
183 buffers = bufspace;
188 buffers = 0;
192 " total: used: free: shared: buffers: cached:\n"
202 memtotal, memused, memfree, memshared, buffers, cached,
205 B2K(memshared), B2K(buffers), B2K(cached),
/freebsd-10.0-release/crypto/heimdal/lib/gssapi/gssapi/
H A Dgssapi.h835 size_t buffers; /**< extra GSS_IOV_BUFFER_TYPE_EMPTY buffer to pass */ member in struct:__anon4783

Completed in 168 milliseconds