Lines Matching refs:shared_mem
151 void map_vgdbshared (char* shared_mem) in map_vgdbshared() argument
155 shared_mem_fd = open(shared_mem, O_RDWR); in map_vgdbshared()
159 XERROR (errno, "error opening %s shared memory file\n", shared_mem); in map_vgdbshared()
173 shared_mem, in map_vgdbshared()
180 shared_mem, in map_vgdbshared()
198 XERROR (errno, "error mmap shared memory file %s\n", shared_mem); in map_vgdbshared()
422 static char *shared_mem; variable
530 shared_mem = vmalloc (len); in prepare_fifos_and_shared_mem()
536 sprintf(shared_mem, "%s-shared-mem-vgdb-%d-by-%s-on-%s", vgdb_prefix, in prepare_fifos_and_shared_mem()
539 from_gdb_to_pid, to_gdb_from_pid, shared_mem); in prepare_fifos_and_shared_mem()
541 map_vgdbshared(shared_mem); in prepare_fifos_and_shared_mem()
1537 free (shared_mem); in main()