Home
last modified time | relevance | path

Searched refs:tid (Results 101 - 125 of 1909) sorted by relevance

12345678910>>...77

/kernel/linux/linux-6.6/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c22 u16 tid, u16 ssn) in iwl_mvm_bar_check_trigger()
33 if (!(le16_to_cpu(ba_trig->tx_bar) & BIT(tid))) in iwl_mvm_bar_check_trigger()
37 "BAR sent to %pM, tid %d, ssn %d", in iwl_mvm_bar_check_trigger()
38 addr, tid, ssn); in iwl_mvm_bar_check_trigger()
831 struct ieee80211_sta *sta, unsigned int tid) in iwl_mvm_max_amsdu_size()
834 u8 ac = tid_to_mac80211_ac[tid]; in iwl_mvm_max_amsdu_size()
965 u8 tid; in iwl_mvm_tx_tso() local
986 tid = ieee80211_get_tid(hdr); in iwl_mvm_tx_tso()
987 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwl_mvm_tx_tso()
995 !mvmsta->tid_data[tid] in iwl_mvm_tx_tso()
21 iwl_mvm_bar_check_trigger(struct iwl_mvm *mvm, const u8 *addr, u16 tid, u16 ssn) iwl_mvm_bar_check_trigger() argument
830 iwl_mvm_max_amsdu_size(struct iwl_mvm *mvm, struct ieee80211_sta *sta, unsigned int tid) iwl_mvm_max_amsdu_size() argument
1076 int tid; iwl_mvm_txq_should_update() local
1111 iwl_mvm_tx_pkt_queued(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int tid) iwl_mvm_tx_pkt_queued() argument
1143 u8 tid = IWL_MAX_TID_COUNT; iwl_mvm_tx_mpdu() local
1377 iwl_mvm_check_ratid_empty(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 tid) iwl_mvm_check_ratid_empty() argument
1642 int tid = IWL_MVM_TX_RES_GET_TID(tx_resp->ra_tid); iwl_mvm_rx_tx_cmd_single() local
1932 int tid = IWL_MVM_TX_RES_GET_TID(tx_resp->ra_tid); iwl_mvm_rx_tx_cmd_agg() local
1979 iwl_mvm_tx_reclaim(struct iwl_mvm *mvm, int sta_id, int tid, int txq, int index, struct ieee80211_tx_info *tx_info, u32 rate, bool is_flush) iwl_mvm_tx_reclaim() argument
2126 int sta_id, tid, txq, index; iwl_mvm_rx_ba_notif() local
2334 int tid = le16_to_cpu(queue_info->tid); iwl_mvm_flush_sta_tids() local
[all...]
/kernel/linux/linux-5.10/sound/pci/emu10k1/
H A Dtimer.c67 struct snd_timer_id tid; in snd_emu10k1_timer() local
70 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_emu10k1_timer()
71 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_emu10k1_timer()
72 tid.card = emu->card->number; in snd_emu10k1_timer()
73 tid.device = device; in snd_emu10k1_timer()
74 tid.subdevice = 0; in snd_emu10k1_timer()
75 if ((err = snd_timer_new(emu->card, "EMU10K1", &tid, &timer)) >= 0) { in snd_emu10k1_timer()
/kernel/linux/linux-6.6/sound/pci/emu10k1/
H A Dtimer.c73 struct snd_timer_id tid; in snd_emu10k1_timer() local
76 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_emu10k1_timer()
77 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_emu10k1_timer()
78 tid.card = emu->card->number; in snd_emu10k1_timer()
79 tid.device = device; in snd_emu10k1_timer()
80 tid.subdevice = 0; in snd_emu10k1_timer()
81 err = snd_timer_new(emu->card, "EMU10K1", &tid, &timer); in snd_emu10k1_timer()
/kernel/linux/linux-5.10/kernel/bpf/
H A Dtask_iter.c21 u32 tid; member
25 u32 *tid, in task_seq_get_next()
33 pid = find_ge_pid(*tid, ns); in task_seq_get_next()
35 *tid = pid_nr_ns(pid, ns); in task_seq_get_next()
38 ++*tid; in task_seq_get_next()
44 ++*tid; in task_seq_get_next()
58 task = task_seq_get_next(info->common.ns, &info->tid, false); in task_seq_start()
73 ++info->tid; in task_seq_next()
75 task = task_seq_get_next(info->common.ns, &info->tid, false); in task_seq_next()
134 u32 tid; member
24 task_seq_get_next(struct pid_namespace *ns, u32 *tid, bool skip_if_dup_files) task_seq_get_next() argument
[all...]
/third_party/ltp/testcases/realtime/stress/pi-tests/
H A Dtestpi-3.c101 int rc, i, j, policy, tid = gettid(); in func_nonrt() local
109 printf("Thread %d: Can't set affinity: %d %s\n", tid, rc, in func_nonrt()
128 sched_getparam(tid, &schedp); in func_nonrt()
129 policy = sched_getscheduler(tid); in func_nonrt()
131 "pri %d\n", tid, pthr->priority, i, in func_nonrt()
150 int rc, i, j, policy, tid = gettid(); in func_rt() local
158 printf("Thread %d: Can't set affinity: %d %s\n", tid, rc, in func_rt()
183 sched_getparam(tid, &schedp); in func_rt()
184 policy = sched_getscheduler(tid); in func_rt()
187 tid, pth in func_rt()
206 int rc, i, j, policy, tid = gettid(); func_noise() local
[all...]
/third_party/musl/porting/liteos_a/user/src/thread/
H A Dpthread_join.c13 unsigned int tid; in __pthread_timedjoin_np() local
25 r = __syscall(SYS_pthread_join, t->tid); in __pthread_timedjoin_np()
41 tid = t->tid; in __pthread_timedjoin_np()
42 t->tid = 0; in __pthread_timedjoin_np()
43 return __syscall(SYS_pthread_deatch, tid); in __pthread_timedjoin_np()
/kernel/liteos_m/testsuites/unittest/xts/ipc/mutex/
H A Dpthread_mutex_test.c117 pthread_t tid[2]; /* 2, common data for test, no special meaning */ variable
120 memset_s(tid, sizeof(tid), POSIX_IPC_NO_ERROR, sizeof(tid));
122 ret = pthread_create(&tid[0], NULL, PthreadProduce, NULL);
124 ret = pthread_create(&tid[1], NULL, PthreadConsume, NULL); /* 1, common data for test, no special meaning */
126 ret = pthread_join(tid[0], NULL);
128 ret = pthread_join(tid[1], NULL); /* 1, common data for test, no special meaning */
/third_party/musl/porting/linux/user/src/linux/
H A Dclone.c37 self->tid = __syscall(SYS_gettid); in __start_child()
38 self->pid = self->tid; in __start_child()
70 pid_t caller_tid = self->tid; in clone()
73 self->tid = -1; in clone()
95 self->tid = caller_tid; in clone()
96 } else if (self->tid == -1) { in clone()
97 self->tid = __syscall(SYS_gettid); in clone()
98 self->pid = self->tid; in clone()
/third_party/musl/src/linux/linux/
H A Dclone.c52 self->tid = __syscall(SYS_gettid); in __start_child()
53 self->pid = self->tid; in __start_child()
85 pid_t caller_tid = self->tid; in clone()
88 self->tid = -1; in clone()
110 self->tid = caller_tid; in clone()
111 } else if (self->tid == -1) { in clone()
112 self->tid = __syscall(SYS_gettid); in clone()
113 self->pid = self->tid; in clone()
/third_party/ltp/testcases/realtime/func/thread_clock/
H A Dtc-2.c92 int tid = (int)(long)pthr->arg; in workerthread() local
93 struct timespec *ts = &workts[tid]; in workerthread()
96 printf("Worker thread %d working\n", tid); in workerthread()
106 tid, ts->tv_sec, ts->tv_nsec); in workerthread()
114 int tid = (int)(long)pthr->arg; in sleeperthread() local
115 struct timespec *ts = &sleepts[tid]; in sleeperthread()
118 printf("Sleeper thread %d sleeping\n", tid); in sleeperthread()
129 tid, ts->tv_sec, ts->tv_nsec); in sleeperthread()
/third_party/musl/src/stdio/
H A D__lockfile.c6 int owner = f->lock, tid = __pthread_self()->tid; in __lockfile() local
7 if ((owner & ~MAYBE_WAITERS) == tid) in __lockfile()
9 owner = a_cas(&f->lock, 0, tid); in __lockfile()
11 while ((owner = a_cas(&f->lock, 0, tid|MAYBE_WAITERS))) { in __lockfile()
/third_party/musl/src/thread/
H A Dpthread_getschedparam.c10 if (!t->tid) { in pthread_getschedparam()
14 r = __syscall(SYS_sched_getparam, t->tid, param, MUSL_TYPE_THREAD); in pthread_getschedparam()
16 r = __syscall(SYS_sched_getscheduler, t->tid, MUSL_TYPE_THREAD); in pthread_getschedparam()
27 r = -__syscall(SYS_sched_getparam, t->tid, param); in pthread_getschedparam()
29 *policy = __syscall(SYS_sched_getscheduler, t->tid); in pthread_getschedparam()
/kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/
H A D11n_rxreorder.c242 mwifiex_11n_get_rx_reorder_tbl(struct mwifiex_private *priv, int tid, u8 *ta) in mwifiex_11n_get_rx_reorder_tbl() argument
248 if (!memcmp(tbl->ta, ta, ETH_ALEN) && tbl->tid == tid) { in mwifiex_11n_get_rx_reorder_tbl()
342 int tid, int win_size, int seq_num) in mwifiex_11n_create_rx_reorder_tbl()
353 tbl = mwifiex_11n_get_rx_reorder_tbl(priv, tid, ta); in mwifiex_11n_create_rx_reorder_tbl()
364 new_node->tid = tid; in mwifiex_11n_create_rx_reorder_tbl()
375 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
380 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
382 last_seq = priv->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
341 mwifiex_11n_create_rx_reorder_tbl(struct mwifiex_private *priv, u8 *ta, int tid, int win_size, int seq_num) mwifiex_11n_create_rx_reorder_tbl() argument
472 u8 tid; mwifiex_cmd_11n_addba_rsp_gen() local
559 mwifiex_11n_rx_reorder_pkt(struct mwifiex_private *priv, u16 seq_num, u16 tid, u8 *ta, u8 pkt_type, void *payload) mwifiex_11n_rx_reorder_pkt() argument
672 mwifiex_del_ba_tbl(struct mwifiex_private *priv, int tid, u8 *peer_mac, u8 type, int initiator) mwifiex_del_ba_tbl() argument
728 int tid, win_size; mwifiex_ret_11n_addba_resp() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/marvell/mwifiex/
H A D11n_rxreorder.c230 mwifiex_11n_get_rx_reorder_tbl(struct mwifiex_private *priv, int tid, u8 *ta) in mwifiex_11n_get_rx_reorder_tbl() argument
236 if (!memcmp(tbl->ta, ta, ETH_ALEN) && tbl->tid == tid) { in mwifiex_11n_get_rx_reorder_tbl()
330 int tid, int win_size, int seq_num) in mwifiex_11n_create_rx_reorder_tbl()
341 tbl = mwifiex_11n_get_rx_reorder_tbl(priv, tid, ta); in mwifiex_11n_create_rx_reorder_tbl()
352 new_node->tid = tid; in mwifiex_11n_create_rx_reorder_tbl()
363 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
368 last_seq = node->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
370 last_seq = priv->rx_seq[tid]; in mwifiex_11n_create_rx_reorder_tbl()
329 mwifiex_11n_create_rx_reorder_tbl(struct mwifiex_private *priv, u8 *ta, int tid, int win_size, int seq_num) mwifiex_11n_create_rx_reorder_tbl() argument
460 u8 tid; mwifiex_cmd_11n_addba_rsp_gen() local
547 mwifiex_11n_rx_reorder_pkt(struct mwifiex_private *priv, u16 seq_num, u16 tid, u8 *ta, u8 pkt_type, void *payload) mwifiex_11n_rx_reorder_pkt() argument
660 mwifiex_del_ba_tbl(struct mwifiex_private *priv, int tid, u8 *peer_mac, u8 type, int initiator) mwifiex_del_ba_tbl() argument
716 int tid, win_size; mwifiex_ret_11n_addba_resp() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/intel/iwlwifi/mvm/
H A Dtx.c77 u16 tid, u16 ssn) in iwl_mvm_bar_check_trigger()
88 if (!(le16_to_cpu(ba_trig->tx_bar) & BIT(tid))) in iwl_mvm_bar_check_trigger()
92 "BAR sent to %pM, tid %d, ssn %d", in iwl_mvm_bar_check_trigger()
93 addr, tid, ssn); in iwl_mvm_bar_check_trigger()
794 struct ieee80211_sta *sta, unsigned int tid) in iwl_mvm_max_amsdu_size()
798 u8 ac = tid_to_mac80211_ac[tid]; in iwl_mvm_max_amsdu_size()
897 u8 tid; in iwl_mvm_tx_tso() local
918 tid = ieee80211_get_tid(hdr); in iwl_mvm_tx_tso()
919 if (WARN_ON_ONCE(tid >= IWL_MAX_TID_COUNT)) in iwl_mvm_tx_tso()
927 !mvmsta->tid_data[tid] in iwl_mvm_tx_tso()
76 iwl_mvm_bar_check_trigger(struct iwl_mvm *mvm, const u8 *addr, u16 tid, u16 ssn) iwl_mvm_bar_check_trigger() argument
793 iwl_mvm_max_amsdu_size(struct iwl_mvm *mvm, struct ieee80211_sta *sta, unsigned int tid) iwl_mvm_max_amsdu_size() argument
1008 int tid; iwl_mvm_txq_should_update() local
1043 iwl_mvm_tx_pkt_queued(struct iwl_mvm *mvm, struct iwl_mvm_sta *mvmsta, int tid) iwl_mvm_tx_pkt_queued() argument
1074 u8 tid = IWL_MAX_TID_COUNT; iwl_mvm_tx_mpdu() local
1260 iwl_mvm_check_ratid_empty(struct iwl_mvm *mvm, struct ieee80211_sta *sta, u8 tid) iwl_mvm_check_ratid_empty() argument
1461 int tid = IWL_MVM_TX_RES_GET_TID(tx_resp->ra_tid); iwl_mvm_rx_tx_cmd_single() local
1735 int tid = IWL_MVM_TX_RES_GET_TID(tx_resp->ra_tid); iwl_mvm_rx_tx_cmd_agg() local
1782 iwl_mvm_tx_reclaim(struct iwl_mvm *mvm, int sta_id, int tid, int txq, int index, struct ieee80211_tx_info *ba_info, u32 rate) iwl_mvm_tx_reclaim() argument
1923 int sta_id, tid, txq, index; iwl_mvm_rx_ba_notif() local
[all...]
/kernel/linux/linux-5.10/sound/isa/gus/
H A Dgus_timer.c144 struct snd_timer_id tid; in snd_gf1_timers_init() local
152 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_gf1_timers_init()
153 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_gf1_timers_init()
154 tid.card = gus->card->number; in snd_gf1_timers_init()
155 tid.device = gus->timer_dev; in snd_gf1_timers_init()
156 tid.subdevice = 0; in snd_gf1_timers_init()
158 if (snd_timer_new(gus->card, "GF1 timer", &tid, &timer) >= 0) { in snd_gf1_timers_init()
166 tid.device++; in snd_gf1_timers_init()
168 if (snd_timer_new(gus->card, "GF1 timer", &tid, &timer) >= 0) { in snd_gf1_timers_init()
/kernel/linux/linux-6.6/sound/isa/gus/
H A Dgus_timer.c144 struct snd_timer_id tid; in snd_gf1_timers_init() local
152 tid.dev_class = SNDRV_TIMER_CLASS_CARD; in snd_gf1_timers_init()
153 tid.dev_sclass = SNDRV_TIMER_SCLASS_NONE; in snd_gf1_timers_init()
154 tid.card = gus->card->number; in snd_gf1_timers_init()
155 tid.device = gus->timer_dev; in snd_gf1_timers_init()
156 tid.subdevice = 0; in snd_gf1_timers_init()
158 if (snd_timer_new(gus->card, "GF1 timer", &tid, &timer) >= 0) { in snd_gf1_timers_init()
166 tid.device++; in snd_gf1_timers_init()
168 if (snd_timer_new(gus->card, "GF1 timer", &tid, &timer) >= 0) { in snd_gf1_timers_init()
/kernel/linux/linux-5.10/tools/perf/util/
H A Dvalues.c16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init()
18 if (!values->pid || !values->tid || !values->value) { in perf_read_values_init()
42 zfree(&values->tid); in perf_read_values_init()
58 zfree(&values->tid); in perf_read_values_destroy()
69 *ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)), in perf_read_values__enlarge_threads()
77 values->tid = ntid; in perf_read_values__enlarge_threads()
89 u32 pid, u32 tid) in perf_read_values__findnew_thread()
94 if (values->pid[i] == pid && values->tid[ in perf_read_values__findnew_thread()
88 perf_read_values__findnew_thread(struct perf_read_values *values, u32 pid, u32 tid) perf_read_values__findnew_thread() argument
184 perf_read_values_add_value(struct perf_read_values *values, u32 pid, u32 tid, u64 rawid, const char *name, u64 value) perf_read_values_add_value() argument
[all...]
/kernel/linux/linux-6.6/tools/perf/util/
H A Dvalues.c16 values->tid = malloc(values->threads_max * sizeof(*values->tid)); in perf_read_values_init()
18 if (!values->pid || !values->tid || !values->value) { in perf_read_values_init()
42 zfree(&values->tid); in perf_read_values_init()
58 zfree(&values->tid); in perf_read_values_destroy()
69 *ntid = realloc(values->tid, nthreads_max * sizeof(*values->tid)), in perf_read_values__enlarge_threads()
77 values->tid = ntid; in perf_read_values__enlarge_threads()
89 u32 pid, u32 tid) in perf_read_values__findnew_thread()
94 if (values->pid[i] == pid && values->tid[ in perf_read_values__findnew_thread()
88 perf_read_values__findnew_thread(struct perf_read_values *values, u32 pid, u32 tid) perf_read_values__findnew_thread() argument
184 perf_read_values_add_value(struct perf_read_values *values, u32 pid, u32 tid, u64 rawid, const char *name, u64 value) perf_read_values_add_value() argument
[all...]
/third_party/ltp/testcases/kernel/syscalls/tgkill/
H A Dtgkill02.c26 pid_t *tid = arg; in thread_func() local
37 *tid = sys_gettid(); in thread_func()
47 pid_t tid = -1; in run() local
49 SAFE_PTHREAD_CREATE(&thread, NULL, thread_func, &tid); in run()
53 TEST(sys_tgkill(getpid(), tid, SIGRTMIN)); in run()
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/timer_create/speculative/
H A D2-1.c36 timer_t tid; in main() local
56 if (timer_create(CLOCK_REALTIME, &ev, &tid) != 0) { in main()
65 tids[i] = tid; in main()
66 if (lfind(&tid, tids, &i, sizeof(timer_t), compare) != NULL) { in main()
67 printf("Duplicate tid found %ld\n", (long)tid); in main()
/third_party/libuv/src/win/
H A Dthread.c114 int uv_thread_create(uv_thread_t *tid, void (*entry)(void *arg), void *arg) { in uv_thread_create() argument
117 return uv_thread_create_ex(tid, &params, entry, arg); in uv_thread_create()
120 int uv_thread_create_ex(uv_thread_t* tid, in uv_thread_create_ex() argument
164 *tid = thread; in uv_thread_create_ex()
183 int uv_thread_setaffinity(uv_thread_t* tid, in uv_thread_setaffinity() argument
214 oldthreadmask = SetThreadAffinityMask(*tid, threadmask); in uv_thread_setaffinity()
226 int uv_thread_getaffinity(uv_thread_t* tid, in uv_thread_getaffinity() argument
245 threadmask = SetThreadAffinityMask(*tid, procmask); in uv_thread_getaffinity()
246 if (threadmask == 0 || SetThreadAffinityMask(*tid, threadmask) == 0) in uv_thread_getaffinity()
277 int uv_thread_join(uv_thread_t *tid) { in uv_thread_join() argument
[all...]
/foundation/arkui/napi/native_engine/
H A Dnative_api_internal.h84 ThreadId tid = NativeEngine::GetCurSysTid(); \
85 if (tid != engine->GetSysTid()) { \
88 engine->GetSysTid(), tid); \
97 ThreadId tid = NativeEngine::GetCurSysTid(); \
98 if (tid != engine->GetSysTid()) { \
101 engine->GetSysTid(), tid); \
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/fuzztest/rstaskdispatcher_fuzzer/
H A Drstaskdispatcher_fuzzer.cpp67 int tid = GetData<int>(); in DoRegisterTaskDispatchFunc() local
75 RSTaskDispatcher::GetInstance().RegisterTaskDispatchFunc(tid, taskDispatchFunc); in DoRegisterTaskDispatchFunc()
89 int tid = GetData<int>(); in DoPostTask() local
92 RSTaskDispatcher::GetInstance().PostTask(tid, task); in DoPostTask()
106 int tid = GetData<int>(); in DoHasRegisteredTask() local
107 RSTaskDispatcher::GetInstance().HasRegisteredTask(tid); in DoHasRegisteredTask()
/foundation/resourceschedule/ffrt/src/eu/
H A Dthread_group.h85 bool Join(pid_t tid) in Join() argument
90 return RTGCtrl::Instance().JoinThread(tgid, tid); in Join()
101 bool Leave(pid_t tid) in Leave() argument
106 return RTGCtrl::Instance().RemoveThread(tgid, tid); in Leave()
133 RTGLoadInfo GetLoad(pid_t tid) in GetLoad() argument
138 return RTGCtrl::Instance().UpdateAndGetLoad(tgid, tid); in GetLoad()

Completed in 13 milliseconds

12345678910>>...77