/fuchsia/zircon/system/dev/ethernet/aml-ethernet-s912/ |
H A D | aml-ethernet.cpp | 28 static inline T* offset_ptr(U* ptr, size_t offset) { argument 29 return reinterpret_cast<T*>(reinterpret_cast<uintptr_t>(ptr) + offset);
|
/fuchsia/zircon/system/dev/misc/intel-rtc/ |
H A D | intel-rtc.c | 137 int64_t offset = rtc_nanoseconds - zx_clock_get_monotonic(); local 138 return zx_clock_adjust(get_root_resource(), ZX_CLOCK_UTC, offset);
|
/fuchsia/zircon/system/host/fvm/container/ |
H A D | fvm.cpp | 25 zx_status_t FvmContainer::Create(const char* path, size_t slice_size, off_t offset, off_t length, argument 28 fbl::unique_ptr<FvmContainer> fvmContainer(new (&ac) FvmContainer(path, slice_size, offset, 43 FvmContainer::FvmContainer(const char* path, size_t slice_size, off_t offset, off_t length) argument 44 : Container(path, slice_size, 0), valid_(false), disk_offset_(offset), disk_size_(length), 79 fprintf(stderr, "Invalid file size %" PRIu64 " for specified offset+length\n", size); 175 xprintf("fvm_init: Vpart offset: %zu, length: %zu\n", 177 xprintf("fvm_init: Atable offset: %zu, length: %zu\n", 663 uintptr_t offset = static_cast<uintptr_t>(fvm::kVPartTableOffset + local 665 *out = reinterpret_cast<fvm::vpart_entry_t*>(metadata_start + offset); 677 uintptr_t offset local [all...] |
/fuchsia/zircon/system/ulib/blobfs/ |
H A D | host.cpp | 87 zx_status_t readblk_offset(int fd, uint64_t bno, off_t offset, void* data) { argument 88 off_t off = offset + bno * kBlobfsBlockSize; 100 zx_status_t writeblk_offset(int fd, uint64_t bno, off_t offset, const void* data) { argument 101 off_t off = offset + bno * kBlobfsBlockSize; 329 Blobfs::Blobfs(fbl::unique_fd fd, off_t offset, const info_block_t& info_block, argument 332 dirty_(false), offset_(offset) { 345 zx_status_t Blobfs::Create(fbl::unique_fd blockfd_, off_t offset, const info_block_t& info_block, argument 362 auto fs = fbl::unique_ptr<Blobfs>(new Blobfs(fbl::move(blockfd_), offset,
|
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/ |
H A D | mmio.h | 48 static zx_status_t Create(zx_off_t offset, size_t size, zx::vmo vmo, uint32_t cache_policy, argument 51 zx_status_t status = mmio_buffer_init(&mmio, offset, size, vmo.release(), cache_policy);
|
/fuchsia/zircon/third_party/tools/android/ |
H A D | mkdtimg | 82 def align_page_size(offset, pagesize): 83 return (pagesize - (offset % pagesize))
|
/fuchsia/zircon/third_party/ulib/musl/src/thread/ |
H A D | allocate.c | 33 return module->offset; 35 return - module->offset; 59 // To do this we need take &td->head (e.g. mem + offset of head) and align 60 // it then subtract out the offset of ->head to ensure that &td->head is
|
/fuchsia/zircon/system/ulib/gpt/ |
H A D | gpt.c | 450 const uint8_t* guid, uint64_t offset, uint64_t blocks, 464 uint64_t first = offset; 508 int gpt_partition_clear(gpt_device_t* dev, uint64_t offset, uint64_t blocks) { argument 520 uint64_t first = offset; 521 uint64_t last = offset + blocks - 1; 449 gpt_partition_add(gpt_device_t* dev, const char* name, const uint8_t* type, const uint8_t* guid, uint64_t offset, uint64_t blocks, uint64_t flags) argument
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | host.cpp | 322 off_t emu_lseek(int fd, off_t offset, int whence) { 334 if (offset < 0) { 337 f->off = offset; 346 n = old + offset; 347 if (offset < 0) {
|
/fuchsia/zircon/system/dev/display/intel-i915/ |
H A D | dp-display.cpp | 264 for (uint32_t offset = 0; offset < request.size; offset += 4) { 266 const uint32_t* data = reinterpret_cast<const uint32_t*>(request.data + offset); 267 mmio_space_->Write<uint32_t>(data_reg + offset, htobe32(*data)); 306 for (uint32_t offset = 0; offset < reply->size; offset += 4) { 308 *reinterpret_cast<uint32_t*>(reply->data + offset) = 309 be32toh(mmio_space_->Read<uint32_t>(data_reg + offset)); [all...] |
H A D | pipe.cpp | 479 float offset = vals[i]; local 481 if (offset < 0) { 483 offset *= -1; 485 offset_reg.set_magnitude(float_to_i915_csc_offset(offset));
|
/fuchsia/zircon/system/dev/ethernet/ethernet/ |
H A D | ethernet.c | 305 if ((e->offset >= edev->io_size) || ((e->length > (edev->io_size - e->offset)))) { 306 // invalid offset/length. report error. drop packet 314 memcpy(edev->io_buf + e->offset, data, len); 397 eth_fifo_entry_t entry = {.offset = netbuf->data - edev->io_buf, 468 if ((e->offset > edev->io_size) || ((e->length > (edev->io_size - e->offset)))) { 483 tx_info->netbuf.data = edev->io_buf + e->offset; 485 tx_info->netbuf.phys = edev->paddr_map[e->offset / PAGE_SIZE] + 486 (e->offset [all...] |
/fuchsia/zircon/kernel/vm/ |
H A D | vm_address_region.cpp | 74 zx_status_t VmAddressRegion::CreateSubVmarInternal(size_t offset, size_t size, uint8_t align_pow2, argument 98 if (!is_specific && offset != 0) { 129 if (offset >= size_ || size > size_ - offset) { 135 new_base = base_ + offset; 193 zx_status_t VmAddressRegion::CreateSubVmar(size_t offset, size_t size, uint8_t align_pow2, argument 208 zx_status_t status = CreateSubVmarInternal(offset, size, align_pow2, vmar_flags, nullptr, 0, 240 // wouldn't overflow the vmo offset. 995 // The COMPACT allocator begins by picking a random offset in the region to
|
/fuchsia/zircon/system/uapp/disk-pave/ |
H A D | pave-lib.cpp | 112 size_t offset = ext->slice_start * slice_size; local 143 request->dev_offset = offset / block_size; 151 offset += vmo_sz; 169 request->dev_offset = offset / block_size; 177 offset += request->length * block_size; 471 req.offset = allocated - reserved; 641 request.offset = ext->slice_start;
|
/fuchsia/zircon/third_party/ulib/jemalloc/bin/ |
H A D | jeprof.in | 1320 my $offset = AddressSub($lib->[1], $lib->[3]); 1326 my $addr = AddressAdd($start_addr, $offset); 1329 PrintDisassembledFunction($lib->[0], $offset, 1346 my $offset = shift; 1370 my $k = AddressAdd($addr, $offset); 1446 my $offset = AddressSub($lib->[1], $lib->[3]); 1452 my $addr = AddressAdd($start_addr, $offset); 1456 $lib->[0], $offset, 1592 my ($lib, $offset, $instructions) = @_; 1598 MapToSymbols($lib, $offset, [all...] |
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | ckh.c | 96 unsigned offset, i; local 102 offset = (unsigned)prng_lg_range_u64(&ckh->prng_state, 106 ((i + offset) & ((ZU(1) << LG_CKH_BUCKET_CELLS) - 1))];
|
/fuchsia/zircon/kernel/platform/generic-arm/ |
H A D | platform.cpp | 549 size_t offset = 0; local 554 while (offset < mexec_zbi_length) { 555 zbi_header_t* item = reinterpret_cast<zbi_header_t*>(mexec_zbi + offset); 565 offset += ZBI_ALIGN(sizeof(zbi_header_t) + item->length); 589 // add offset from kernel header to entry point
|
/fuchsia/zircon/kernel/syscalls/ |
H A D | task.cpp | 500 uint64_t offset = vaddr - vm_mapping->base() + vm_mapping->object_offset(); local 505 zx_status_t st = vmo->ReadUser(_buffer, offset, len); 568 uint64_t offset = vaddr - vm_mapping->base() + vm_mapping->object_offset(); local 573 zx_status_t st = vmo->WriteUser(_buffer, offset, len);
|
/fuchsia/zircon/scripts/ |
H A D | zircon.elf-gdb.py | 745 offset = base_address - relocated 769 sections = dict([(name, addr - offset) for name,addr in sections.iteritems()]) 895 offset = kernel_relocated_base - base_address 898 # Search base+offset == base for each previous page until the max size 903 target = addr + offset
|
/fuchsia/zircon/system/dev/audio/intel-hda/dsp/ |
H A D | intel-audio-dsp.cpp | 464 uint32_t offset = 0; local 466 offset = hdr.len; 470 size_t bytes = *size_inout - offset; 476 return fw.read(out, offset, bytes);
|
/fuchsia/zircon/system/dev/bus/platform/ |
H A D | platform-bus.cpp | 392 size_t offset = 0; local 394 while (offset + sizeof(zbi_header_t) < metadata_size) { 397 if (offset + length > metadata_size) { 407 offset += length;
|
/fuchsia/zircon/system/dev/display/astro-display/ |
H A D | astro-display.h | 58 zx_status_t ImportVmoImage(image_t* image, const zx::vmo& vmo, size_t offset);
|
/fuchsia/zircon/system/dev/gpio/imx8/ |
H A D | imx8-gpio.c | 41 #define READ32_GPIO_REG(block_index, offset) \ 42 readl((uint8_t*)gpio->mmios[block_index].vaddr + offset) 43 #define WRITE32_GPIO_REG(block_index, offset, value) \ 44 writel(value, (uint8_t*)gpio->mmios[block_index].vaddr + offset)
|
/fuchsia/zircon/system/private/efi/protocol/ |
H A D | simple-network.h | 117 bool read_write, size_t offset, size_t buf_size, void* buf) EFIAPI;
|
/fuchsia/zircon/system/public/zircon/device/ |
H A D | block.h | 156 size_t offset; // Both in units of "slice". "0" = slice 0, "1" = slice 1, etc... member in struct:__anon675
|