Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Freax13/mushroom
/ functions
Functions
2,857 in github.com/Freax13/mushroom
⨍
Functions
2,857
◇
Types & classes
933
↓ 1 callers
Method
set_sid
(&self)
tee/kernel/src/user/process.rs:232
↓ 1 callers
Method
set_socket_option
( &self, virtual_memory: Arc<VirtualMemory>, abi: Abi, level: i32, opt
tee/kernel/src/net/udp.rs:590
↓ 1 callers
Method
set_sregs
(&self, regs: KvmSregs)
host/mushroom/src/kvm.rs:729
↓ 1 callers
Method
set_stack_pointer
(&mut self, sp: u64)
tee/kernel/src/user/syscall/cpu_state.rs:260
↓ 1 callers
Method
set_task_comm
(&mut self, task_comm: ArrayVec<u8, TASK_COMM_CAPACITY>)
tee/kernel/src/user/thread.rs:1229
↓ 1 callers
Method
set_tick
(&mut self, tick: Tick)
tee/kernel/src/time.rs:1039
↓ 1 callers
Method
set_umask
(&self, umask: FileMode)
tee/kernel/src/user/process.rs:257
↓ 1 callers
Method
set_user_memory_region
( &self, slot: u16, guest_phys_addr: u64, memory_size: u64, userspace_
host/mushroom/src/kvm.rs:205
↓ 1 callers
Method
set_xcr
(&self, xcr: u32, value: u64)
host/mushroom/src/kvm.rs:736
↓ 1 callers
Function
setup_idt
()
tee/supervisor-tdx/src/exception.rs:19
↓ 1 callers
Method
sev_snp_init
(&self)
host/mushroom/src/kvm.rs:344
↓ 1 callers
Method
sev_snp_launch_finish
( &self, // FIXME: figure out if we need a sev handle for this operation sev_handle: &
host/mushroom/src/kvm.rs:419
↓ 1 callers
Method
sev_snp_launch_start
(&self, policy: GuestPolicy, sev_handle: &SevHandle)
host/mushroom/src/kvm.rs:359
↓ 1 callers
Method
sev_snp_launch_update
( &self, start_addr: u64, uaddr: u64, len: u64, page_type: PageType,
host/mushroom/src/kvm.rs:376
↓ 1 callers
Method
shrink
(&mut self, old_address: Page, old_size: u64, delta: u64)
tee/kernel/src/user/memory.rs:1242
↓ 1 callers
Method
shrink
( &self, ptr: NonNull<u8>, old_layout: Layout, new_layout: Layout, )
tee/kernel/src/memory/heap/fallback_allocator.rs:143
↓ 1 callers
Method
shutdown
(&self, how: ShutdownHow)
tee/kernel/src/net/tcp.rs:803
↓ 1 callers
Method
shutdown
(&self)
tee/kernel/src/fs/fd/stream_buffer.rs:382
↓ 1 callers
Function
signalfd4
( abi: Abi, #[state] virtual_memory: Arc<VirtualMemory>, #[state] fdtable: Arc<FileDescriptorTable
tee/kernel/src/user/syscall.rs:6756
↓ 1 callers
Method
signature
(&self)
common/snp-types/src/attestation.rs:135
↓ 1 callers
Function
spawn_cancelable
Spawn an asynchronous task that can be cancelled.
tee/kernel/src/rt.rs:236
↓ 1 callers
Method
splice_from
( &self, len: usize, read: impl FnOnce(&mut VecDeque<u8>, usize), )
tee/kernel/src/fs/fd/stream_buffer.rs:605
↓ 1 callers
Method
splice_from
( &self, read_half: &stream_buffer::ReadHalf, offset: Option<usize>, len: usiz
tee/kernel/src/fs/fd/unix_socket/stream.rs:363
↓ 1 callers
Method
splice_from
( &self, read_half: &stream_buffer::ReadHalf, offset: usize, len: usize,
tee/kernel/src/fs/node/tmpfs.rs:1240
↓ 1 callers
Method
splice_to
( &self, _write_half: &stream_buffer::WriteHalf, _offset: Option<usize>, _len:
tee/kernel/src/char_dev/mushroom.rs:127
↓ 1 callers
Method
splice_to
( &self, mut len: usize, write: impl FnOnce(&mut VecDeque<u8>, usize), )
tee/kernel/src/fs/fd/stream_buffer.rs:333
↓ 1 callers
Method
splice_to
( &self, write_half: &stream_buffer::WriteHalf, offset: Option<usize>, len: us
tee/kernel/src/fs/fd/unix_socket/stream.rs:378
↓ 1 callers
Method
splice_to
( &self, write_half: &stream_buffer::WriteHalf, mut offset: usize, len: usize,
tee/kernel/src/fs/node/tmpfs.rs:1286
↓ 1 callers
Method
split_off
(&mut self, offset: u64)
tee/kernel/src/user/memory.rs:1719
↓ 1 callers
Function
start_init_process
()
tee/kernel/src/user/process.rs:1006
↓ 1 callers
Function
start_next
()
tee/supervisor-tdx/src/vcpu.rs:42
↓ 1 callers
Function
start_next_ap
()
tee/supervisor-snp/src/scheduler.rs:17
↓ 1 callers
Function
start_next_ap
()
tee/kernel/src/supervisor.rs:65
↓ 1 callers
Method
start_shebang
( &self, path: Path, file: &dyn OpenFileDescription, argv: &[impl AsRef<CStr>]
tee/kernel/src/user/exec.rs:301
↓ 1 callers
Method
start_signal_handler
( &mut self, sig_info: SigInfo, sigaction: Sigaction, stack: Stack, si
tee/kernel/src/user/syscall/cpu_state.rs:394
↓ 1 callers
Method
stat
(&self)
tee/kernel/src/char_dev/char.rs:210
↓ 1 callers
Method
stat
(&self)
tee/kernel/src/fs/node/procfs/sys.rs:101
↓ 1 callers
Method
stat
(&self)
tee/kernel/src/fs/node/procfs/sys/vm.rs:71
↓ 1 callers
Method
stat
(&self)
tee/kernel/src/fs/node/procfs/sys/kernel.rs:78
↓ 1 callers
Method
stime
System CPU time consumed (SIGCHLD)
tee/kernel/src/user/thread.rs:1717
↓ 1 callers
Method
stop
(&self)
host/mushroom/src/insecure.rs:499
↓ 1 callers
Method
supplementary_group_ids
(&self)
tee/kernel/src/fs/node.rs:579
↓ 1 callers
Function
switch_stack
(f: extern "C" fn() -> !)
tee/kernel/src/exception.rs:42
↓ 1 callers
Method
syscall
(&self)
tee/kernel/src/user/thread.rs:1748
↓ 1 callers
Method
take_oob_index
Returns the index of the OOB mark iff it hasn't already been read.
tee/kernel/src/fs/fd/stream_buffer.rs:170
↓ 1 callers
Method
tdx_capabilities
(&self)
host/mushroom/src/kvm.rs:466
↓ 1 callers
Method
tdx_extend_memory
(&self, gpa: u64, len: u64)
host/mushroom/src/kvm.rs:534
↓ 1 callers
Method
tdx_finalize_vm
(&self)
host/mushroom/src/kvm.rs:562
↓ 1 callers
Method
tdx_init_vcpu
(&self)
host/mushroom/src/kvm.rs:840
↓ 1 callers
Method
tdx_init_vm
(&self, entries: &[KvmCpuidEntry2], mrconfigid: [u8; 48])
host/mushroom/src/kvm.rs:497
↓ 1 callers
Method
tee_tcb_svn
(&self)
host/mushroom/src/main.rs:411
↓ 1 callers
Method
termination_signal
(&self)
tee/kernel/src/user/syscall/args.rs:634
↓ 1 callers
Function
test_case
( connect_port: u16, mut ip_a: IpAddr, ip_b: IpAddr, reuse_addr_a: bool,
tee/tests/src/net.rs:218
↓ 1 callers
Method
timer_delete
(&self, timer: TimerId)
tee/kernel/src/user/process.rs:670
↓ 1 callers
Method
timer_get_time
(&self, timer: TimerId)
tee/kernel/src/user/process.rs:662
↓ 1 callers
Method
timer_set_time
( &self, timer: TimerId, new: ITimerspec, absolute: bool, )
tee/kernel/src/user/process.rs:649
↓ 1 callers
Method
trapno
Trap number that caused signal
tee/kernel/src/user/thread.rs:1662
↓ 1 callers
Function
triple_fault
()
tee/supervisor-tdx/src/panic.rs:11
↓ 1 callers
Function
triple_fault
()
tee/kernel/src/panic.rs:31
↓ 1 callers
Method
truncate
(&self, length: usize, _: &FileAccessContext)
tee/kernel/src/fs/fd/mem.rs:145
↓ 1 callers
Method
truncate
(&self, len: usize, ctx: &FileAccessContext)
tee/kernel/src/fs/node/tmpfs.rs:1168
↓ 1 callers
Method
try_bind
Try to bind the socket to an address. Returns `true` if the socket was bound, returns `false` if the socket was already bound. Returns `Err(..)` if th
tee/kernel/src/net/udp.rs:193
↓ 1 callers
Method
try_bind
Try to bind the socket to an address. Returns `true` if the socket was bound, returns `false` if the socket was already bound. Returns `Err(..)` if th
tee/kernel/src/net/tcp.rs:303
↓ 1 callers
Method
try_iter
(&self)
tee/kernel/src/rt/mpsc.rs:132
↓ 1 callers
Function
try_read_fast
(src: VirtAddr, dest: NonNull<[u8]>)
tee/kernel/src/memory/pagetable.rs:256
↓ 1 callers
Function
try_set_bytes_fast
(dest: VirtAddr, count: usize, val: u8)
tee/kernel/src/memory/pagetable.rs:320
↓ 1 callers
Method
try_unmap
Unmap a page if it's mapped or do nothing if it isn't. Returns true if there previously was an entry and that entry had been accessed.
tee/kernel/src/memory/pagetable.rs:1295
↓ 1 callers
Method
try_unmap_user_page
Unmap a page if it's mapped.
tee/kernel/src/memory/pagetable.rs:552
↓ 1 callers
Function
try_write_fast
(src: NonNull<[u8]>, dest: VirtAddr)
tee/kernel/src/memory/pagetable.rs:290
↓ 1 callers
Function
tsc_frequency
Returns `delta(TSC)/s`.
tee/supervisor-tdx/src/vcpu.rs:357
↓ 1 callers
Method
ty
(&self)
tee/kernel/src/user/syscall/args.rs:846
↓ 1 callers
Method
uid
(&self)
tee/kernel/src/fs/node.rs:636
↓ 1 callers
Function
unlink_file
(start_dir: Link, path: &Path, ctx: &mut FileAccessContext)
tee/kernel/src/fs/node.rs:1011
↓ 1 callers
Function
unlinkat
( thread: &Thread, #[state] virtual_memory: Arc<VirtualMemory>, #[state] fdtable: Arc<FileDescript
tee/kernel/src/user/syscall.rs:6061
↓ 1 callers
Method
unmap_no_flush
# Panics Panics if the page isn't mapped.
tee/kernel/src/memory/pagetable.rs:1280
↓ 1 callers
Function
unmap_page
(page: Page)
tee/kernel/src/memory/pagetable.rs:233
↓ 1 callers
Method
unregister
(&self, mapping_ctrl: &MappingCtrl)
tee/kernel/src/user/memory.rs:841
↓ 1 callers
Method
until
(mut self, f: impl Fn() -> Option<R>)
tee/kernel/src/rt/notify.rs:132
↓ 1 callers
Method
update_offset
Adjust the clock by a given delta.
tee/kernel/src/time.rs:225
↓ 1 callers
Function
update_output
Append some bytes to the output.
tee/supervisor-tdx/src/output.rs:36
↓ 1 callers
Function
update_output
Append some bytes to the output.
tee/supervisor-snp/src/output.rs:40
↓ 1 callers
Method
update_signal_mask
(&self, mask: Sigset)
tee/kernel/src/fs/fd/signal.rs:154
↓ 1 callers
Method
update_waker
(&self, waker: &Waker)
tee/kernel/src/time.rs:869
↓ 1 callers
Method
user
(&self)
tee/kernel/src/memory/pagetable.rs:1521
↓ 1 callers
Method
utime
User CPU time consumed (SIGCHLD)
tee/kernel/src/user/thread.rs:1706
↓ 1 callers
Function
verify
(run: VerifyCommand)
host/mushroom/src/main.rs:420
↓ 1 callers
Method
verify_and_extract_with_input
Verify that a input with the given hash is attested to have produced an output and return its hash.
host/mushroom-verify/src/lib.rs:123
↓ 1 callers
Function
verify_and_load
Verify the input and make it accessible to the L2 VM.
tee/supervisor-tdx/src/input.rs:36
↓ 1 callers
Function
verify_and_load
Verify the input and make it accessible to VMPL 1.
tee/supervisor-snp/src/input.rs:32
↓ 1 callers
Method
verify_signatures
(&self)
common/tdx-types/src/td_quote.rs:53
↓ 1 callers
Function
vmsa_tweak_bitmap
()
tee/supervisor-snp/src/ghcb.rs:43
↓ 1 callers
Method
wait
(&self)
tee/kernel/src/user/process.rs:857
↓ 1 callers
Function
wait_for_vcpu_start
Wait for the vCPU to be ready. We start the vCPUs sequentially. The kernel will tell us when to start the next vCPU.
tee/supervisor-tdx/src/vcpu.rs:55
↓ 1 callers
Function
wait_for_vcpu_start
Wait for the vCPU to be ready. We start the vCPUs sequentially. The kernel will tell us when to start the next vCPU.
tee/supervisor-snp/src/scheduler.rs:30
↓ 1 callers
Method
wait_until_closed
(&self)
tee/kernel/src/fs/fd.rs:104
↓ 1 callers
Method
wait_until_not_stopped
(&self)
tee/kernel/src/user/process.rs:598
↓ 1 callers
Method
wake
(self: Arc<Self>)
tee/kernel/src/rt.rs:111
↓ 1 callers
Method
wake
( &self, offset: usize, num_waiters: u32, scope: FutexScope, bitset: O
tee/kernel/src/user/futex.rs:72
↓ 1 callers
Function
walk_frames
()
tee/kernel/src/panic.rs:50
↓ 1 callers
Method
watch
(&self)
tee/kernel/src/user/thread/running_state.rs:115
← previous
next →
1,201–1,300 of 2,857, ranked by callers