| /freebsd-14.2/usr.sbin/bhyve/ |
| H A D | mem.c | 304 mrp->mr_param = *memp; in register_mem_int() 305 mrp->mr_base = memp->base; in register_mem_int() 306 mrp->mr_end = memp->base + memp->size - 1; in register_mem_int() 308 if (mmio_rb_lookup(rbt, memp->base, &entry) != 0) in register_mem_int() 320 register_mem(struct mem_range *memp) in register_mem() argument 323 return (register_mem_int(&mmio_rb_root, memp)); in register_mem() 327 register_mem_fallback(struct mem_range *memp) in register_mem_fallback() argument 330 return (register_mem_int(&mmio_rb_fallback, memp)); in register_mem_fallback() 334 unregister_mem(struct mem_range *memp) in unregister_mem() argument 344 assert(mr->name == memp->name); in unregister_mem() [all …]
|
| H A D | mem.h | 58 int register_mem(struct mem_range *memp); 59 int register_mem_fallback(struct mem_range *memp); 60 int unregister_mem(struct mem_range *memp);
|
| /freebsd-14.2/lib/libc/gen/ |
| H A D | exec.c | 148 const char **memp; in execvPe() local 233 memp = alloca(MAX(3, cnt + 2) * sizeof(char *)); in execvPe() 234 if (memp == NULL) { in execvPe() 239 memp[0] = argv[0]; in execvPe() 240 memp[1] = bp; in execvPe() 241 bcopy(argv + 1, memp + 2, cnt * sizeof(char *)); in execvPe() 243 memp[0] = "sh"; in execvPe() 244 memp[1] = bp; in execvPe() 245 memp[2] = NULL; in execvPe() 248 __DECONST(char **, memp), envp); in execvPe()
|
| /freebsd-14.2/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
| H A D | libzfs_compat.c | 47 const char **memp; in execvPe() local 131 memp = alloca(MAX(3, cnt + 2) * sizeof (char *)); in execvPe() 132 if (memp == NULL) { in execvPe() 137 memp[0] = argv[0]; in execvPe() 138 memp[1] = bp; in execvPe() 139 memcpy(memp + 2, argv + 1, in execvPe() 142 memp[0] = "sh"; in execvPe() 143 memp[1] = bp; in execvPe() 144 memp[2] = NULL; in execvPe() 147 __DECONST(char **, memp), envp); in execvPe()
|
| /freebsd-14.2/sys/powerpc/aim/ |
| H A D | aim_machdep.c | 649 volatile uint32_t *memp; in flush_disable_caches() local 680 memp = (volatile uint32_t *)0x00000000; in flush_disable_caches() 682 (void)*memp; in flush_disable_caches() 683 __asm__ __volatile__("dcbf 0,%0" :: "r"(memp)); in flush_disable_caches() 684 memp += 32/sizeof(*memp); in flush_disable_caches() 687 memp = (volatile uint32_t *)0xfff00000; in flush_disable_caches() 693 (void)*memp; in flush_disable_caches() 694 __asm__ __volatile__("dcbf 0,%0" :: "r"(memp)); in flush_disable_caches() 695 memp += 32/sizeof(*memp); in flush_disable_caches()
|
| /freebsd-14.2/usr.bin/gprof/ |
| H A D | arcs.c | 890 nltype *memp; in inheritflags() local 926 for ( memp = headp -> cnext ; memp ; memp = memp -> cnext ) { in inheritflags() 927 for (arcp = memp->parents ; arcp ; arcp = arcp->arc_parentlist) { in inheritflags() 948 for ( memp = headp ; memp ; memp = memp -> cnext ) { in inheritflags() 949 memp -> printflag = headp -> printflag; in inheritflags() 950 memp -> propfraction = headp -> propfraction; in inheritflags()
|
| /freebsd-14.2/sys/dev/bxe/ |
| H A D | bxe_debug.c | 235 uint8_t *memp; in bxe_dump_mbuf_data() local 244 memp = m->m_data; in bxe_dump_mbuf_data() 263 snprintf(c, sizeof(c), "%02x ", *memp); in bxe_dump_mbuf_data() 266 memp++; in bxe_dump_mbuf_data()
|
| /freebsd-14.2/sys/powerpc/ofw/ |
| H A D | ofw_machdep.c | 464 ofw_numa_mem_regions(struct numa_mem_region *memp, int *memsz) in ofw_numa_mem_regions() argument 482 count = parse_numa_ofw_memory(phandle, "reg", &memp[msz]); in ofw_numa_mem_regions() 485 curmemp = &memp[msz]; in ofw_numa_mem_regions() 503 ofw_mem_regions(struct mem_region *memp, int *memsz, in ofw_mem_regions() argument 524 res = parse_ofw_memory(phandle, "reg", &memp[msz]); in ofw_mem_regions()
|
| /freebsd-14.2/sys/sys/ |
| H A D | mman.h | 303 int shm_map(struct file *fp, size_t size, off_t offset, void **memp);
|
| /freebsd-14.2/sys/kern/ |
| H A D | uipc_shm.c | 1805 shm_map(struct file *fp, size_t size, off_t offset, void **memp) in shm_map() argument 1843 *memp = (void *)(kva + ofs); in shm_map()
|