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
↓ 3 callers
Method
threads
(&self)
tee/kernel/src/user/process.rs:602
↓ 3 callers
Function
tiocgptn
Query the index for the terminal.
tee/tests/src/pty.rs:32
↓ 3 callers
Method
try_get
(self)
tee/kernel/src/user/syscall/args.rs:230
↓ 3 callers
Method
try_get
(&self)
tee/kernel/src/rt/once.rs:34
↓ 3 callers
Method
try_lock
(&self)
tee/kernel/src/user/thread.rs:257
↓ 3 callers
Method
try_recv
(&self)
tee/kernel/src/rt/mpmc.rs:72
↓ 3 callers
Function
uname_impl
( virtual_memory: Arc<VirtualMemory>, name: Pointer<c_void>, values: &[&CStr], capacity: usize
tee/kernel/src/user/syscall.rs:2679
↓ 3 callers
Function
unlink
( thread: &Thread, #[state] virtual_memory: Arc<VirtualMemory>, #[state] fdtable: Arc<FileDescript
tee/kernel/src/user/syscall.rs:3223
↓ 3 callers
Method
unlock_internal
(&self, guard: &mut MutexGuard<FileLockState>)
tee/kernel/src/fs/fd.rs:1417
↓ 3 callers
Method
unspecified_ip
(&self)
tee/kernel/src/net.rs:38
↓ 3 callers
Method
update
(&mut self, bytes: &[u8])
tee/supervisor-tdx/src/output.rs:21
↓ 3 callers
Function
update_output
(data: &[u8])
tee/kernel/src/supervisor.rs:112
↓ 3 callers
Method
usage
(&self)
tee/kernel/src/user/memory.rs:420
↓ 3 callers
Method
verify
(&self, hash: [u8; 32])
common/io/src/input.rs:47
↓ 3 callers
Method
wait
(&self, timeout: Duration)
host/mushroom/src/insecure.rs:508
↓ 3 callers
Function
without_smap
(f: F)
tee/kernel/src/memory/pagetable.rs:734
↓ 3 callers
Method
write
(&self, buf: &dyn WriteBuf, ctx: &FileAccessContext)
tee/kernel/src/fs/fd/unix_socket/dgram.rs:480
↓ 3 callers
Method
write
(&self, _offset: usize, _buf: &dyn WriteBuf, _: &FileAccessContext)
tee/kernel/src/fs/node/procfs/sys/kernel.rs:394
↓ 3 callers
Method
write_byte_to_output
(&mut self, c: u8)
tee/kernel/src/char_dev/char.rs:770
↓ 3 callers
Method
write_bytes_volatile
(&self, addr: VirtAddr, bytes: NonNull<[u8]>)
tee/kernel/src/user/memory.rs:351
↓ 3 callers
Method
write_shutdown
(&self)
tee/kernel/src/fs/fd/stream_buffer.rs:395
↓ 3 callers
Method
zero_range
Zero the bytes in the specified range.
tee/kernel/src/memory/page/kernel.rs:199
↓ 2 callers
Method
abi_from_cs
Guess the ABI to be used for signal handling based on the CS register and GDT entry.
tee/kernel/src/user/syscall/cpu_state.rs:322
↓ 2 callers
Method
abi_major
(&self)
common/snp-types/src/guest_policy.rs:24
↓ 2 callers
Method
abi_minor
(&self)
common/snp-types/src/guest_policy.rs:28
↓ 2 callers
Method
add_atomic_counter
(&mut self, events: Events, counter: &AtomicEventCounter)
tee/kernel/src/fs/fd/epoll.rs:576
↓ 2 callers
Method
add_generic
Add a control message. `write` is called with a pointer where the payload should be written and the remaining capacity.
tee/kernel/src/net.rs:101
↓ 2 callers
Method
add_user_desc
(&mut self, u_info: UserDesc)
tee/kernel/src/user/syscall/cpu_state.rs:284
↓ 2 callers
Method
all
()
tee/kernel/src/user/thread.rs:1350
↓ 2 callers
Method
all
()
common/constants/src/lib.rs:113
↓ 2 callers
Method
allocate_frame
(&mut self)
tee/kernel/src/supervisor.rs:234
↓ 2 callers
Function
allocate_stack
()
tee/kernel/src/exception.rs:57
↓ 2 callers
Method
allow_debugging
(self)
common/snp-types/src/guest_policy.rs:52
↓ 2 callers
Method
allow_migration_agent_association
(self)
common/snp-types/src/guest_policy.rs:42
↓ 2 callers
Method
allow_smt
(self)
common/snp-types/src/guest_policy.rs:32
↓ 2 callers
Method
append
(&self, buf: &dyn WriteBuf, ctx: &FileAccessContext)
tee/kernel/src/fs/node/tmpfs.rs:1230
↓ 2 callers
Method
apply_reg_prot_nonce
( &self, offset: usize, value: &mut u8, tweak_bitmap: &VmsaTweakBitmap, )
common/snp-types/src/vmsa.rs:151
↓ 2 callers
Method
as_dir
(&self, _ctx: &mut FileAccessContext)
tee/kernel/src/fs/fd/dir.rs:130
↓ 2 callers
Method
as_nanos
(self)
tee/kernel/src/time.rs:1169
↓ 2 callers
Method
as_table_ptr
(&self)
tee/kernel/src/memory/pagetable.rs:1192
↓ 2 callers
Method
as_write_only_ptr
(&self)
tee/supervisor-tdx/src/pagetable.rs:123
↓ 2 callers
Method
at_mark
Returns whether the buffer is at the OOB mark.
tee/kernel/src/fs/fd/stream_buffer.rs:121
↓ 2 callers
Function
atomic_store
(entry: &AtomicU64, val: u64)
tee/kernel/src/memory/pagetable.rs:1591
↓ 2 callers
Function
atomic_swap
(entry: &AtomicU64, val: u64)
tee/kernel/src/memory/pagetable.rs:1608
↓ 2 callers
Method
bind
(&self, socketname: SocketAddrUnix)
tee/kernel/src/fs/fd/unix_socket/dgram.rs:167
↓ 2 callers
Method
bind_stream_socket
( &self, file_name: FileName<'static>, mode: FileMode, uid: Uid, gid:
tee/kernel/src/fs/node.rs:188
↓ 2 callers
Function
cache_file_name
(params: VcekParameters)
host/mushroom/src/main.rs:521
↓ 2 callers
Method
chdir
(&self, cwd: Link)
tee/kernel/src/user/process.rs:265
↓ 2 callers
Method
check_extension
(&self, cap: KvmCap)
host/mushroom/src/kvm.rs:164
↓ 2 callers
Function
check_user_page
(page: Page)
tee/kernel/src/memory/pagetable.rs:343
↓ 2 callers
Method
chmod
(&mut self, mut mode: FileMode, ctx: &FileAccessContext)
tee/kernel/src/fs/ownership.rs:26
↓ 2 callers
Method
chown
(&mut self, mut uid: Uid, mut gid: Gid, ctx: &FileAccessContext)
tee/kernel/src/fs/ownership.rs:46
↓ 2 callers
Method
claim
Inspect a group and optionally try to take ownership of the group. The `check` function is called with the number of available frames, so that the cal
tee/kernel/src/memory/frame.rs:317
↓ 2 callers
Method
clamp_read_length
Clamp the number of bytes returned in reads, so that they don't skip over OOB data.
tee/kernel/src/fs/fd/stream_buffer.rs:150
↓ 2 callers
Function
clock_nanosleep_impl
( abi: Abi, thread: &Thread, virtual_memory: Arc<VirtualMemory>, clock_id: ClockId, flags:
tee/kernel/src/user/syscall.rs:5364
↓ 2 callers
Function
clock_settime
( abi: Abi, #[state] virtual_memory: Arc<VirtualMemory>, clock_id: ClockId, tp: Pointer<Timesp
tee/kernel/src/user/syscall.rs:5280
↓ 2 callers
Method
clone_epoll_ready
(&self)
tee/kernel/src/fs/fd/epoll.rs:926
↓ 2 callers
Method
controlling_terminal
(&self)
tee/kernel/src/user/process.rs:954
↓ 2 callers
Method
copy_range_from_file
( &self, offset_out: Option<usize>, file_in: &dyn File, offset_in: usize,
tee/kernel/src/fs/fd/file.rs:306
↓ 2 callers
Method
copy_to
(&self, dst: &Arc<TmpFsFile>)
tee/kernel/src/fs.rs:44
↓ 2 callers
Method
cpu_time
(&self)
tee/kernel/src/user/thread.rs:642
↓ 2 callers
Function
create_attestation_report
(report_data: [u8; 64])
tee/supervisor-snp/src/ghcb.rs:395
↓ 2 callers
Function
create_file
( mut start_dir: Link, mut path: Path, mode: FileMode, flags: OpenFlags, ctx: &mut FileAcc
tee/kernel/src/fs/node.rs:750
↓ 2 callers
Method
create_irqchip
(&self)
host/mushroom/src/kvm.rs:309
↓ 2 callers
Method
create_waker
(self: &Arc<Self>, idx: usize)
tee/kernel/src/rt/futures_unordered.rs:208
↓ 2 callers
Method
current_offset
(&self)
tee/kernel/src/time.rs:141
↓ 2 callers
Method
deallocate
Mark a frame as no longer being in use. # Safety The caller has to ensure that the frame is no longer in use.
tee/kernel/src/memory/frame.rs:201
↓ 2 callers
Method
deallocate_frame
(&mut self, frame: PhysFrame<Size2MiB>)
tee/kernel/src/supervisor.rs:248
↓ 2 callers
Method
decrease_rss
(&self, delta: usize)
tee/kernel/src/user/process/usage.rs:52
↓ 2 callers
Method
decrease_vmsize
(&self, delta: usize)
tee/kernel/src/user/process/usage.rs:78
↓ 2 callers
Method
deoptimize_stacks
(&mut self)
tee/kernel/src/user/memory.rs:2106
↓ 2 callers
Method
do_buffer_op
( &mut self, mut dense: impl FnMut(&mut DenseBuffer) -> Result<Result<R, NotDenseError>>,
tee/kernel/src/memory/page/buffer.rs:48
↓ 2 callers
Function
do_edge_triggered_io
Do some potentially blocking IO. If the closure returns Again, the epoll interface is used to wait for for an edge for the given event.
tee/kernel/src/fs/fd/epoll.rs:940
↓ 2 callers
Method
do_exit
Release the threads resources.
tee/kernel/src/user/syscall.rs:208
↓ 2 callers
Method
efer
(&self)
tee/supervisor-snp/src/ap/vmsa.rs:190
↓ 2 callers
Function
eoi
Signal EOI.
tee/kernel/src/exception.rs:522
↓ 2 callers
Method
execute
(&self, thread: &Arc<Thread>, args: SyscallArgs)
tee/kernel/src/user/syscall/traits.rs:153
↓ 2 callers
Method
execve
( &mut self, virtual_memory: VirtualMemory, cpu_state: CpuState, fdtable: File
tee/kernel/src/user/thread.rs:887
↓ 2 callers
Method
exit_group_async
Call [`Self::exit_group`] on a newly spawned task.
tee/kernel/src/user/process.rs:375
↓ 2 callers
Method
exit_status
(&self)
tee/kernel/src/user/process.rs:385
↓ 2 callers
Function
expire_timers
Expire timers and wake the tasks that wait for them.
tee/kernel/src/time.rs:80
↓ 2 callers
Function
fail
Tell the supervisor that something went wrong and to discard the output.
tee/kernel/src/supervisor.rs:167
↓ 2 callers
Function
fchownat
( thread: &Thread, #[state] virtual_memory: Arc<VirtualMemory>, #[state] fdtable: Arc<FileDescript
tee/kernel/src/user/syscall.rs:5903
↓ 2 callers
Function
fcntl_lk
(fd: &OwnedFd, op: LockOp, flock: &mut flock)
tee/tests/src/unix_file_lock.rs:85
↓ 2 callers
Method
find_conflict
(&self, lock: UnixLock)
tee/kernel/src/fs/fd.rs:1479
↓ 2 callers
Function
find_priority_targets
(thread: &Thread, which: Which, who: u32)
tee/kernel/src/user/syscall.rs:4562
↓ 2 callers
Method
finish_signal_handler
( &mut self, vm: &VirtualMemory, abi: Abi, rt: bool, )
tee/kernel/src/user/syscall/cpu_state.rs:541
↓ 2 callers
Method
flush_address_list
(&self, range: RangeInclusive<Page>, aps: ApBitmap)
tee/kernel/src/memory/pagetable/flush.rs:376
↓ 2 callers
Method
flush_deleted_nodes
(&mut self)
tee/kernel/src/time.rs:744
↓ 2 callers
Method
flush_page
(&self, page: Page)
tee/kernel/src/memory/pagetable/flush.rs:255
↓ 2 callers
Method
flush_pages
(&self, pages: RangeInclusive<Page>)
tee/kernel/src/memory/pagetable/flush.rs:167
↓ 2 callers
Function
forge_insecure_attestation_report
( input_hash: InputHash, output_hash: OutputHash, )
host/mushroom-verify/src/insecure.rs:42
↓ 2 callers
Method
fpregs
(&self)
tee/kernel/src/user/syscall/cpu_state.rs:651
↓ 2 callers
Method
frame
(&self)
tee/supervisor-tdx/src/pagetable.rs:118
↓ 2 callers
Method
frame
(&self)
tee/kernel/src/memory/pagetable.rs:1502
↓ 2 callers
Method
frame
(&self)
tee/kernel/src/memory/page/kernel.rs:192
↓ 2 callers
Function
fstatat_impl
( thread: &Thread, abi: Abi, virtual_memory: Arc<VirtualMemory>, fdtable: Arc<FileDescriptorTa
tee/kernel/src/user/syscall.rs:5961
↓ 2 callers
Method
get
(&self)
common/tdx-types/src/tdcall.rs:159
↓ 2 callers
Function
get_dgram_socket
( path: &Path, ctx: &mut FileAccessContext, )
tee/kernel/src/fs/node.rs:986
↓ 2 callers
Function
get_fast_mapping
(frame: PhysFrame)
tee/kernel/src/memory/temporary.rs:10
← previous
next →
501–600 of 2,857, ranked by callers