/freebsd/sys/contrib/xz-embedded/linux/lib/xz/ |
H A D | xz_dec_test.c | 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() 125 if (copy_from_user(buffer_in, buf, buffers.in_size)) in xz_dec_test_write() 128 buf += buffers.in_size; in xz_dec_test_write() [all …]
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | SSL_alloc_buffers.pod | 5 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 …]
|
H A D | PEM_bytes_read_bio.pod | 43 memory from the secure heap for its temporary buffers and the storage 51 which input is read may also use temporary buffers, which are not necessarily
|
/freebsd/sys/dev/isci/scil/ |
H A D | scic_sds_unsolicited_frame_control.c | 86 (uf_control->address_table.count < uf_control->buffers.count) in scic_sds_unsolicited_frame_control_set_address_table_count() 135 uf = &uf_control->buffers.array[index]; in scic_sds_unsolicited_frame_control_construct_frames() 151 uf = &uf_control->buffers.array[index]; in scic_sds_unsolicited_frame_control_construct_frames() 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() 202 used_uf_header_entries = uf_control->buffers.count; in scic_sds_unsolicited_frame_control_construct() 284 *frame_header = &uf_control->buffers.array[frame_index].header->data; in scic_sds_unsolicited_frame_control_get_header() 310 *frame_buffer = uf_control->buffers.array[frame_index].buffer; in scic_sds_unsolicited_frame_control_get_buffer() 367 uf_control->buffers.array[frame_index].state = UNSOLICITED_FRAME_RELEASED; in scic_sds_unsolicited_frame_control_release_frame() 374 uf_control->buffers.array[frame_get].state in scic_sds_unsolicited_frame_control_release_frame() [all …]
|
H A D | scic_sds_unsolicited_frame_control.h | 253 SCIC_SDS_UF_BUFFER_ARRAY_T buffers; member 297 ( ((uf_control).buffers.count * SCU_UNSOLICITED_FRAME_BUFFER_SIZE) \ 299 + ((uf_control).buffers.count * sizeof(SCU_UNSOLICITED_FRAME_HEADER_T)) )
|
/freebsd/sys/dev/adb/ |
H A D | adb_kbd.c | 83 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/heimdal/lib/krb5/ |
H A D | pac.c | 47 struct PAC_INFO_BUFFER buffers[1]; member 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() 244 if (p->pac->buffers[i].offset_lo > len) { in krb5_pac_parse() 250 if (p->pac->buffers[i].offset_lo < header_end) { in krb5_pac_parse() 254 (unsigned long)p->pac->buffers[i].offset_lo, in krb5_pac_parse() [all …]
|
/freebsd/contrib/ntp/sntp/libevent/ |
H A D | buffer_iocp.c | 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 D | buffer_iocp.c | 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/llvm-project/lldb/source/Plugins/Trace/intel-pt/ |
H A D | TraceIntelPTMultiCpuDecoder.cpp | 43 [&](const DenseMap<cpu_id_t, ArrayRef<uint8_t>> &buffers) -> Error { in FindLowestTSC() argument 44 for (auto &cpu_id_to_buffer : buffers) { in FindLowestTSC() 76 [&](const DenseMap<cpu_id_t, ArrayRef<uint8_t>> &buffers) -> Error { in Decode() argument 81 *decoded_thread_sp, *trace_sp, buffers, it->second); in Decode()
|
H A D | LibiptDecoder.h | 88 const llvm::DenseMap<lldb::cpu_id_t, llvm::ArrayRef<uint8_t>> &buffers,
|
/freebsd/tests/sys/aio/ |
H A D | aio_test.c | 1526 } buffers[16]; in aio_fsync_test() local 1541 ATF_REQUIRE(ftruncate(fd, sb.st_blksize * nitems(buffers)) == 0); in aio_fsync_test() 1549 for (i = 0; i < nitems(buffers); i++) { in aio_fsync_test() 1550 buffers[i].done = false; in aio_fsync_test() 1551 memset(&buffers[i].iocb, 0, sizeof(buffers[i].iocb)); in aio_fsync_test() 1552 buffers[i].buffer = malloc(sb.st_blksize); in aio_fsync_test() 1553 aio_fill_buffer(buffers[i].buffer, sb.st_blksize, random()); in aio_fsync_test() 1554 buffers[i].iocb.aio_fildes = fd; in aio_fsync_test() 1555 buffers[i].iocb.aio_buf = buffers[i].buffer; in aio_fsync_test() 1556 buffers[i].iocb.aio_nbytes = sb.st_blksize; in aio_fsync_test() [all …]
|
/freebsd/contrib/llvm-project/compiler-rt/lib/xray/ |
H A D | xray_fdr_flags.inc | 25 "Size of buffers in the circular buffer queue.") 26 XRAY_FLAG(int, buffer_max, 100, "Maximum number of buffers in the queue.")
|
H A D | xray_profiling_flags.inc | 30 "The number of buffers to pre-allocate used by the profiling "
|
/freebsd/crypto/openssl/demos/ |
H A D | README.txt | 18 EVP_MD_demo.c Compute a digest from multiple buffers 48 EVP_Signature_demo.c Compute and verify a signature from multiple buffers
|
/freebsd/lib/libcasper/services/cap_net/tests/ |
H A D | net_test.c | 425 } buffers; in ATF_TC_BODY() local 433 memset(&buffers, '!', sizeof(buffers)); in ATF_TC_BODY() 437 buffers.host, sizeof(buffers.host), in ATF_TC_BODY() 438 buffers.serv, sizeof(buffers.serv), in ATF_TC_BODY() 443 ATF_CHECK_EQ(0, strcmp(TEST_IPV4, buffers.host)); in ATF_TC_BODY() 444 ATF_CHECK_EQ(0, strcmp(TEST_PORT_STR, buffers.serv)); in ATF_TC_BODY() 447 ATF_CHECK_EQ('!', buffers.host_canary); in ATF_TC_BODY() 448 ATF_CHECK_EQ('!', buffers.serv_canary); in ATF_TC_BODY()
|
/freebsd/sys/contrib/device-tree/Bindings/mailbox/ |
H A D | xlnx,zynqmp-ipi-mailbox.txt | 6 agent owns registers used for notification and buffers for message. 44 - reg: IPI buffers address ranges
|
/freebsd/sys/contrib/device-tree/Bindings/reserved-memory/ |
H A D | ramoops.txt | 9 Parts of this storage may be set aside for other persistent log buffers, such 11 size of these optional buffers must fit in the reserved region.
|
H A D | qcom,rmtfs-mem.txt | 28 Definition: identifier of the client to use this region for buffers.
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_swp_if.m | 75 * buf: Array of buffers physical addresses. 76 * buf_num: Number of the buffers in the array.
|
/freebsd/sys/dev/qat/qat/ |
H A D | qat_ocf_mem_pool.c | 35 qat_ocf_populate_buf_list_cb(struct qat_ocf_buffer_list *buffers, in qat_ocf_populate_buf_list_cb() argument 62 flatBuffer = &buffers->flatBuffers[oseg++]; in qat_ocf_populate_buf_list_cb() 66 buffers->numBuffers = oseg; in qat_ocf_populate_buf_list_cb()
|
/freebsd/crypto/openssl/doc/man1/ |
H A D | openssl-speed.pod.in | 69 Misalign the buffers by the specified number of bytes. 103 Run benchmarks on I<num>-byte buffers. Affects ciphers, digests and the CSPRNG.
|
/freebsd/sys/contrib/device-tree/Bindings/mips/cavium/ |
H A D | sata-uctl.txt | 8 buffers from Level 2 Cache.
|
/freebsd/contrib/llvm-project/lldb/source/Target/ |
H A D | Trace.cpp | 483 DenseMap<cpu_id_t, ArrayRef<uint8_t>> buffers; in OnAllCpusBinaryDataRead() local 491 return callback(buffers); in OnAllCpusBinaryDataRead() 495 buffers.try_emplace(*cpu_id, data); in OnAllCpusBinaryDataRead()
|
/freebsd/sys/contrib/device-tree/Bindings/usb/ |
H A D | cdns-usb3.txt | 30 buffers expressed in KB
|