/DragonOS/user/apps/test_filemap/ |
H A D | main.c | 12 int fd = open("example.txt", O_RDWR | O_CREAT | O_TRUNC, 0777); in main() 25 fd = open("example.txt", O_RDWR); in main() 56 fd = open("example.txt", O_RDWR); in main()
|
/DragonOS/user/apps/test_uart/ |
H A D | main.c | 8 int fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main() 15 fd = open("/dev/char/uart:1088", O_WRONLY | O_NONBLOCK); in main()
|
/DragonOS/user/apps/test_mkfifo/ |
H A D | main.c | 37 pipe_fd = open(PIPE_NAME, O_RDONLY); in main() 59 pipe_fd = open(PIPE_NAME, O_WRONLY); in main()
|
/DragonOS/kernel/src/driver/tty/tty_ldisc/ |
H A D | mod.rs | 16 fn open(&self, tty: Arc<TtyCore>) -> Result<(), SystemError>; in open() method 105 let ret = ld.open(tty); in ldisc_setup() 116 let ret: Result<(), SystemError> = ld.open(o_tty.clone()); in ldisc_setup()
|
/DragonOS/ |
H A D | README_EN.md | 22 …e DragonOS open-source community was established in July 2022 and is entirely business-neutral. Ou… 63   DragonOS is an open source public welfare project, but its development cannot be separa… 108 …ct adopts GPLv2 LICENSE for open source. You are welcome to use the code of this project on the ba… 112 **What we condemn**: any non-compliance with the open source license. Including but not limited to:… 114 If you find any violation of the open source license, we welcome you to send email feedback! Let's …
|
/DragonOS/user/apps/test_dup3/ |
H A D | main.c | 6 int fd = open("/history_commands.txt", O_RDONLY); in main()
|
/DragonOS/user/apps/test-blockcache/src/ |
H A D | main.rs | 9 let mut file = File::open("large_file")?; in main()
|
/DragonOS/user/apps/test_fstat/ |
H A D | main.c | 9 int fd = open("/bin/about.elf", O_RDONLY); in main()
|
/DragonOS/user/apps/test_fstatfs/ |
H A D | main.c | 7 int fd = open("/bin/about.elf", O_RDONLY); in main()
|
/DragonOS/user/apps/test_overlayfs/ |
H A D | main.c | 45 int fd = open(filepath, O_CREAT | O_WRONLY, 0644); in create_lower_file()
|
/DragonOS/kernel/src/driver/input/serio/ |
H A D | serio_device.rs | 26 fn open(&self, device: &Arc<dyn SerioDevice>) -> Result<(), SystemError>; in open() method
|
/DragonOS/user/apps/test_kvm/ |
H A D | main.c | 66 int kvm_fd = open("/dev/kvm", O_RDWR|O_CLOEXEC); in main()
|
/DragonOS/kernel/src/filesystem/sysfs/ |
H A D | file.rs | 290 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() method 322 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() method 354 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() method 386 fn open(&self, _data: KernCallbackData) -> Result<(), SystemError> { in open() method
|
/DragonOS/kernel/src/filesystem/kernfs/ |
H A D | callback.rs | 15 fn open(&self, data: KernCallbackData) -> Result<(), SystemError>; in open() method
|
/DragonOS/kernel/src/bpf/prog/ |
H A D | mod.rs | 48 fn open(&self, _data: SpinLockGuard<FilePrivateData>, _mode: &FileMode) -> Result<()> { in open() method
|
/DragonOS/kernel/src/driver/tty/pty/ |
H A D | unix98pty.rs | 42 fn open(&self, tty: &TtyCoreData) -> Result<(), SystemError> { in open() method 283 ptm_driver().driver_funcs().open(core)?; in ptmx_open()
|
/DragonOS/kernel/src/filesystem/devfs/ |
H A D | null_dev.rs | 75 fn open( in open() method
|
H A D | zero_dev.rs | 75 fn open( in open() method
|
/DragonOS/user/apps/http_server/ |
H A D | main.c | 76 int fd = open(path, 0); in send_file()
|
/DragonOS/kernel/src/driver/disk/ahci/ |
H A D | ahci_inode.rs | 80 fn open( in open() method
|
/DragonOS/kernel/src/virt/kvm/ |
H A D | kvm_dev.rs | 93 fn open( in open() method
|
H A D | vcpu_dev.rs | 101 fn open( in open() method
|
H A D | vm_dev.rs | 99 fn open( in open() method
|
/DragonOS/kernel/src/driver/input/serio/i8042/ |
H A D | i8042_ports.rs | 181 fn open(&self, _device: &Arc<dyn SerioDevice>) -> Result<(), SystemError> { in open() method
|
/DragonOS/kernel/src/driver/keyboard/ |
H A D | ps2_keyboard.rs | 137 fn open( in open() method
|