Searched refs:pid (Results 1 - 25 of 151) sorted by relevance

1234567

/fuchsia/zircon/third_party/ulib/musl/src/stdio/
H A Dpclose.c7 pid_t pid = f->pipe_pid; local
9 return waitpid(pid, NULL, 0);
H A Dpopen.c11 pid_t pid; local
52 if (!(e = posix_spawn(&pid, "/bin/sh", &fa, 0, (char* []){(char*)"sh", (char*)"-c", (char*)cmd, 0},
55 f->pipe_pid = pid;
/fuchsia/zircon/third_party/ulib/musl/src/sched/
H A Dsched_getscheduler.c4 int sched_getscheduler(pid_t pid) { argument
H A Dsched_rr_get_interval.c4 int sched_rr_get_interval(pid_t pid, struct timespec* ts) { argument
H A Dsched_setparam.c4 int sched_setparam(pid_t pid, const struct sched_param* param) { argument
H A Dsched_getparam.c4 int sched_getparam(pid_t pid, struct sched_param* param) { argument
H A Dsched_setscheduler.c4 int sched_setscheduler(pid_t pid, int sched, const struct sched_param* param) { argument
/fuchsia/zircon/third_party/ulib/musl/src/signal/
H A Dkill.c4 int kill(pid_t pid, int sig) { argument
H A Dsigqueue.c5 int sigqueue(pid_t pid, int sig, const union sigval value) { argument
/fuchsia/zircon/third_party/ulib/jemalloc/test/unit/
H A Dfork.c11 pid_t pid; local
16 pid = fork();
24 if (pid == -1) {
27 } else if (pid == 0) {
35 if (waitpid(pid, &status, 0) == -1)
/fuchsia/zircon/third_party/ulib/musl/src/process/
H A Dwaitpid.c5 pid_t waitpid(pid_t pid, int* status, int options) { argument
6 // TODO(kulakowski) Actually wait on |pid|.
H A Dposix_spawn.c25 pid_t pid; local
41 pid = -ENOSYS;
44 if (pid > 0) {
48 waitpid(pid, &(int){0}, 0);
50 ec = -pid;
56 *res = pid;
H A Dsystem.c10 pid_t pid; local
33 ret = posix_spawn(&pid, "/bin/sh", 0, &attr, (char* []){(char*)"sh", (char*)"-c", (char*)cmd, 0}, __environ);
37 while (waitpid(pid, &status, 0) < 0 && errno == EINTR)
/fuchsia/zircon/third_party/ulib/musl/src/time/
H A Dclock_getcpuclockid.c5 int clock_getcpuclockid(pid_t pid, clockid_t* clk) { argument
/fuchsia/zircon/third_party/uapp/dash/src/
H A Dsystem.h86 static inline int killpg(pid_t pid, int signal) argument
89 if (pid < 0)
92 return kill(-pid, signal);
/fuchsia/zircon/third_party/ulib/ngunwind/src/
H A Dos-linux.c33 tdep_get_elf_image (struct elf_image *ei, pid_t pid, unw_word_t ip, argument
41 if (maps_init (&mi, pid) < 0)
/fuchsia/zircon/system/uapp/dlog/
H A Ddlog.c19 " -p <pid> only show messages from specified pid\n"
29 zx_koid_t pid = 0; local
48 pid = strtoull(argv[1], NULL, 0);
50 fprintf(stderr, "dlog: invalid pid\n");
78 if (filter_pid && (pid != rec->pid)) {
/fuchsia/zircon/system/ulib/syslog/include/syslog/
H A Dwire_format.h20 zx_koid_t pid; member in struct:fx_log_metadata
/fuchsia/zircon/third_party/ulib/musl/src/misc/
H A Dwordexp.c13 static void reap(pid_t pid) { argument
16 if (waitpid(pid, &status, 0) < 0) {
42 pid_t pid; local
114 pid = fork();
115 if (pid < 0) {
120 if (!pid) {
134 kill(pid, SIGKILL);
135 reap(pid);
144 reap(pid);
163 reap(pid);
[all...]
/fuchsia/zircon/system/ulib/trace-provider/
H A Dtrace_provider.fidl.h102 uint64_t pid; member in struct:fuchsia_tracelink_RegistryRegisterTraceProviderRequest
110 uint64_t pid; member in struct:fuchsia_tracelink_RegistryRegisterTraceProviderSynchronouslyRequest
125 zx_status_t fuchsia_tracelink_RegistryRegisterTraceProvider(zx_handle_t _channel, zx_handle_t provider, uint64_t pid, const char* name_data, size_t name_size);
126 zx_status_t fuchsia_tracelink_RegistryRegisterTraceProviderSynchronously(zx_handle_t _channel, zx_handle_t provider, uint64_t pid, const char* name_data, size_t name_size, int32_t* out_s, bool* out_started);
130 zx_status_t (*RegisterTraceProvider)(void* ctx, zx_handle_t provider, uint64_t pid, const char* name_data, size_t name_size);
131 zx_status_t (*RegisterTraceProviderSynchronously)(void* ctx, zx_handle_t provider, uint64_t pid, const char* name_data, size_t name_size, fidl_txn_t* txn);
H A Dtrace_provider.fidl.client.cpp56 zx_status_t fuchsia_tracelink_RegistryRegisterTraceProvider(zx_handle_t _channel, zx_handle_t provider, uint64_t pid, const char* name_data, size_t name_size) { argument
64 _request->pid = pid;
77 zx_status_t fuchsia_tracelink_RegistryRegisterTraceProviderSynchronously(zx_handle_t _channel, zx_handle_t provider, uint64_t pid, const char* name_data, size_t name_size, int32_t* out_s, bool* out_started) { argument
85 _request->pid = pid;
/fuchsia/zircon/system/uapp/psutils/
H A Dthreads.cpp121 void dump_all_threads(uint64_t pid, zx_handle_t process) { argument
168 printf("WARNING: failed to get a handle to [%" PRIu64 ".%" PRIu64 "] : error %d\n", pid, tid, status);
193 pid, tid);
200 pid, tid);
211 fprintf(f, "Usage: threads [options] pid\n");
218 zx_koid_t pid = ZX_KOID_INVALID; local
247 pid = strtoull(pidstr, &endptr, 0);
249 fprintf(stderr, "ERROR: invalid pid: %s", pidstr);
263 status = get_task_by_koid(pid, &type, &process);
265 print_zx_error(status, "unable to get a handle to %" PRIu64, pid);
[all...]
/fuchsia/zircon/kernel/object/
H A Dexcp_port.cpp26 static PortPacket* MakePacket(uint64_t key, uint32_t type, zx_koid_t pid, zx_koid_t tid) { argument
37 port_packet->packet.exception.pid = pid;
228 zx_status_t ExceptionPort::SendPacketWorker(uint32_t type, zx_koid_t pid, zx_koid_t tid) { argument
230 LTRACEF("%s, type %u, pid %" PRIu64 ", tid %" PRIu64 "\n",
233 type, pid, tid);
239 auto iopk = MakePacket(port_key_, type, pid, tid);
253 zx_koid_t pid = thread->process()->get_koid(); local
255 return SendPacketWorker(type, pid, tid);
275 zx_koid_t pid local
300 zx_koid_t pid = thread->process()->get_koid(); local
328 zx_koid_t pid = thread->process()->get_koid(); local
[all...]
/fuchsia/zircon/kernel/arch/arm64/include/arch/
H A Darch_ops.h59 static inline void arch_trace_process_create(uint64_t pid, paddr_t tt_phys) { argument
/fuchsia/zircon/kernel/arch/x86/include/arch/
H A Darch_ops.h72 void arch_trace_process_create(uint64_t pid, paddr_t pt_phys);

Completed in 91 milliseconds

1234567