Searched refs:user_buf (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.9/kernel/src/driver/disk/ahci/ |
D | ahcidisk.rs | 112 let user_buf = verify_area(VirtAddr::new(buf_ptr as usize), buf.len()).is_ok(); in read_at() localVariable 113 let mut kbuf = if user_buf { in read_at() 267 let user_buf = verify_area(VirtAddr::new(buf_ptr as usize), buf.len()).is_ok(); in write_at() localVariable 268 let mut kbuf = if user_buf { in write_at()
|
/DragonOS-0.1.9/kernel/src/filesystem/vfs/ |
D | syscall.rs | 934 user_buf: *mut u8, in readlink_at() 938 let mut user_buf = UserBufferWriter::new(user_buf, buf_size, true)?; in readlink_at() localVariable 951 let ubuf = user_buf.buffer::<u8>(0).unwrap(); in readlink_at() 962 user_buf: *mut u8, in readlink() 965 return Self::readlink_at(AtFlags::AT_FDCWD.bits(), path, user_buf, buf_size); in readlink()
|
/DragonOS-0.1.9/kernel/src/syscall/ |
D | mod.rs | 141 let user_buf = user_buffer_writer.buffer(0)?; in handle() localVariable 142 Self::read(fd, user_buf) in handle() 152 let user_buf = user_buffer_reader.read_from_user(0)?; in handle() localVariable 153 Self::write(fd, user_buf) in handle() 901 let user_buf = user_buffer_writer.buffer(0)?; in handle() localVariable 902 Self::do_syslog(syslog_action_type, user_buf, len) in handle()
|