Home
last modified time | relevance | path

Searched refs:memcpy (Results 1 – 16 of 16) sorted by relevance

/DragonOS-0.1.7/kernel/src/libs/
Dkfifo.c63 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()
Dunistd.c33 memcpy(buf, _src, transfer); in swab()
34 memcpy(_src, _dest, transfer); in swab()
35 memcpy(_dest, buf, transfer); in swab()
Dglib.c48 return memcpy(dst, src, size); in memmove()
Dlz4.c330 #define LZ4_memcpy(dst, src, size) memcpy(dst, src, size)
/DragonOS-0.1.7/user/libs/libc/src/
Dunistd.c200 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/
Dfork.c54 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()
211memcpy(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()
Dprocess.c349 memcpy(virt_base + beginning_offset + val, buf3, x); in process_load_elf_file()
434memcpy(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/
Dstring.h63 static void *memcpy(void *dst, const void *src, long Num) in memcpy() function
/DragonOS-0.1.7/kernel/src/common/
Dglib.h110 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/
Dxhci.c139memcpy((void *)(slot_vaddr + ep_num * xhci_hc[id].context_size), ep, sizeof(struct xhci_ep_context… in __write_ep()
152memcpy(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()
425memcpy(&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()
1904memcpy(&hcs1, xhci_get_ptr_cap_reg32(id, XHCI_CAPS_HCSPARAMS1), sizeof(struct xhci_caps_HCSPARAMS1… in xhci_hc_init_intr()
1906memcpy(&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/
Dvideo.c69memcpy((void *)video_frame_buffer_info.vaddr, (void *)video_refresh_target->vaddr, in video_refresh_daemon()
/DragonOS-0.1.7/kernel/src/mm/
Dmm-stat.c193 memcpy((void *)regs->r8, &stat, sizeof(struct mm_stat_t)); in sys_mstat()
/DragonOS-0.1.7/kernel/src/driver/hid/
Dhidparse.c133memcpy(&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/
Dkernel_api.md657 #### `void *memcpy(void *dst, const void *src, uint64_t size)`
681   与`memcpy()`类似,但是在源数据区域与目标数据区域之间存在重合时,该函数能防止数据被错误的覆盖。
/DragonOS-0.1.7/kernel/src/smp/
Dsmp.c44 memcpy((unsigned char *)phys_2_virt(0x20000), _apu_boot_start, in smp_init()
/DragonOS-0.1.7/kernel/src/libs/libUI/
Dtextui.c94 memcpy((void *)buf->vaddr, (void *)(textui_framework.buf->vaddr), textui_framework.buf->size); in textui_change_handler()