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()
836 acquire_lock (shared_mem_fd, pid); in gdb_relay()
960 acquire_lock (shared_mem_fd, pid); in standalone_send_commands()
/external/valgrind/coregrind/m_gdbserver/
Dremote-utils.c322 int shared_mem_fd = INVALID_DESCRIPTOR; in remote_open() local
401 shared_mem_fd = sr_Res(o); in remote_open()
404 if (VG_(write)(shared_mem_fd, &vgdbinit, sizeof(VgdbShared)) in remote_open()
412 shared_mem_fd, (Off64T)0); in remote_open()
421 VG_(close) (shared_mem_fd); in remote_open()