Searched refs:mem_validate_pipe (Results 1 – 5 of 5) sorted by relevance
/third_party/libunwind/src/x86_64/ |
D | Ginit.c | 83 static int mem_validate_pipe[2] = {-1, -1}; variable 117 if (mem_validate_pipe[0] != -1) in open_pipe() 118 close (mem_validate_pipe[0]); in open_pipe() 119 if (mem_validate_pipe[1] != -1) in open_pipe() 120 close (mem_validate_pipe[1]); in open_pipe() 122 do_pipe2 (mem_validate_pipe); in open_pipe() 135 bytes = read (mem_validate_pipe[0], &buf, 1); in write_validate() 150 ret = syscall (SYS_write, mem_validate_pipe[1], addr, 1); in write_validate() 152 ret = write (mem_validate_pipe[1], addr, 1); in write_validate()
|
/third_party/libunwind/src/riscv/ |
D | Ginit.c | 103 static int mem_validate_pipe[2] = {-1, -1}; variable 137 if (mem_validate_pipe[0] != -1) in open_pipe() 138 close (mem_validate_pipe[0]); in open_pipe() 139 if (mem_validate_pipe[1] != -1) in open_pipe() 140 close (mem_validate_pipe[1]); in open_pipe() 142 do_pipe2 (mem_validate_pipe); in open_pipe() 155 bytes = read (mem_validate_pipe[0], &buf, 1); in write_validate() 168 ret = write (mem_validate_pipe[1], addr, 1); in write_validate()
|
/third_party/libunwind/src/arm/ |
D | Ginit.c | 84 static int mem_validate_pipe[2] = {-1, -1}; variable 118 if (mem_validate_pipe[0] != -1) in open_pipe() 119 close (mem_validate_pipe[0]); in open_pipe() 120 if (mem_validate_pipe[1] != -1) in open_pipe() 121 close (mem_validate_pipe[1]); in open_pipe() 123 do_pipe2 (mem_validate_pipe); in open_pipe() 141 bytes = syscall(SYS_read, mem_validate_pipe[0], &buf, 1); in write_validate() 154 ret = syscall(SYS_write, mem_validate_pipe[1], addr, 1); in write_validate()
|
/third_party/libunwind/src/aarch64/ |
D | Ginit.c | 99 static int mem_validate_pipe[2] = {-1, -1}; variable 133 if (mem_validate_pipe[0] != -1) in open_pipe() 134 close (mem_validate_pipe[0]); in open_pipe() 135 if (mem_validate_pipe[1] != -1) in open_pipe() 136 close (mem_validate_pipe[1]); in open_pipe() 138 do_pipe2 (mem_validate_pipe); in open_pipe() 156 bytes = syscall(SYS_read, mem_validate_pipe[0], &buf, 1); in write_validate() 169 ret = syscall(SYS_write, mem_validate_pipe[1], addr, 1); in write_validate()
|
/third_party/libunwind/src/s390x/ |
D | Ginit.c | 99 static int mem_validate_pipe[2] = {-1, -1}; variable 105 close (mem_validate_pipe[0]); in open_pipe() 106 close (mem_validate_pipe[1]); in open_pipe() 108 pipe2 (mem_validate_pipe, O_CLOEXEC | O_NONBLOCK); in open_pipe() 121 bytes = read (mem_validate_pipe[0], &buf, 1); in write_validate() 135 ret = syscall (SYS_write, mem_validate_pipe[1], addr, 1); in write_validate()
|