/freebsd/usr.sbin/bhyve/ |
H A D | mem.c | 290 register_mem_int(struct mmio_rb_tree *rbt, struct mem_range *memp) in register_mem_int() argument 303 mrp->mr_param = *memp; in register_mem_int() 304 mrp->mr_base = memp->base; in register_mem_int() 305 mrp->mr_end = memp->base + memp->size - 1; in register_mem_int() 307 if (mmio_rb_lookup(rbt, memp->base, &entry) != 0) in register_mem_int() 319 register_mem(struct mem_range *memp) in register_mem() argument 322 return (register_mem_int(&mmio_rb_root, memp)); in register_mem() 326 register_mem_fallback(struct mem_range *memp) in register_mem_fallback() argument 329 return (register_mem_int(&mmio_rb_fallback, memp)); in register_mem_fallback() 333 unregister_mem(struct mem_range *memp) in unregister_mem() argument [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/lib/libc/gen/ |
H A D | exec.c | 146 const char **memp; in execvPe() local 231 memp = alloca(MAX(3, cnt + 2) * sizeof(char *)); in execvPe() 232 if (memp == NULL) { in execvPe() 237 memp[0] = argv[0]; in execvPe() 238 memp[1] = bp; in execvPe() 239 bcopy(argv + 1, memp + 2, cnt * sizeof(char *)); in execvPe() 241 memp[0] = "sh"; in execvPe() 242 memp[1] = bp; in execvPe() 243 memp[2] = NULL; in execvPe() 246 __DECONST(char **, memp), envp); in execvPe()
|
/freebsd/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/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 | 303 int shm_map(struct file *fp, size_t size, off_t offset, void **memp);
|
/freebsd/sys/kern/ |
H A D | uipc_shm.c | 1798 shm_map(struct file *fp, size_t size, off_t offset, void **memp) in shm_map() argument 1836 *memp = (void *)(kva + ofs); in shm_map()
|