/fuchsia/zircon/kernel/arch/arm64/ |
H A D | mmu.cpp | 301 ulong index; local 327 index = vaddr_rem >> index_shift; 328 ASSERT(index < MMU_KERNEL_PAGE_TABLE_ENTRIES_TOP); 334 index = vaddr_rem >> index_shift; 335 ASSERT(index < MMU_GUEST_PAGE_TABLE_ENTRIES_TOP); 341 index = vaddr_rem >> index_shift; 342 ASSERT(index < MMU_USER_PAGE_TABLE_ENTRIES_TOP); 348 index = vaddr_rem >> index_shift; 349 vaddr_rem -= (vaddr_t)index << index_shift; 350 pte = page_table[index]; [all...] |
/fuchsia/zircon/system/dev/bus/acpi/ |
H A D | cpu-trace.c | 25 static zx_status_t cpu_trace_get_bti(void* ctx, uint32_t index, zx_handle_t* out_handle) { argument 27 if (index >= cpu_trace_pdev_device_info.bti_count || out_handle == NULL) { 38 static zx_status_t cpu_trace_map_mmio(void* ctx, uint32_t index, uint32_t cache_policy, void** out_vaddr, argument 43 static zx_status_t cpu_trace_map_interrupt(void* ctx, uint32_t index, uint32_t flags, zx_handle_t* out_handle) { argument
|
/fuchsia/zircon/system/dev/bus/platform/ |
H A D | device-resources.h | 17 DeviceResources(uint32_t index) argument 18 : index_(index) {} 21 // next_index keeps track of the index to be assigned to the children while inflating the tree. 29 void BuildDeviceIndex(fbl::Vector<const DeviceResources*>* index) const; 32 inline uint32_t index() const { return index_; } function in class:platform_bus::DeviceResources 34 // Returns the index of the ith child of this device.
|
H A D | device-resources.cpp | 75 void DeviceResources::BuildDeviceIndex(fbl::Vector<const DeviceResources*>* index) const { 76 index->push_back(this); 78 dr.BuildDeviceIndex(index);
|
/fuchsia/zircon/system/dev/bus/virtio/ |
H A D | device.h | 44 uint16_t GetRingSize(uint16_t index) { return backend_->GetRingSize(index); } argument 46 void SetRing(uint16_t index, uint16_t count, zx_paddr_t pa_desc, zx_paddr_t pa_avail, argument 48 backend_->SetRing(index, count, pa_desc, pa_avail, pa_used);
|
/fuchsia/zircon/system/host/netprotocol/ |
H A D | netaddr.c | 77 int index = netboot_handle_custom_getopt(argc, argv, netaddr_opts, 1, netaddr_opt_callback); local 78 if (index < 0) { 83 argv += index; 84 argc -= index;
|
/fuchsia/zircon/system/uapp/clock/ |
H A D | clkctl.c | 107 fprintf(stderr, "ERROR: Invalid clock index.\n"); 126 const char* index = NULL; local 144 index = getValue(argc, argv, "-idx"); 146 if (index) { 147 idx = atoi(index);
|
/fuchsia/zircon/system/ulib/ddk/include/ddk/protocol/ |
H A D | sdhci.h | 19 zx_status_t (*get_bti)(void* ctx, uint32_t index, zx_handle_t* out_handle);
|
/fuchsia/zircon/system/utest/cobalt-client/ |
H A D | collector_test.cpp | 33 size_t index = 0; local 34 if (!Find(metric_id, event_type, event_type_index, &index)) { 37 return entries_[index].data.get(); 42 size_t index = 0; local 43 if (!Find(metric_id, event_type, event_type_index, &index)) { 48 index = entries_.size() - 1; 50 update(&entries_[index].data); 55 size_t* index) const { 56 *index = 0; 62 ++(*index); 433 size_t index = 3 * metric_id + event_type_index; local [all...] |
/fuchsia/zircon/third_party/lib/acpica/source/components/utilities/ |
H A D | utclib.c | 560 UINT32 index; local 652 index = (UINT32) ((UINT8) *String - '0'); 656 index = (UINT32) toupper (*String); 657 if (isupper (index)) 659 index = index - 'A' + 10; 667 if (index >= Base) 676 if (ReturnValue > ((ACPI_UINT32_MAX - (UINT32) index) / 685 ReturnValue += index;
|
/fuchsia/zircon/third_party/uapp/dash/src/ |
H A D | exec.h | 47 int index; member in union:cmdentry::param
|
/fuchsia/zircon/kernel/vm/ |
H A D | pmm_arena.h | 40 vm_page_t* get_page(size_t index) { return &page_array_[index]; } argument
|
/fuchsia/zircon/system/dev/audio/usb-audio/ |
H A D | usb-audio.h | 19 zx_status_t usb_midi_sink_create(zx_device_t* device, usb_protocol_t* usb, int index, 23 zx_status_t usb_midi_source_create(zx_device_t* device, usb_protocol_t* usb, int index,
|
/fuchsia/zircon/system/host/fidl/include/fidl/ |
H A D | string_view.h | 27 constexpr char operator[](size_t index) const { return data_[index]; }
|
/fuchsia/zircon/system/ulib/ddktl/include/ddktl/ |
H A D | i2c-channel.h | 78 I2cChannel(uint32_t index, i2c_protocol_t i2c) argument 79 : pdev_index_(index),
|
/fuchsia/zircon/system/ulib/minfs/include/minfs/ |
H A D | inode-manager.h | 43 void Free(WriteTxn* txn, size_t index) { argument 44 inode_allocator_->Free(txn, index);
|
/fuchsia/zircon/system/ulib/trace-engine/include/trace-engine/ |
H A D | types.h | 53 // Represents an index into the string table. 65 // Represents an index into the thread table. 74 // A string reference which is either encoded inline or indirectly by string table index. 90 // Returns true if the string ref's content is stored as an index into the string table. 137 // The |index| must be >= |TRACE_ENCODED_STRING_REF_MIN_INDEX| 139 static inline trace_string_ref_t trace_make_indexed_string_ref(trace_string_index_t index) { argument 140 ZX_DEBUG_ASSERT(index >= TRACE_ENCODED_STRING_REF_MIN_INDEX && 141 index <= TRACE_ENCODED_STRING_REF_MAX_INDEX); 143 .encoded_value = index, 148 // A thread reference which is either encoded inline or indirectly by thread table index 202 trace_make_indexed_thread_ref(trace_thread_index_t index) argument [all...] |
/fuchsia/zircon/system/utest/util/ |
H A D | listnode.cpp | 17 int index = 0; local 20 EXPECT_EQ(entry->value, index); 22 (index + 1) % count); 24 (index + count - 1) % count); 25 index++;
|
/fuchsia/zircon/system/host/fvm/container/ |
H A D | fvm.cpp | 316 for (uint32_t index = 1; index <= pslice_count; index++) { 319 if ((status = GetSlice(index, &slice)) != ZX_OK) { 320 fprintf(stderr, "Failed to retrieve slice %u\n", index); 335 if (lseek(fd_.get(), fvm::SliceStart(disk_size_, slice_size_, index), SEEK_SET) < 0) { 336 fprintf(stderr, "Cannot seek to slice %u in current FVM\n", index); 346 if (lseek(fd.get(), fvm::SliceStart(disk_size, slice_size_, index), SEEK_SET) < 0) { 347 fprintf(stderr, "Cannot seek to slice %u in new FVM\n", index); 604 for (unsigned index 655 GetPartition(size_t index, fvm::vpart_entry_t** out) const argument 669 GetSlice(size_t index, fvm::slice_entry_t** out) const argument [all...] |
/fuchsia/zircon/system/ulib/minfs/ |
H A D | allocator.cpp | 151 void Allocator::Free(WriteTxn* txn, size_t index) { argument 152 ZX_DEBUG_ASSERT(map_.Get(index, index + 1)); 153 map_.Clear(index, index + 1); 154 Persist(txn, index, 1); 158 if (index < hint_) { 159 hint_ = index; 233 void Allocator::Persist(WriteTxn* txn, size_t index, size_t count) { argument 234 blk_t rel_block = static_cast<blk_t>(index) / kMinfsBlockBit [all...] |
/fuchsia/zircon/kernel/arch/x86/page_tables/ |
H A D | page_tables.cpp | 44 // Extract the index needed for finding |vaddr| for the given level 387 uint index = vaddr_to_index(level, vaddr); local 388 volatile pt_entry_t* e = table + index; 408 uint index = vaddr_to_index(PT_L, vaddr); local 409 volatile pt_entry_t* e = table + index; 448 uint index = vaddr_to_index(level, new_cursor->vaddr); local 449 for (; index != NO_OF_PT_ENTRIES && new_cursor->size != 0; ++index) { 450 volatile pt_entry_t* e = table + index; 544 uint index local 609 uint index = vaddr_to_index(level, new_cursor->vaddr); local 670 uint index = vaddr_to_index(PT_L, new_cursor->vaddr); local 719 uint index = vaddr_to_index(level, new_cursor->vaddr); local 787 uint index = vaddr_to_index(PT_L, new_cursor->vaddr); local [all...] |
/fuchsia/zircon/kernel/platform/pc/ |
H A D | memory.cpp | 172 int index; member in struct:e820_range_seq 180 seq->index = -1; 186 seq->index++; 188 if (seq->index == seq->count) { 194 e820entry_t* entry = &seq->map[seq->index]; 219 int index; member in struct:efi_range_seq 227 seq->index = -1; 254 seq->index++; 256 if (seq->index == seq->count) { 262 const uintptr_t addr = reinterpret_cast<uintptr_t>(seq->base) + (seq->index * se 312 int index; member in struct:multiboot_range_seq [all...] |
/fuchsia/zircon/system/dev/display/vim-display/ |
H A D | vpp.cpp | 29 uint32_t index = 0; local 50 for (index = 0; index < 2; index++) { 51 if (index == 1) 66 if (index == 1) 118 void flip_vd(vim2_display* display, uint32_t vd_index, uint32_t index) { argument 120 display->vd1_image = index; 132 vd.IfCanvas0().FromValue(index).WriteTo(&vpu);
|
/fuchsia/zircon/system/ulib/trace-engine/ |
H A D | context_api.cpp | 69 // Attempted to assign an index. 71 // Successfully assigned an index. 84 // The index with which the string was associated, or 0 if none. 85 trace_string_index_t index; member in struct:trace::__anon1227::StringEntry 178 entry->index = 0u; 444 trace_string_index_t index, 446 ZX_DEBUG_ASSERT(index != TRACE_ENCODED_STRING_REF_EMPTY); 447 ZX_DEBUG_ASSERT(index <= TRACE_ENCODED_STRING_REF_MAX_INDEX); 458 trace::StringRecordFields::StringIndex::Make(index) | 469 bool WriteThreadRecord(trace_context_t* context, trace_thread_index_t index, argument 443 WriteStringRecord(trace_context_t* context, bool rqst_durable_buffer, trace_string_index_t index, const char* string, size_t length) argument 572 trace_string_index_t index; local 621 trace_thread_index_t index; local 652 trace_thread_index_t index; local 693 trace_thread_index_t index; local 1086 trace_context_write_string_record( trace_context_t* context, trace_string_index_t index, const char* string, size_t length) argument 1095 trace_context_write_thread_record( trace_context_t* context, trace_thread_index_t index, zx_koid_t process_koid, zx_koid_t thread_koid) argument [all...] |
/fuchsia/zircon/kernel/lib/heap/cmpctmalloc/ |
H A D | cmpctmalloc.c | 325 static inline void set_free_list_bit(int index) { argument 326 theheap.free_list_bits[index >> 5] |= (1u << (31 - (index & 0x1f))); 329 static inline void clear_free_list_bit(int index) { argument 330 theheap.free_list_bits[index >> 5] &= ~(1u << (31 - (index & 0x1f))); 333 static int find_nonempty_bucket(int index) { argument 334 uint32_t mask = (1u << (31 - (index & 0x1f))) - 1; 336 mask &= theheap.free_list_bits[index >> 5]; 338 return (index 359 int index = size_to_index_freeing(size - sizeof(header_t)); local 774 unsigned int index = (unsigned int)rand() % 16; local [all...] |