/DragonOS-0.1.7/kernel/src/libs/ |
D | kfifo.c | 63 memcpy(fifo->buffer + fifo->in_offset, from, tmp); in kfifo_in() 64 memcpy(fifo->buffer, from + tmp, size - tmp); in kfifo_in() 69 memcpy(fifo->buffer + fifo->in_offset, from, size); in kfifo_in() 97 memcpy(to, fifo->buffer + fifo->out_offset, tmp); in kfifo_out() 98 memcpy(to + tmp, fifo->buffer, size - tmp); in kfifo_out() 103 memcpy(to, fifo->buffer + fifo->out_offset, size); in kfifo_out() 131 memcpy(to, fifo->buffer + fifo->out_offset, tmp); in kfifo_out_peek() 132 memcpy(to + tmp, fifo->buffer, size - tmp); in kfifo_out_peek() 136 memcpy(to, fifo->buffer + fifo->out_offset, size); in kfifo_out_peek()
|
D | unistd.c | 33 memcpy(buf, _src, transfer); in swab() 34 memcpy(_src, _dest, transfer); in swab() 35 memcpy(_dest, buf, transfer); in swab()
|
D | glib.c | 48 return memcpy(dst, src, size); in memmove()
|
D | lz4.c | 330 #define LZ4_memcpy(dst, src, size) memcpy(dst, src, size)
|
/DragonOS-0.1.7/user/libs/libc/src/ |
D | unistd.c | 200 memcpy(buf, _src, transfer); in swab() 201 memcpy(_src, _dest, transfer); in swab() 202 memcpy(_dest, buf, transfer); in swab()
|
/DragonOS-0.1.7/kernel/src/process/ |
D | fork.c | 54 memcpy(tsk, current_pcb, sizeof(struct process_control_block)); in do_fork() 201 memcpy(new_mms, current_pcb->mm, sizeof(struct mm_struct)); in process_copy_mm() 211 …memcpy(phys_2_virt(new_mms->pgd) + 256, phys_2_virt(initial_proc[proc_current_cpu_id]->mm->pgd) + … in process_copy_mm() 246 memcpy((void *)phys_2_virt(pa), (void *)(vma->vm_start + i * PAGE_2M_SIZE), in process_copy_mm() 264 memcpy((void *)va, (void *)vma->vm_start, vma_size); in process_copy_mm() 336 memcpy(child_regs, (void *)current_regs, size); in process_copy_thread() 345 memcpy(child_regs, current_regs, sizeof(struct pt_regs)); in process_copy_thread()
|
D | process.c | 349 memcpy(virt_base + beginning_offset + val, buf3, x); in process_load_elf_file() 434 …memcpy(phys_2_virt(new_mms->pgd) + 256, phys_2_virt(initial_proc[proc_current_cpu_id]) + 256, PAGE… in do_execve()
|
/DragonOS-0.1.7/user/libs/libc/src/include/export/ |
D | string.h | 63 static void *memcpy(void *dst, const void *src, long Num) in memcpy() function
|
/DragonOS-0.1.7/kernel/src/common/ |
D | glib.h | 110 static void *memcpy(void *dst, const void *src, long Num) in memcpy() function 265 memcpy(dst,src,size); in copy_to_user()
|
/DragonOS-0.1.7/kernel/src/driver/usb/xhci/ |
D | xhci.c | 139 …memcpy((void *)(slot_vaddr + ep_num * xhci_hc[id].context_size), ep, sizeof(struct xhci_ep_context… in __write_ep() 152 …memcpy(ep, (void *)(slot_vaddr + ep_num * xhci_hc[id].context_size), sizeof(struct xhci_ep_context… in __read_from_ep() 163 memcpy((void *)vaddr, slot_ctx, sizeof(struct xhci_slot_context_t)); in __write_slot() 175 memcpy(slot_ctx, (void *)slot_vaddr, sizeof(struct xhci_slot_context_t)); in __read_from_slot() 201 memcpy((void *)ep_info->current_ep_ring_vaddr, trb, sizeof(struct xhci_TRB_t)); in __xhci_write_trb() 425 …memcpy(&hcs1, xhci_get_ptr_cap_reg32(id, XHCI_CAPS_HCSPARAMS1), sizeof(struct xhci_caps_HCSPARAMS1… in xhci_hc_pair_ports() 1288 memcpy(target, (void *)data_buf_vaddr, packet->length); in xhci_control_in() 1352 memcpy(target, (void *)data_buf_vaddr, packet->length); in xhci_control_out() 1904 …memcpy(&hcs1, xhci_get_ptr_cap_reg32(id, XHCI_CAPS_HCSPARAMS1), sizeof(struct xhci_caps_HCSPARAMS1… in xhci_hc_init_intr() 1906 …memcpy(&hcs2, xhci_get_ptr_cap_reg32(id, XHCI_CAPS_HCSPARAMS2), sizeof(struct xhci_caps_HCSPARAMS2… in xhci_hc_init_intr() [all …]
|
/DragonOS-0.1.7/kernel/src/driver/video/ |
D | video.c | 69 … memcpy((void *)video_frame_buffer_info.vaddr, (void *)video_refresh_target->vaddr, in video_refresh_daemon()
|
/DragonOS-0.1.7/kernel/src/mm/ |
D | mm-stat.c | 193 memcpy((void *)regs->r8, &stat, sizeof(struct mm_stat_t)); in sys_mstat()
|
/DragonOS-0.1.7/kernel/src/driver/hid/ |
D | hidparse.c | 133 …memcpy(&parser->value, &parser->report_desc[parser->pos], item_size[parser->item & HID_SIZE_MASK]); in hid_parse() 254 memcpy(data, &parser->data, sizeof(struct hid_data_t)); in hid_parse() 546 memcpy(data, &found_data, sizeof(struct hid_data_t)); in __find_object()
|
/DragonOS-0.1.7/docs/kernel/core_api/ |
D | kernel_api.md | 657 #### `void *memcpy(void *dst, const void *src, uint64_t size)` 681   与`memcpy()`类似,但是在源数据区域与目标数据区域之间存在重合时,该函数能防止数据被错误的覆盖。
|
/DragonOS-0.1.7/kernel/src/smp/ |
D | smp.c | 44 memcpy((unsigned char *)phys_2_virt(0x20000), _apu_boot_start, in smp_init()
|
/DragonOS-0.1.7/kernel/src/libs/libUI/ |
D | textui.c | 94 memcpy((void *)buf->vaddr, (void *)(textui_framework.buf->vaddr), textui_framework.buf->size); in textui_change_handler()
|