/fuchsia/zircon/kernel/lib/hypervisor/include/hypervisor/ |
H A D | guest_physical_address_space.h | 23 : 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 D | usb-audio-descriptors.cpp | 68 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 D | usb-audio-descriptors.h | 31 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 D | type_shape.h | 37 : 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 D | pci_config.h | 19 : 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 D | merkle-tree.cpp | 119 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 D | vmo.cpp | 39 : 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 D | container.h | 127 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 D | vmo-file.cpp | 42 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 D | connection.cpp | 506 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 D | common.h | 61 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 D | usb-handler.h | 52 int offset() const { return offset_; } 63 int offset_; member in class:xdc::UsbHandler::Transfer
|
H A D | usb-handler.cpp | 31 offset_ = offset;
|
/fuchsia/zircon/system/ulib/fs/include/fs/ |
H A D | vmo-file.h | 63 size_t offset() const { return offset_; } 89 size_t const offset_; member in class:fs::VmoFile
|
H A D | connection.h | 173 size_t offset_{};
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | bcache.cpp | 26 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 D | common.cpp | 245 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 D | volume.cpp | 501 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 D | pinned_memory_token_dispatcher.cpp | 109 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 D | registers-transcoder.h | 128 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 D | pinned_memory_token_dispatcher.h | 100 const uint64_t offset_; member in class:final
|
/fuchsia/zircon/system/ulib/digest/include/digest/ |
H A D | merkle-tree.h | 132 size_t offset_; member in class:digest::final
|
/fuchsia/zircon/system/ulib/blobfs/include/blobfs/ |
H A D | host.h | 118 off_t offset_; member in class:blobfs::Blobfs
|
/fuchsia/zircon/system/ulib/minfs/include/minfs/ |
H A D | bcache.h | 143 off_t offset_{};
|
/fuchsia/zircon/system/ulib/zxcrypt/include/zxcrypt/ |
H A D | volume.h | 182 zx_off_t offset_; member in class:zxcrypt::final
|