MCPcopy Create free account

hub / github.com/Enginex0/zeromount / functions

Functions988 in github.com/Enginex0/zeromount

↓ 466 callersFunctiont
(key: string, params?: Record<string, string | number>)
webui/src/lib/i18n.ts:12
↓ 67 callersFunctionrunShell
(command: string)
webui/src/lib/ksuApi.ts:25
↓ 56 callersMethodget
(&self, key: &str)
src/core/config.rs:590
↓ 47 callersFunctionshowToast
(message: string, type: 'success' | 'error' | 'info' | 'warning' = 'info', duration?: number)
webui/src/lib/store.ts:293
↓ 39 callersFunctionset_errmsg
external/axon/external/plthook/plthook_elf.c:921
↓ 38 callersFunctionshouldUseMock
()
webui/src/lib/api.ts:21
↓ 33 callersFunctionklog
external/axon/utils.c:30
↓ 32 callersMethodset
(&mut self, key: &str, value: &str)
src/core/config.rs:688
↓ 29 callersMethodas_str
(&self)
src/mount/storage.rs:29
↓ 24 callersFunctionpushActivity
(type: ActivityItem['type'], message: string)
webui/src/lib/store.ts:47
↓ 21 callersFunctionbool_to_int
(v: bool)
src/bridge/translate.rs:3
↓ 21 callersFunctionint_to_bool
(v: u8)
src/bridge/translate.rs:7
↓ 20 callersFunctioncheck_err
(err: i32, op: &str)
src/susfs/mod.rs:625
↓ 20 callersFunctionescapeShellArg
(arg: string)
webui/src/lib/api.ts:13
↓ 20 callersFunctiongetMock
()
webui/src/lib/api.ts:8
↓ 19 callersFunctionhandleBreneToggle
(key: keyof BreneSettings, value: boolean)
webui/src/components/settings/SusfsSection.tsx:28
↓ 18 callersFunctiondelay
(ms: number)
webui/src/lib/api.mock.ts:14
↓ 17 callersMethoddo_supercall
(&self, cmd: SusfsCommand, data: *mut u8)
src/susfs/mod.rs:416
↓ 17 callersMethodensure_available
(&self)
src/susfs/mod.rs:385
↓ 17 callersMethodreadOnly
(ContentResolver cr, String ns, String key)
tests/adb-detect/app/src/main/java/com/zeromount/test/AdbDetect.java:219
↓ 16 callersFunctioncopy_path_to_buf
Copy a Rust string into a fixed-size C byte buffer, NUL-terminated.
src/susfs/ffi.rs:216
↓ 15 callersMethodfeatures
(&self)
src/susfs/mod.rs:80
↓ 15 callersMethodreport
(String label, boolean pass, String actual, String expected)
tests/adb-detect/app/src/main/java/com/zeromount/test/AdbDetect.java:312
↓ 14 callersFunctionrun_command_with_timeout
(cmd: &mut Command, timeout: Duration)
src/utils/command.rs:11
↓ 13 callersFunctionpath_to_cstring
(path: &Path)
src/mount/magic.rs:14
↓ 12 callersFunctionisThemeActive
(themeName: string)
webui/src/components/settings/AppearanceSection.tsx:22
↓ 11 callersMethodadd_rule
Inject a VFS redirection rule into the kernel driver.
src/vfs/ioctls.rs:157
↓ 11 callersFunctioncaps
()
webui/src/components/settings/MountEngineSection.tsx:18
↓ 11 callersMethodraw_fd
(&self)
src/vfs/ioctls.rs:152
↓ 11 callersFunctionraw_ioctl
Raw ioctl wrapper that returns the kernel's return value or an IoctlError. # Safety - `fd` must be a valid open file descriptor for /dev/zeromount - `
src/vfs/ioctls.rs:102
↓ 11 callersMethodreadProp
(String prop)
tests/adb-detect/app/src/main/java/com/zeromount/test/AdbDetect.java:247
↓ 10 callersFunctioninterpret_probe_result
(err: i32, canary_field: u64, baseline: &ProbeBaseline)
src/susfs/mod.rs:601
↓ 10 callersMethodis_available
(&self)
src/susfs/mod.rs:72
↓ 10 callersFunctionread_config
(dir: &Path)
src/bridge/brene.rs:23
↓ 9 callersFunctioncopy_selinux_context
Best-effort SELinux context copy. Falls back to u:object_r:system_data_file:s0. Uses lgetxattr/lsetxattr to avoid following symlinks.
src/utils/selinux.rs:6
↓ 9 callersFunctionfind_dyn_by_tag
external/axon/external/plthook/plthook_elf.c:405
↓ 8 callersFunctionadd_entry
( zip: &mut ZipWriter<&mut Cursor<Vec<u8>>>, opts: SimpleFileOptions, name: &str, data: &[u8],
src/logging/dump.rs:68
↓ 8 callersMethodadd_sus_path
(&self, path: &str)
src/susfs/mod.rs:122
↓ 8 callersFunctionbuild_kstat_values_from_paths
Build KstatValues by reading the virtual path's original metadata (if it exists) and the real (replacement) file's size/blocks. Mirrors `apply_font_r
src/susfs/kstat.rs:37
↓ 8 callersFunctiondo_umount
Unmount a path. Returns Ok even if not mounted.
src/mount/storage.rs:572
↓ 8 callersFunctiongs
()
webui/src/components/settings/GuardSection.tsx:20
↓ 8 callersFunctionisEffectivelyLoaded
(mod: KsuModule)
webui/src/routes/ModulesTab.tsx:38
↓ 8 callersFunctionshutdown_requested
()
src/utils/signal.rs:6
↓ 8 callersFunctionwrite_description_to_module_prop
(text: &str)
src/utils/platform.rs:113
↓ 7 callersFunctionconfig_to_keys
(config: &ZeroMountConfig)
src/bridge/brene.rs:138
↓ 7 callersMethodname
(&self)
src/core/pipeline.rs:815
↓ 7 callersFunctionparse_features
Stock features only — custom zeromount commands are detected via active probing
src/susfs/mod.rs:501
↓ 7 callersFunctionrecord_resolved
(handle: StorageHandle, requested: &str)
src/mount/storage.rs:166
↓ 7 callersFunctionresolve_target_path
Resolve a module's relative path to the absolute filesystem target, canonicalizing SAR alias paths (system/vendor → /vendor, etc.).
src/vfs/executor.rs:347
↓ 7 callersFunctionwrite_config
(dir: &Path, config: &ZeroMountConfig)
src/bridge/brene.rs:45
↓ 6 callersFunctionbuild_node_tree
(modules: &[ScannedModule])
src/mount/node.rs:84
↓ 6 callersFunctioncfg
()
webui/src/components/layout/Toast.tsx:78
↓ 6 callersFunctionfind_pid
(name: &str)
src/guard/monitors.rs:116
↓ 6 callersFunctionmount_private
(target: &Path)
src/mount/magic.rs:142
↓ 6 callersFunctionnormalize_string_value
Normalize external string values on import
src/bridge/translate.rs:58
↓ 6 callersMethodopen
()
src/vfs/ioctls.rs:140
↓ 6 callersFunctionplthook_open_real
external/axon/external/plthook/plthook_elf.c:582
↓ 6 callersFunctionset_selinux_context
(path: &Path, context: &str)
src/utils/selinux.rs:74
↓ 6 callersFunctionsusfsDisabled
()
webui/src/components/settings/SusfsSection.tsx:18
↓ 6 callersFunctionsusfsEnabled
()
webui/src/components/settings/SusfsSection.tsx:16
↓ 6 callersFunctionsysfs_read
(path: &str)
src/perf/sysfs.rs:25
↓ 5 callersMethodbuild_description_summary
(&self, font_infos: &[crate::susfs::brene::FontModuleInfo])
src/core/pipeline.rs:457
↓ 5 callersFunctiondetect_root_manager
Detect the active root manager at runtime. Checks env vars first (KSU02), then filesystem fallback.
src/utils/platform.rs:145
↓ 5 callersFunctionexecute
(_config: &ZeroMountConfig)
src/guard/recovery.rs:12
↓ 5 callersMethodget_list
List current VFS rules. Returns raw text from kernel.
src/vfs/ioctls.rs:244
↓ 5 callersFunctionlistPackages
(type: 'all' | 'user' | 'system')
webui/src/lib/ksuApi.ts:30
↓ 5 callersFunctionparse_csv
(s: &str)
src/core/config.rs:900
↓ 5 callersMethodresolve
Public API for 3-layer config resolution
src/core/config.rs:481
↓ 5 callersFunctionsample_config
()
src/bridge/brene.rs:351
↓ 5 callersMethodsave
(&self)
src/core/config.rs:511
↓ 5 callersFunctionsysfs_write
(path: &str, value: &str)
src/perf/sysfs.rs:7
↓ 5 callersFunctiontheme
()
webui/src/routes/ConfigTab.tsx:14
↓ 5 callersFunctiontry_detach_mount
(path: &str)
src/core/pipeline.rs:657
↓ 5 callersMethodwrite_status_file
(&self, path: &std::path::Path)
src/core/state.rs:16
↓ 4 callersFunctionanimateNumber
( target: number, setter: (n: number) => void, duration: number = 500 )
webui/src/routes/StatusTab.tsx:120
↓ 4 callersFunctionapply_keys_to_config
(keys: &HashMap<String, String>, config: &mut ZeroMountConfig)
src/bridge/brene.rs:172
↓ 4 callersFunctionbind_mount
(source: &Path, target: &Path)
src/mount/magic.rs:19
↓ 4 callersFunctionbuild_results
(modules: &[ScannedModule], stats: &MountStats)
src/mount/magic.rs:245
↓ 4 callersMethodbuild_runtime_state
(&self, font_infos: &[crate::susfs::brene::FontModuleInfo])
src/core/pipeline.rs:504
↓ 4 callersFunctionconfig_to_keys
(config: &ZeroMountConfig)
src/bridge/susfs4ksu.rs:155
↓ 4 callersFunctiondir_mtime
(path: &Path)
src/detect/watcher.rs:257
↓ 4 callersMethodenable_log
(&self, enable: bool)
src/susfs/mod.rs:317
↓ 4 callersFunctionensure_txt_files
(dir: &Path)
src/bridge/brene.rs:126
↓ 4 callersMethodexpectFileBlocked
(String path)
tests/adb-detect/app/src/main/java/com/zeromount/test/AdbDetect.java:269
↓ 4 callersMethodexpectZero
(ContentResolver cr, String ns, String key)
tests/adb-detect/app/src/main/java/com/zeromount/test/AdbDetect.java:208
↓ 4 callersMethodget_status
Query engine status. Returns None if kernel lacks GET_STATUS (old kernel). Backward-compatible: ENOTTY or EINVAL means the ioctl doesn't exist.
src/vfs/ioctls.rs:301
↓ 4 callersFunctionhandleSusfsToggle
(key: keyof SusfsSettings, value: boolean)
webui/src/components/settings/SusfsSection.tsx:32
↓ 4 callersFunctionhandleThemeChange
(newTheme: 'dark' | 'light' | 'auto' | 'amoled')
webui/src/components/settings/AppearanceSection.tsx:25
↓ 4 callersFunctionhasExpandable
()
webui/src/components/ui/CollapsibleSubgroup.tsx:14
↓ 4 callersMethodhide_sus_mounts
(&self, enable: bool)
src/susfs/mod.rs:331
↓ 4 callersFunctionio
(typ: u32, nr: u32)
src/vfs/ioctls.rs:37
↓ 4 callersFunctioniow
(typ: u32, nr: u32, size: u32)
src/vfs/ioctls.rs:41
↓ 4 callersFunctionlazy_unmount
(target: &Path)
src/mount/magic.rs:164
↓ 4 callersFunctionloadLocale
(code: string)
webui/src/lib/i18n.ts:27
↓ 4 callersFunctionmanage_skip_mount_flags
KSU/APatch metamodules own all mounting -- skip_mount flags are irrelevant. BindMount (Magisk) needs flags so the root manager doesn't double-mount.
src/mount/executor.rs:350
↓ 4 callersFunctionmerge_config
( dir: &Path, config: &ZeroMountConfig, existing: &HashMap<String, String>, )
src/bridge/brene.rs:64
↓ 4 callersMethodmount_mode
(&self)
src/core/pipeline.rs:820
↓ 4 callersFunctionnuke_backing_file
ME12: Delete a backing file after mount. The kernel keeps the inode alive via the mount reference, but the file disappears from the directory.
src/mount/storage.rs:593
↓ 4 callersMethodpoll
Poll for inotify events with a timeout. Returns empty vec on timeout.
src/detect/watcher.rs:86
↓ 4 callersFunctionread_config
(dir: &Path)
src/bridge/susfs4ksu.rs:25
next →1–100 of 988, ranked by callers