| /freebsd/usr.sbin/bhyve/ |
| H A D | mem.c | 302 register_mem_int(struct mmio_rb_tree *rbt, struct mem_range *memp) in register_mem_int() argument 315 mrp->mr_param = *memp; in register_mem_int() 316 mrp->mr_base = memp->base; in register_mem_int() 317 mrp->mr_end = memp->base + memp->size - 1; in register_mem_int() 319 if (mmio_rb_lookup(rbt, memp->base, &entry) != 0) in register_mem_int() 331 register_mem(struct mem_range *memp) in register_mem() argument 334 return (register_mem_int(&mmio_rb_root, memp)); in register_mem() 338 register_mem_fallback(struct mem_range *memp) in register_mem_fallback() argument 341 return (register_mem_int(&mmio_rb_fallback, memp)); in register_mem_fallback() 345 unregister_mem(struct mem_range *memp) in unregister_mem() argument [all …]
|
| H A D | mem.h | 60 int register_mem(struct mem_range *memp); 61 int register_mem_fallback(struct mem_range *memp); 62 int unregister_mem(struct mem_range *memp);
|
| /freebsd/lib/libc/gen/ |
| H A D | exec.c | 151 const char **memp; in execvPe_prog() local 181 memp = alloca(MAX(3, cnt + 2) * sizeof(char *)); in execvPe_prog() 182 assert(memp != NULL); in execvPe_prog() 184 memp[0] = argv[0]; in execvPe_prog() 185 memp[1] = path; in execvPe_prog() 186 memcpy(&memp[2], &argv[1], cnt * sizeof(char *)); in execvPe_prog() 188 memp[0] = "sh"; in execvPe_prog() 189 memp[1] = path; in execvPe_prog() 190 memp[2] = NULL; in execvPe_prog() 193 (void)_execve(_PATH_BSHELL, __DECONST(char **, memp), envp); in execvPe_prog()
|
| /freebsd/sys/contrib/openzfs/lib/libzfs/os/freebsd/ |
| H A D | libzfs_compat.c | 48 const char **memp; in execvPe() local 132 memp = alloca(MAX(3, cnt + 2) * sizeof (char *)); in execvPe() 133 if (memp == NULL) { in execvPe() 138 memp[0] = argv[0]; in execvPe() 139 memp[1] = bp; in execvPe() 140 memcpy(memp + 2, argv + 1, in execvPe() 143 memp[0] = "sh"; in execvPe() 144 memp[1] = bp; in execvPe() 145 memp[2] = NULL; in execvPe() 148 __DECONST(char **, memp), envp); in execvPe()
|
| /freebsd/sys/powerpc/aim/ |
| H A D | aim_machdep.c | 650 volatile uint32_t *memp; in flush_disable_caches() 681 memp = (volatile uint32_t *)0x00000000; in flush_disable_caches() 683 (void)*memp; in flush_disable_caches() 684 __asm__ __volatile__("dcbf 0,%0" :: "r"(memp)); in flush_disable_caches() 685 memp += 32/sizeof(*memp); in flush_disable_caches() 688 memp = (volatile uint32_t *)0xfff00000; in flush_disable_caches() 694 (void)*memp; in flush_disable_caches() 695 __asm__ __volatile__("dcbf 0,%0" :: "r"(memp)); in flush_disable_caches() 696 memp in flush_disable_caches() 649 volatile uint32_t *memp; flush_disable_caches() local [all...] |
| /freebsd/usr.bin/gprof/ |
| H A D | arcs.c | 884 nltype *memp; in inheritflags() local 920 for ( memp = headp -> cnext ; memp ; memp = memp -> cnext ) { in inheritflags() 921 for (arcp = memp->parents ; arcp ; arcp = arcp->arc_parentlist) { in inheritflags() 942 for ( memp = headp ; memp ; memp = memp -> cnext ) { in inheritflags() 943 memp -> printflag = headp -> printflag; in inheritflags() 944 memp -> propfraction = headp -> propfraction; in inheritflags()
|
| /freebsd/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/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/sys/sys/ |
| H A D | mman.h | 305 int shm_map(struct file *fp, size_t size, off_t offset, void **memp);
|
| /freebsd/sys/kern/ |
| H A D | uipc_shm.c | 1823 shm_map(struct file *fp, size_t size, off_t offset, void **memp) in shm_map() argument 1861 *memp = (void *)(kva + ofs); in shm_map()
|