/freebsd-10-stable/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_test.c | 42 * 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-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-dma-engine.c | 310 * @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 D | cvmx-helper-fpa.c | 63 * @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 D | cvmx-dma-engine.h | 129 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 D | cvmx-sriomaintx-defs.h | 2430 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 D | cvmx-srio.c | 1367 if (sriomaintx_ir_sp_rx_stat.s.buffers < 1) 1555 * to a chain of buffers that hold an outbound srio packet.
|
/freebsd-10-stable/sys/dev/isci/scil/ |
H A D | scic_sds_unsolicited_frame_control.h | 59 * 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 D | scic_sds_unsolicited_frame_control.c | 73 * 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 D | scic_sds_controller.c | 301 // 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-stable/contrib/ntp/sntp/libevent/ |
H A D | buffer_iocp.c | 65 /** 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-10-stable/crypto/heimdal/lib/krb5/ |
H A D | pac.c | 47 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-stable/sys/dev/adb/ |
H A D | adb_kbd.c | 82 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-stable/sys/dev/netmap/ |
H A D | if_ixl_netmap.h | 151 * reclaim buffers from previously completed transmission. 209 __builtin_prefetch(&txr->buffers[nic_i]); 219 struct ixl_tx_buf *txbuf = &txr->buffers[nic_i]; 226 __builtin_prefetch(&txr->buffers[nic_i + 1]); 262 * Second part: reclaim buffers for completed transmissions. 349 rxr->buffers[nic_i].pmap, BUS_DMASYNC_POSTREAD); 368 * and make the buffers available for reception. 382 struct ixl_rx_buf *rxbuf = &rxr->buffers[nic_i];
|
/freebsd-10-stable/sys/dev/ixl/ |
H A D | ixl_txrx.c | 176 ** Flush all queue ring buffers 259 buf = &txr->buffers[first]; 346 buf = &txr->buffers[i]; 375 txr->buffers[first].map = buf->map; 380 buf = &txr->buffers[first]; 456 if (!(txr->buffers = 465 buf = txr->buffers; 521 buf = txr->buffers; 570 buf = &txr->buffers[i]; 593 if (txr->buffers ! [all...] |
H A D | ixl.h | 404 struct ixl_tx_buf *buffers; member in struct:tx_ring 440 struct ixl_rx_buf *buffers; member in struct:rx_ring
|
/freebsd-10-stable/sys/dev/pdq/ |
H A D | pdq.c | 38 * 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-stable/usr.bin/dtc/ |
H A D | fdt.hh | 272 * 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 D | fdt.cc | 1067 buffers.push_back(b); 1080 buffers.push_back(b); 1415 while (!buffers.empty()) 1417 delete buffers.back(); 1418 buffers.pop_back();
|
/freebsd-10-stable/sys/compat/linprocfs/ |
H A D | linprocfs.c | 148 unsigned long buffers, cached; /* buffer / cache memory ??? */ local 182 buffers = bufspace; 187 buffers = 0; 191 " total: used: free: shared: buffers: cached:\n" 201 memtotal, memused, memfree, memshared, buffers, cached, 204 B2K(memshared), B2K(buffers), B2K(cached),
|
/freebsd-10-stable/crypto/heimdal/lib/gssapi/gssapi/ |
H A D | gssapi.h | 835 size_t buffers; /**< extra GSS_IOV_BUFFER_TYPE_EMPTY buffer to pass */ member in struct:__anon5061
|
/freebsd-10-stable/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/ |
H A D | arc.c | 102 * Arc buffers may have an associated eviction callback function. 139 * caches data in two ways -- in a list of arc buffers (arc_buf_t) and 271 /* set with ZFS_DEBUG=watch, to enable watchpoints on frozen buffers */ 437 * Note that buffers can be in one of 6 states: 446 * the only buffers that can be evicted or deleted. Within each 452 * Anonymous buffers are buffers that are not associated with 453 * a DVA. These are buffers that hold dirty block copies 459 * The ARC_l2c_only state is for buffers that are in the second 461 * level ARC itself may also contain buffers tha 2289 uint32_t buffers = 0; local 2344 uint32_t buffers = 0; local [all...] |