Searched refs:buf_vaddr (Results 1 – 3 of 3) sorted by relevance
/DragonOS-0.1.7/kernel/src/driver/keyboard/ |
D | ps2_keyboard.c | 144 void ps2_keyboard_handler(ul irq_num, ul buf_vaddr, struct pt_regs *regs) in ps2_keyboard_handler() argument 148 uint8_t count = kfifo_in((struct kfifo_t *)buf_vaddr, &x, sizeof(unsigned char)); in ps2_keyboard_handler()
|
/DragonOS-0.1.7/kernel/src/filesystem/vfs/ |
D | syscall.rs | 71 let buf_vaddr = regs.r9 as usize; in sys_read() localVariable 75 if user_mode(regs) && unsafe { !verify_area(buf_vaddr as u64, len as u64) } { in sys_read() 81 unsafe { core::slice::from_raw_parts_mut::<'static, u8>(buf_vaddr as *mut u8, len) }; in sys_read() 100 let buf_vaddr = regs.r9 as usize; in sys_write() localVariable 104 if user_mode(regs) && unsafe { !verify_area(buf_vaddr as u64, len as u64) } { in sys_write() 110 unsafe { core::slice::from_raw_parts::<'static, u8>(buf_vaddr as *mut u8, len) }; in sys_write()
|
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/ |
D | xhci.c | 55 static int xhci_data_stage(struct xhci_ep_info_t *ep, uint64_t buf_vaddr, uint8_t trb_type, const u… 1100 static int xhci_data_stage(struct xhci_ep_info_t *ep, uint64_t buf_vaddr, uint8_t trb_type, const u… in xhci_data_stage() argument 1114 trb.buf_paddr = virt_2_phys(buf_vaddr); in xhci_data_stage() 1128 buf_vaddr += max_packet; in xhci_data_stage() 2206 uint64_t buf_vaddr = (uint64_t)kzalloc(xhci_hc[cid].page_size, 0); in xhci_init() local 2207 __write8b(xhci_hc[cid].scratchpad_buf_array_vaddr, virt_2_phys(buf_vaddr)); in xhci_init()
|