/DragonOS-0.1.8/kernel/src/driver/keyboard/ |
D | ps2_keyboard.rs | 23 .read() 100 let guard = self.0.read(); in read_at() 101 let func = guard.f_ops.read.unwrap(); in read_at() 157 return Ok(self.0.read().metadata.clone()); in metadata() 173 return self.0.read().fs.upgrade().unwrap(); in fs()
|
D | ps2_keyboard.c | 133 .read = ps2_keyboard_read,
|
/DragonOS-0.1.8/kernel/src/arch/x86_64/ |
D | context.rs | 27 new_address_space.read().user_mapper.utable.make_current(); in switch_process()
|
/DragonOS-0.1.8/user/libs/libc/src/include/export/ |
D | unistd.h | 25 ssize_t read(int fd, void *buf, size_t count);
|
/DragonOS-0.1.8/user/apps/shell/ |
D | cmd_test.c | 33 n = read(fd[0], buf, buf_SIZE); // 从管道的读端读取一条消息 in shell_pipe_test()
|
/DragonOS-0.1.8/docs/userland/libc/apis/api-list/ |
D | unistd.md | 11 ``ssize_t read(int fd,void *buf,size_t count)`` : 从文件读取
|
D | fcntl.md | 18 #define O_RDWR 00000002 // Open read/write
|
/DragonOS-0.1.8/user/apps/http_server/ |
D | main.c | 97 readSize = read(fd, &buffer, to_read); in send_file() 227 valread = read(new_socket, buffer, MAX_REQUEST_SIZE); in main()
|
/DragonOS-0.1.8/docs/kernel/filesystem/vfs/ |
D | design.md | 15 │ read │
|
/DragonOS-0.1.8/kernel/src/net/ |
D | net_core.rs | 120 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read(); in poll_ifaces() 140 let guard: RwLockReadGuard<BTreeMap<usize, Arc<dyn NetDriver>>> = NET_DRIVERS.read(); in poll_ifaces_try_lock()
|
D | socket.rs | 283 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() method 336 let iface = NET_DRIVERS.read().get(&0).unwrap().clone(); in write() 481 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() method 709 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint) { in read() method 1163 return self.0.lock().read(&mut buf[0..len]).0; in read_at() 1177 let (read, write, error) = self.0.lock().poll(); in poll() 1179 if read { in poll()
|
D | mod.rs | 72 fn read(&self, buf: &mut [u8]) -> (Result<usize, SystemError>, Endpoint); in read() method
|
/DragonOS-0.1.8/kernel/src/time/ |
D | timekeeping.rs | 107 clock_data.watchdog_last = clock.read(); in timekeeper_setup_internals() 136 let timekeeper = self.0.read(); in tk_get_ns() 138 let clock_now = clock.read(); in tk_get_ns()
|
D | jiffies.rs | 35 fn read(&self) -> CycleNum { in read() method
|
D | clocksource.rs | 150 self.last_check = self.watchdog.as_ref().unwrap().clone().read(); in clocksource_start_watchdog() 180 fn read(&self) -> CycleNum; in read() method 665 let cur_wd_nowclock = cur_watchdog.as_ref().read().data(); in clocksource_watchdog() 688 let cs_now_clock = cs.read(); in clocksource_watchdog()
|
/DragonOS-0.1.8/docs/kernel/locking/ |
D | rwlock.md | 86 pub fn read(&self) -> RwLockReadGuard<T> 132 let guard = LOCK.read(); 143 let guard = LOCK.read();
|
/DragonOS-0.1.8/user/libs/libc/src/ |
D | stdio.c | 31 read(0, &c, 1); in getchar()
|
D | unistd.c | 28 ssize_t read(int fd, void *buf, size_t count) in read() function
|
/DragonOS-0.1.8/kernel/src/driver/tty/ |
D | tty_device.rs | 73 return self.private_data.read().name.clone(); in name() 217 return self.fs.read().upgrade().unwrap(); in fs() 229 return Ok(self.private_data.read().metadata.clone()); in metadata()
|
/DragonOS-0.1.8/kernel/src/mm/allocator/ |
D | buddy.rs | 249 let page_list = unsafe { A::read(A::phys_2_virt(addr).unwrap()) }; in read_page() 312 A::read(Self::entry_virt_addr( in pop_front() 467 let entry: PhysAddr = unsafe { A::read(entry_virt_addr) }; in buddy_free() 576 A::read(Self::entry_virt_addr( in buddy_free() 598 A::read(Self::entry_virt_addr( in buddy_free()
|
/DragonOS-0.1.8/user/libs/libKeyboard/ |
D | keyboard.c | 531 read(fd, &ret, 1); in keyboard_get_scancode()
|
/DragonOS-0.1.8/kernel/src/filesystem/vfs/ |
D | VFS.h | 187 long (*read)(struct vfs_file_t *file_ptr, char *buf, int64_t count, long *position); member
|
/DragonOS-0.1.8/user/apps/test_relibc/ |
D | main.c | 222 len = read(STDIN_FILENO, buffer, sizeof(buffer)); in udp_client()
|
/DragonOS-0.1.8/kernel/src/libs/ |
D | notifier.rs | 168 let notifier_chain_guard = self.0.read(); in call_chain()
|
D | elf.rs | 311 file.read(read_size, &mut buf[..read_size])?; in do_load_file() 418 file.read(shdr_buf_size as usize, &mut shdr_buf) in parse_segments() 451 file.read(size, data_buf) in parse_segments()
|