MCPcopy Create free account

hub / github.com/dancrossnyc/r9 / functions

Functions438 in github.com/dancrossnyc/r9

↓ 54 callersFunctionptr2hpa
(ptr: *const T)
x86_64/src/node0.rs:91
↓ 49 callersMethodaddr
(&self)
port/src/mem.rs:70
↓ 45 callersMethodadd
(self, offset: u64)
port/src/mem.rs:92
↓ 43 callersMethodarray_mut
(&mut self)
x86_64/src/dat.rs:338
↓ 31 callersMethodmap
(&self, pa: PhysAddr)
aarch64/src/vm.rs:392
↓ 30 callersFunctionputstr
(s: &str)
aarch64/src/pre_mmu/util.rs:92
↓ 26 callersMethodnext
Returns the next level to translate
aarch64/src/vm.rs:250
↓ 25 callersFunctionwrite_reg
Write val into the reg RegBlock at offset from reg.addr. Panics if offset is outside any range specified by reg.len.
aarch64/src/io.rs:21
↓ 24 callersMethodas_ptr
(&self)
x86_64/src/dat.rs:353
↓ 20 callersMethodsize
(&self)
aarch64/src/vm.rs:44
↓ 19 callersMethodget
(&mut self)
riscv64/src/uart16550.rs:60
↓ 15 callersMethodstart
(&self)
port/src/mem.rs:34
↓ 15 callersFunctionworkspace
()
xtask/src/main.rs:869
↓ 14 callersFunctionannotated_status
Annotates the error result with the calling binary's name.
xtask/src/main.rs:892
↓ 12 callersMethodlen
Returns the length of the region.
port/src/allocator.rs:60
↓ 12 callersMethodrun
(self)
xtask/src/main.rs:305
↓ 11 callersMethodfind_by_path
Return the node specified by the path, or None
port/src/fdt.rs:352
↓ 10 callersFunctionbytes_to_u32_offset
Extract u32 from bytes + offset
port/src/fdt.rs:23
↓ 10 callersMethodfind_compatible
Return the first node matching the compatible string 'comp'
port/src/fdt.rs:389
↓ 10 callersMethodproperty_translated_reg_iter
Get the reg values, translated by ranges of the parent
port/src/fdt.rs:300
↓ 10 callersMethodwith_phys_addr
(self, pa: PhysAddr)
aarch64/src/vm.rs:190
↓ 9 callersMethodas_ptr
Returns a raw mutable pointer to the beginning of the owned region.
port/src/allocator.rs:55
↓ 9 callersMethodregblock
(&self)
port/src/fdt.rs:734
↓ 8 callersMethodend
(&self)
port/src/mem.rs:38
↓ 8 callersMethodlen
(&self)
x86_64/src/dat.rs:361
↓ 8 callersMethodstructs
Return slice containing `structs` area in FDT
port/src/fdt.rs:90
↓ 8 callersFunctionva_index
(va: usize, level: Level)
aarch64/src/vm.rs:269
↓ 8 callersFunctionverbose
(matches: &clap::ArgMatches)
xtask/src/main.rs:284
↓ 7 callersFunctioncargo
()
xtask/src/main.rs:242
↓ 7 callersMethodload
# Safety It is up to the caller to ensure that `self` has been properly initialized.
x86_64/src/vsvm.rs:239
↓ 7 callersMethodlock
(&self, node: &'a LockNode)
port/src/mcslock.rs:48
↓ 7 callersMethodproperty
(&self, node: &Node, prop_name: &str)
port/src/fdt.rs:152
↓ 7 callersFunctionputu64h
(v: u64)
aarch64/src/pre_mmu/util.rs:98
↓ 6 callersMethodchildren
(&'b self, parent: &'b Node)
port/src/fdt.rs:107
↓ 6 callersFunctionenv_or
(var: &str, default: &str)
xtask/src/main.rs:237
↓ 6 callersFunctionmap_device_register
Map a device register to device memory TODO Maybe make this a macro and wrap the error reporting?
aarch64/src/deviceutil.rs:9
↓ 6 callersFunctionnext_mut
Return the next table in the walk. If it doesn't exist, create it.
aarch64/src/pre_mmu/vminit.rs:409
↓ 6 callersMethodnext_mut
Return the next table in the walk. If it doesn't exist, create it.
aarch64/src/vm.rs:333
↓ 6 callersMethodparent
Find the parent of child.
port/src/fdt.rs:124
↓ 6 callersFunctionprint_memory_range
(name: &str, range: &PhysRange)
aarch64/src/main.rs:46
↓ 6 callersFunctionread_reg
Read from the reg RegBlock at offset from reg.addr. Panics if offset is outside any range specified by reg.len.
aarch64/src/io.rs:40
↓ 6 callersMethodset
Set bit `i` within the bitmap
port/src/bitmapalloc.rs:36
↓ 6 callersMethodstep_by_rounded
(&self, step_size: usize)
port/src/mem.rs:163
↓ 6 callersMethodwith_next_index
(&self, i: usize)
aarch64/src/vmdebug.rs:33
↓ 5 callersMethodbytes_per_bitmap
Returns number of physical bytes a single bitmap can cover.
port/src/bitmapalloc.rs:77
↓ 5 callersMethodconsume_cells
(&self, value_i: usize, num_cells: usize)
port/src/fdt.rs:196
↓ 5 callersMethodmark_free
Mark the bits corresponding to the given physical range as free, regardless of the existing state.
port/src/bitmapalloc.rs:94
↓ 5 callersMethodproperty_reg_iter
Return the reg values as u64 whether the size is 1 or 2 cells. Doesn't support > 2 cells.
port/src/fdt.rs:205
↓ 4 callersMethodalloc_physpage
(&mut self)
aarch64/src/pre_mmu/vminit.rs:492
↓ 4 callersMethodbyte
(&self, indices: &ByteIndices)
port/src/bitmapalloc.rs:284
↓ 4 callersMethodclear
(&mut self)
aarch64/src/vm.rs:57
↓ 4 callersFunctionctrl
(b: u8)
port/src/devcons.rs:5
↓ 4 callersFunctiondelay
(count: u32)
aarch64/src/io.rs:13
↓ 4 callersMethodis_multiple_of
(&self, n: u64)
port/src/mem.rs:84
↓ 4 callersMethodmalloc
Allocates a block of memory of the requested size and alignment. Returns a pointer to such a block, or nil if the block cannot be allocated.
port/src/allocator.rs:209
↓ 4 callersMethodmap_phys_range
Map the physical range using the requested page size. This aligns on page size boundaries, and rounds the requested range so that both the alignment r
aarch64/src/vm.rs:470
↓ 4 callersMethodputb
(&self, b: u8)
x86_64/src/devcons.rs:11
↓ 4 callersFunctionrequest
(code: u32, tags: &Tag<T>)
aarch64/src/mailbox.rs:141
↓ 4 callersMethodsize
(&self)
port/src/fdt.rs:66
↓ 4 callersFunctionwrmsr
Writes an MSR # Safety The caller must ensure that the value and MSR are valid, and that the value makes sense for the MSR.
x86_64/src/cpu.rs:130
↓ 3 callersFunctionallocate_physpage
Try to allocate a physical page. Note that this is NOT mapped.
aarch64/src/pagealloc.rs:63
↓ 3 callersFunctionallocate_virtpage
Try to allocate a physical page and map it into virtual memory at va.
aarch64/src/pagealloc.rs:81
↓ 3 callersMethodas_mut_ptr
(&mut self)
x86_64/src/dat.rs:357
↓ 3 callersMethodbytes
(&self)
port/src/bitmapalloc.rs:289
↓ 3 callersMethodbytes_per_bitmap_byte
Returns number of physical bytes a single bitmap can cover.
port/src/bitmapalloc.rs:72
↓ 3 callersFunctionentry_mut
Return a mutable entry from the table based on the virtual address and the level. (It uses the level to extract the index from the correct part of th
aarch64/src/pre_mmu/vminit.rs:466
↓ 3 callersMethodentry_mut
Return a mutable entry from the table based on the virtual address and the level. (It uses the level to extract the index from the correct part of th
aarch64/src/vm.rs:327
↓ 3 callersMethodfree
Frees a block of memory characterized by the `layout` argument. If the block can be freed to one of the quick lists, it is; otherwise, it is treated
port/src/allocator.rs:356
↓ 3 callersFunctionfrom_ptr_to_physaddr_offset_from_kzero
Given an address, return the physical address. Makes a massive assumption that the code is mapped offset to KZERO, so should be used with extreme car
aarch64/src/kmem.rs:97
↓ 3 callersMethodindices
Iterate over each of the bytes in turn. Iterates only over the bytes covering pages up to `end`. If `end` is within one of the bytes, that byte will
port/src/bitmapalloc.rs:239
↓ 3 callersMethodindices_from
Iterate over each of the bytes in turn, starting from a particular bitmap and byte, and looping to iterate across all bytes. Iterates only over the b
port/src/bitmapalloc.rs:247
↓ 3 callersFunctioninit
()
aarch64/src/trap.rs:9
↓ 3 callersFunctioninit
(mach: &mut Mach)
x86_64/src/vsvm.rs:383
↓ 3 callersFunctioninit_early_uart_putc
(b: u8)
aarch64/src/pre_mmu/util.rs:83
↓ 3 callersMethodis_table
(self, level: Level)
aarch64/src/vm.rs:198
↓ 3 callersFunctionkernel_pagetable
()
aarch64/src/vm.rs:26
↓ 3 callersFunctionload_config
(arch: Arch, matches: &clap::ArgMatches)
xtask/src/main.rs:273
↓ 3 callersMethodmark_range
( &mut self, range: &PhysRange, mark_allocated: bool, check_end: bool, )
port/src/bitmapalloc.rs:214
↓ 3 callersMethodmax_bytes
Returns number of physical bytes covered by all bitmaps.
port/src/bitmapalloc.rs:82
↓ 3 callersMethodnode_address_size_cells
Return the node's #address-cells and #size-cells values as a tuple
port/src/fdt.rs:184
↓ 3 callersMethodnode_name
(&self, node: &Node)
port/src/fdt.rs:148
↓ 3 callersFunctionobjcopy
()
xtask/src/main.rs:246
↓ 3 callersMethodoffset_addr
(&self, offset: usize)
port/src/mem.rs:29
↓ 3 callersMethodphysaddr_as_indices
For the given physaddr, returns a tuple of (the bitmap containing pa, the index of the byte containing the pa, and the index of the bit within that by
port/src/bitmapalloc.rs:185
↓ 3 callersMethodroot
(&self)
port/src/fdt.rs:103
↓ 3 callersFunctionroot_page_table
Return the root user or kernel level page table
aarch64/src/vm.rs:527
↓ 3 callersMethodround
Round extents so that start and end lie on multiples of step_size
port/src/mem.rs:174
↓ 3 callersFunctionsbi_call_legacy
(eid: usize, arg0: usize, arg1: usize, arg2: usize)
riscv64/src/sbi.rs:18
↓ 3 callersFunctionswtch
(save: &mut Label, next: &mut Label)
x86_64/src/proc.rs:5
↓ 3 callersFunctionuser_pagetable
()
aarch64/src/vm.rs:31
↓ 3 callersMethodwith_allocator
(&self, thunk: F)
port/src/allocator.rs:509
↓ 2 callersFunctionalign4
(n: usize)
port/src/fdt.rs:43
↓ 2 callersMethodallocate
Try to allocate the next available page.
port/src/bitmapalloc.rs:131
↓ 2 callersFunctionapply_platform_config
(cmd: &mut Command, rustflags: &mut Vec<String>, config: &Configuration)
xtask/src/config.rs:133
↓ 2 callersFunctionapply_rustflags
(cmd: &mut Command, rustflags: &[String])
xtask/src/config.rs:271
↓ 2 callersFunctionbase_physaddr
()
aarch64/src/kmem.rs:17
↓ 2 callersFunctionboottext_physrange
()
aarch64/src/kmem.rs:57
↓ 2 callersFunctionbss_physrange
()
aarch64/src/kmem.rs:73
↓ 2 callersFunctiondata_physrange
()
aarch64/src/kmem.rs:69
↓ 2 callersFunctionebss_physaddr
()
aarch64/src/kmem.rs:53
next →1–100 of 438, ranked by callers