MCPcopy Create free account
hub / github.com/F-Stack/f-stack / memcpy

Function memcpy

freebsd/mips/mips/elf_trampoline.c:55–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53extern char kernel_end[];
54
55static __inline void *
56memcpy(void *dst, const void *src, size_t len)
57{
58 const char *s = src;
59 char *d = dst;
60
61 while (len) {
62 if (0 && len >= 4 && !((vm_offset_t)d & 3) &&
63 !((vm_offset_t)s & 3)) {
64 *(uint32_t *)d = *(uint32_t *)s;
65 s += 4;
66 d += 4;
67 len -= 4;
68 } else {
69 *d++ = *s++;
70 len--;
71 }
72 }
73 return (dst);
74}
75
76static __inline void
77bzero(void *addr, size_t count)

Callers 15

minidumpsysFunction · 0.70
fill_regsFunction · 0.70
set_regsFunction · 0.70
fill_fpregsFunction · 0.70
set_fpregsFunction · 0.70
cpu_forkFunction · 0.70
load_kernelFunction · 0.70
bus_dmamap_sync_bufFunction · 0.70
nexus_ofw_map_intrFunction · 0.70
jz4780_efuse_read_chunkFunction · 0.50
ar71xx_gpio_pin_getnameFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected