/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_settime/ |
H A D | 8-3.c | 34 timer_t tid; in main() local 45 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 50 if (timer_settime(tid, 0, &its, &oits) != 0) { in main() 57 if (timer_settime(tid, 0, &its, &oits) != 0) { in main()
|
H A D | 8-4.c | 31 timer_t tid; in main() local 42 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main() 47 if (timer_settime(tid, 0, &its, &oits) != 0) { in main() 55 if (timer_settime(tid, 0, &its, &oits) != 0) { in main()
|
/kernel/linux/linux-5.10/sound/drivers/opl3/ |
H A D | opl3_lib.c | 238 struct snd_timer_id tid; in snd_opl3_timer1_init() local 241 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_opl3_timer1_init() 242 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_opl3_timer1_init() 243 tid.card = opl3->card->number; in snd_opl3_timer1_init() 244 tid.device = timer_no; in snd_opl3_timer1_init() 245 tid.subdevice = 0; in snd_opl3_timer1_init() 246 if ((err = snd_timer_new(opl3->card, "AdLib timer #1", &tid, &timer)) >= 0) { in snd_opl3_timer1_init() 258 struct snd_timer_id tid; in snd_opl3_timer2_init() local 261 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_opl3_timer2_init() 262 tid in snd_opl3_timer2_init() [all...] |
/kernel/linux/linux-5.10/tools/perf/util/ |
H A D | thread_map.c | 61 struct perf_thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid() argument 66 perf_thread_map__set_pid(threads, 0, tid); in thread_map__new_by_tid() 170 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() argument 175 if (tid == -1 && uid != UINT_MAX) in thread_map__new() 178 return thread_map__new_by_tid(tid); in thread_map__new() 247 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str() local 253 /* perf-stat expects threads to be generated even if tid not given */ in thread_map__new_by_tid_str() 262 tid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_tid_str() 264 if (tid == INT_MIN || tid in thread_map__new_by_tid_str() 292 thread_map__new_str(const char *pid, const char *tid, uid_t uid, bool all_threads) thread_map__new_str() argument [all...] |
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | thread_map.c | 62 struct perf_thread_map *thread_map__new_by_tid(pid_t tid) in thread_map__new_by_tid() argument 67 perf_thread_map__set_pid(threads, 0, tid); in thread_map__new_by_tid() 171 struct perf_thread_map *thread_map__new(pid_t pid, pid_t tid, uid_t uid) in thread_map__new() argument 176 if (tid == -1 && uid != UINT_MAX) in thread_map__new() 179 return thread_map__new_by_tid(tid); in thread_map__new() 248 pid_t tid, prev_tid = INT_MAX; in thread_map__new_by_tid_str() local 254 /* perf-stat expects threads to be generated even if tid not given */ in thread_map__new_by_tid_str() 263 tid = strtol(pos->s, &end_ptr, 10); in thread_map__new_by_tid_str() 265 if (tid == INT_MIN || tid in thread_map__new_by_tid_str() 293 thread_map__new_str(const char *pid, const char *tid, uid_t uid, bool all_threads) thread_map__new_str() argument [all...] |
/kernel/linux/linux-6.6/sound/drivers/opl3/ |
H A D | opl3_lib.c | 238 struct snd_timer_id tid; in snd_opl3_timer1_init() local 241 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_opl3_timer1_init() 242 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_opl3_timer1_init() 243 tid.card = opl3->card->number; in snd_opl3_timer1_init() 244 tid.device = timer_no; in snd_opl3_timer1_init() 245 tid.subdevice = 0; in snd_opl3_timer1_init() 246 err = snd_timer_new(opl3->card, "AdLib timer #1", &tid, &timer); in snd_opl3_timer1_init() 259 struct snd_timer_id tid; in snd_opl3_timer2_init() local 262 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_opl3_timer2_init() 263 tid in snd_opl3_timer2_init() [all...] |
/third_party/elfutils/libdwfl/ |
H A D | dwfl_frame.c | 240 return thread->tid; in INTDEF() 274 thread.tid = process->callbacks->next_thread (dwfl, in INTDEF() 277 if (thread.tid < 0) in INTDEF() 279 if (thread.tid == 0) in INTDEF() 295 pid_t tid; in INTDEF() local 306 if (! oa->seen && INTUSE(dwfl_thread_tid) (thread) == oa->tid) in get_one_thread_cb() 319 getthread (Dwfl *dwfl, pid_t tid, in getthread() argument 343 if (process->callbacks->get_thread (dwfl, tid, process->callbacks_arg, in getthread() 346 thread.tid = tid; in getthread() 384 dwfl_getthread_frames(Dwfl *dwfl, pid_t tid, int (*callback) (Dwfl_Frame *frame, void *arg), void *arg) dwfl_getthread_frames() argument [all...] |
/third_party/musl/src/thread/linux/ |
H A D | pthread_create.c | 29 snprintf(name, ANON_STACK_NAME_SIZE, "guard:%d", new->tid); in stack_naming() 38 snprintf(name, ANON_STACK_NAME_SIZE, "stack:%d", new->tid); in stack_naming() 67 snprintf(name, ANON_STACK_NAME_SIZE, "signal_stack:%d", __pthread_self()->tid); in __pthread_reserve_signal_stack() 147 int tid = __pthread_self()->tid; in __tl_lock() local 148 if (tid == TID_ERROR_0 || tid == TID_ERROR_INIT) { in __tl_lock() 150 tid = __syscall(SYS_gettid); in __tl_lock() 153 if (val == tid) { in __tl_lock() 158 while ((val = a_cas(&__thread_list_lock, 0, tid))) in __tl_lock() [all...] |
/kernel/linux/linux-5.10/tools/lib/perf/include/perf/ |
H A D | event.h | 15 __u32 pid, tid; member 24 __u32 pid, tid; member 39 __u32 pid, tid; member 45 __u32 pid, tid; member 53 __u32 tid, ptid; member 73 __u32 pid, tid; member 227 __u64 tid; member 249 __u32 tid; member 262 __u32 tid; member 279 __u32 tid; member [all...] |
/kernel/linux/linux-5.10/fs/jfs/ |
H A D | inode.c | 76 tid_t tid; in jfs_commit_inode() local 101 tid = txBegin(inode->i_sb, COMMIT_INODE); in jfs_commit_inode() 108 rc = txCommit(tid, 1, &inode, wait ? COMMIT_SYNC : 0); in jfs_commit_inode() 110 txEnd(tid); in jfs_commit_inode() 378 tid_t tid; in jfs_truncate_nolock() local 388 tid = txBegin(ip->i_sb, 0); in jfs_truncate_nolock() 398 newsize = xtTruncate(tid, ip, length, in jfs_truncate_nolock() 401 txEnd(tid); in jfs_truncate_nolock() 409 txCommit(tid, 1, &ip, 0); in jfs_truncate_nolock() 410 txEnd(tid); in jfs_truncate_nolock() [all...] |
/kernel/linux/linux-6.6/fs/jfs/ |
H A D | inode.c | 76 tid_t tid; in jfs_commit_inode() local 101 tid = txBegin(inode->i_sb, COMMIT_INODE); in jfs_commit_inode() 108 rc = txCommit(tid, 1, &inode, wait ? COMMIT_SYNC : 0); in jfs_commit_inode() 110 txEnd(tid); in jfs_commit_inode() 368 tid_t tid; in jfs_truncate_nolock() local 378 tid = txBegin(ip->i_sb, 0); in jfs_truncate_nolock() 388 newsize = xtTruncate(tid, ip, length, in jfs_truncate_nolock() 391 txEnd(tid); in jfs_truncate_nolock() 399 txCommit(tid, 1, &ip, 0); in jfs_truncate_nolock() 400 txEnd(tid); in jfs_truncate_nolock() [all...] |
H A D | jfs_dtree.c | 139 static int dtSplitUp(tid_t tid, struct inode *ip, 142 static int dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split, 145 static int dtExtendPage(tid_t tid, struct inode *ip, 148 static int dtSplitRoot(tid_t tid, struct inode *ip, 151 static int dtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp, 154 static int dtRelink(tid_t tid, struct inode *ip, dtpage_t * p); 291 static inline void lock_index(tid_t tid, struct inode *ip, struct metapage * mp, in lock_index() argument 298 tlck = txLock(tid, ip, mp, tlckDATA); in lock_index() 321 static u32 add_index(tid_t tid, struct inode *ip, s64 bn, int slot) in add_index() argument 388 xtInitRoot(tid, i in add_index() 483 free_index(tid_t tid, struct inode *ip, u32 index, u32 next) free_index() argument 511 modify_index(tid_t tid, struct inode *ip, u32 index, s64 bn, int slot, struct metapage ** mp, s64 *lblock) modify_index() argument 814 dtInsert(tid_t tid, struct inode *ip, struct component_name * name, ino_t * fsn, struct btstack * btstack) dtInsert() argument 923 dtSplitUp(tid_t tid, struct inode *ip, struct dtsplit * split, struct btstack * btstack) dtSplitUp() argument 1323 dtSplitPage(tid_t tid, struct inode *ip, struct dtsplit * split, struct metapage ** rmpp, dtpage_t ** rpp, pxd_t * rpxdp) dtSplitPage() argument 1635 dtExtendPage(tid_t tid, struct inode *ip, struct dtsplit * split, struct btstack * btstack) dtExtendPage() argument 1868 dtSplitRoot(tid_t tid, struct inode *ip, struct dtsplit * split, struct metapage ** rmpp) dtSplitRoot() argument 2075 dtDelete(tid_t tid, struct inode *ip, struct component_name * key, ino_t * ino, int flag) dtDelete() argument 2230 dtDeleteUp(tid_t tid, struct inode *ip, struct metapage * fmp, dtpage_t * fp, struct btstack * btstack) dtDeleteUp() argument 2442 dtRelink(tid_t tid, struct inode *ip, dtpage_t * p) dtRelink() argument 2521 dtInitRoot(tid_t tid, struct inode *ip, u32 idotdot) dtInitRoot() argument 2624 tid_t tid; add_missing_indices() local 4214 dtModify(tid_t tid, struct inode *ip, struct component_name * key, ino_t * orig_ino, ino_t new_ino, int flag) dtModify() argument [all...] |
/kernel/linux/linux-6.6/tools/lib/perf/include/perf/ |
H A D | event.h | 15 __u32 pid, tid; member 24 __u32 pid, tid; member 49 __u32 pid, tid; member 55 __u32 pid, tid; member 63 __u32 tid, ptid; member 85 __u32 pid, tid; member 311 __u64 tid; member 338 __u32 tid; member 351 __u32 tid; member 370 __u32 tid; member [all...] |
/kernel/linux/linux-5.10/net/mac80211/ |
H A D | key.c | 1146 int tid, struct ieee80211_key_seq *seq) in ieee80211_get_key_rx_seq() 1155 if (WARN_ON(tid < 0 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq() 1157 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq() 1158 seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; in ieee80211_get_key_rx_seq() 1162 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq() 1164 if (tid < 0) in ieee80211_get_key_rx_seq() 1167 pn = key->u.ccmp.rx_pn[tid]; in ieee80211_get_key_rx_seq() 1172 if (WARN_ON(tid ! in ieee80211_get_key_rx_seq() 1145 ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf, int tid, struct ieee80211_key_seq *seq) ieee80211_get_key_rx_seq() argument 1198 ieee80211_set_key_rx_seq(struct ieee80211_key_conf *keyconf, int tid, struct ieee80211_key_seq *seq) ieee80211_set_key_rx_seq() argument [all...] |
/kernel/linux/linux-6.6/net/mac80211/ |
H A D | key.c | 1247 int tid, struct ieee80211_key_seq *seq) in ieee80211_get_key_rx_seq() 1256 if (WARN_ON(tid < 0 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq() 1258 seq->tkip.iv32 = key->u.tkip.rx[tid].iv32; in ieee80211_get_key_rx_seq() 1259 seq->tkip.iv16 = key->u.tkip.rx[tid].iv16; in ieee80211_get_key_rx_seq() 1263 if (WARN_ON(tid < -1 || tid >= IEEE80211_NUM_TIDS)) in ieee80211_get_key_rx_seq() 1265 if (tid < 0) in ieee80211_get_key_rx_seq() 1268 pn = key->u.ccmp.rx_pn[tid]; in ieee80211_get_key_rx_seq() 1273 if (WARN_ON(tid ! in ieee80211_get_key_rx_seq() 1246 ieee80211_get_key_rx_seq(struct ieee80211_key_conf *keyconf, int tid, struct ieee80211_key_seq *seq) ieee80211_get_key_rx_seq() argument 1299 ieee80211_set_key_rx_seq(struct ieee80211_key_conf *keyconf, int tid, struct ieee80211_key_seq *seq) ieee80211_set_key_rx_seq() argument [all...] |
/kernel/linux/linux-5.10/drivers/scsi/qedi/ |
H A D | qedi_fw.c | 59 "Freeing tid=0x%x for cid=0x%x\n", in qedi_process_logout_resp() 69 "Active cmd list node already deleted, tid=0x%x, cid=0x%x, io_cmd_node=%p\n", in qedi_process_logout_resp() 123 "Freeing tid=0x%x for cid=0x%x\n", in qedi_process_text_resp() 133 "Active cmd list node already deleted, tid=0x%x, cid=0x%x, io_cmd_node=%p\n", in qedi_process_text_resp() 303 "Freeing tid=0x%x for cid=0x%x\n", in qedi_process_login_resp() 448 "Freeing tid=0x%x for cid=0x%x\n", in qedi_process_nopin_mesg() 639 "Under flow itt=0x%x proto flags=0x%x tid=0x%x cid 0x%x fw resid 0x%x sc dlen 0x%x\n", in qedi_scsi_completion() 657 "Freeing tid=0x%x for cid=0x%x\n", in qedi_scsi_completion() 759 "TMF work not found, cqe->tid=0x%x, cid=0x%x\n", in qedi_process_cmd_cleanup_resp() 776 "TMF work, cqe->tid in qedi_process_cmd_cleanup_resp() 1009 s16 tid = 0; qedi_send_iscsi_login() local 1111 s16 tid = 0; qedi_send_iscsi_logout() local 1364 s16 tid = 0; qedi_tmf_work() local 1468 s16 tid = 0; qedi_send_iscsi_tmf() local 1555 s16 tid = 0; qedi_iscsi_abort_work() local 1606 s16 tid = 0; qedi_send_iscsi_text() local 1706 s16 tid = 0; qedi_send_iscsi_nopout() local 1970 qedi_trace_io(struct qedi_ctx *qedi, struct iscsi_task *task, u16 tid, int8_t direction) qedi_trace_io() argument 2048 s16 tid = 0; qedi_iscsi_send_ioreq() local [all...] |
/third_party/musl/libc-test/src/functionalext/thread/ |
H A D | pthread_cond_timedwait.c | 303 pthread_t tid; in clockwait_timedwait_0020() local 304 EXPECT_EQ(pthread_create(&tid, NULL, ClockWaitTimeOut, NULL), 0); in clockwait_timedwait_0020() 306 pthread_join(tid, NULL); in clockwait_timedwait_0020() 381 pthread_t tid; in clockwait_timedwait_0040() local 382 EXPECT_EQ(pthread_create(&tid, NULL, ClockWaitTimeOut2, NULL), 0); in clockwait_timedwait_0040() 384 pthread_join(tid, NULL); in clockwait_timedwait_0040() 441 pthread_t tid; in clockwait_timedwait_0050() local 446 EXPECT_EQ(pthread_create(&tid, NULL, ClockWaitTimeMismatch, NULL), 0); in clockwait_timedwait_0050() 450 pthread_join(tid, NULL); in clockwait_timedwait_0050() 484 pthread_t tid; in clockwait_timedwait_0060() local 605 pthread_t tid; monotonic_timewait_0020() local 634 pthread_t tid; monotonic_timewait_0030() local 711 pthread_t tid; timeoutnp_timewait_0020() local [all...] |
/kernel/liteos_a/testsuites/unittest/process/lock/mutex/smoke/ |
H A D | pthread_mutex_test_001.cpp | 43 int tid = Gettid(); in ThreadFuncTest3() local 49 g_testInfo[g_testToCount] = tid; in ThreadFuncTest3() 55 ICUNIT_GOTO_EQUAL(g_testInfo[g_testBackCount], tid, tid, EXIT); in ThreadFuncTest3()
|
/test/xts/hats/kernel/syscalls/system/setrobustlist/ |
H A D | SetrobustlistApiTest.cpp | 44 int SetRobustList(int tid, void *list, size_t len) in SetRobustList() argument 46 return syscall(__NR_set_robust_list, tid, list, len); in SetRobustList() 83 pid_t tid = pthread_self(); in HWTEST_F() local 87 int ret = SetRobustList(tid, setRobustList, sizeof(struct RobustList)); in HWTEST_F()
|
/third_party/elfutils/backends/ |
H A D | sparc_initreg.c | 44 EBLHOOK (set_initial_registers_tid) (pid_t tid __attribute__ ((unused)), in set_initial_registers_tid() 60 if (ptrace (PTRACE_GETREGS, tid, ®s, 0) == -1) in set_initial_registers_tid() 94 locals_outs[i] = ptrace (PTRACE_PEEKDATA, tid, in set_initial_registers_tid() 107 Dwarf_Word tuple = ptrace (PTRACE_PEEKDATA, tid, in set_initial_registers_tid()
|
/third_party/musl/src/stdio/ |
H A D | ftrylockfile.c | 33 int tid = self->tid; in ftrylockfile() local 35 if ((owner & ~MAYBE_WAITERS) == tid) { in ftrylockfile() 42 if (owner || a_cas(&f->lock, 0, tid)) in ftrylockfile()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setparam/ |
H A D | 21-1.c | 34 pthread_t tid; in main() local 64 if (pthread_create(&tid, &attr, runner, NULL) != 0) { in main() 69 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { in main() 74 pthread_cancel(tid); in main()
|
H A D | 21-2.c | 34 pthread_t tid; in main() local 64 if (pthread_create(&tid, &attr, runner, NULL) != 0) { in main() 69 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { in main() 74 pthread_cancel(tid); in main()
|
H A D | 20-1.c | 34 pthread_t tid; in main() local 60 if (pthread_create(&tid, &attr, runner, NULL) != 0) { in main() 71 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { in main() 76 pthread_cancel(tid); in main()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sched_setscheduler/ |
H A D | 15-2.c | 35 pthread_t tid; in main() local 60 if (pthread_create(&tid, &attr, runner, NULL) != 0) { in main() 76 if (pthread_getschedparam(tid, &policy, ¶m) != 0) { in main() 81 pthread_cancel(tid); in main()
|