Searched refs:offset (Results 301 - 325 of 383) sorted by relevance

<<111213141516

/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/
H A Ddisplay-controller.h322 zx_handle_t vmo, size_t offset);
/fuchsia/zircon/system/ulib/fs/
H A Dvnode.cpp52 zx_status_t Vnode::Write(const void* data, size_t len, size_t offset, size_t* out_actual) { argument
/fuchsia/zircon/system/ulib/minfs/include/minfs/
H A Dhost.h49 off_t emu_lseek(int fd, off_t offset, int whence);
/fuchsia/zircon/system/ulib/tftp/
H A Dinternal.h160 size_t offset; member in struct:tftp_session_t
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/
H A Dnewfs_msdos.c84 o.offset = argtooff(optarg, "offset");
H A Dmkfs_msdos.c239 if (o.offset && o.offset != lseek(fd, o.offset, SEEK_SET)) {
240 warnx("cannot seek to %jd", (intmax_t)o.offset);
245 bpb.bpbHugeSectors -= (o.offset / bpb.bpbBytesPerSec);
512 if (!x && lseek(fd1, o.offset, SEEK_SET)) {
/fuchsia/zircon/third_party/ulib/backtrace/
H A Dinternal.h197 off_t offset, size_t size,
H A Delf.c162 b_elf_off e_phoff; /* Program header table file offset */
163 b_elf_off e_shoff; /* Section header table file offset */
201 b_elf_off sh_offset; /* Section file offset */
273 /* Section file offset. */
274 off_t offset; member in struct:debug_section_info
654 correctly. All large section indexes were offset by
727 sections[j].offset = shdr->sh_offset;
806 if (min_offset == 0 || sections[i].offset < min_offset)
807 min_offset = sections[i].offset;
808 end = sections[i].offset
[all...]
/fuchsia/zircon/kernel/syscalls/
H A Dzircon.cpp102 zx_status_t sys_clock_adjust(zx_handle_t hrsrc, zx_clock_t clock_id, int64_t offset) { argument
113 utc_offset.store(offset);
H A Dddk.cpp292 zx_status_t sys_bti_pin(zx_handle_t bti, uint32_t options, zx_handle_t vmo, uint64_t offset, argument
302 if (!IS_PAGE_ALIGNED(offset) || !IS_PAGE_ALIGNED(size)) {
368 status = bti_dispatcher->Pin(vmo_dispatcher->vmo(), offset, size, iommu_perms, &new_pmt,
/fuchsia/zircon/system/dev/display/imx8m-display/
H A Dimx8m-display.c70 zx_handle_t vmo, size_t offset) {
84 zx_status_t status = zx_bti_pin(display->bti, ZX_BTI_PERM_READ, vmo, offset, size,
69 imx8m_import_vmo_image(void* ctx, image_t* image, zx_handle_t vmo, size_t offset) argument
/fuchsia/zircon/system/host/fidl/include/fidl/
H A Dformatter.h230 static bool IsStartOfBlankLine(const std::string& str, int offset) { argument
231 for (int i = offset; i < str.size() && str[i] != '\n'; i++) {
243 // If the string str at offset pos is the beginning of a comment, pos is
325 // offset pos. Optional |leave_this_many| parameter indicates number of
/fuchsia/zircon/system/ulib/blobfs/
H A Dvnode.cpp89 zx_status_t VnodeBlob::Write(const void* data, size_t len, size_t offset, argument
91 TRACE_DURATION("blobfs", "VnodeBlob::Write", "len", len, "off", offset);
/fuchsia/zircon/system/ulib/intel-hda/include/intel-hda/utils/
H A Dcodec-caps.h158 uint32_t offset() const { return ((raw_data_ >> 0) & 0x7f); } function in struct:audio::intel_hda::AmpCaps
161 float min_gain_db() const { return -step_size_db() * static_cast<float>(offset()); }
/fuchsia/zircon/system/ulib/memfs/include/lib/memfs/cpp/
H A Dvnode.h84 zx_status_t Write(const void* data, size_t len, size_t offset,
163 VnodeVmo(Vfs* vfs, zx_handle_t vmo, zx_off_t offset, zx_off_t length);
/fuchsia/zircon/system/dev/audio/gauss-pdm-input/
H A Dgauss-pdm-input-stream.cpp444 uint32_t offset = local
448 vmo_helper_.printoffsetinvmo(offset);
451 resp.ring_buffer_pos = offset;
456 offset >= last_notification_offset
457 ? offset - last_notification_offset
458 : offset + ring_buffer_size_.load() - last_notification_offset;
/fuchsia/zircon/system/utest/ethernet/
H A Dethernet.cpp232 .offset = idx * bufsize_,
246 entry->e.offset = idx * bufsize_;
249 entry->e.cookie = reinterpret_cast<uint8_t*>(mapped_) + entry->e.offset;
313 uint8_t* GetRxBuffer(uint32_t offset) { argument
314 return reinterpret_cast<uint8_t*>(mapped_) + offset;
852 auto return_buf = client.GetRxBuffer(entry.offset);
/fuchsia/zircon/system/host/zbi/
H A Dzbi.cpp158 // skip over earlier ones until we hit the right offset.
667 const iovec View(size_t offset, size_t length) const { argument
669 assert(offset < exact_size_);
670 assert(exact_size_ - offset >= length);
671 return Iovec(static_cast<const std::byte*>(mapped_) + offset, length);
674 const iovec PageRoundedView(size_t offset, size_t length) const { argument
676 assert(offset < mapped_size_);
677 assert(mapped_size_ - offset >= length);
678 return Iovec(static_cast<const std::byte*>(mapped_) + offset, length);
1164 uint32_t offset) {
1163 CreateFromItem(const FileContents& file, uint32_t offset) argument
[all...]
/fuchsia/zircon/system/ulib/minfs/
H A Dvnode.cpp108 zx_status_t VnodeMinfs::LoadIndirectBlocks(blk_t* iarray, uint32_t count, uint32_t offset, argument
128 txn.Enqueue(vmoid_indirect_, offset + i, ibno + fs_->Info().dat_block, 1);
489 void VnodeMinfs::ReadIndirectVmoBlock(uint32_t offset, uint32_t** entry) { argument
492 validate_vmo_size(vmo_indirect_->GetVmo(), offset);
493 *entry = reinterpret_cast<uint32_t*>(addr + kMinfsBlockSize * offset);
496 void VnodeMinfs::ClearIndirectVmoBlock(uint32_t offset) { argument
499 validate_vmo_size(vmo_indirect_->GetVmo(), offset);
500 memset(reinterpret_cast<void*>(addr + kMinfsBlockSize * offset), 0, kMinfsBlockSize);
544 // index of indirect block, and offset of that block within indirect vmo
590 // offset o
1265 Write(const void* data, size_t len, size_t offset, size_t* out_actual) argument
[all...]
H A Dminfs-private.h382 zx_status_t Write(const void* data, size_t len, size_t offset,
439 // Appends a new directory at the specified offset within |args|. This requires a prior call to
440 // DirentCallbackFindSpace to find an offset where there is space for the direntry. It takes
583 // Allocate an indirect or doubly indirect block at |offset| within the indirect vmo and clear
628 // blocks from |iarray| into the indirect VMO, starting at block offset |offset|.
629 zx_status_t LoadIndirectBlocks(blk_t* iarray, uint32_t count, uint32_t offset,
632 // Reads the block at |offset| in memory.
634 void ReadIndirectVmoBlock(uint32_t offset, uint32_t** entry);
636 // Clears the block at |offset| i
[all...]
/fuchsia/zircon/kernel/object/
H A Dprocess_dispatcher.cpp442 size_t offset = 0; local
443 while (offset < num_handles) {
447 auto chunk_size = fbl::min<size_t>(num_handles - offset, kMaxMessageHandles);
453 if (user_handles.copy_array_from_user(handles, chunk_size, offset) != ZX_OK)
467 offset += chunk_size;
/fuchsia/zircon/system/dev/usb/xhci/
H A Dxhci.c279 // need to round the offset.
285 off_t offset = 0; local
289 scratch_pad_phys = io_buffer_phys(&xhci->scratch_pad_pages_buffer) + offset;
291 size_t index = offset / PAGE_SIZE;
292 size_t suboffset = offset & (PAGE_SIZE - 1);
297 offset += xhci->page_size;
/fuchsia/zircon/kernel/dev/pcie/
H A Dpcie_bus_driver.cpp520 size_t offset = (static_cast<size_t>(bus_id) << 20) |
525 *out_cfg_phys = iter->ecam().phys_base + offset;
530 addr = reinterpret_cast<uintptr_t>(static_cast<uint8_t*>(iter->vaddr()) + offset);
/fuchsia/zircon/kernel/lib/hypervisor/
H A Dhypervisor_unittest.cpp33 static zx_status_t get_paddr(void* context, size_t offset, size_t index, paddr_t pa) { argument
69 static zx_status_t create_sub_vmar(fbl::RefPtr<VmAddressRegion> vmar, size_t offset, size_t size, argument
71 return vmar->CreateSubVmar(offset, size, 0 /* align_pow2 */, vmar->flags() | VMAR_FLAG_SPECIFIC,
320 // Allocate second VMAR, offset one page into the root.
/fuchsia/zircon/system/dev/block/ums-function/
H A Dums-function.c139 zx_off_t offset = lba * BLOCK_SIZE; local
142 if (offset + length > STORAGE_SIZE) {
150 ums->data_offset = offset;

Completed in 233 milliseconds

<<111213141516