/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | mod.rs | 16 fn open(&self, tty: Arc<TtyCore>) -> Result<(), SystemError>; in open() argument 17 fn close(&self, tty: Arc<TtyCore>) -> Result<(), SystemError>; in close() argument 18 fn flush_buffer(&self, tty: Arc<TtyCore>) -> Result<(), SystemError>; in flush_buffer() argument 36 ) -> Result<usize, SystemError>; in read() 43 ) -> Result<usize, SystemError>; in write() 44 fn ioctl(&self, tty: Arc<TtyCore>, cmd: u32, arg: usize) -> Result<usize, SystemError>; in ioctl() 49 fn set_termios(&self, tty: Arc<TtyCore>, old: Option<Termios>) -> Result<(), SystemError>; in set_termios() argument 51 fn poll(&self, tty: Arc<TtyCore>) -> Result<usize, SystemError>; in poll() 52 fn hangup(&self, tty: Arc<TtyCore>) -> Result<(), SystemError>; in hangup() argument 61 ) -> Result<usize, SystemError>; in receive_buf() [all …]
|
/DragonOS/kernel/src/arch/riscv64/interrupt/ |
H A D | handle.rs | 13 type ExceptionHandler = fn(&mut TrapFrame) -> Result<(), SystemError>; 64 fn default_handler(_trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in default_handler() argument 72 fn do_trap_insn_misaligned(_trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in do_trap_insn_misaligned() argument 80 fn do_trap_insn_access_fault(_trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in do_trap_insn_access_fault() argument 88 fn do_trap_insn_illegal(_trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in do_trap_insn_illegal() argument 96 fn do_trap_break(trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in do_trap_break() argument 103 fn do_trap_load_misaligned(_trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in do_trap_load_misaligned() argument 111 fn do_trap_load_access_fault(_trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in do_trap_load_access_fault() argument 119 fn do_trap_store_misaligned(_trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in do_trap_store_misaligned() argument 127 fn do_trap_store_access_fault(_trap_frame: &mut TrapFrame) -> Result<(), SystemError> { in do_trap_store_access_fault() argument [all …]
|
/DragonOS/kernel/src/bpf/map/ |
H A D | array_map.rs | 6 use super::super::Result; 36 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { in fmt() argument 69 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new() 83 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() 94 fn update_elem(&mut self, key: &[u8], value: &[u8], _flags: u64) -> Result<()> { in update_elem() argument 110 fn delete_elem(&mut self, _key: &[u8]) -> Result<()> { in delete_elem() argument 113 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() 131 fn lookup_and_delete_elem(&mut self, _key: &[u8], _value: &mut [u8]) -> Result<()> { in lookup_and_delete_elem() argument 135 fn get_next_key(&self, key: Option<&[u8]>, next_key: &mut [u8]) -> Result<()> { in get_next_key() argument 152 fn freeze(&self) -> Result<()> { in freeze() argument [all …]
|
H A D | lru.rs | 1 use super::{BpfCallBackFn, BpfMapCommonOps, Result}; 26 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new() 40 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() 44 fn update_elem(&mut self, key: &[u8], value: &[u8], _flags: u64) -> Result<()> { in update_elem() argument 48 fn delete_elem(&mut self, key: &[u8]) -> Result<()> { in delete_elem() argument 52 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() 67 fn lookup_and_delete_elem(&mut self, key: &[u8], value: &mut [u8]) -> Result<()> { in lookup_and_delete_elem() argument 77 fn get_next_key(&self, key: Option<&[u8]>, next_key: &mut [u8]) -> Result<()> { in get_next_key() argument 103 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() argument 111 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new() [all …]
|
H A D | hash_map.rs | 1 use super::Result; 26 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new() 41 fn lookup_elem(&mut self, key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() 45 fn update_elem(&mut self, key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem() argument 50 fn delete_elem(&mut self, key: &[u8]) -> Result<()> { in delete_elem() argument 54 fn for_each_elem(&mut self, cb: BpfCallBackFn, ctx: *const u8, flags: u64) -> Result<u32> { in for_each_elem() 69 fn lookup_and_delete_elem(&mut self, key: &[u8], value: &mut [u8]) -> Result<()> { in lookup_and_delete_elem() argument 79 fn get_next_key(&self, key: Option<&[u8]>, next_key: &mut [u8]) -> Result<()> { in get_next_key() argument 107 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result { in fmt() argument 114 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new() [all …]
|
H A D | queue.rs | 1 use super::{BpfMapCommonOps, Result}; 20 fn push(&mut self, value: BpfQueueValue, flags: BpfMapUpdateElemFlags) -> Result<()>; in push() argument 43 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new() 56 fn push(&mut self, value: BpfQueueValue, flags: BpfMapUpdateElemFlags) -> Result<()> { in push() argument 85 pub fn new(attr: &BpfMapMeta) -> Result<Self> { in new() 104 fn push(&mut self, value: BpfQueueValue, flags: BpfMapUpdateElemFlags) -> Result<()> { in push() argument 126 fn lookup_elem(&mut self, _key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() 130 fn update_elem(&mut self, _key: &[u8], value: &[u8], flags: u64) -> Result<()> { in update_elem() argument 135 fn lookup_and_delete_elem(&mut self, _key: &[u8], value: &mut [u8]) -> Result<()> { in lookup_and_delete_elem() argument 143 fn push_elem(&mut self, value: &[u8], flags: u64) -> Result<()> { in push_elem() argument [all …]
|
H A D | mod.rs | 7 use super::Result; 41 fn lookup_elem(&mut self, _key: &[u8]) -> Result<Option<&[u8]>> { in lookup_elem() 47 fn update_elem(&mut self, _key: &[u8], _value: &[u8], _flags: u64) -> Result<()> { in update_elem() argument 53 fn delete_elem(&mut self, _key: &[u8]) -> Result<()> { in delete_elem() argument 60 fn for_each_elem(&mut self, _cb: BpfCallBackFn, _ctx: *const u8, _flags: u64) -> Result<u32> { in for_each_elem() 65 fn lookup_and_delete_elem(&mut self, _key: &[u8], _value: &mut [u8]) -> Result<()> { in lookup_and_delete_elem() argument 70 fn lookup_percpu_elem(&mut self, _key: &[u8], _cpu: u32) -> Result<Option<&[u8]>> { in lookup_percpu_elem() 76 fn get_next_key(&self, _key: Option<&[u8]>, _next_key: &mut [u8]) -> Result<()> { in get_next_key() argument 81 fn push_elem(&mut self, _value: &[u8], _flags: u64) -> Result<()> { in push_elem() argument 86 fn pop_elem(&mut self, _value: &mut [u8]) -> Result<()> { in pop_elem() argument [all …]
|
/DragonOS/kernel/src/arch/riscv64/init/ |
H A D | dragonstub.rs | 9 pub(super) fn early_dragonstub_init() -> Result<(), SystemError> { in early_dragonstub_init() 17 fn init_bootloader_name(&self) -> Result<Option<String>, SystemError> { in init_bootloader_name() 21 fn init_acpi_args(&self) -> Result<BootloaderAcpiArg, SystemError> { in init_acpi_args() 25 fn init_kernel_cmdline(&self) -> Result<(), SystemError> { in init_kernel_cmdline() argument 33 ) -> Result<(), SystemError> { in early_init_framebuffer_info() argument 37 fn early_init_memory_blocks(&self) -> Result<(), SystemError> { in early_init_memory_blocks() argument
|
/DragonOS/kernel/crates/rbpf/src/ |
H A D | lib.rs | 69 pub type Verifier = fn(prog: &[u8]) -> Result<(), Error>; 142 pub fn new(prog: Option<&'a [u8]>) -> Result<EbpfVmMbuff<'a>, Error> { in new() 177 pub fn set_program(&mut self, prog: &'a [u8]) -> Result<(), Error> { in set_program() argument 213 pub fn set_verifier(&mut self, verifier: Verifier) -> Result<(), Error> { in set_verifier() argument 257 pub fn register_helper(&mut self, key: u32, function: Helper) -> Result<(), Error> { in register_helper() argument 298 pub fn execute_program(&self, mem: &[u8], mbuff: &[u8]) -> Result<u64, Error> { in execute_program() 322 pub fn jit_compile(&mut self) -> Result<(), Error> { in jit_compile() argument 391 ) -> Result<u64, Error> { in execute_program_jit() 439 pub fn cranelift_compile(&mut self) -> Result<(), Error> { in cranelift_compile() argument 502 ) -> Result<u64, Error> { in execute_program_cranelift() [all …]
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | serio_device.rs | 24 fn write(&self, device: &Arc<dyn SerioDevice>, data: u8) -> Result<(), SystemError>; in write() argument 26 fn open(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in open() argument 28 fn close(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in close() argument 30 fn start(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in start() argument 32 fn stop(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in stop() argument 51 pub fn register_port(&self, device: Arc<dyn SerioDevice>) -> Result<(), SystemError> { in register_port() argument 65 pub fn init_port(&self, device: Arc<dyn SerioDevice>) -> Result<(), SystemError> { in init_port() argument
|
H A D | serio_driver.rs | 17 fn write_wakeup(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in write_wakeup() argument 35 ) -> Result<(), SystemError>; in interrupt() argument 37 fn connect(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in connect() argument 39 fn reconnect(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in reconnect() argument 41 fn fast_reconnect(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in fast_reconnect() argument 43 fn disconnect(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in disconnect() argument 45 fn cleanup(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in cleanup() argument 67 pub fn register(&self, driver: Arc<dyn SerioDriver>) -> Result<(), SystemError> { in register() argument
|
/DragonOS/kernel/src/driver/tty/ |
H A D | console.rs | 17 ) -> Result<(), SystemError>; in con_init() argument 21 fn con_deinit(&self) -> Result<(), SystemError>; in con_deinit() argument 38 ) -> Result<(), SystemError>; in con_clear() argument 52 ) -> Result<(), SystemError>; in con_putc() argument 68 ) -> Result<(), SystemError>; in con_putcs() argument 77 ) -> Result<(usize, usize, usize), SystemError> { in con_getxy() 106 ) -> Result<u8, SystemError> { in con_build_attr() 118 ) -> Result<(), SystemError>; in con_set_palette() argument
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | mod.rs | 128 fn mmap(&self, _start: usize, _len: usize, _offset: usize) -> Result<(), SystemError> { in mmap() argument 139 ) -> Result<(), SystemError> { in open() argument 148 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() argument 168 ) -> Result<usize, SystemError>; in read_at() 185 ) -> Result<usize, SystemError>; in write_at() 190 fn poll(&self, _private_data: &FilePrivateData) -> Result<usize, SystemError> { in poll() 199 fn metadata(&self) -> Result<Metadata, SystemError> { in metadata() 208 fn set_metadata(&self, _metadata: &Metadata) -> Result<(), SystemError> { in set_metadata() argument 220 fn resize(&self, _len: usize) -> Result<(), SystemError> { in resize() argument 238 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create() [all …]
|
H A D | mount.rs | 114 pub fn umount(&self) -> Result<Arc<MountFS>, SystemError> { in umount() 147 fn is_mountpoint_root(&self) -> Result<bool, SystemError> { in is_mountpoint_root() 167 fn do_find(&self, name: &str) -> Result<Arc<MountFSInode>, SystemError> { in do_find() 179 pub(super) fn do_parent(&self) -> Result<Arc<MountFSInode>, SystemError> { in do_parent() 207 fn do_umount(&self) -> Result<Arc<MountFS>, SystemError> { in do_umount() 219 fn do_absolute_path(&self) -> Result<String, SystemError> { in do_absolute_path() 250 ) -> Result<(), SystemError> { in open() argument 254 fn close(&self, data: SpinLockGuard<FilePrivateData>) -> Result<(), SystemError> { in close() argument 264 ) -> Result<Arc<dyn IndexNode>, SystemError> { in create_with_data() 275 fn truncate(&self, len: usize) -> Result<(), SystemError> { in truncate() argument [all …]
|
/DragonOS/kernel/src/perf/ |
H A D | mod.rs | 37 type Result<T> = core::result::Result<T, SystemError>; typedef 41 fn set_bpf_prog(&self, _bpf_prog: Arc<File>) -> Result<()> { in set_bpf_prog() argument 45 fn enable(&self) -> Result<()> { in enable() argument 49 fn disable(&self) -> Result<()> { in disable() argument 72 ) -> core::result::Result<(), SystemError> { in remove_epoll() argument 84 fn do_poll(&self) -> Result<usize> { in do_poll() 91 fn epoll_callback(&self) -> Result<()> { in epoll_callback() argument 107 fn mmap(&self, start: usize, len: usize, offset: usize) -> Result<()> { in mmap() argument 110 fn open(&self, _data: SpinLockGuard<FilePrivateData>, _mode: &FileMode) -> Result<()> { in open() argument 113 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<()> { in close() argument [all …]
|
/DragonOS/kernel/src/driver/net/ |
H A D | sysfs.rs | 24 pub fn netdev_register_kobject(dev: Arc<dyn NetDevice>) -> Result<(), SystemError> { in netdev_register_kobject() argument 105 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show() 132 fn show(&self, _kobj: Arc<dyn KObject>, _buf: &mut [u8]) -> Result<usize, SystemError> { in show() 154 fn show(&self, _kobj: Arc<dyn KObject>, _buf: &mut [u8]) -> Result<usize, SystemError> { in show() 176 fn show(&self, _kobj: Arc<dyn KObject>, _buf: &mut [u8]) -> Result<usize, SystemError> { in show() 180 fn store(&self, _kobj: Arc<dyn KObject>, _buf: &[u8]) -> Result<usize, SystemError> { in store() 202 fn show(&self, _kobj: Arc<dyn KObject>, _buf: &mut [u8]) -> Result<usize, SystemError> { in show() 224 fn show(&self, _kobj: Arc<dyn KObject>, _buf: &mut [u8]) -> Result<usize, SystemError> { in show() 246 fn show(&self, _kobj: Arc<dyn KObject>, _buf: &mut [u8]) -> Result<usize, SystemError> { in show() 273 fn show(&self, kobj: Arc<dyn KObject>, buf: &mut [u8]) -> Result<usize, SystemError> { in show() [all …]
|
/DragonOS/kernel/src/driver/pci/ |
H A D | driver.rs | 27 fn probe(&self, device: &Arc<dyn PciDevice>, id: &PciDeviceID) -> Result<(), SystemError>; in probe() argument 28 fn remove(&self, device: &Arc<dyn PciDevice>) -> Result<(), SystemError>; in remove() argument 29 fn shutdown(&self, device: &Arc<dyn PciDevice>) -> Result<(), SystemError>; in shutdown() argument 30 fn suspend(&self, device: &Arc<dyn PciDevice>) -> Result<(), SystemError>; in suspend() argument 31 fn resume(&self, device: &Arc<dyn PciDevice>) -> Result<(), SystemError>; in resume() argument 41 fn add_dynid(&mut self, id: PciDeviceID) -> Result<(), SystemError>; in add_dynid() argument 75 pub fn register(&self, driver: Arc<dyn PciDriver>) -> Result<(), SystemError> { in register() argument
|
/DragonOS/kernel/src/driver/base/platform/ |
H A D | platform_driver.rs | 25 fn probe(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in probe() argument 26 fn remove(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in remove() argument 27 fn shutdown(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in shutdown() argument 28 fn suspend(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in suspend() argument 29 fn resume(&self, device: &Arc<dyn PlatformDevice>) -> Result<(), SystemError>; in resume() argument 44 pub fn register(&self, driver: Arc<dyn PlatformDriver>) -> Result<(), SystemError> { in register() argument
|
/DragonOS/kernel/src/smp/ |
H A D | mod.rs | 18 pub fn kick_cpu(cpu_id: ProcessorId) -> Result<(), SystemError> { in kick_cpu() argument 29 fn prepare_cpus() -> Result<(), SystemError>; in prepare_cpus() 34 fn post_init() -> Result<(), SystemError> { in post_init() 41 fn start_cpu(cpu_id: ProcessorId, hp_state: &CpuHpCpuState) -> Result<(), SystemError>; in start_cpu() argument 46 pub fn early_smp_init() -> Result<(), SystemError> { in early_smp_init()
|
/DragonOS/kernel/src/syscall/ |
H A D | user_access.rs | 29 pub unsafe fn clear_user(dest: VirtAddr, len: usize) -> Result<usize, SystemError> { in clear_user() 38 pub unsafe fn copy_to_user(dest: VirtAddr, src: &[u8]) -> Result<usize, SystemError> { in copy_to_user() 48 pub unsafe fn copy_from_user(dst: &mut [u8], src: VirtAddr) -> Result<usize, SystemError> { in copy_from_user() 78 ) -> Result<CString, SystemError> { in check_and_clone_cstr() 120 pub fn check_and_clone_cstr_array(user: *const *const u8) -> Result<Vec<CString>, SystemError> { in check_and_clone_cstr_array() 171 pub fn new<U>(addr: *const U, len: usize, from_user: bool) -> Result<Self, SystemError> { in new() 189 pub fn read_from_user<T>(&self, offset: usize) -> Result<&[T], SystemError> { in read_from_user() 197 pub fn read_one_from_user<T>(&self, offset: usize) -> Result<&T, SystemError> { in read_one_from_user() 210 ) -> Result<usize, SystemError> { in copy_from_user() 225 ) -> Result<(), SystemError> { in copy_one_from_user() argument [all …]
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | callback.rs | 15 fn open(&self, data: KernCallbackData) -> Result<(), SystemError>; in open() argument 22 ) -> Result<usize, SystemError>; in read() 29 ) -> Result<usize, SystemError>; in write() 31 fn poll(&self, data: KernCallbackData) -> Result<PollStatus, SystemError>; in poll() 68 pub fn callback_read(&self, buf: &mut [u8], offset: usize) -> Result<usize, SystemError> { in callback_read() 76 pub fn callback_write(&self, buf: &[u8], offset: usize) -> Result<usize, SystemError> { in callback_write() 93 pub fn callback_read(&self, buf: &mut [u8], offset: usize) -> Result<usize, SystemError> { in callback_read() 102 pub fn callback_write(&self, buf: &[u8], offset: usize) -> Result<usize, SystemError> { in callback_write()
|
/DragonOS/docs/kernel/libs/lib_ui/ |
H A D | scm.md | 15 fn install(&self) -> Result<i32, SystemError> { 19 fn uninstall(&self) -> Result<i32, SystemError> { 23 fn enable(&self) -> Result<i32, SystemError> { 27 fn disable(&self) -> Result<i32, SystemError> { 31 fn change(&self, _buf: ScmBufferInfo) -> Result<i32, SystemError> { 37 fn metadata(&self) -> Result<ScmUiFrameworkMetadata, SystemError> { 71 pub fn scm_framework_enable(framework: Arc<dyn ScmUiFramework>) -> Result<i32, SystemError> 80 pub fn scm_register(framework: Arc<dyn ScmUiFramework>) -> Result<i32, SystemError>
|
/DragonOS/kernel/src/arch/x86_64/kvm/vmx/ |
H A D | vmx_asm_wrapper.rs | 8 pub fn vmxon(vmxon_pa: u64) -> Result<(), SystemError> { in vmxon() argument 19 pub fn vmxoff() -> Result<(), SystemError> { in vmxoff() 27 pub fn vmx_vmwrite(vmcs_field: u32, value: u64) -> Result<(), SystemError> { in vmx_vmwrite() argument 39 pub fn vmx_vmread(vmcs_field: u32) -> Result<u64, SystemError> { in vmx_vmread() 49 pub fn vmx_vmptrld(vmcs_pa: u64) -> Result<(), SystemError> { in vmx_vmptrld() argument 56 pub fn vmx_vmlaunch() -> Result<(), SystemError> { in vmx_vmlaunch() 92 pub fn vmx_vmclear(vmcs_pa: u64) -> Result<(), SystemError> { in vmx_vmclear() argument
|
/DragonOS/kernel/src/libs/ |
H A D | vec_cursor.rs | 46 pub fn read_u8(&mut self) -> Result<u8, SystemError> { in read_u8() 55 pub fn read_u16(&mut self) -> Result<u16, SystemError> { in read_u16() 69 pub fn read_u32(&mut self) -> Result<u32, SystemError> { in read_u32() 83 pub fn read_u64(&mut self) -> Result<u64, SystemError> { in read_u64() 102 pub fn read_exact(&mut self, buf: &mut [u8]) -> Result<(), SystemError> { in read_exact() argument 114 pub fn read_u16_into(&mut self, buf: &mut [u16]) -> Result<(), SystemError> { in read_u16_into() argument 132 pub fn seek(&mut self, origin: SeekFrom) -> Result<usize, SystemError> { in seek() 151 pub fn write_u8(&mut self, value: u8) -> Result<u8, SystemError> { in write_u8() 163 pub fn write_u16(&mut self, value: u16) -> Result<u16, SystemError> { in write_u16() 177 pub fn write_u32(&mut self, value: u32) -> Result<u32, SystemError> { in write_u32() [all …]
|
/DragonOS/kernel/src/bpf/prog/ |
H A D | mod.rs | 4 use super::Result; 48 fn open(&self, _data: SpinLockGuard<FilePrivateData>, _mode: &FileMode) -> Result<()> { in open() argument 51 fn close(&self, _data: SpinLockGuard<FilePrivateData>) -> Result<()> { in close() argument 60 ) -> Result<usize> { in read_at() 70 ) -> Result<usize> { in write_at() 74 fn metadata(&self) -> Result<Metadata> { in metadata() 83 fn resize(&self, _len: usize) -> Result<()> { in resize() argument 95 fn list(&self) -> Result<Vec<String>> { in list() 113 pub fn bpf_prog_load(attr: &bpf_attr) -> Result<usize> { in bpf_prog_load()
|