| /src/crypto/external/apache2/openssl/dist/include/internal/ |
| ring_buf.h | 33 uint64_t head_offset; member in struct:ring_buf 51 r->head_offset = r->ctail_offset = 0; 67 return (size_t)(r->head_offset - r->ctail_offset); 87 > safe_add_u64(r->head_offset, avail, &err) 88 || safe_add_u64(r->head_offset, buf_len, &err) 100 if (r->head_offset < logical_offset + l) 101 r->head_offset = logical_offset + l; 125 if (buf_len > MAX_OFFSET - r->head_offset) 126 buf_len = (size_t)(MAX_OFFSET - r->head_offset); 131 idx = r->head_offset % r->alloc [all...] |
| /src/crypto/external/apache2/openssl/dist/ssl/quic/ |
| quic_sstream.c | 49 * The current size of the stream is ring_buf.head_offset. If 117 hdr->offset = qss->ring_buf.head_offset; 160 && hdr->offset + hdr->len == qss->ring_buf.head_offset; 177 return qss->ring_buf.head_offset; 202 if (!qss->have_final_size || final_size != qss->ring_buf.head_offset) 277 *final_size = qss->ring_buf.head_offset; 318 r.start = old_ring_buf.head_offset; 320 assert(r.end + 1 == qss->ring_buf.head_offset); 392 cur_size = qss->ring_buf.head_offset;
|
| /src/crypto/external/cpl/trousers/dist/src/tcs/ps/ |
| tcsps.c | 681 UINT32 head_offset = 0, tail_offset, num_keys; local 691 /* head_offset is the offset the beginning of the key */ 692 head_offset = TSSPS_UUID_OFFSET(c); 709 rc = lseek(fd, head_offset, SEEK_SET); 720 head_offset += size; 737 rc = lseek(fd, head_offset, SEEK_SET); 743 /* head_offset now contains a pointer to where we want to truncate the 749 if ((result = write_data(fd, (void *)buf, tail_offset - head_offset))) { 754 if ((rc = ftruncate(fd, head_offset)) < 0) {
|
| /src/crypto/external/cpl/trousers/dist/src/tspi/ps/ |
| tspps.c | 597 UINT32 head_offset = 0, tail_offset; local 605 /* head_offset is the offset the beginning of the key */ 606 head_offset = TSSPS_UUID_OFFSET(&c); 623 rc = lseek(fd, head_offset, SEEK_SET); 634 head_offset += size; 651 rc = lseek(fd, head_offset, SEEK_SET); 657 /* head_offset now contains a pointer to where we want to truncate the 663 if ((result = write_data(fd, (void *)buf, tail_offset - head_offset))) { 668 if ((rc = ftruncate(fd, head_offset)) < 0) {
|
| /src/sys/arch/sparc64/include/ |
| hypervisor.h | 317 int64_t hv_ldc_tx_get_state(uint64_t ldc_id, uint64_t *head_offset, 324 int64_t hv_ldc_rx_get_state(uint64_t ldc_id, uint64_t *head_offset, 326 int64_t hv_ldc_rx_set_qhead(uint64_t ldc_id, uint64_t head_offset);
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| nouveau_dispnv04_hw.c | 823 int head_offset = head * NV_PRMDIO_SIZE, i; local 825 nvif_wr08(device, NV_PRMDIO_PIXEL_MASK + head_offset, 827 nvif_wr08(device, NV_PRMDIO_READ_MODE_ADDRESS + head_offset, 0x0); 831 NV_PRMDIO_PALETTE_DATA + head_offset); 842 int head_offset = head * NV_PRMDIO_SIZE, i; local 844 nvif_wr08(device, NV_PRMDIO_PIXEL_MASK + head_offset, 846 nvif_wr08(device, NV_PRMDIO_WRITE_MODE_ADDRESS + head_offset, 0x0); 849 nvif_wr08(device, NV_PRMDIO_PALETTE_DATA + head_offset,
|
| /src/external/ibm-public/postfix/dist/src/global/ |
| mime_state.c | 322 off_t head_offset; /* offset in header block */ member in struct:MIME_STATE 370 (ptr)->head_offset = 0; \ 378 (ptr)->head_offset = 0; \ 444 (info), (ptr)->output_buffer, (ptr)->head_offset); \ 445 (ptr)->head_offset += (len) + 1; \
|