/fuchsia/zircon/system/ulib/libzbi/ |
H A D | zbi.c | 42 static zbi_result_t zbi_check_internal(const void* base, argument 46 const zbi_header_t* header = base; 68 res = zbi_for_each(base, for_each_check_entry, &state); 94 zbi_result_t zbi_check(const void* base, zbi_header_t** err) { argument 95 return zbi_check_internal(base, 0, err); 98 zbi_result_t zbi_check_complete(const void* base, zbi_header_t** err) { argument 99 return zbi_check_internal(base, 110 zbi_result_t zbi_for_each(const void* base, const zbi_foreach_cb_t cb, argument 112 zbi_header_t* header = (zbi_header_t*)(base); 119 (zbi_header_t*)(base 134 zbi_append_section(void* base, const size_t capacity, uint32_t section_length, uint32_t type, uint32_t extra, uint32_t flags, const void* payload) argument 151 zbi_create_section(void* base, size_t capacity, uint32_t section_length, uint32_t type, uint32_t extra, uint32_t flags, void** payload) argument [all...] |
/fuchsia/zircon/third_party/ulib/backtrace/ |
H A D | mmap.c | 227 void *base; local 244 base = backtrace_alloc (state, alc, error_callback, data); 245 if (base == NULL) 247 if (vec->base != NULL) 249 memcpy (base, vec->base, vec->size); 250 backtrace_free (state, vec->base, vec->size + vec->alc, 253 vec->base = base; 257 ret = (char *) vec->base [all...] |
/fuchsia/zircon/system/dev/board/imx8mevk/ |
H A D | imx8mevk-gpio.c | 22 .base = IMX8M_AIPS_GPIO1_BASE, 26 .base = IMX8M_AIPS_GPIO2_BASE, 30 .base = IMX8M_AIPS_GPIO3_BASE, 34 .base = IMX8M_AIPS_GPIO4_BASE, 38 .base = IMX8M_AIPS_GPIO5_BASE, 42 .base = IMX8M_AIPS_IOMUXC_BASE,
|
/fuchsia/zircon/kernel/vm/ |
H A D | vm_mapping.cpp | 24 VmMapping::VmMapping(VmAddressRegion& parent, vaddr_t base, size_t size, uint32_t vmar_flags, argument 26 : VmAddressRegionOrMapping(base, size, vmar_flags, 30 LTRACEF("%p aspace %p base %#" PRIxPTR " size %#zx offset %#" PRIx64 "\n", 36 LTRACEF("%p aspace %p base %#" PRIxPTR " size %#zx\n", 75 zx_status_t VmMapping::Protect(vaddr_t base, size_t size, uint new_arch_mmu_flags) { argument 79 if (!IS_PAGE_ALIGNED(base)) { 90 if (size == 0 || !is_in_range(base, size)) { 94 return ProtectLocked(base, size, new_arch_mmu_flags); 100 zx_status_t ProtectOrUnmap(const fbl::RefPtr<VmAspace>& aspace, vaddr_t base, size_t size, argument 103 return aspace->arch_aspace().Protect(base, siz 111 ProtectLocked(vaddr_t base, size_t size, uint new_arch_mmu_flags) argument 218 Unmap(vaddr_t base, size_t size) argument 249 UnmapLocked(vaddr_t base, size_t size) argument 434 VmMappingCoalescer(VmMapping* mapping, vaddr_t base) argument [all...] |
H A D | kstack.cpp | 71 unsafe ? "unsafe" : "safe", kstack_vmar->base()); 87 unsafe ? "unsafe" : "safe", kstack_mapping->base()); 105 DEBUG_ASSERT(stack->base == 0); 121 stack->base = mapping->base(); 122 stack->top = mapping->base() + DEFAULT_STACK_SIZE; 134 stack->unsafe_base = mapping->base(); 144 stack->base = 0;
|
/fuchsia/zircon/system/dev/board/astro/ |
H A D | astro-clk.c | 16 .base = S905D2_HIU_BASE, 21 .base = S905D2_MSR_CLK_BASE,
|
H A D | astro-i2c.c | 17 .base = S905D2_I2C_AO_0_BASE, 21 .base = S905D2_I2C2_BASE, 25 .base = S905D2_I2C3_BASE,
|
/fuchsia/zircon/system/dev/board/gauss/ |
H A D | gauss-i2c.c | 17 .base = 0xffd1f000, 22 .base = 0xffd1e000, 29 .base = 0xffd1d000, 34 .base = 0xffd1e000,
|
H A D | gauss-gpio.c | 16 .base = 0xff634400, 20 .base = 0xff800000, 24 .base = 0xffd00000,
|
/fuchsia/zircon/kernel/vm/include/vm/ |
H A D | vm_address_region.h | 105 vaddr_t base() const { return base_; } function in class:VmAddressRegionOrMapping 123 vaddr_t GetKey() const { return base(); } 149 VmAddressRegionOrMapping(vaddr_t base, size_t size, uint32_t flags, 156 bool is_in_range(vaddr_t base, size_t size) const { argument 157 const size_t offset = base - base_; 158 return base >= base_ && offset < size_ && size_ - offset >= size; 229 virtual zx_status_t Unmap(vaddr_t base, size_t size); 234 zx_status_t UnmapAllowPartial(vaddr_t base, size_t size); 239 virtual zx_status_t Protect(vaddr_t base, size_t size, uint new_arch_mmu_flags); 277 VmAddressRegion(VmAspace& aspace, vaddr_t base, size_ [all...] |
/fuchsia/zircon/kernel/object/ |
H A D | resource.cpp | 42 // |kind| matches the resource's kind, then range validation between |base| and |size| will 48 // ++ ZX_ERR_OUT_OF_RANGE: The range specified by |base| and |Len| is not granted by this 52 uintptr_t base, 79 LTRACEF("req [base %#lx size %#lx] and resource [base %#lx size %#lx]\n", base, size, rbase, rsize); 81 // Check for intersection and make sure the requested base+size fits within 85 if (!GetIntersect(base, size, rbase, rsize, &ibase, &isize) || 87 ibase != base) { 50 validate_ranged_resource(zx_handle_t handle, uint32_t kind, uintptr_t base, size_t size) argument
|
H A D | resource_dispatcher.cpp | 39 uint64_t base, 59 // more finely grained. It will work properly here because the base/size of a 68 // It does not make sense for an abstract resource type to have a base/size tuple 69 if (base || size) { 74 status = rallocs[kind].GetRegion({.base = base, .size = size}, region_uptr); 94 if (Intersects(base, size, rsrc.get_base(), rsrc.get_size())) { 96 base, size, rsrc.get_base(), rsrc.get_size()); 102 LTRACEF("%s scanning resource list for [%u, %#lx, %zu]\n", kLogTag, kind, base, size); 113 auto disp = fbl::AdoptRef(new (&ac) ResourceDispatcher(kind, base, siz 36 Create(fbl::RefPtr<ResourceDispatcher>* dispatcher, zx_rights_t* rights, uint32_t kind, uint64_t base, size_t size, uint32_t flags, const char name[ZX_MAX_NAME_LEN], RegionAllocator rallocs[ZX_RSRC_KIND_COUNT], ResourceList* resource_list) argument 131 ResourceDispatcher(uint32_t kind, uint64_t base, uint64_t size, uint32_t flags, RegionAllocator::Region::UPtr&& region, RegionAllocator rallocs[ZX_RSRC_KIND_COUNT], ResourceList* resource_list) argument 176 InitializeAllocator(uint32_t kind, uint64_t base, size_t size, RegionAllocator rallocs[ZX_RSRC_KIND_COUNT]) argument [all...] |
/fuchsia/zircon/third_party/ulib/uboringssl/crypto/fipsmodule/digest/ |
H A D | internal.h | 60 #include <openssl/base.h>
|
/fuchsia/zircon/third_party/ulib/uboringssl/include/openssl/ |
H A D | type_check.h | 60 #include <openssl/base.h>
|
/fuchsia/zircon/kernel/arch/x86/include/arch/x86/ |
H A D | descriptor.h | 62 void set_global_desc_64(seg_sel_t sel, uint64_t base, uint32_t limit, 72 static inline void gdt_load(uintptr_t base) { argument 82 struct gdtr gdtr = { .limit = 0xffff, .address = base };
|
/fuchsia/zircon/kernel/platform/pc/ |
H A D | smbios.cpp | 31 zx_status_t FindEntryPoint(const uint8_t** base, smbios::EntryPointVersion* version) { argument 36 *base = p; 40 *base = p; 50 *base = p; 55 *base = p; 66 paddr_t base = ep->struct_table_phys; local 67 paddr_t end = base + ep->struct_table_length; 68 const size_t subpage_offset = base & (PAGE_SIZE - 1); 69 base -= subpage_offset; 70 size_t len = ROUNDUP(end - base, PAGE_SIZ [all...] |
/fuchsia/zircon/system/dev/board/hikey960/ |
H A D | hikey960-i2c.c | 16 .base = MMIO_I2C0_BASE, 20 .base = MMIO_I2C1_BASE, 24 .base = MMIO_I2C2_BASE,
|
/fuchsia/zircon/system/dev/board/vim/ |
H A D | vim-i2c.c | 17 .base = S912_I2C_A_BASE, 21 .base = S912_I2C_B_BASE, 25 .base = S912_I2C_C_BASE, 30 .base = S912_I2C_D_BASE,
|
H A D | vim-mali.c | 14 .base = S912_MALI_BASE, 18 .base = S912_HIU_BASE, 22 .base = S912_PRESET_BASE,
|
/fuchsia/zircon/system/dev/lib/amlogic/ |
H A D | s905d2-mali.c | 13 .base = S905D2_MALI_BASE, 17 .base = S905D2_HIU_BASE, 21 .base = S905D2_RESET_BASE,
|
/fuchsia/zircon/system/ulib/inspector/ |
H A D | dso-list.cpp | 34 const char* name, uintptr_t base) { 48 dso->base = base; 52 if ((*list)->base < dso->base) { 98 zx_vaddr_t base; local 101 if (read_mem(h, lmap + lmap_off_addr, &base, sizeof(base))) { 115 base); 117 fetch_build_id(h, dso->base, ds 33 dsolist_add(inspector_dsoinfo_t** list, const char* name, uintptr_t base) argument [all...] |
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | mystring.c | 120 intmax_t atomax(const char *s, int base) argument 126 r = strtoimax(s, &p, base); 132 * Disallow completely blank strings in non-arithmetic (base != 0) 135 if (p == s && base)
|
/fuchsia/zircon/system/utest/region-alloc/ |
H A D | region-alloc-c-api.c | 29 const ralloc_region_t tmp = { .base = 0u, .size = 1u }; 63 ralloc_region_t tmp = { .base = GOOD_MERGE_REGION_BASE, 67 tmp.base += tmp.size; 82 ralloc_region_t tmp = { .base = BAD_MERGE_REGION_BASE, 93 tmp.base += tmp.size + 1; 170 EXPECT_EQ(0u, regions[i]->base & (TEST->align - 1), ""); 225 EXPECT_EQ(TEST->req.base, regions[i]->base, ""); 321 ASSERT_EQ(r->base, ctx_->regions[ctx_->i].base, ""); [all...] |
/fuchsia/zircon/kernel/lib/vdso/ |
H A D | rodso.cpp | 78 vmar->vmar()->base() + vmar_offset, len, status); 80 DEBUG_ASSERT(mapping->base() == vmar->vmar()->base() + vmar_offset); 83 mapping->base(), mapping->base() + len);
|
/fuchsia/zircon/third_party/ulib/musl/src/stdio/ |
H A D | open_wmemstream.c | 18 ssize_t base; local 25 base = (size_t[3]){0, c->pos, c->len}[whence]; 26 if (off < -base || off > SSIZE_MAX / 4 - base) 29 return c->pos = base + off;
|