Home
last modified time | relevance | path

Searched full:buffers (Results 1 – 25 of 2207) sorted by relevance

12345678910>>...89

/freebsd/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
75 buffers.in_pos = 0; in xz_dec_test_open()
76 buffers.in_size = 0; in xz_dec_test_open()
77 buffers.out_pos = 0; in xz_dec_test_open()
120 while ((remaining > 0 || buffers.out_pos == buffers.out_size) in xz_dec_test_write()
122 if (buffers.in_pos == buffers.in_size) { in xz_dec_test_write()
123 buffers.in_pos = 0; in xz_dec_test_write()
124 buffers.in_size = min(remaining, sizeof(buffer_in)); in xz_dec_test_write()
[all …]
/freebsd/crypto/openssl/doc/man3/
H A DSSL_alloc_buffers.pod5 SSL_free_buffers, SSL_alloc_buffers - manage SSL structure buffers
16 SSL_free_buffers() frees the read and write buffers of the given B<ssl>.
17 SSL_alloc_buffers() allocates the read and write buffers of the given B<ssl>.
19 The B<SSL_MODE_RELEASE_BUFFERS> mode releases read or write buffers whenever
20 the buffers have been drained. These functions allow applications to manually
21 control when buffers are freed and allocated.
23 After freeing the buffers, the buffers are automatically reallocated upon a
25 can be used to make sure the buffers are preallocated. This can be used to
27 to control where and how buffers are allocated.
46 The SSL_free_buffers() function returns 1 if the buffers have been freed. This
[all …]
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/
H A Dxray_buffer_queue.h26 /// BufferQueue implements a circular queue of fixed sized buffers (much like a
28 /// get from or return buffers to the queue. This is one key component of the
34 /// store for all buffers and extents managed by a BufferQueue instance. The
78 // Buffer`. Note that we only advance to the "used" buffers, when
82 BufferRep *Buffers = nullptr;
90 } while (Offset != Max && !Buffers[Offset].Used);
100 T &operator*() const { return Buffers[Offset].Buff; }
102 T *operator->() const { return &(Buffers[Offset].Buff); }
105 : Buffers(Root), in Iterator()
110 while (Offset != Max && !Buffers[Offset].Used) { in Iterator()
[all …]
H A Dxray_buffer_queue.cpp105 Buffers = initArray<BufferRep>(BufferCount); in init()
106 if (Buffers == nullptr) in init()
109 // At this point we increment the generation number to associate the buffers in init()
118 // Then we initialise the individual buffers that sub-divide the whole backing in init()
122 auto &T = Buffers[i]; in init()
137 Next = Buffers; in init()
138 First = Buffers; in init()
153 Buffers(nullptr),
154 Next(Buffers),
155 First(Buffers),
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DSSL_alloc_buffers.367 SSL_free_buffers, SSL_alloc_buffers \- manage SSL structure buffers
78 \&\fBSSL_free_buffers()\fR frees the read and write buffers of the given \fBssl\fR.
79 \&\fBSSL_alloc_buffers()\fR allocates the read and write buffers of the given \fBssl\fR.
81 The \fBSSL_MODE_RELEASE_BUFFERS\fR mode releases read or write buffers whenever
82 the buffers have been drained. These functions allow applications to manually
83 control when buffers are freed and allocated.
85 After freeing the buffers, the buffers are automatically reallocated upon a
87 can be used to make sure the buffers are preallocated. This can be used to
89 to control where and how buffers are allocated.
103 The \fBSSL_free_buffers()\fR function returns 1 if the buffers have been freed. This
[all …]
/freebsd/sys/contrib/openzfs/include/sys/
H A Darc_impl.h35 * We can feed L2ARC from two states of ARC buffers, mru and mfu,
69 * Note that buffers can be in one of 6 states:
79 * the only buffers that can be evicted or deleted. Within each
85 * Anonymous buffers are buffers that are not associated with
86 * a DVA. These are buffers that hold dirty block copies
92 * The ARC_l2c_only state is for buffers that are in the second
94 * level ARC itself may also contain buffers that are in any of
103 * list of evictable buffers
156 * ARC buffers are separated into multiple structs as a memory saving measure:
351 * These structures hold in-flight abd buffers for log blocks as they're being
[all …]
/freebsd/contrib/unbound/sldns/
H A Dwire2str.h153 * Scan wireformat rr to string, with user buffers. It shifts the arguments
168 * Scan wireformat question rr to string, with user buffers.
183 * Scan wireformat RR to string in unknown RR format, with user buffers.
199 * with user buffers. Moves string along.
213 * Scan wireformat packet header to string, with user buffers.
225 * Scan wireformat rdata to string, with user buffers.
244 * Scan wireformat rdata to string in unknown format, with user buffers.
256 * Scan wireformat domain name to string, with user buffers.
277 * Scan wireformat rr type to string, with user buffers.
289 * Scan wireformat rr class to string, with user buffers.
[all …]
/freebsd/crypto/openssl/doc/designs/
H A Devp-cipher-pipeline.md33 Input/output and aad buffers are set using `EVP_CIPHER_CTX_ctrl()`
89 * @param out array of pointers to output buffers (array length must be
91 * when NULL, input buffers are treated as AAD data
96 * @param in array of pointers to input buffers (array length must be
106 * @param outm array of pointers to output buffers (array length must be
122 * @param buf array of pointers to aead buffers (array length must be
124 * @param bsize size of one buffer (all buffers must be of same size)
131 **Alternative:** iovec style interface for input/output buffers.
140 * @param out array of EVP_CIPHER_buf containing output buffers (array
142 * when this param is NULL, input buffers are treated as AAD
[all …]
/freebsd/contrib/xz/src/liblzma/common/
H A Doutqueue.h21 /// Pointer to the next buffer. This is used for the cached buffers.
74 /// Linked list of buffers in use. The next output byte will be
75 /// read from the head and buffers for the next thread will be
83 /// Linked list of allocated buffers that aren't currently used.
84 /// This way buffers of similar size can be reused and don't
86 /// cached buffers in the list have the same allocated size.
89 /// Total amount of memory allocated for buffers
92 /// Amount of memory used by the buffers that are in use in
96 /// Number of buffers in use in the head...tail list. If and only if
100 /// Number of buffers allocated (in use + cached)
[all …]
/freebsd/sys/dev/qat/qat_api/include/dc/
H A Dcpa_dc_bp.h62 * Submit a batch of requests to compress a batch of input buffers into
69 * This API compresses a batch of input buffers and concatenates the
93 * structures which contain the input buffers
130 * When this function returns, it may be that all of the available buffers in
133 * should note the amount of buffers processed, and then submit the request
135 * the buffers that were not previously compressed.
137 * Relationship between input buffers and results buffers.
139 * flat buffers of the input buffer list.
140 * -# The implementation communicates the number of buffers
146 * -# The buffer list must have the correct number of flat buffers. This
[all …]
/freebsd/sys/dev/isci/scil/
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) in scic_sds_unsolicited_frame_control_set_address_table_count()
131 // Program the unused buffers into the UF address table and the in scic_sds_unsolicited_frame_control_construct_frames()
135 uf = &uf_control->buffers.array[index]; in scic_sds_unsolicited_frame_control_construct_frames()
145 // Program the actual used UF buffers into the UF address table and in scic_sds_unsolicited_frame_control_construct_frames()
151 uf = &uf_control->buffers.array[index]; in scic_sds_unsolicited_frame_control_construct_frames()
170 * frame control object (buffers, headers, address, table, etc).
197 // table, and UF buffers themselves. in scic_sds_unsolicited_frame_control_construct()
198 used_uf_buffer_bytes = uf_control->buffers.count in scic_sds_unsolicited_frame_control_construct()
201 - uf_control->buffers.count; in scic_sds_unsolicited_frame_control_construct()
[all …]
/freebsd/crypto/heimdal/lib/krb5/
H A Dpac.c47 struct PAC_INFO_BUFFER buffers[1]; member
125 krb5_set_error_message(context, ret, "PAC has too many buffers"); in pac_header_size()
133 krb5_set_error_message(context, ret, "PAC has too many buffers"); in pac_header_size()
194 ret = EINVAL; /* Too few buffers */ in krb5_pac_parse()
226 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].type), out); in krb5_pac_parse()
227 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].buffersize), out); in krb5_pac_parse()
228 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_lo), out); in krb5_pac_parse()
229 CHECK(ret, krb5_ret_uint32(sp, &p->pac->buffers[i].offset_hi), out); in krb5_pac_parse()
232 if (p->pac->buffers[i].offset_lo & (PAC_ALIGNMENT - 1)) { in krb5_pac_parse()
238 if (p->pac->buffers[i].offset_hi) { in krb5_pac_parse()
[all …]
/freebsd/tools/tools/netmap/
H A Dlb.837 .Op Fl B Ar extra-buffers
80 .It Fl B Ar extra-buffers
81 Try to reserve the given number of extra buffers.
82 Extra buffers are shared among
86 tries to use extra buffers before dropping any packets directed to that pipe.
88 If all extra buffers are busy, some are stolen from the pipe with the longest
91 stalled pipe to deplete the pool of extra buffers.
103 pipes are read-only: they must not modify the buffers or the pipe ring slots
126 The facilities related to extra buffers and pipe groups have been added by
/freebsd/crypto/openssl/doc/designs/quic-design/
H A Dstream-receive-buffers.md1 Stream Receive Buffers
8 Receive Buffers requirements for MVP
28 Optional Receive Buffers requirements
31 These are optional features of the stream receive buffers implementation.
68 SSL_read() copies data out of the stored buffers if available and
72 buffers for any information about the stored data.
76 The Receive Buffers module obtains the stream data via the ssl_queue_data()
84 The Receive Buffers module provides an appropriate value for the Flow
90 The Receive Buffers module needs to know whether it should stop holding
135 to limit the memory occupied by packet buffers.
/freebsd/share/man/man9/
H A Dcrypto_buffer.936 .Nd symmetric cryptographic request buffers
104 Symmetric cryptographic requests use data buffers to describe the data to
108 or requests may specify separate data buffers for input and output.
111 different types of buffers.
118 uses separate buffers for input and output and false if
182 .Ss Data Buffers
183 Data buffers are described by an instance of
196 A scatter/gather list of kernel buffers as described in
199 A chain of network memory buffers as described in
252 buffers via virtual addresses.
H A Dvinvalbuf.932 .Nd "flushes and invalidates all buffers associated with a vnode"
41 function invalidates all of the buffers associated with the given vnode.
42 This includes buffers on the clean list and the dirty list.
45 flag is specified then the buffers on the dirty list are synced prior to being
52 A pointer to the vnode whose buffers will be invalidated.
56 and it indicates that dirty buffers should be synced with the disk.
60 buffers if
/freebsd/crypto/openssl/test/
H A Dsslbuffertest.c30 /* We include internal headers so we can check if the buffers are allocated */
68 * 1 = free buffers
69 * 2 = + allocate buffers after free
70 * 3 = + allocate buffers again
71 * 4 = + free buffers after allocation
73 * 5 = + free buffers
74 * 6 = + free buffers again
75 * 7 = + allocate buffers after free
76 * 8 = + free buffers after allocation
182 * Test that attempting to free the buffers at points where they cannot be freed
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h1 //===- SourceMgr.h - Manager for Source Buffers & Diagnostics ---*- C++ -*-===//
85 /// This is all of the buffers that we are reading from.
86 std::vector<SrcBuffer> Buffers; variable
94 bool isValidBufferID(unsigned i) const { return i && i <= Buffers.size(); } in isValidBufferID()
123 return Buffers[i - 1]; in getBufferInfo()
128 return Buffers[i - 1].Buffer.get(); in getMemoryBuffer()
131 unsigned getNumBuffers() const { return Buffers.size(); } in getNumBuffers()
140 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc()
150 Buffers.push_back(std::move(NB)); in AddNewSourceBuffer()
151 return Buffers.size(); in AddNewSourceBuffer()
[all …]
/freebsd/sys/contrib/openzfs/tests/zfs-tests/tests/functional/l2arc/
H A Dl2arc_mfuonly_pos.ksh23 # l2arc_mfuonly does not cache MRU buffers
31 # buffers with prefetch status may transition to MRU eventually.
33 # of L2ARC buffers upon their caching in L2ARC.
41 log_assert "l2arc_mfuonly does not cache MRU buffers."
55 # L2ARC_NOPREFETCH is set to 1 as some prefetched buffers may
82 # Regardless of l2arc_noprefetch, some MFU buffers might be evicted
93 log_pass "l2arc_mfuonly does not cache MRU buffers."
/freebsd/share/man/man4/
H A Dnetmap.486 memory mapped buffers.
135 Ports use preallocated circular queues of buffers
255 can also request additional unbound buffers in the same memory space,
258 buffers is specified in the
263 the number of extra buffers actually allocated (they may be less
264 than the amount requested if the memory space ran out of buffers).
266 contains the index of the first of these extra buffers,
273 this list and use the buffers (i.e., binding them to the slots of a
276 the kernel frees the buffers contained in the list pointed by
278 , irrespectively of the buffers originally provided by the kernel on
[all …]
/freebsd/sys/dev/adb/
H A Dadb_kbd.c83 volatile int buffers; member
298 sc->buffers = 0; in adb_kbd_attach()
432 if ((data[0] & 0x7f) == 57 && sc->buffers < 7) { in adb_kbd_receive_packet()
434 sc->buffer[sc->buffers++] = data[0] & 0x7f; in adb_kbd_receive_packet()
435 sc->buffer[sc->buffers++] = (data[0] & 0x7f) | (1 << 7); in adb_kbd_receive_packet()
437 sc->buffer[sc->buffers++] = data[0]; in adb_kbd_receive_packet()
439 if (sc->buffer[sc->buffers-1] < 0xff) in adb_kbd_receive_packet()
440 sc->last_press = sc->buffer[sc->buffers-1]; in adb_kbd_receive_packet()
442 if ((data[1] & 0x7f) == 57 && sc->buffers < 7) { in adb_kbd_receive_packet()
444 sc->buffer[sc->buffers++] = data[1] & 0x7f; in adb_kbd_receive_packet()
[all …]
/freebsd/lib/libsys/
H A Dsendfile.2219 .Ss physical paging buffers
222 The pager uses a pool of physical buffers to run its I/O operations.
231 .Ss sendfile(2) buffers
240 buffers available,
246 buffers available, the call will block and wait for the
247 necessary buffers to become available before finishing the call.
265 buffers available is determined at boot time by either the
273 buffers scales with
283 buffers usage respectively.
293 buffers because their task can be efficiently performed
/freebsd/crypto/krb5/src/lib/gssapi/spnego/
H A Dnegoex_ctx.c58 gss_buffer_set_t buffers = *pbuffers; in zero_and_release_buffer_set() local
61 if (buffers != GSS_C_NO_BUFFER_SET) { in zero_and_release_buffer_set()
62 for (i = 0; i < buffers->count; i++) in zero_and_release_buffer_set()
63 zap(buffers->elements[i].value, buffers->elements[i].length); in zero_and_release_buffer_set()
65 gss_release_buffer_set(&tmpmin, &buffers); in zero_and_release_buffer_set()
72 buffer_set_to_key(OM_uint32 *minor, gss_buffer_set_t buffers, in buffer_set_to_key() argument
77 /* Returned keys must be in two buffers, with the key contents in the first in buffer_set_to_key()
79 if (buffers->count != 2 || buffers->elements[1].length != 4) { in buffer_set_to_key()
86 key->contents = k5memdup(buffers->elements[0].value, in buffer_set_to_key()
87 buffers->elements[0].length, &ret); in buffer_set_to_key()
[all …]
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DUsb2HostController.h272 @param DataBuffersNumber Number of data buffers prepared for the transfer.
273 …@param Data Array of pointers to the buffers of data that will be transmitted to U…
275 …@param DataLength When input, indicates the size, in bytes, of the data buffers specifie…
415 High-speed isochronous transfers can be performed using multiple data buffers. The number of
416 buffers that are actually prepared for the transfer is specified by DataBuffersNumber. For
419 Data represents a list of pointers to the data buffers. For full-speed isochronous transfers
421 the split transactions depending on DataLengththere several data buffers canbe used. For the
422 …high-speed isochronous transfers the total number of buffers must not exceed EFI_USB_MAX_ISO_BUFFE…
425 number of buffers is limited to EFI_USB_MAX_ISO_BUFFER_NUM1.
447 @param DataBuffersNumber Number of data buffers prepared for the transfer.
[all …]
/freebsd/contrib/ntp/sntp/libevent/
H A Dbuffer_iocp.c66 /** How many chains are pinned; how many of the fields in buffers
69 WSABUF buffers[MAX_WSABUFS]; member
117 len = buf->buffers[i].len; in evbuffer_commit_read_()
201 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_write_()
206 WSABUF *b = &buf_o->buffers[i]; in evbuffer_launch_write_()
226 if (WSASend(buf_o->fd, buf_o->buffers, i, &bytesSent, 0, in evbuffer_launch_write_()
267 memset(buf_o->buffers, 0, sizeof(buf_o->buffers)); in evbuffer_launch_read_()
277 &buf_o->buffers[i], in evbuffer_launch_read_()
292 if (WSARecv(buf_o->fd, buf_o->buffers, nvecs, &bytesRead, &flags, in evbuffer_launch_read_()

12345678910>>...89