/DragonOS/user/apps/test-blockcache/src/ |
H A D | main.rs | 6 let mut file = File::create("large_file")?; in main() localVariable 9 let mut file = File::open("large_file")?; in main() localVariable
|
/DragonOS/kernel/crates/rbpf/examples/ |
H A D | to_json.rs | 61 let file = match elf::File::open_path(path) { in main() localVariable
|
H A D | load_elf.rs | 54 let file = match elf::File::open_path(path) { in main() localVariable
|
/DragonOS/kernel/src/perf/ |
H A D | mod.rs | 169 let file = fd_table in ioctl() localVariable 307 let file = File::new(perf_event, file_mode)?; in perf_event_open() localVariable 314 let file = get_perf_event_file(fd)?; in perf_event_output() localVariable 328 let file = fd_table in get_perf_event_file() localVariable
|
H A D | kprobe.rs | 37 let file = prog_file in do_set_bpf_prog() localVariable
|
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | syscall.rs | 545 let file = fd_table_guard in ioctl() localVariable 566 let file = fd_table_guard.get_file_by_fd(fd); in read() localVariable 572 let file = file.unwrap(); in read() localVariable 588 let file = fd_table_guard in write() localVariable 615 let file = fd_table_guard in lseek() localVariable 635 let file = fd_table_guard.get_file_by_fd(fd); in pread() localVariable 641 let file = file.unwrap(); in pread() localVariable 657 let file = fd_table_guard.get_file_by_fd(fd); in pwrite() localVariable 663 let file = file.unwrap(); in pwrite() localVariable 784 let file = fd_table_guard in getdents() localVariable [all …]
|
H A D | open.rs | 216 let file: File = File::new(inode, how.o_flags)?; in do_sys_openat2() localVariable 269 let file = fd_table_guard localVariable
|
H A D | utils.rs | 53 let file = fd_table_guard in user_path_at() localVariable
|
H A D | file.rs | 763 let file = self.fds[fd as usize].take().unwrap(); in drop_fd() localVariable
|
/DragonOS/kernel/src/bpf/prog/ |
H A D | mod.rs | 104 let file = Arc::from_raw(*ptr as *const u8 as *const BpfMap); in drop() localVariable 120 let file = File::new(Arc::new(prog), FileMode::O_RDWR)?; in bpf_prog_load() localVariable
|
H A D | verifier.rs | 57 let file = fd_table in relocation() localVariable
|
/DragonOS/user/apps/test_sqlite3/ |
H A D | main.c | 77 void file() in file() function
|
/DragonOS/kernel/src/process/ |
H A D | exec.rs | 98 file: File, field 124 let file = File::new(inode, FileMode::O_RDONLY)?; in new() localVariable
|
/DragonOS/kernel/src/net/event_poll/ |
H A D | mod.rs | 86 file: Weak<File>, field 112 pub fn file(&self) -> Weak<File> { in file() method 122 let file = self.file.upgrade(); in ep_item_poll() localVariable 210 let file = ProcessManager::current_pcb() in close() localVariable
|
/DragonOS/user/apps/test-chown/src/ |
H A D | main.rs | 91 let mut file = File::create(filename)?; in main() localVariable
|
/DragonOS/kernel/src/mm/ |
H A D | fault.rs | 598 let file = vma_guard.vm_file().expect("no vm_file in vma"); in filemap_map_pages() localVariable 639 let file = vma_guard.vm_file().expect("no vm_file in vma"); in filemap_fault() localVariable
|
H A D | syscall.rs | 610 let file = guard.vm_file(); in msync() localVariable
|
/DragonOS/build-scripts/kernel_build/src/kconfig/ |
H A D | mod.rs | 47 let mut file = fs::File::create("D.config").expect("Failed to create file: D.config"); in make_compile_cfg() localVariable
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | vm_dev.rs | 226 let file: File = File::new(vcpu_inode, FileMode::O_RDWR)?; in kvm_vm_ioctl_create_vcpu() localVariable
|
H A D | kvm_dev.rs | 190 let file: File = File::new(vm_inode, FileMode::O_RDWR)?; in kvm_dev_ioctl_create_vm() localVariable
|
/DragonOS/tools/debugging/logmonitor/src/backend/monitor/ |
H A D | mm.rs | 157 let file: File; in run() localVariable
|
/DragonOS/kernel/src/libs/ |
H A D | elf.rs | 331 let file = param.file_mut(); in do_load_file() localVariable 438 let file = param.file_mut(); in parse_segments() localVariable
|
/DragonOS/kernel/src/filesystem/ |
H A D | eventfd.rs | 275 let file = File::new(inode, filemode)?; in sys_eventfd() localVariable
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | mod.rs | 19 pub mod file; module
|
/DragonOS/kernel/src/bpf/map/ |
H A D | mod.rs | 245 let file = File::new(Arc::new(bpf_map), FileMode::O_RDWR | FileMode::O_CLOEXEC)?; in bpf_map_create() localVariable
|