/fuchsia/zircon/system/dev/bus/pci/ |
H A D | kpci-private.h | 48 uint16_t offset; member in struct:__anon262
|
/fuchsia/zircon/system/dev/display/vim-display/ |
H A D | vim-audio-utils.cpp | 38 reinterpret_cast<uintptr_t>(buf_.virt) + buf_.offset);
|
/fuchsia/zircon/system/ulib/fdio/include/lib/fdio/ |
H A D | remoteio.h | 88 uint64_t offset; member in struct:__anon1030::__anon1031::__anon1034
|
H A D | io.h | 67 int fdio_vmo_fd(zx_handle_t vmo, uint64_t offset, uint64_t length);
|
/fuchsia/zircon/system/ulib/minfs/ |
H A D | bcache.cpp | 130 zx_status_t Bcache::SetOffset(off_t offset) { argument 134 offset_ = offset; 138 zx_status_t Bcache::SetSparse(off_t offset, const fbl::Vector<size_t>& extent_lengths) { argument 157 offset_ = offset;
|
/fuchsia/zircon/system/ulib/zx/include/lib/zx/ |
H A D | vmar.h | 49 zx_status_t allocate(size_t offset, size_t size, uint32_t flags,
|
/fuchsia/zircon/third_party/uapp/mkfs-msdosfs/ |
H A D | mkfs_msdos.h | 37 AOPT('@', off_t, offset, 0, "Offset in device") \
|
/fuchsia/zircon/third_party/ulib/ngunwind/src/ |
H A D | os-linux.h | 32 off_t offset; member in struct:map_iterator 90 mi->offset = 0; 204 unsigned long *low, unsigned long *high, unsigned long *offset) 267 cp = scan_hex (cp, offset); 203 maps_next(struct map_iterator *mi, unsigned long *low, unsigned long *high, unsigned long *offset) argument
|
/fuchsia/zircon/bootloader/src/ |
H A D | osboot.c | 236 nbcmdline.offset = 0; 245 if (nbkernel.offset < 32768) { 265 .EndAddress = (efi_physical_addr)(nbkernel.data + nbkernel.offset), 278 r = gBS->LoadImage(false, gImg, (efi_device_path_protocol*)mempath, (void*)nbkernel.data, nbkernel.offset, &h); 298 cmdline_append((void*) nbcmdline.data, nbcmdline.offset); 307 boot_kernel(gImg, gSys, (void*) nbkernel.data, nbkernel.offset, 308 (void*) nbramdisk.data, nbramdisk.offset);
|
/fuchsia/zircon/kernel/arch/x86/ |
H A D | registers.cpp | 601 // Standard format. The offset and size are provided by a static CPUID call. 632 // Walk all present components and add up their sizes (optionally aligned up) to get the offset. 633 uint32_t offset = XSAVE_EXTENDED_AREA_OFFSET; local 639 offset = ROUNDUP(offset, 64); 641 offset += state_components[i].size; 644 offset = ROUNDUP(offset, 64); 647 uint8_t* component_begin = static_cast<uint8_t*>(register_state) + offset;
|
/fuchsia/zircon/kernel/vm/ |
H A D | vm_aspace.cpp | 116 size_t offset = vaddr - aspace.base(); local 118 // LTRACEF("vaddr 0x%lx size 0x%zx offset 0x%zx aspace base 0x%lx aspace size 0x%zx\n", 119 // vaddr, size, offset, aspace.base(), aspace.size()); 121 if (offset + size < offset) { 122 size = ULONG_MAX - offset - 1; 127 if (offset + size >= aspace.size() - 1) { 128 size = aspace.size() - offset; 283 zx_status_t VmAspace::MapObjectInternal(fbl::RefPtr<VmObject> vmo, const char* name, uint64_t offset, argument 288 LTRACEF("aspace %p name '%s' vmo %p, offset [all...] |
/fuchsia/zircon/system/dev/usb/usb-composite/ |
H A D | usb-interface.c | 144 size_t length, size_t offset) { 146 return usb_req_copy_from(&intf->comp->usb, req, data, length, offset); 150 size_t length, size_t offset) { 152 return usb_req_copy_to(&intf->comp->usb, req, data, length, offset); 161 size_t offset, size_t length) { 163 return usb_req_cacheop(&intf->comp->usb, req, op, offset, length); 167 size_t offset, size_t length) { 169 return usb_req_cache_flush(&intf->comp->usb, req, offset, length); 173 zx_off_t offset, size_t length) { 175 return usb_req_cache_flush_invalidate(&intf->comp->usb, req, offset, lengt 143 usb_interface_req_copy_from(void* ctx, usb_request_t* req, void* data, size_t length, size_t offset) argument 149 usb_interface_req_copy_to(void* ctx, usb_request_t* req, const void* data, size_t length, size_t offset) argument 160 usb_interface_req_cacheop(void* ctx, usb_request_t* req, uint32_t op, size_t offset, size_t length) argument 166 usb_interface_req_cache_flush(void* ctx, usb_request_t* req, size_t offset, size_t length) argument 172 usb_interface_req_cache_flush_invalidate(void* ctx, usb_request_t* req, zx_off_t offset, size_t length) argument [all...] |
/fuchsia/zircon/system/dev/bluetooth/bt-hci-broadcom/ |
H A D | bt-hci-broadcom.c | 244 zx_off_t offset = 0; local 245 while (offset < fw_size) { 248 size_t remaining = fw_size - offset; 257 status = zx_vmo_read(fw_vmo, buffer, offset, read_amount); 275 offset += length;
|
/fuchsia/zircon/system/dev/display/aml-canvas/ |
H A D | aml-canvas.c | 37 size_t offset, canvas_info_t* info, 47 (offset & (PAGE_SIZE - 1)), 76 vmo, offset & ~(PAGE_SIZE - 1), size, 93 zx_paddr_t start_addr = paddr + (offset & (PAGE_SIZE - 1)); 180 resp->header.status = aml_canvas_config(cookie, args->req_handles[0], req->offset, 36 aml_canvas_config(void* ctx, zx_handle_t vmo, size_t offset, canvas_info_t* info, uint8_t* canvas_idx) argument
|
/fuchsia/zircon/system/uapp/netreflector/ |
H A D | netreflector.c | 108 void* in_pkt = iobuf + e->offset; 109 void* out_pkt = iobuf + tx->e->offset; 126 void* in_pkt = iobuf + e->offset; 232 .offset = n * BUFSIZE, .length = BUFSIZE, .flags = 0, .cookie = NULL, 244 .offset = n * BUFSIZE, .length = BUFSIZE, .flags = 0, .cookie = buf,
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | output.c | 144 size_t offset; 163 offset = 0; 167 offset = bufsize; 173 if (bufsize < offset) 181 dest->nextc = dest->buf + offset;
|
/fuchsia/zircon/third_party/ulib/jemalloc/src/ |
H A D | pages.c | 56 // compute an offset. If we are not, ask for a new random 62 size_t offset; local 67 offset = addr - pages_base; 80 offset = subvmar_base - pages_base; 86 zx_status_t status = _zx_vmar_map(pages_vmar, zx_options, offset, pages_vmo, 87 offset, len, &ptr);
|
/fuchsia/zircon/system/utest/fs-vnode/ |
H A D | vmo-file-tests.cpp | 37 bool FillVmo(const zx::vmo& vmo, size_t offset, size_t length, uint8_t byte) { argument 43 zx_status_t status = vmo.write(data, offset, length); 49 bool CheckVmo(const zx::vmo& vmo, size_t offset, size_t length, uint8_t expected_byte) { argument 54 zx_status_t status = vmo.read(data, offset, length); 64 bool CheckData(uint8_t* data, size_t offset, size_t length, uint8_t expected_byte) { argument 68 ASSERT_EQ(expected_byte, data[i + offset]); 97 EXPECT_EQ(0u, file.offset()); 107 EXPECT_EQ(3u, file.offset()); 392 EXPECT_EQ(PAGE_1 - 5u, info.vmofile.offset); 415 EXPECT_EQ(PAGE_1 - 5u, info.vmofile.offset); [all...] |
/fuchsia/zircon/system/ulib/fdio/ |
H A D | fidl.c | 147 off_t offset, uint64_t* actual) { 150 length, offset, &status, 172 zx_status_t fidl_readat(zxrio_t* rio, void* data, uint64_t length, off_t offset, argument 175 if ((io_status = fuchsia_io_FileReadAt(zxrio_handle(rio), length, offset, &status, 189 zx_status_t fidl_seek(zxrio_t* rio, off_t offset, int whence, off_t* out) { argument 191 if ((io_status = fuchsia_io_FileSeek(zxrio_handle(rio), offset, whence, &status, 146 fidl_writeat(zxrio_t* rio, const void* data, uint64_t length, off_t offset, uint64_t* actual) argument
|
H A D | private.h | 36 ssize_t (*read_at)(fdio_t* io, void* data, size_t len, off_t offset); 38 ssize_t (*write_at)(fdio_t* io, const void* data, size_t len, off_t offset); 39 off_t (*seek)(fdio_t* io, off_t offset, int whence); 134 // Wraps a vmo, offset, length with an fdio_t providing a readonly file. 178 ssize_t fdio_default_read_at(fdio_t* io, void* _data, size_t len, off_t offset); 180 ssize_t fdio_default_write_at(fdio_t* io, const void* _data, size_t len, off_t offset); 189 off_t fdio_default_seek(fdio_t* io, off_t offset, int whence);
|
/fuchsia/zircon/system/dev/block/fvm/ |
H A D | fvm.cpp | 294 auto make_metadata_vmo = [&](size_t offset, fbl::unique_ptr<fzl::MappedVmo>* out) { 302 if ((status = DoIoLocked(mvmo->GetVmo(), offset, 630 uintptr_t offset = static_cast<uintptr_t>(kAllocTableOffset + 632 ZX_DEBUG_ASSERT(kAllocTableOffset <= offset); 633 ZX_DEBUG_ASSERT(offset < kAllocTableOffset + AllocTableLength(DiskSize(), SliceSize())); 634 return reinterpret_cast<slice_entry_t*>(metadata_start + offset); 640 uintptr_t offset = static_cast<uintptr_t>(kVPartTableOffset + 642 ZX_DEBUG_ASSERT(kVPartTableOffset <= offset); 643 ZX_DEBUG_ASSERT(offset < kVPartTableOffset + kVPartTableLength); 644 return reinterpret_cast<vpart_entry_t*>(metadata_start + offset); [all...] |
/fuchsia/zircon/kernel/syscalls/ |
H A D | debug.cpp | 112 uint32_t offset, size_t len, 120 ssize_t result = ktrace_read_user(_data.get(), offset, len); 111 sys_ktrace_read(zx_handle_t handle, user_out_ptr<void> _data, uint32_t offset, size_t len, user_out_ptr<size_t> _actual) argument
|
/fuchsia/zircon/scripts/ |
H A D | symbolize | 391 writeline('kaslr offset is %c0x%x' % (c, diff)) 405 # Adapt offset for KASLR move 484 # Adapt offset for KASLR move 495 offset = None 500 if offset is None or candidate_offset < offset: 501 offset = candidate_offset 503 if offset is None: 513 # Adapt offset for KASLR move 514 offset [all...] |
/fuchsia/zircon/system/dev/gpio/aml-gxl-gpio/ |
H A D | aml-gxl-gpio.c | 29 #define READ32_GPIO_REG(index, offset) \ 30 readl((uint32_t*)gpio->mmios[index].vaddr + (offset)) 31 #define WRITE32_GPIO_REG(index, offset, value) \ 32 writel(value, (uint32_t*)gpio->mmios[index].vaddr + (offset)) 34 #define READ32_GPIO_INTERRUPT_REG(offset) \ 35 readl((uint32_t*)gpio->mmio_interrupt.vaddr + (offset)) 36 #define WRITE32_GPIO_INTERRUPT_REG(offset, value) \ 37 writel(value, (uint32_t*)gpio->mmio_interrupt.vaddr + (offset))
|
/fuchsia/zircon/system/dev/gpio/aml-axg-gpio/ |
H A D | aml-axg-gpio.c | 28 #define READ32_GPIO_REG(index, offset) \ 29 readl((uint32_t*)gpio->mmios[index].vaddr + offset) 30 #define WRITE32_GPIO_REG(index, offset, value) \ 31 writel(value, (uint32_t*)gpio->mmios[index].vaddr + offset) 33 #define READ32_GPIO_INTERRUPT_REG(offset) \ 34 readl((uint32_t*)gpio->mmio_interrupt.vaddr + offset) 35 #define WRITE32_GPIO_INTERRUPT_REG(offset, value) \ 36 writel(value, (uint32_t*)gpio->mmio_interrupt.vaddr + offset) 203 // Compute the offset for this pin.
|