Home
last modified time | relevance | path

Searched defs:file (Results 1 – 25 of 29) sorted by relevance

12

/DragonOS/user/apps/test-blockcache/src/
H A Dmain.rs6 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 Dto_json.rs61 let file = match elf::File::open_path(path) { in main() localVariable
H A Dload_elf.rs54 let file = match elf::File::open_path(path) { in main() localVariable
/DragonOS/kernel/src/perf/
H A Dmod.rs169 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 Dkprobe.rs37 let file = prog_file in do_set_bpf_prog() localVariable
/DragonOS/kernel/src/filesystem/vfs/
H A Dsyscall.rs545 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 Dopen.rs216 let file: File = File::new(inode, how.o_flags)?; in do_sys_openat2() localVariable
269 let file = fd_table_guard localVariable
H A Dutils.rs53 let file = fd_table_guard in user_path_at() localVariable
H A Dfile.rs763 let file = self.fds[fd as usize].take().unwrap(); in drop_fd() localVariable
/DragonOS/kernel/src/bpf/prog/
H A Dmod.rs104 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 Dverifier.rs57 let file = fd_table in relocation() localVariable
/DragonOS/user/apps/test_sqlite3/
H A Dmain.c77 void file() in file() function
/DragonOS/kernel/src/process/
H A Dexec.rs98 file: File, field
124 let file = File::new(inode, FileMode::O_RDONLY)?; in new() localVariable
/DragonOS/kernel/src/net/event_poll/
H A Dmod.rs86 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 Dmain.rs91 let mut file = File::create(filename)?; in main() localVariable
/DragonOS/kernel/src/mm/
H A Dfault.rs598 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 Dsyscall.rs610 let file = guard.vm_file(); in msync() localVariable
/DragonOS/build-scripts/kernel_build/src/kconfig/
H A Dmod.rs47 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 Dvm_dev.rs226 let file: File = File::new(vcpu_inode, FileMode::O_RDWR)?; in kvm_vm_ioctl_create_vcpu() localVariable
H A Dkvm_dev.rs190 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 Dmm.rs157 let file: File; in run() localVariable
/DragonOS/kernel/src/libs/
H A Delf.rs331 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 Deventfd.rs275 let file = File::new(inode, filemode)?; in sys_eventfd() localVariable
/DragonOS/kernel/src/filesystem/sysfs/
H A Dmod.rs19 pub mod file; module
/DragonOS/kernel/src/bpf/map/
H A Dmod.rs245 let file = File::new(Arc::new(bpf_map), FileMode::O_RDWR | FileMode::O_CLOEXEC)?; in bpf_map_create() localVariable

12