Searched refs:read_offset (Results 1 – 5 of 5) sorted by relevance
| /openbsd-src/lib/libcrypto/bio/ |
| H A D | bss_mem.c | 72 size_t read_offset; member 78 if (bm->read_offset > bm->buf->length) in bio_mem_pending() 81 return bm->buf->length - bm->read_offset; in bio_mem_pending() 87 return &bm->buf->data[bm->read_offset]; in bio_mem_read_ptr() 216 bm->read_offset += out_len; in mem_read() 237 if (bm->read_offset > 4096) { in mem_write() 241 bm->read_offset = 0; in mem_write() 274 bm->read_offset = 0; in mem_ctrl() 294 bm->read_offset = 0; in mem_ctrl()
|
| /openbsd-src/sys/dev/pci/drm/i915/gt/uc/ |
| H A D | intel_guc_log.c | 388 unsigned int buffer_size, read_offset, write_offset, bytes_to_copy, full_cnt; in _guc_log_copy_debuglogs_for_relay() local 432 read_offset = log_buf_state_local.read_ptr; in _guc_log_copy_debuglogs_for_relay() 461 read_offset = 0; in _guc_log_copy_debuglogs_for_relay() 463 } else if (unlikely((read_offset > buffer_size) || in _guc_log_copy_debuglogs_for_relay() 467 read_offset = 0; in _guc_log_copy_debuglogs_for_relay() 472 if (read_offset > write_offset) { in _guc_log_copy_debuglogs_for_relay() 474 bytes_to_copy = buffer_size - read_offset; in _guc_log_copy_debuglogs_for_relay() 476 bytes_to_copy = write_offset - read_offset; in _guc_log_copy_debuglogs_for_relay() 478 i915_memcpy_from_wc(dst_data + read_offset, in _guc_log_copy_debuglogs_for_relay() 479 src_data + read_offset, bytes_to_copy); in _guc_log_copy_debuglogs_for_relay()
|
| H A D | intel_guc_capture.c | 1299 unsigned int buffer_size, read_offset, write_offset, full_count; in __guc_capture_process_output() local 1320 read_offset = log_buf_state_local.read_ptr; in __guc_capture_process_output() 1332 read_offset = 0; in __guc_capture_process_output() 1334 } else if (unlikely((read_offset > buffer_size) || in __guc_capture_process_output() 1337 read_offset, buffer_size); in __guc_capture_process_output() 1339 read_offset = 0; in __guc_capture_process_output() 1344 buf.rd = read_offset; in __guc_capture_process_output()
|
| /openbsd-src/gnu/usr.bin/binutils/gdb/ |
| H A D | dwarf2read.c | 800 static LONGEST read_offset (bfd *, char *, const struct comp_unit_head *, 1279 cu_header->abbrev_offset = read_offset (abfd, info_ptr, cu_header, in read_comp_unit_head() 5919 read_offset (bfd *abfd, char *buf, const struct comp_unit_head *cu_header, in read_offset() function 5974 LONGEST str_offset = read_offset (abfd, buf, cu_header, in read_indirect_string() 6302 lh->header_length = read_offset (abfd, line_ptr, &cu->header, &bytes_read); in dwarf_decode_line_header()
|
| H A D | ChangeLog-2000 | 2495 (read_initial_length, read_offset): New functions. 2498 (read_comp_unit_head): Likewise; also, call read_offset() to
|