Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/AveryOS/avery
/ functions
Functions
389 in github.com/AveryOS/avery
⨍
Functions
389
◇
Types & classes
267
↓ 123 callers
Function
new
()
kernel/process.rs:48
↓ 89 callers
Method
push
(&mut self, val: T)
kernel/util.rs:64
↓ 60 callers
Function
coerce
(from: A)
kernel/std/std.rs:116
↓ 56 callers
Function
run
()
kernel/arch/x64/mod.rs:92
↓ 41 callers
Method
iter
(&'a self)
kernel/util.rs:72
↓ 39 callers
Method
next
(&mut self)
verifier/src/decoder.rs:33
↓ 34 callers
Function
offset
(ptr: &'static T)
kernel/arch/x64/multiboot/bootstrap.rs:107
↓ 31 callers
Method
map
(&'s mut self, base: Addr, size: usize, flags: Addr)
kernel/memory/mod.rs:17
↓ 27 callers
Function
outb
(port: u16, value: u8)
kernel/arch/x64/mod.rs:136
↓ 26 callers
Function
read
(r: &mut R)
kernel/arch/x64/dwarf.rs:42
↓ 23 callers
Method
peek
(&self)
verifier/src/decoder.rs:29
↓ 22 callers
Method
clone
(&self)
verifier/capstone/capstone.rs:29
↓ 22 callers
Function
def
()
verifier/src/x86_decoder.rs:165
↓ 19 callers
Method
lock
Locks the spinlock and returns a guard. The returned value may be dereferenced for data access and the lock will be dropped when the guard falls out
kernel/spin/mutex.rs:147
↓ 19 callers
Method
op
(&mut self, op: Operation)
verifier/src/x86_decoder.rs:156
↓ 19 callers
Function
reg
(offset: usize, val: u32)
kernel/arch/x64/apic.rs:58
↓ 17 callers
Method
position
(&self)
kernel/std/std.rs:238
↓ 16 callers
Method
ptr
(&self)
kernel/memory/mod.rs:89
↓ 15 callers
Function
read_lebu128
(r: &mut R)
kernel/arch/x64/dwarf.rs:28
↓ 14 callers
Method
new
(index: usize)
kernel/cpu.rs:54
↓ 13 callers
Method
each
(&block)
rake/build.rb:175
↓ 13 callers
Method
skip
(&mut self, bytes: usize)
verifier/src/x86_decoder.rs:126
↓ 12 callers
Function
cpus
()
kernel/cpu.rs:32
↓ 12 callers
Method
load
(storage)
rake/build.rb:209
↓ 12 callers
Method
next
(&mut self)
verifier/src/x86_decoder.rs:135
↓ 12 callers
Method
store
rake/build.rb:14
↓ 11 callers
Method
exists?
rake/build.rb:67
↓ 11 callers
Method
iter_mut
(&'a mut self)
kernel/util.rs:76
↓ 9 callers
Function
decode
(data: &[u8], func_start: usize, size: usize, disp_off: u64, cases: &[(Vec<u8>, Vec<Effect>, InstFormat)])
verifier/src/decoder.rs:202
↓ 9 callers
Method
get
(&mut self, i: usize)
kernel/util.rs:45
↓ 8 callers
Function
register_handler
(index: u8, handler: Handler)
kernel/arch/x64/interrupts.rs:235
↓ 7 callers
Function
bit
(b: bool)
verifier/src/rustgen.rs:101
↓ 7 callers
Function
ext_bit
(b: usize, i: usize, t: usize)
verifier/src/disasm.rs:18
↓ 7 callers
Function
get
(node: *mut T, offset: usize)
kernel/util.rs:145
↓ 7 callers
Function
map
(address: Page, pages: usize, flags: Addr)
kernel/arch/x64/memory.rs:99
↓ 7 callers
Function
page_table_entry
(page: PhysicalPage, flags: Addr)
kernel/arch/x64/memory.rs:271
↓ 7 callers
Method
remaining
(&self)
verifier/src/decoder.rs:25
↓ 7 callers
Method
remove
(&mut self, node: *mut T)
kernel/util.rs:204
↓ 7 callers
Method
set_position
(&mut self, pos: u64)
kernel/std/std.rs:239
↓ 6 callers
Method
addr
(&self)
kernel/memory/mod.rs:103
↓ 6 callers
Function
align_up
(value: T, mut alignment: T)
kernel/std/std.rs:184
↓ 6 callers
Method
append
(&mut self, node: *mut T)
kernel/util.rs:185
↓ 6 callers
Function
bsp
()
kernel/arch/x64/cpu.rs:126
↓ 6 callers
Function
disable
()
kernel/arch/x64/interrupts.rs:45
↓ 6 callers
Method
get
(&self, i: usize)
kernel/memory/physical.rs:35
↓ 6 callers
Method
next
(&self, node: *mut T)
kernel/util.rs:177
↓ 6 callers
Method
next_u32
(&mut self)
verifier/src/x86_decoder.rs:141
↓ 6 callers
Function
offset_mut
(obj: *mut T, count: usize)
kernel/memory/mod.rs:80
↓ 6 callers
Method
peek
(&self)
verifier/src/x86_decoder.rs:101
↓ 6 callers
Method
prev
(&self, node: *mut T)
kernel/util.rs:181
↓ 6 callers
Method
remaining
(&self)
verifier/src/x86_decoder.rs:93
↓ 6 callers
Function
set_gate
(index: u8, stub: unsafe extern fn (), ist: u8)
kernel/arch/x64/interrupts.rs:219
↓ 5 callers
Function
align_down
(value: T, alignment: T)
kernel/std/std.rs:190
↓ 5 callers
Method
matches
(&mut self, v: u8)
verifier/src/x86_decoder.rs:108
↓ 5 callers
Function
read_imm
(c: &mut Cursor, size: Size)
verifier/src/disasm.rs:74
↓ 4 callers
Method
addr
(&self, i: usize)
kernel/memory/physical.rs:18
↓ 4 callers
Function
alloc_stack
(pages: usize)
kernel/arch/x64/cpu.rs:210
↓ 4 callers
Method
call
(&self, payload: Payload)
notes/Caps.rs:29
↓ 4 callers
Function
capstone_simple
(data: &[u8], disp_off: u64)
verifier/src/decoder.rs:147
↓ 4 callers
Function
div_up
(value: T, alignment: T)
kernel/std/std.rs:179
↓ 4 callers
Function
enable
()
kernel/arch/x64/interrupts.rs:41
↓ 4 callers
Function
entry_present
(entry: TableEntry)
kernel/arch/x64/memory.rs:132
↓ 4 callers
Function
get_page_entry
(_: &'s mut Ops, pointer: Page)
kernel/arch/x64/memory.rs:259
↓ 4 callers
Method
get_reg
(&self, reg: u32)
kernel/arch/x64/io_apic.rs:62
↓ 4 callers
Function
get_submodule
(path)
rake/deps.rb:2
↓ 4 callers
Function
parse
(cursor: &mut Cursor, disp_off: u64, format: &InstFormat)
verifier/src/disasm.rs:659
↓ 4 callers
Function
read_str
(r: &mut Cursor<&'s [u8]>)
kernel/arch/x64/dwarf.rs:51
↓ 4 callers
Method
reg
(&self, reg: u32, val: u32)
kernel/arch/x64/io_apic.rs:67
↓ 4 callers
Function
set_segment
(index: usize, code: bool, usermode: bool)
kernel/arch/x64/segments.rs:74
↓ 4 callers
Method
try_lock
Tries to lock the mutex. If it is already locked, it will return None. Otherwise it returns a guard within Some.
kernel/spin/mutex.rs:159
↓ 4 callers
Function
update_cursor
()
kernel/arch/x64/vga.rs:26
↓ 3 callers
Function
alloc_block
(pages: usize, kind: allocator::Kind)
kernel/memory/mod.rs:123
↓ 3 callers
Function
backtrace
(info: &Info, elf: Option<&'s Image<'s>>)
kernel/arch/x64/interrupts.rs:62
↓ 3 callers
Function
bytes
(bs: &[u8])
verifier/src/table.rs:26
↓ 3 callers
Function
current
()
kernel/arch/x64/cpu.rs:122
↓ 3 callers
Function
current_slow
()
kernel/arch/x64/cpu.rs:115
↓ 3 callers
Function
decode_address
(pointer: Page)
kernel/arch/x64/memory.rs:235
↓ 3 callers
Method
digest
rake/build.rb:71
↓ 3 callers
Function
ensure_table_entry
(table: &mut Table, index: usize, lower: &mut Table)
kernel/arch/x64/memory.rs:185
↓ 3 callers
Method
file
(type, path)
rake/build.rb:203
↓ 3 callers
Function
freeze
()
kernel/arch/x64/mod.rs:84
↓ 3 callers
Function
get_reg
(offset: usize)
kernel/arch/x64/apic.rs:53
↓ 3 callers
Function
get_user_elf
()
kernel/arch/x64/mod.rs:194
↓ 3 callers
Function
halt
()
kernel/arch/x64/mod.rs:78
↓ 3 callers
Function
initialize
()
kernel/memory/mod.rs:118
↓ 3 callers
Function
ipi
(target: u8, kind: Message, vector: usize)
kernel/arch/x64/apic.rs:67
↓ 3 callers
Function
is_local_cpu
(cpu: &cpu::CPU)
kernel/arch/x64/cpu.rs:47
↓ 3 callers
Function
list_insts
(ops: &mut Vec<Inst>, verify: bool)
verifier/src/table.rs:92
↓ 3 callers
Method
list_mut
(&mut self)
kernel/util.rs:18
↓ 3 callers
Function
local_id
()
kernel/arch/x64/apic.rs:72
↓ 3 callers
Function
map_physical
(base: PhysicalPage, pages: usize, flags: Addr)
kernel/memory/mod.rs:57
↓ 3 callers
Function
newline
()
kernel/arch/x64/vga.rs:64
↓ 3 callers
Function
pause
()
kernel/arch/x64/mod.rs:74
↓ 3 callers
Function
physical_page_from_table_entry
(entry: TableEntry)
kernel/arch/x64/memory.rs:223
↓ 3 callers
Method
read
(&'a self)
kernel/spin/rw_lock.rs:103
↓ 3 callers
Function
rebuild_check
(pkg, depends = [], version = "")
rake/deps.rb:108
↓ 3 callers
Function
setup_segment
(params: &mut params::Info, kind: params::SegmentKind, virtual_start: &'static void, virtual_end: &'static voi
kernel/arch/x64/multiboot/mod.rs:27
↓ 3 callers
Method
updated?
rake/build.rb:96
↓ 3 callers
Method
val
(&self, writer: &mut Write)
verifier/src/rustgen.rs:258
↓ 3 callers
Function
write_msr
(reg: u32, value: u64)
kernel/arch/x64/mod.rs:116
next →
1–100 of 389, ranked by callers