Home
last modified time | relevance | path

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

12345678910>>...77

/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.
43 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/sys/contrib/openzfs/include/sys/
H A Darc_impl.h44 * Note that buffers can be in one of 6 states:
54 * the only buffers that can be evicted or deleted. Within each
60 * Anonymous buffers are buffers that are not associated with
61 * a DVA. These are buffers that hold dirty block copies
67 * The ARC_l2c_only state is for buffers that are in the second
69 * level ARC itself may also contain buffers that are in any of
78 * list of evictable buffers
131 * ARC buffers are separated into multiple structs as a memory saving measure:
326 * These structures hold in-flight abd buffers for log blocks as they're being
551 * Number of buffers that could not be evicted because the hash lock
[all …]
/freebsd/secure/lib/libcrypto/man/man3/
H A DSSL_alloc_buffers.3140 SSL_free_buffers, SSL_alloc_buffers \- manage SSL structure buffers
151 \&\fBSSL_free_buffers()\fR frees the read and write buffers of the given \fBssl\fR.
152 \&\fBSSL_alloc_buffers()\fR allocates the read and write buffers of the given \fBssl\fR.
154 The \fB\s-1SSL_MODE_RELEASE_BUFFERS\s0\fR mode releases read or write buffers whenever
155 the buffers have been drained. These functions allow applications to manually
156 control when buffers are freed and allocated.
158 After freeing the buffers, the buffers are automatically reallocated upon a
160 can be used to make sure the buffers are preallocated. This can be used to
162 to control where and how buffers are allocated.
173 The \fBSSL_free_buffers()\fR function returns 1 if the buffers have been freed. This
[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/sys/dev/dpaa/
H A Dbman.h38 /* Maximum number of buffers in all BMAN pools */
79 * @param bufferSize The size of buffers in newly created pool.
81 * @param maxBuffers The maximum number of buffers in software stockpile.
84 * @param minBuffers The minimum number of buffers in software stockpile.
87 * @param allocBuffers The number of buffers to preallocate during pool
140 * @brief Fill pool with buffers.
142 * The bman_pool_fill() function fills the BMAN pool with buffers. The buffers
146 * @param nbufs The number of buffers to allocate. To maximize
156 * The bman_pool_destroy() function destroys the BMAN pool. Buffers for pool
185 * @brief Count free buffers in given pool.
[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/contrib/llvm-project/llvm/include/llvm/Support/
H A DSourceMgr.h1 //===- SourceMgr.h - Manager for Source Buffers & Diagnostics ---*- C++ -*-===//
84 /// This is all of the buffers that we are reading from.
85 std::vector<SrcBuffer> Buffers; variable
93 bool isValidBufferID(unsigned i) const { return i && i <= Buffers.size(); } in isValidBufferID()
122 return Buffers[i - 1]; in getBufferInfo()
127 return Buffers[i - 1].Buffer.get(); in getMemoryBuffer()
130 unsigned getNumBuffers() const { return Buffers.size(); } in getNumBuffers()
139 return Buffers[i - 1].IncludeLoc; in getParentIncludeLoc()
149 Buffers.push_back(std::move(NB)); in AddNewSourceBuffer()
150 return Buffers.size(); in AddNewSourceBuffer()
[all …]
/freebsd/sys/dev/qat/qat_api/include/dc/
H A Dcpa_dc_bp.h95 * Submit a batch of requests to compress a batch of input buffers into
102 * This API compresses a batch of input buffers and concatenates the
126 * structures which contain the input buffers
163 * When this function returns, it may be that all of the available buffers in
166 * should note the amount of buffers processed, and then submit the request
168 * the buffers that were not previously compressed.
170 * Relationship between input buffers and results buffers.
172 * flat buffers of the input buffer list.
173 * -# The implementation communicates the number of buffers
179 * -# The buffer list must have the correct number of flat buffers. This
[all …]
/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/sys/contrib/openzfs/tests/zfs-tests/tests/functional/l2arc/
H A Dl2arc_mfuonly_pos.ksh26 # l2arc_mfuonly does not cache MRU buffers
34 # buffers with prefetch status may transition to MRU eventually.
36 # of L2ARC buffers upon their caching in L2ARC.
44 log_assert "l2arc_mfuonly does not cache MRU buffers."
58 # L2ARC_NOPREFETCH is set to 1 as some prefetched buffers may
85 # Regardless of l2arc_noprefetch, some MFU buffers might be evicted
96 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/crypto/openssl/test/
H A Dsslbuffertest.c45 * 1 = free buffers
46 * 2 = + allocate buffers after free in test_func()
47 * 3 = + allocate buffers again in test_func()
48 * 4 = + free buffers after allocation in test_func()
50 * 5 = + free buffers in test_func()
51 * 6 = + free buffers again in test_func()
52 * 7 = + allocate buffers after free in test_func()
53 * 8 = + free buffers after allocation in test_func()
163 * Test that attempting to free the buffers at points where they cannot be freed in setup_tests()
165 * Test 0: Attempt to free buffers afte in setup_tests()
[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_()
/freebsd/contrib/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_()
/freebsd/lib/libsys/
H A Dsendfile.2225 .Ss physical paging buffers
228 The pager uses a pool of physical buffers to run its I/O operations.
237 .Ss sendfile(2) buffers
246 buffers available,
252 buffers available, the call will block and wait for the
253 necessary buffers to become available before finishing the call.
271 buffers available is determined at boot time by either the
279 buffers scales with
289 buffers usage respectively.
299 buffers becaus
[all...]
/freebsd/sys/dev/drm2/ttm/
H A Dttm_execbuf_util.h73 * If the function returns 0, all buffers are marked as "unfenced",
77 * reserve the same buffers in reverse order, all threads except one will
80 * unreserve their buffers.
83 * receives a signal while waiting. In that case, no buffers on the list
86 * Buffers reserved by this function should be unreserved by
98 * @sync_obj: The new sync object for the buffers.
102 * It also unreserves all buffers, putting them on lru lists.
/freebsd/contrib/ofed/librdmacm/man/
H A Drdma_post_writev.323 A scatter-gather list of the source buffers of the write.
34 with the rdma_cm_id. The contents of the local data buffers will be
41 data is specified, the local data buffers must have been registered
42 before the write is issued, and the buffers must remain registered
43 until the write completes. The remote buffers must always be registered.
/freebsd/contrib/nvi/common/
H A Dcut.c34 * is the linked list of all the buffers the user has named, the second is the
40 * contents of the numbered buffers are rotated up one, the contents of the
54 * When users explicitly cut text into the numeric buffers, historic vi became
59 * we just treat the numeric buffers like any other named buffer.
73 * a copy into the numeric buffers. We do the copy so that we don't in cut()
75 * like appends to buffers that are used multiple times.) in cut()
79 * buffers were historically a little strange. There were three cases. in cut()
82 * that the cut always goes into the numeric buffers. in cut()
86 * buffers. This includes most of the commands. in cut()
88 * but always go into the numeric buffers, regardless. This in cut()
[all …]

12345678910>>...77