Home
last modified time | relevance | path

Searched refs:shared_mem_fd (Results 1 – 2 of 2) sorted by relevance

/external/valgrind/coregrind/
Dvgdb.c149 static int shared_mem_fd = -1; variable
155 shared_mem_fd = open(shared_mem, O_RDWR); in map_vgdbshared()
158 if (shared_mem_fd == -1) in map_vgdbshared()
161 if (fstat(shared_mem_fd, &fdstat) != 0) in map_vgdbshared()
195 shared_mem_fd, 0); in map_vgdbshared()
831 acquire_lock (shared_mem_fd, pid); in gdb_relay()
955 acquire_lock (shared_mem_fd, pid); in standalone_send_commands()
/external/valgrind/coregrind/m_gdbserver/
Dremote-utils.c317 int shared_mem_fd = INVALID_DESCRIPTOR; in remote_open() local
404 shared_mem_fd = sr_Res(o); in remote_open()
407 if (VG_(write)(shared_mem_fd, &vgdbinit, sizeof(VgdbShared)) in remote_open()
415 shared_mem_fd, (Off64T)0); in remote_open()
424 VG_(close) (shared_mem_fd); in remote_open()