Searched refs:offset_ (Results 1 - 25 of 27) sorted by relevance

12

/fuchsia/zircon/kernel/lib/hypervisor/include/hypervisor/
H A Dguest_physical_address_space.h23 : mapping_(fbl::move(mapping)), offset_(offset) {}
25 : mapping_(fbl::move(o.mapping_)), offset_(o.offset_) {}
31 offset_ = o.offset_;
44 if (offset_ + sizeof(T) > mapping_->size()) {
47 return reinterpret_cast<T*>(mapping_->base() + offset_);
52 zx_vaddr_t offset_; member in class:hypervisor::GuestPtr
/fuchsia/zircon/system/dev/audio/usb-audio/
H A Dusb-audio-descriptors.cpp68 offset_ += h->bLength;
73 ZX_DEBUG_ASSERT(offset_ <= mem_->size());
74 size_t space = mem_->size() - offset_;
81 auto cleanup = fbl::MakeAutoCall([this] { offset_ = mem_->size(); });
87 offset_, sizeof(usb_descriptor_header_t), space);
92 auto h = reinterpret_cast<const usb_descriptor_header_t*>(tmp + offset_);
98 offset_,
105 h->bDescriptorType, h->bLength, offset_, mem_->size());
H A Dusb-audio-descriptors.h31 bool valid() const { return (offset_ < mem_->size()); }
32 size_t offset() const { return offset_; }
41 return reinterpret_cast<const usb_descriptor_header_t*>(tmp + offset_);
47 ZX_DEBUG_ASSERT(offset_ <= mem_->size());
48 return ((h != nullptr) && (h->bLength <= (mem_->size() - offset_)))
62 size_t offset_ = 0; member in class:audio::usb::DescriptorListMemory::Iterator
/fuchsia/zircon/system/host/fidl/include/fidl/
H A Dtype_shape.h37 : typeshape_(typeshape), offset_(offset) {}
47 uint32_t Offset() const { return offset_; }
52 void SetOffset(uint32_t offset) { offset_ = offset; }
56 uint32_t offset_; member in class:FieldShape
/fuchsia/zircon/kernel/dev/pcie/include/dev/
H A Dpci_config.h19 : offset_(offset) {}
21 : offset_(0u) {}
22 constexpr uint16_t offset() const { return offset_; }
25 uint16_t offset_; member in class:PciReg8
31 : offset_(offset) {};
33 : offset_(0u) {}
34 constexpr uint16_t offset() const { return offset_; }
37 uint16_t offset_; member in class:PciReg16
43 : offset_(offset) {};
45 : offset_(
49 uint16_t offset_; member in class:PciReg32
[all...]
/fuchsia/zircon/system/ulib/digest/
H A Dmerkle-tree.cpp119 MerkleTree::MerkleTree() : initialized_(false), next_(nullptr), level_(0), offset_(0), length_(0) {}
125 offset_ = 0;
147 ZX_DEBUG_ASSERT(offset_ + length >= offset_);
157 if (offset_ + length > length_) {
167 size_t tree_off = (offset_ - (offset_ % kNodeSize)) / kDigestsPerNode;
174 if (offset_ % kNodeSize == 0 &&
175 (rc = DigestInit(&digest_, offset_ | level_, length_ - offset_)) !
[all...]
/fuchsia/zircon/system/ulib/memfs/
H A Dvmo.cpp39 : VnodeMemfs(vfs), vmo_(vmo), offset_(offset), length_(length), have_local_clone_(false) {}
66 if (!have_local_clone_ && !WindowMatchesVMO(vmo_, offset_, length_)) {
67 status = zx_vmo_clone(vmo_, ZX_VMO_CLONE_COPY_ON_WRITE, offset_, length_, &vmo_);
70 offset_ = 0;
91 *off = offset_;
107 zx_status_t status = zx_vmo_read(vmo_, data, offset_ + off, len);
/fuchsia/zircon/system/host/fvm/include/fvm/
H A Dcontainer.h127 size_t GetLength() const { return offset_; }
131 offset_ += value;
132 ZX_DEBUG_ASSERT(offset_ <= size_);
136 return size_ - offset_;
140 return data_.get() + offset_;
146 offset_ = 0;
152 size_t offset_ = 0; member in class:CompressionContext
/fuchsia/zircon/system/ulib/fs/
H A Dvmo-file.cpp42 offset_(offset), length_(length), writable_(writable), vmo_sharing_(vmo_sharing) {
81 zx_status_t status = zx_vmo_read(vmo_handle_, data, offset_ + offset, length);
104 zx_status_t status = zx_vmo_write(vmo_handle_, data, offset_ + offset, length);
148 *out_offset = offset_;
153 size_t clone_offset = fbl::round_down(offset_, static_cast<size_t>(PAGE_SIZE));
154 size_t clone_length = fbl::round_up(offset_ + length_, static_cast<size_t>(PAGE_SIZE)) -
188 *out_offset = offset_ - clone_offset;
H A Dconnection.cpp506 zx_status_t status = vnode_->Read(data, count, offset_, &actual);
509 offset_ += actual;
540 offset_ = end;
543 status = vnode_->Write(data_data, data_count, offset_, &actual);
545 offset_ += actual;
569 return fuchsia_io_FileSeek_reply(txn, ZX_ERR_BAD_HANDLE, offset_);
580 return fuchsia_io_FileSeek_reply(txn, ZX_ERR_INVALID_ARGS, offset_);
585 n = offset_ + offset;
588 if (n > offset_) {
590 return fuchsia_io_FileSeek_reply(txn, ZX_ERR_INVALID_ARGS, offset_);
[all...]
/fuchsia/zircon/system/ulib/fs-host/include/fs-host/
H A Dcommon.h61 offset_(0), length_(0), read_only_(false), depfile_lock_() {}
115 off_t GetOffset() const { return offset_; }
138 off_t offset_; member in class:FsCreator
/fuchsia/zircon/system/host/xdc-server/
H A Dusb-handler.h52 int offset() const { return offset_; }
63 int offset_; member in class:xdc::UsbHandler::Transfer
H A Dusb-handler.cpp31 offset_ = offset;
/fuchsia/zircon/system/ulib/fs/include/fs/
H A Dvmo-file.h63 size_t offset() const { return offset_; }
89 size_t const offset_; member in class:fs::VmoFile
H A Dconnection.h173 size_t offset_{};
/fuchsia/zircon/system/ulib/minfs/
H A Dbcache.cpp26 off += offset_;
43 off += offset_;
131 if (offset_ || extent_lengths_.size() > 0) {
134 offset_ = offset;
139 if (offset_ || extent_lengths_.size() > 0) {
157 offset_ = offset;
/fuchsia/zircon/system/ulib/fs-host/
H A Dcommon.cpp245 offset_ = atoll(optarg);
320 if (offset_ + length_ > stats.st_size) {
325 length_ = stats.st_size - offset_;
485 if (length_ && offset_ + length_ > size) {
534 if (length_ && (offset_ + length_) > truncate_size) {
548 length_ = truncate_size - offset_;
552 length_ = stats.st_size - offset_;
/fuchsia/zircon/system/ulib/zxcrypt/
H A Dvolume.cpp501 offset_ = UINT64_MAX;
514 offset_ = 0;
519 offset_ += block_.len();
520 return (offset_ / block_.len()) < kMetadataBlocks ? ZX_ERR_NEXT : ZX_ERR_STOP;
582 xprintf("write failed for offset %" PRIu64 ": %s\n", offset_, zx_status_get_string(rc));
625 xprintf("failed to read block at %" PRIu64 ": %s\n", offset_, zx_status_get_string(rc));
627 xprintf("failed to open block at %" PRIu64 ": %s\n", offset_, zx_status_get_string(rc));
724 if ((rc = SyncIO(dev_, BLOCK_OP_READ, block_.get(), offset_, block_.len())) != ZX_OK) {
728 if (lseek(fd_.get(), offset_, SEEK_SET) < 0) {
729 xprintf("lseek(%d, %" PRIu64 ", SEEK_SET) failed: %s\n", fd_.get(), offset_,
[all...]
/fuchsia/zircon/kernel/object/
H A Dpinned_memory_token_dispatcher.cpp109 zx_status_t status = bti_->iommu()->MapContiguous(bti_id, vmo_, offset_, size_, perms,
124 uint64_t curr_offset = offset_;
242 vmo_->Unpin(offset_, size_);
259 : vmo_(fbl::move(vmo)), offset_(offset), size_(size), is_contiguous_(is_contiguous),
/fuchsia/zircon/system/dev/display/intel-i915/
H A Dregisters-transcoder.h128 offset_ = trans == TRANS_EDP ? 0xf000 : (trans * 0x1000);
155 return hwreg::RegisterAddr<RegType>(base_addr + offset_);
159 uint32_t offset_; member in class:registers::TranscoderRegs
/fuchsia/zircon/kernel/object/include/object/
H A Dpinned_memory_token_dispatcher.h100 const uint64_t offset_; member in class:final
/fuchsia/zircon/system/ulib/digest/include/digest/
H A Dmerkle-tree.h132 size_t offset_; member in class:digest::final
/fuchsia/zircon/system/ulib/blobfs/include/blobfs/
H A Dhost.h118 off_t offset_; member in class:blobfs::Blobfs
/fuchsia/zircon/system/ulib/minfs/include/minfs/
H A Dbcache.h143 off_t offset_{};
/fuchsia/zircon/system/ulib/zxcrypt/include/zxcrypt/
H A Dvolume.h182 zx_off_t offset_; member in class:zxcrypt::final

Completed in 577 milliseconds

12