Searched refs:get_koid (Results 1 - 22 of 22) sorted by relevance

/fuchsia/zircon/kernel/object/
H A Dexcp_port.cpp253 zx_koid_t pid = thread->process()->get_koid();
254 zx_koid_t tid = thread->get_koid();
275 zx_koid_t pid = thread->process()->get_koid();
276 zx_koid_t tid = thread->get_koid();
300 zx_koid_t pid = thread->process()->get_koid();
301 zx_koid_t tid = thread->get_koid();
328 zx_koid_t pid = thread->process()->get_koid();
329 zx_koid_t tid = thread->get_koid();
H A Dglue.cpp73 printf("%sjob %6" PRIu64 " '%s'\n", prefix_, job->get_koid(), name);
102 prefix_, process->get_koid(), tag, name);
150 printf("OOM: %s job %6" PRIu64 " '%s'\n", tag, job->get_koid(), name);
H A Devent_pair_dispatcher.cpp63 peer_koid_ = other->get_koid();
H A Ddiagnostics.cpp154 process->get_koid(),
167 printf("%7" PRIu64 " '%s'\n", job->get_koid(), name);
186 handle, disp->get_koid(), ObjectTypeToString(disp->get_type()));
197 ktrace_name(TAG_PROC_NAME, (uint32_t)process->get_koid(), 0, name);
366 DumpVmObject(*vmo, format_unit, handle, rights, vmod->get_koid());
719 prefix, process->get_koid(), pages / 256, pname);
H A Dprocess_dispatcher.cpp161 snprintf(aspace_name, sizeof(aspace_name), "proc:%" PRIu64, get_koid());
299 return job_->get_koid();
372 uint32_t koid = static_cast<uint32_t>(get_koid());
400 if (handle && handle->process_id() == get_koid())
418 handle->set_process_id(get_koid());
478 return handle->dispatcher()->get_koid();
606 threads[i] = thread.get_koid();
737 if (process->get_koid() == koid_) {
761 auto iter = thread_list_.find_if([koid](const ThreadDispatcher& t) { return t.get_koid() == koid; });
H A Djob_dispatcher.cpp199 return parent_ ? parent_->get_koid() : 0u;
417 if (proc->get_koid() == koid) {
439 if (job->get_koid() == koid) {
H A Dfifo_dispatcher.cpp78 peer_koid_ = peer_->get_koid();
H A Dvm_object_dispatcher.cpp31 disp->vmo()->set_user_id(disp->get_koid());
H A Dchannel_dispatcher.cpp73 peer_koid_ = peer_->get_koid();
H A Dthread_dispatcher.cpp195 thread_.user_tid = get_koid();
196 thread_.user_pid = process_->get_koid();
1003 return process_->get_koid();
H A Dsocket_dispatcher.cpp105 peer_koid_ = peer_->get_koid();
/fuchsia/zircon/kernel/syscalls/
H A Dport.cpp40 uint32_t koid = (uint32_t)dispatcher->get_koid();
77 ktrace(TAG_PORT_WAIT, (uint32_t)port->get_koid(), 0, 0, 0);
82 ktrace(TAG_PORT_WAIT_DONE, (uint32_t)port->get_koid(), st, 0, 0);
H A Dtask.cpp172 uint32_t pid = (uint32_t)process->get_koid();
182 uint32_t tid = (uint32_t)thread_dispatcher->get_koid();
208 ktrace(TAG_THREAD_START, (uint32_t)thread->get_koid(), 0, 0, 0);
366 uint32_t koid = (uint32_t)proc_dispatcher->get_koid();
435 ktrace(TAG_PROC_START, (uint32_t)thread->get_koid(),
436 (uint32_t)process->get_koid(), 0, 0);
H A Dchannel.cpp67 uint64_t id0 = mpd0->get_koid();
68 uint64_t id1 = mpd1->get_koid();
167 ktrace(TAG_CHANNEL_READ, (uint32_t)channel->get_koid(), num_bytes, num_handles, 0);
312 ktrace(TAG_CHANNEL_WRITE, (uint32_t)channel->get_koid(), num_bytes, num_handles, 0);
H A Dobject.cpp57 return RecordKoid(job->get_koid());
64 return RecordKoid(proc->get_koid());
150 .koid = dispatcher->get_koid(),
/fuchsia/zircon/system/uapp/psutils/
H A Dthreads.cpp50 zx_koid_t get_koid(zx_handle_t handle) { function
118 printf("Done handling thread %" PRIu64 ".%" PRIu64 ".\n", get_koid(process), get_koid(thread));
/fuchsia/zircon/system/core/crashanalyzer/
H A Dcrashanalyzer.cpp211 static zx_koid_t get_koid(zx_handle_t handle) { function
222 zx_koid_t pid = get_koid(process);
223 zx_koid_t tid = get_koid(thread);
/fuchsia/zircon/system/utest/policy/
H A Djob-policy.cpp238 static bool get_koid(zx_handle_t handle, zx_koid_t* koid) { function
305 ASSERT_TRUE(get_koid(proc.get(), &pid));
306 ASSERT_TRUE(get_koid(thread.get(), &tid));
/fuchsia/zircon/system/utest/core/object-info/
H A Dobject-info.cpp100 zx_status_t get_koid(zx_handle_t handle, zx_koid_t* koid) { function in namespace:__anon1316
133 s = get_koid(unmapped_vmo, &unmapped_vmo_koid);
135 EXPECT_EQ(s, ZX_OK, "get_koid");
217 s = get_koid(vmo, &vmo_koid);
219 EXPECT_EQ(s, ZX_OK, "get_koid");
/fuchsia/zircon/system/utest/core/threads/
H A Dthreads.cpp32 static bool get_koid(zx_handle_t handle, zx_koid_t* koid) { function
48 if (!get_koid(zx_process_self(), &pid))
50 if (!get_koid(thread, &tid))
/fuchsia/zircon/kernel/object/include/object/
H A Ddispatcher.h101 zx_koid_t get_koid() const { return koid_; } function in class:Dispatcher
/fuchsia/zircon/system/utest/async-loop/
H A Dloop_tests.cpp794 zx_koid_t get_koid(zx_handle_t handle) { function
846 EXPECT_EQ(get_koid(self), exception.last_report->exception.pid);
847 EXPECT_EQ(get_koid(crashing_thread), exception.last_report->exception.tid);

Completed in 196 milliseconds