/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
H A D | 5-1.c | 50 timer_t tid; in main() local 85 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 95 if (timer_settime(tid, 0, &its, NULL) != 0) { in main()
|
H A D | 5-2.c | 50 timer_t tid; in main() local 85 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 95 if (timer_settime(tid, 0, &its, NULL) != 0) { in main()
|
H A D | 4-1.c | 46 timer_t tid; in main() local 85 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 95 if (timer_settime(tid, flags, &its, NULL) != 0) { in main()
|
H A D | 4-2.c | 53 timer_t tid; in main() local 81 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 91 if (timer_settime(tid, flags, &its, NULL) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/ |
H A D | 10-1.c | 39 timer_t tid; in main() 71 if (timer_create(CLOCK_PROCESS_CPUTIME_ID, &ev, &tid) != 0) { in main() 81 if (timer_settime(tid, 0, &its, NULL) != 0) { in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
H A D | 5-1.c | 43 timer_t tid; in main() local 63 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 82 if (timer_settime(tid, flags, &its, NULL) != 0) { in main()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
H A D | flockfile.c | 98 pthread_t tid[100]; in flockfile_0200() local 106 if (pthread_create(tid + i, NULL, do_child_two, NULL) != 0) { in flockfile_0200() 112 if (pthread_join(tid[j], NULL) != 0) { in flockfile_0200()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-inject.c | 65 u32 tid; member 73 u32 tid; member 133 u32 tid; member 402 event->mmap.filename, event->mmap.pid, event->mmap.tid, &n); in perf_event__jit_repipe_mmap() 413 static struct dso *findnew_dso(int pid, int tid, const char *filename, in findnew_dso() argument 422 thread = machine__findnew_thread(machine, pid, tid); in findnew_dso() 424 pr_err("cannot find or create a task %d/%d.\n", tid, pid); in findnew_dso() 466 dso = findnew_dso(event->mmap.pid, event->mmap.tid, in perf_event__repipe_buildid_mmap() 491 dso = findnew_dso(event->mmap2.pid, event->mmap2.tid, in perf_event__repipe_mmap2() 517 event->mmap2.filename, event->mmap2.pid, event->mmap2.tid, in perf_event__jit_repipe_mmap2() 880 guest_session__map_tid(struct guest_session *gs, u32 tid, u32 vcpu) guest_session__map_tid() argument 1127 guest_session__lookup_tid(struct guest_session *gs, u32 tid) guest_session__lookup_tid() argument 1673 u32 tid = event->context_switch.next_prev_tid; host__context_switch() local [all...] |
/third_party/musl/src/linux/ |
H A D | tgkill.c | 19 int tgkill(int tgid, int tid, int sig) in tgkill() argument 21 return syscall(__NR_tgkill, tgid, tid, sig); in tgkill()
|
/third_party/musl/porting/linux/user/src/linux/ |
H A D | tgkill.c | 19 int tgkill(int tgid, int tid, int sig) in tgkill() argument 21 return syscall(__NR_tgkill, tgid, tid, sig); in tgkill()
|
/third_party/ltp/testcases/kernel/syscalls/tgkill/ |
H A D | tgkill.h | 12 static inline int sys_tgkill(int tgid, int tid, int sig) in sys_tgkill() argument 14 return tst_syscall(__NR_tgkill, tgid, tid, sig); in sys_tgkill()
|
/third_party/skia/third_party/externals/abseil-cpp/absl/base/internal/ |
H A D | cmake_thread_test.cc | 19 auto* tid = absl::base_internal::CurrentThreadIdentityIfPresent(); in main() local 21 std::cout << (void*)tid << std::endl; in main()
|
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | sta.c | 460 u8 tid; in iwl_remove_station() local 499 for (tid = 0; tid < IWL_MAX_TID_COUNT; tid++) in iwl_remove_station() 500 memset(&priv->tid_data[sta_id][tid], 0, in iwl_remove_station() 501 sizeof(priv->tid_data[sta_id][tid])); in iwl_remove_station() 521 u8 tid; in iwl_deactivate_station() local 539 for (tid = 0; tid < IWL_MAX_TID_COUNT; tid in iwl_deactivate_station() 1350 iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid) iwl_sta_tx_modify_enable_tid() argument 1367 iwl_sta_rx_agg_start(struct iwl_priv *priv, struct ieee80211_sta *sta, int tid, u16 ssn) iwl_sta_rx_agg_start() argument 1391 iwl_sta_rx_agg_stop(struct iwl_priv *priv, struct ieee80211_sta *sta, int tid) iwl_sta_rx_agg_stop() argument [all...] |
/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/dvm/ |
H A D | sta.c | 455 u8 tid; in iwl_remove_station() local 494 for (tid = 0; tid < IWL_MAX_TID_COUNT; tid++) in iwl_remove_station() 495 memset(&priv->tid_data[sta_id][tid], 0, in iwl_remove_station() 496 sizeof(priv->tid_data[sta_id][tid])); in iwl_remove_station() 516 u8 tid; in iwl_deactivate_station() local 534 for (tid = 0; tid < IWL_MAX_TID_COUNT; tid in iwl_deactivate_station() 1345 iwl_sta_tx_modify_enable_tid(struct iwl_priv *priv, int sta_id, int tid) iwl_sta_tx_modify_enable_tid() argument 1362 iwl_sta_rx_agg_start(struct iwl_priv *priv, struct ieee80211_sta *sta, int tid, u16 ssn) iwl_sta_rx_agg_start() argument 1386 iwl_sta_rx_agg_stop(struct iwl_priv *priv, struct ieee80211_sta *sta, int tid) iwl_sta_rx_agg_stop() argument [all...] |
/kernel/linux/linux-5.10/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 131 pid_t pid = getpid(), tid = syscall(SYS_gettid); in tracee_zap_segment() local 134 syscall(SYS_tgkill, pid, tid, SIGSTOP); in tracee_zap_segment() 165 pid_t pid = getpid(), tid = syscall(SYS_gettid); in main() local 168 syscall(SYS_tgkill, pid, tid, SIGSTOP); in main()
|
/kernel/linux/linux-5.10/tools/perf/tests/ |
H A D | mmap-thread-lookup.c | 27 pid_t tid; member 48 td->tid = syscall(SYS_gettid); in thread_init() 50 pr_debug("tid = %d, map = %p\n", td->tid, map); in thread_init() 190 thread = machine__findnew_thread(machine, getpid(), td->tid); in mmap_events()
|
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | jfs_txnmgr.h | 13 #define tid_to_tblock(tid) (&TxBlock[tid]) 35 lid_t next; /* index of first tlock of tid */ 36 lid_t last; /* index of last tlock of tid */ 37 wait_queue_head_t waitor; /* tids waiting on this tid */ 83 lid_t next; /* 2: index next lockword on tid locklist 86 tid_t tid; /* 2: transaction id holding lock */ member 261 tid_t tid; /* tid = index of tblock */ member
|
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | jfs_txnmgr.h | 13 #define tid_to_tblock(tid) (&TxBlock[tid]) 35 lid_t next; /* index of first tlock of tid */ 36 lid_t last; /* index of last tlock of tid */ 37 wait_queue_head_t waitor; /* tids waiting on this tid */ 83 lid_t next; /* 2: index next lockword on tid locklist 86 tid_t tid; /* 2: transaction id holding lock */ member 261 tid_t tid; /* tid = index of tblock */ member
|
/kernel/linux/linux-6.6/tools/perf/tests/ |
H A D | mmap-thread-lookup.c | 27 pid_t tid; member 48 td->tid = syscall(SYS_gettid); in thread_init() 50 pr_debug("tid = %d, map = %p\n", td->tid, map); in thread_init() 191 thread = machine__findnew_thread(machine, getpid(), td->tid); in mmap_events()
|
/kernel/linux/linux-6.6/scripts/gdb/linux/ |
H A D | cpus.py | 29 tid = gdb.selected_thread().ptid[2] 30 if tid > (0x100000000 - MAX_CPUS - 2): 31 return 0x100000000 - tid - 2 33 return tasks.get_thread_info(tasks.get_task_by_pid(tid))['cpu']
|
/kernel/linux/linux-6.6/tools/testing/selftests/x86/ |
H A D | fsgsbase_restore.c | 131 pid_t pid = getpid(), tid = syscall(SYS_gettid); in tracee_zap_segment() local 134 syscall(SYS_tgkill, pid, tid, SIGSTOP); in tracee_zap_segment() 165 pid_t pid = getpid(), tid = syscall(SYS_gettid); in main() local 168 syscall(SYS_tgkill, pid, tid, SIGSTOP); in main()
|
/third_party/libabigail/src/ |
H A D | abg-workers.cc | 84 pthread_t tid; member 87 : tid() in worker() 166 ABG_ASSERT(pthread_create(&w.tid, in create_workers() 249 ABG_ASSERT(pthread_join(i->tid, /*thread_return=*/0) == 0); in do_bring_workers_down()
|
/kernel/linux/linux-6.6/drivers/net/ |
H A D | gtp.c | 42 u64 tid; member 108 static inline u32 gtp0_hashfn(u64 tid) in gtp0_hashfn() argument 110 u32 *tid32 = (u32 *) &tid; in gtp0_hashfn() 114 static inline u32 gtp1u_hashfn(u32 tid) in gtp1u_hashfn() argument 116 return jhash_1word(tid, gtp_h_initval); in gtp1u_hashfn() 125 static struct pdp_ctx *gtp0_pdp_find(struct gtp_dev *gtp, u64 tid) in gtp0_pdp_find() argument 130 head = >p->tid_hash[gtp0_hashfn(tid) % gtp->hash_size]; in gtp0_pdp_find() 134 pdp->u.v0.tid == tid) in gtp0_pdp_find() 141 static struct pdp_ctx *gtp1_pdp_find(struct gtp_dev *gtp, u32 tid) in gtp1_pdp_find() argument [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | machine.c | 409 if (th->pid_ == th->tid) in machine__update_thread_pid() 428 * tid. Consequently there never should be any maps on a thread in machine__update_thread_pid() 433 th->pid_, th->tid); in machine__update_thread_pid() 442 pr_err("Failed to join map groups for %d:%d\n", th->pid_, th->tid); in machine__update_thread_pid() 453 int pid, int tid) in __threads__get_last_match() 459 if (th->tid == tid) { in __threads__get_last_match() 472 int pid, int tid) in threads__get_last_match() 477 th = __threads__get_last_match(threads, machine, pid, tid); in threads__get_last_match() 501 pid_t pid, pid_t tid, in ____machine__findnew_thread() 452 __threads__get_last_match(struct threads *threads, struct machine *machine, int pid, int tid) __threads__get_last_match() argument 471 threads__get_last_match(struct threads *threads, struct machine *machine, int pid, int tid) threads__get_last_match() argument 499 ____machine__findnew_thread(struct machine *machine, struct threads *threads, pid_t pid, pid_t tid, bool create) ____machine__findnew_thread() argument 563 __machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid) __machine__findnew_thread() argument 568 machine__findnew_thread(struct machine *machine, pid_t pid, pid_t tid) machine__findnew_thread() argument 580 machine__find_thread(struct machine *machine, pid_t pid, pid_t tid) machine__find_thread() argument 2987 machine__set_current_tid(struct machine *machine, int cpu, pid_t pid, pid_t tid) machine__set_current_tid() argument [all...] |
/kernel/linux/linux-5.10/arch/s390/kvm/ |
H A D | diag.c | 156 int tid; in __diag_time_slice_end_directed() local 158 tid = vcpu->run->s.regs.gprs[(vcpu->arch.sie_block->ipa & 0xf0) >> 4]; in __diag_time_slice_end_directed() 162 if (tid == vcpu->vcpu_id) in __diag_time_slice_end_directed() 166 tcpu = kvm_get_vcpu_by_id(vcpu->kvm, tid); in __diag_time_slice_end_directed() 177 VCPU_EVENT(vcpu, 5, "diag time slice end directed to %d: done", tid); in __diag_time_slice_end_directed() 180 VCPU_EVENT(vcpu, 5, "diag time slice end directed to %d: ignored", tid); in __diag_time_slice_end_directed()
|