Home
last modified time | relevance | path

Searched refs:thread (Results 1 - 25 of 2434) sorted by relevance

12345678910>>...98

/kernel/linux/linux-6.6/tools/perf/util/
H A Dthread.h35 struct thread *thread; member
38 DECLARE_RC_STRUCT(thread) { in DECLARE_RC_STRUCT()
44 int guest_cpu; /* For QEMU thread */ in DECLARE_RC_STRUCT()
70 struct thread *thread__new(pid_t pid, pid_t tid);
71 int thread__init_maps(struct thread *thread, struct machine *machine);
72 void thread__delete(struct thread *thread);
76 struct thread *thread__ge
79 __thread__zput(struct thread **thread) __thread__zput() argument
93 thread__set_comm(struct thread *thread, const char *comm, u64 timestamp) thread__set_comm() argument
127 thread__maps(struct thread *thread) thread__maps() argument
132 thread__set_maps(struct thread *thread, struct maps *maps) thread__set_maps() argument
137 thread__pid(const struct thread *thread) thread__pid() argument
142 thread__set_pid(struct thread *thread, pid_t pid_) thread__set_pid() argument
147 thread__tid(const struct thread *thread) thread__tid() argument
152 thread__set_tid(struct thread *thread, pid_t tid) thread__set_tid() argument
157 thread__ppid(const struct thread *thread) thread__ppid() argument
162 thread__set_ppid(struct thread *thread, pid_t ppid) thread__set_ppid() argument
167 thread__cpu(const struct thread *thread) thread__cpu() argument
172 thread__set_cpu(struct thread *thread, int cpu) thread__set_cpu() argument
177 thread__guest_cpu(const struct thread *thread) thread__guest_cpu() argument
182 thread__set_guest_cpu(struct thread *thread, int guest_cpu) thread__set_guest_cpu() argument
187 thread__refcnt(struct thread *thread) thread__refcnt() argument
192 thread__comm_set(const struct thread *thread) thread__comm_set() argument
197 thread__set_comm_set(struct thread *thread, bool set) thread__set_comm_set() argument
202 thread__var_comm_len(const struct thread *thread) thread__var_comm_len() argument
207 thread__set_comm_len(struct thread *thread, int len) thread__set_comm_len() argument
212 thread__namespaces_list(struct thread *thread) thread__namespaces_list() argument
217 thread__namespaces_list_empty(const struct thread *thread) thread__namespaces_list_empty() argument
222 thread__namespaces_lock(struct thread *thread) thread__namespaces_lock() argument
227 thread__comm_list(struct thread *thread) thread__comm_list() argument
232 thread__comm_lock(struct thread *thread) thread__comm_lock() argument
237 thread__db_id(const struct thread *thread) thread__db_id() argument
242 thread__set_db_id(struct thread *thread, u64 db_id) thread__set_db_id() argument
247 thread__priv(struct thread *thread) thread__priv() argument
252 thread__set_priv(struct thread *thread, void *p) thread__set_priv() argument
257 thread__ts(struct thread *thread) thread__ts() argument
262 thread__set_ts(struct thread *thread, struct thread_stack *ts) thread__set_ts() argument
267 thread__nsinfo(struct thread *thread) thread__nsinfo() argument
272 thread__srccode_state(struct thread *thread) thread__srccode_state() argument
277 thread__filter(const struct thread *thread) thread__filter() argument
282 thread__set_filter(struct thread *thread, bool filter) thread__set_filter() argument
287 thread__filter_entry_depth(const struct thread *thread) thread__filter_entry_depth() argument
292 thread__set_filter_entry_depth(struct thread *thread, int depth) thread__set_filter_entry_depth() argument
297 thread__lbr_stitch_enable(const struct thread *thread) thread__lbr_stitch_enable() argument
302 thread__set_lbr_stitch_enable(struct thread *thread, bool en) thread__set_lbr_stitch_enable() argument
307 thread__lbr_stitch(struct thread *thread) thread__lbr_stitch() argument
312 thread__set_lbr_stitch(struct thread *thread, struct lbr_stitch *lbrs) thread__set_lbr_stitch() argument
317 thread__is_filtered(struct thread *thread) thread__is_filtered() argument
[all...]
H A Dthread.c10 #include "thread.h"
11 #include "thread-stack.h"
22 int thread__init_maps(struct thread *thread, struct machine *machine) in thread__init_maps() argument
24 pid_t pid = thread__pid(thread); in thread__init_maps()
26 if (pid == thread__tid(thread) || pid == -1) { in thread__init_maps()
27 thread__set_maps(thread, maps__new(machine)); in thread__init_maps()
29 struct thread *leader = __machine__findnew_thread(machine, pid, pid); in thread__init_maps()
32 thread__set_maps(thread, maps__get(thread__maps(leader))); in thread__init_maps()
37 return thread__maps(thread) in thread__init_maps()
45 struct thread *thread; thread__new() local
92 thread__delete(struct thread *thread) thread__delete() argument
131 thread__get(struct thread *thread) thread__get() argument
141 thread__put(struct thread *thread) thread__put() argument
149 __thread__namespaces(struct thread *thread) __thread__namespaces() argument
157 thread__namespaces(struct thread *thread) thread__namespaces() argument
168 __thread__set_namespaces(struct thread *thread, u64 timestamp, struct perf_record_namespaces *event) __thread__set_namespaces() argument
192 thread__set_namespaces(struct thread *thread, u64 timestamp, struct perf_record_namespaces *event) thread__set_namespaces() argument
203 thread__comm(struct thread *thread) thread__comm() argument
211 thread__exec_comm(struct thread *thread) thread__exec_comm() argument
234 ____thread__set_comm(struct thread *thread, const char *str, u64 timestamp, bool exec) ____thread__set_comm() argument
259 __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, bool exec) __thread__set_comm() argument
270 thread__set_comm_from_proc(struct thread *thread) thread__set_comm_from_proc() argument
287 __thread__comm_str(struct thread *thread) __thread__comm_str() argument
297 thread__comm_str(struct thread *thread) thread__comm_str() argument
308 __thread__comm_len(struct thread *thread, const char *comm) __thread__comm_len() argument
318 thread__comm_len(struct thread *thread) thread__comm_len() argument
334 thread__fprintf(struct thread *thread, FILE *fp) thread__fprintf() argument
340 thread__insert_map(struct thread *thread, struct map *map) thread__insert_map() argument
352 __thread__prepare_access(struct thread *thread) __thread__prepare_access() argument
372 thread__prepare_access(struct thread *thread) thread__prepare_access() argument
382 thread__clone_maps(struct thread *thread, struct thread *parent, bool do_maps_clone) thread__clone_maps() argument
398 thread__fork(struct thread *thread, struct thread *parent, u64 timestamp, bool do_maps_clone) thread__fork() argument
414 thread__find_cpumode_addr_location(struct thread *thread, u64 addr, struct addr_location *al) thread__find_cpumode_addr_location() argument
432 thread__main_thread(struct machine *machine, struct thread *thread) thread__main_thread() argument
443 thread__memcpy(struct thread *thread, struct machine *machine, void *buf, u64 ip, int len, bool *is64bit) thread__memcpy() argument
476 thread__free_stitch_list(struct thread *thread) thread__free_stitch_list() argument
[all...]
H A Dthread-stack.h3 * thread-stack.h: Synthesize a thread's stack using call / return events
14 struct thread;
39 * @thread: thread in which call/return occurred
54 struct thread *thread; member
82 int thread_stack__event(struct thread *thread, int cpu, u32 flags, u64 from_ip,
85 void thread_stack__set_trace_nr(struct thread *threa
[all...]
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
H A Dhc_thread.c31 HcThread* thread = (HcThread*)args; in StaticThreadFunc() local
32 if (thread == NULL) { in StaticThreadFunc()
37 int res = pthread_setname_np(pthread_self(), StringGet(&thread->name)); in StaticThreadFunc()
42 thread->stackSize, StringGet(&thread->name)); in StaticThreadFunc()
46 if (thread->threadFunc) { in StaticThreadFunc()
47 thread->threadFunc(args); in StaticThreadFunc()
49 (void)LockHcMutex(&thread->threadLock); in StaticThreadFunc()
50 thread->running = HC_FALSE; in StaticThreadFunc()
51 thread in StaticThreadFunc()
56 Start(struct HcThreadT *thread) Start() argument
88 Join(struct HcThreadT *thread) Join() argument
100 BizWait(struct HcThreadT *thread) BizWait() argument
108 BizNotify(struct HcThreadT *thread) BizNotify() argument
116 InitThread(HcThread *thread, ThreadFunc func, size_t stackSize, const char *threadName) InitThread() argument
154 DestroyThread(HcThread *thread) DestroyThread() argument
[all...]
/kernel/linux/linux-5.10/tools/perf/util/
H A Dthread.c10 #include "thread.h"
11 #include "thread-stack.h"
22 int thread__init_maps(struct thread *thread, struct machine *machine) in thread__init_maps() argument
24 pid_t pid = thread->pid_; in thread__init_maps()
26 if (pid == thread->tid || pid == -1) { in thread__init_maps()
27 thread->maps = maps__new(machine); in thread__init_maps()
29 struct thread *leader = __machine__findnew_thread(machine, pid, pid); in thread__init_maps()
31 thread->maps = maps__get(leader->maps); in thread__init_maps()
36 return thread in thread__init_maps()
43 struct thread *thread = zalloc(sizeof(*thread)); thread__new() local
81 thread__delete(struct thread *thread) thread__delete() argument
118 thread__get(struct thread *thread) thread__get() argument
125 thread__put(struct thread *thread) thread__put() argument
154 __thread__namespaces(const struct thread *thread) __thread__namespaces() argument
162 thread__namespaces(struct thread *thread) thread__namespaces() argument
173 __thread__set_namespaces(struct thread *thread, u64 timestamp, struct perf_record_namespaces *event) __thread__set_namespaces() argument
197 thread__set_namespaces(struct thread *thread, u64 timestamp, struct perf_record_namespaces *event) thread__set_namespaces() argument
208 thread__comm(const struct thread *thread) thread__comm() argument
216 thread__exec_comm(const struct thread *thread) thread__exec_comm() argument
239 ____thread__set_comm(struct thread *thread, const char *str, u64 timestamp, bool exec) ____thread__set_comm() argument
264 __thread__set_comm(struct thread *thread, const char *str, u64 timestamp, bool exec) __thread__set_comm() argument
275 thread__set_comm_from_proc(struct thread *thread) thread__set_comm_from_proc() argument
292 __thread__comm_str(const struct thread *thread) __thread__comm_str() argument
302 thread__comm_str(struct thread *thread) thread__comm_str() argument
314 thread__comm_len(struct thread *thread) thread__comm_len() argument
326 thread__fprintf(struct thread *thread, FILE *fp) thread__fprintf() argument
332 thread__insert_map(struct thread *thread, struct map *map) thread__insert_map() argument
346 __thread__prepare_access(struct thread *thread) __thread__prepare_access() argument
366 thread__prepare_access(struct thread *thread) thread__prepare_access() argument
376 thread__clone_maps(struct thread *thread, struct thread *parent, bool do_maps_clone) thread__clone_maps() argument
391 thread__fork(struct thread *thread, struct thread *parent, u64 timestamp, bool do_maps_clone) thread__fork() argument
407 thread__find_cpumode_addr_location(struct thread *thread, u64 addr, struct addr_location *al) thread__find_cpumode_addr_location() argument
425 thread__main_thread(struct machine *machine, struct thread *thread) thread__main_thread() argument
436 thread__memcpy(struct thread *thread, struct machine *machine, void *buf, u64 ip, int len, bool *is64bit) thread__memcpy() argument
458 thread__free_stitch_list(struct thread *thread) thread__free_stitch_list() argument
[all...]
H A Dthread.h32 struct thread { struct
45 bool dead; /* if set thread has exited */
68 struct thread *thread__new(pid_t pid, pid_t tid);
69 int thread__init_maps(struct thread *thread, struct machine *machine);
70 void thread__delete(struct thread *thread);
72 struct thread *thread__get(struct thread *thread);
75 __thread__zput(struct thread **thread) __thread__zput() argument
83 thread__exited(struct thread *thread) thread__exited() argument
94 thread__set_comm(struct thread *thread, const char *comm, u64 timestamp) thread__set_comm() argument
128 thread__priv(struct thread *thread) thread__priv() argument
133 thread__set_priv(struct thread *thread, void *p) thread__set_priv() argument
138 thread__is_filtered(struct thread *thread) thread__is_filtered() argument
[all...]
H A Dthread-stack.h3 * thread-stack.h: Synthesize a thread's stack using call / return events
14 struct thread;
40 * @thread: thread in which call/return occurred
55 struct thread *thread; member
83 int thread_stack__event(struct thread *thread, int cpu, u32 flags, u64 from_ip,
86 void thread_stack__set_trace_nr(struct thread *threa
[all...]
/base/security/device_auth/deps_adapter/os_adapter/impl/src/
H A Dhc_task_thread.c24 static HcTaskBase* PopTask(HcTaskThread* thread) in PopTask() argument
26 if (thread == NULL) { in PopTask()
30 (void)LockHcMutex(&thread->queueLock); in PopTask()
32 HcBool ret = thread->tasks.popFront(&thread->tasks, &task); in PopTask()
33 UnlockHcMutex(&thread->queueLock); in PopTask()
40 static void PushTask(struct HcTaskThreadT* thread, HcTaskBase* task) in PushTask() argument
42 if (thread == NULL || task == NULL) { in PushTask()
46 (void)LockHcMutex(&thread->queueLock); in PushTask()
49 thread in PushTask()
54 Clear(struct HcTaskThreadT* thread) Clear() argument
69 StopAndClear(struct HcTaskThreadT* thread) StopAndClear() argument
80 StartTaskThread(struct HcTaskThreadT* thread) StartTaskThread() argument
96 HcTaskThread* thread = (HcTaskThread*)args; TaskThreadLoop() local
121 InitHcTaskThread(HcTaskThread* thread, size_t stackSize, const char* threadName) InitHcTaskThread() argument
144 DestroyHcTaskThread(HcTaskThread* thread) DestroyHcTaskThread() argument
[all...]
/base/security/device_auth/deps_adapter/os_adapter/impl/src/liteos/
H A Dhc_thread.c27 HcThread *thread = (HcThread*)args; in StaticThreadFunc() local
28 if (thread == NULL) { in StaticThreadFunc()
33 int res = pthread_setname_np(pthread_self(), StringGet(&thread->name)); in StaticThreadFunc()
39 if (thread->threadFunc) { in StaticThreadFunc()
40 thread->threadFunc(args); in StaticThreadFunc()
42 (void)LockHcMutex(&thread->threadLock); in StaticThreadFunc()
43 thread->running = HC_FALSE; in StaticThreadFunc()
44 thread->threadWaitObj.notifyWithoutLock(&thread->threadWaitObj); in StaticThreadFunc()
45 UnlockHcMutex(&thread in StaticThreadFunc()
49 Start(struct HcThreadT *thread) Start() argument
81 Join(struct HcThreadT *thread) Join() argument
99 BizWait(struct HcThreadT *thread) BizWait() argument
107 BizNotify(struct HcThreadT *thread) BizNotify() argument
115 InitThread(HcThread *thread, ThreadFunc func, size_t stackSize, const char *threadName) InitThread() argument
154 DestroyThread(HcThread *thread) DestroyThread() argument
[all...]
/kernel/linux/linux-5.10/arch/riscv/kernel/
H A Dasm-offsets.c16 OFFSET(TASK_THREAD_RA, task_struct, thread.ra); in asm_offsets()
17 OFFSET(TASK_THREAD_SP, task_struct, thread.sp); in asm_offsets()
18 OFFSET(TASK_THREAD_S0, task_struct, thread.s[0]); in asm_offsets()
19 OFFSET(TASK_THREAD_S1, task_struct, thread.s[1]); in asm_offsets()
20 OFFSET(TASK_THREAD_S2, task_struct, thread.s[2]); in asm_offsets()
21 OFFSET(TASK_THREAD_S3, task_struct, thread.s[3]); in asm_offsets()
22 OFFSET(TASK_THREAD_S4, task_struct, thread.s[4]); in asm_offsets()
23 OFFSET(TASK_THREAD_S5, task_struct, thread.s[5]); in asm_offsets()
24 OFFSET(TASK_THREAD_S6, task_struct, thread.s[6]); in asm_offsets()
25 OFFSET(TASK_THREAD_S7, task_struct, thread in asm_offsets()
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Dasmmacro-32.h16 .macro fpu_save_single thread tmp=t0
20 s.d $f0, THREAD_FPR0(\thread)
21 s.d $f2, THREAD_FPR2(\thread)
22 s.d $f4, THREAD_FPR4(\thread)
23 s.d $f6, THREAD_FPR6(\thread)
24 s.d $f8, THREAD_FPR8(\thread)
25 s.d $f10, THREAD_FPR10(\thread)
26 s.d $f12, THREAD_FPR12(\thread)
27 s.d $f14, THREAD_FPR14(\thread)
28 s.d $f16, THREAD_FPR16(\thread)
[all...]
H A Dasmmacro-64.h17 .macro cpu_save_nonscratch thread
18 LONG_S s0, THREAD_REG16(\thread)
19 LONG_S s1, THREAD_REG17(\thread)
20 LONG_S s2, THREAD_REG18(\thread)
21 LONG_S s3, THREAD_REG19(\thread)
22 LONG_S s4, THREAD_REG20(\thread)
23 LONG_S s5, THREAD_REG21(\thread)
24 LONG_S s6, THREAD_REG22(\thread)
25 LONG_S s7, THREAD_REG23(\thread)
26 LONG_S sp, THREAD_REG29(\thread)
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Dasmmacro-32.h16 .macro fpu_save_single thread tmp=t0
20 s.d $f0, THREAD_FPR0(\thread)
21 s.d $f2, THREAD_FPR2(\thread)
22 s.d $f4, THREAD_FPR4(\thread)
23 s.d $f6, THREAD_FPR6(\thread)
24 s.d $f8, THREAD_FPR8(\thread)
25 s.d $f10, THREAD_FPR10(\thread)
26 s.d $f12, THREAD_FPR12(\thread)
27 s.d $f14, THREAD_FPR14(\thread)
28 s.d $f16, THREAD_FPR16(\thread)
[all...]
H A Dasmmacro-64.h17 .macro cpu_save_nonscratch thread
18 LONG_S s0, THREAD_REG16(\thread)
19 LONG_S s1, THREAD_REG17(\thread)
20 LONG_S s2, THREAD_REG18(\thread)
21 LONG_S s3, THREAD_REG19(\thread)
22 LONG_S s4, THREAD_REG20(\thread)
23 LONG_S s5, THREAD_REG21(\thread)
24 LONG_S s6, THREAD_REG22(\thread)
25 LONG_S s7, THREAD_REG23(\thread)
26 LONG_S sp, THREAD_REG29(\thread)
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/ptrace/
H A Dptrace-adv.c10 struct pt_regs *regs = task->thread.regs; in user_enable_single_step()
13 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step()
14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step()
22 struct pt_regs *regs = task->thread.regs; in user_enable_block_step()
25 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step()
26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step()
34 struct pt_regs *regs = task->thread.regs; in user_disable_single_step()
43 task->thread.debug.dbcr0 &= ~(DBCR0_IC | DBCR0_BT); in user_disable_single_step()
47 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step()
48 task->thread in user_disable_single_step()
88 struct thread_struct *thread = &task->thread; ptrace_set_debugreg() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/ptrace/
H A Dptrace-adv.c10 struct pt_regs *regs = task->thread.regs; in user_enable_single_step()
13 task->thread.debug.dbcr0 &= ~DBCR0_BT; in user_enable_single_step()
14 task->thread.debug.dbcr0 |= DBCR0_IDM | DBCR0_IC; in user_enable_single_step()
22 struct pt_regs *regs = task->thread.regs; in user_enable_block_step()
25 task->thread.debug.dbcr0 &= ~DBCR0_IC; in user_enable_block_step()
26 task->thread.debug.dbcr0 = DBCR0_IDM | DBCR0_BT; in user_enable_block_step()
34 struct pt_regs *regs = task->thread.regs; in user_disable_single_step()
43 task->thread.debug.dbcr0 &= ~(DBCR0_IC | DBCR0_BT); in user_disable_single_step()
47 if (!DBCR_ACTIVE_EVENTS(task->thread.debug.dbcr0, in user_disable_single_step()
48 task->thread in user_disable_single_step()
87 struct thread_struct *thread = &task->thread; ptrace_set_debugreg() local
[all...]
/kernel/linux/linux-5.10/tools/perf/tests/
H A Ddwarf-unwind.c16 #include "thread.h"
52 int test_dwarf_unwind__thread(struct thread *thread);
54 int test_dwarf_unwind__krava_3(struct thread *thread);
55 int test_dwarf_unwind__krava_2(struct thread *thread);
56 int test_dwarf_unwind__krava_1(struct thread *thread);
98 noinline int test_dwarf_unwind__thread(struct thread *threa argument
132 struct thread *thread = *(struct thread **)p1; test_dwarf_unwind__compare() local
148 test_dwarf_unwind__krava_3(struct thread *thread) test_dwarf_unwind__krava_3() argument
167 test_dwarf_unwind__krava_2(struct thread *thread) test_dwarf_unwind__krava_2() argument
172 test_dwarf_unwind__krava_1(struct thread *thread) test_dwarf_unwind__krava_1() argument
180 struct thread *thread; test__dwarf_unwind() local
[all...]
/kernel/linux/linux-6.6/tools/perf/tests/
H A Ddwarf-unwind.c16 #include "thread.h"
65 int test_dwarf_unwind__thread(struct thread *thread);
67 int test_dwarf_unwind__krava_3(struct thread *thread);
68 int test_dwarf_unwind__krava_2(struct thread *thread);
69 int test_dwarf_unwind__krava_1(struct thread *thread);
112 NO_TAIL_CALL_ATTRIBUTE noinline int test_dwarf_unwind__thread(struct thread *threa argument
146 struct thread *thread = *(struct thread **)p1; test_dwarf_unwind__compare() local
162 test_dwarf_unwind__krava_3(struct thread *thread) test_dwarf_unwind__krava_3() argument
181 test_dwarf_unwind__krava_2(struct thread *thread) test_dwarf_unwind__krava_2() argument
190 test_dwarf_unwind__krava_1(struct thread *thread) test_dwarf_unwind__krava_1() argument
203 struct thread *thread; test__dwarf_unwind() local
[all...]
/kernel/linux/linux-5.10/drivers/mailbox/
H A Dmtk-cmdq-mailbox.c65 struct cmdq_thread *thread; member
75 struct cmdq_thread *thread; member
94 static int cmdq_thread_suspend(struct cmdq *cmdq, struct cmdq_thread *thread) in cmdq_thread_suspend() argument
98 writel(CMDQ_THR_SUSPEND, thread->base + CMDQ_THR_SUSPEND_TASK); in cmdq_thread_suspend()
101 if (!(readl(thread->base + CMDQ_THR_ENABLE_TASK) & CMDQ_THR_ENABLED)) in cmdq_thread_suspend()
104 if (readl_poll_timeout_atomic(thread->base + CMDQ_THR_CURR_STATUS, in cmdq_thread_suspend()
106 dev_err(cmdq->mbox.dev, "suspend GCE thread 0x%x failed\n", in cmdq_thread_suspend()
107 (u32)(thread->base - cmdq->base)); in cmdq_thread_suspend()
114 static void cmdq_thread_resume(struct cmdq_thread *thread) in cmdq_thread_resume() argument
116 writel(CMDQ_THR_RESUME, thread in cmdq_thread_resume()
130 cmdq_thread_reset(struct cmdq *cmdq, struct cmdq_thread *thread) cmdq_thread_reset() argument
146 cmdq_thread_disable(struct cmdq *cmdq, struct cmdq_thread *thread) cmdq_thread_disable() argument
153 cmdq_thread_invalidate_fetched_data(struct cmdq_thread *thread) cmdq_thread_invalidate_fetched_data() argument
162 struct cmdq_thread *thread = task->thread; cmdq_task_insert_into_thread() local
179 cmdq_thread_is_in_wfe(struct cmdq_thread *thread) cmdq_thread_is_in_wfe() argument
199 struct cmdq_thread *thread = task->thread; cmdq_task_handle_error() local
213 cmdq_thread_irq_handler(struct cmdq *cmdq, struct cmdq_thread *thread) cmdq_thread_irq_handler() argument
277 struct cmdq_thread *thread = &cmdq->thread[bit]; cmdq_irq_handler() local
290 struct cmdq_thread *thread; cmdq_suspend() local
333 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; cmdq_mbox_send_data() local
401 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; cmdq_mbox_shutdown() local
437 struct cmdq_thread *thread = (struct cmdq_thread *)chan->con_priv; cmdq_mbox_flush() local
497 struct cmdq_thread *thread; cmdq_xlate() local
[all...]
/kernel/linux/linux-5.10/arch/loongarch/include/asm/
H A Dasmmacro-64.h15 .macro cpu_save_nonscratch thread
16 stptr.d s0, \thread, THREAD_REG23 variable
17 stptr.d s1, \thread, THREAD_REG24 variable
18 stptr.d s2, \thread, THREAD_REG25 variable
19 stptr.d s3, \thread, THREAD_REG26 variable
20 stptr.d s4, \thread, THREAD_REG27 variable
21 stptr.d s5, \thread, THREAD_REG28 variable
22 stptr.d s6, \thread, THREAD_REG29 variable
23 stptr.d s7, \thread, THREAD_REG30 variable
24 stptr.d s8, \thread, THREAD_REG3 variable
25 stptr.d sp, \\thread, THREAD_REG03 global() variable
26 stptr.d fp, \\thread, THREAD_REG22 global() variable
30 ldptr.d s0, \\thread, THREAD_REG23 global() variable
31 ldptr.d s1, \\thread, THREAD_REG24 global() variable
32 ldptr.d s2, \\thread, THREAD_REG25 global() variable
33 ldptr.d s3, \\thread, THREAD_REG26 global() variable
34 ldptr.d s4, \\thread, THREAD_REG27 global() variable
35 ldptr.d s5, \\thread, THREAD_REG28 global() variable
36 ldptr.d s6, \\thread, THREAD_REG29 global() variable
37 ldptr.d s7, \\thread, THREAD_REG30 global() variable
38 ldptr.d s8, \\thread, THREAD_REG31 global() variable
39 ldptr.d sp, \\thread, THREAD_REG03 global() variable
40 ldptr.d fp, \\thread, THREAD_REG22 global() variable
41 ldptr.d ra, \\thread, THREAD_REG01 global() variable
[all...]
/kernel/linux/linux-5.10/arch/parisc/kernel/
H A Dasm-offsets.c53 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main()
54 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main()
55 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); in main()
56 DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2])); in main()
57 DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3])); in main()
58 DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4])); in main()
59 DEFINE(TASK_PT_GR5, offsetof(struct task_struct, thread.regs.gr[ 5])); in main()
60 DEFINE(TASK_PT_GR6, offsetof(struct task_struct, thread.regs.gr[ 6])); in main()
61 DEFINE(TASK_PT_GR7, offsetof(struct task_struct, thread.regs.gr[ 7])); in main()
62 DEFINE(TASK_PT_GR8, offsetof(struct task_struct, thread in main()
[all...]
/kernel/linux/linux-6.6/arch/parisc/kernel/
H A Dasm-offsets.c49 DEFINE(TASK_REGS, offsetof(struct task_struct, thread.regs)); in main()
50 DEFINE(TASK_PT_PSW, offsetof(struct task_struct, thread.regs.gr[ 0])); in main()
51 DEFINE(TASK_PT_GR1, offsetof(struct task_struct, thread.regs.gr[ 1])); in main()
52 DEFINE(TASK_PT_GR2, offsetof(struct task_struct, thread.regs.gr[ 2])); in main()
53 DEFINE(TASK_PT_GR3, offsetof(struct task_struct, thread.regs.gr[ 3])); in main()
54 DEFINE(TASK_PT_GR4, offsetof(struct task_struct, thread.regs.gr[ 4])); in main()
55 DEFINE(TASK_PT_GR5, offsetof(struct task_struct, thread.regs.gr[ 5])); in main()
56 DEFINE(TASK_PT_GR6, offsetof(struct task_struct, thread.regs.gr[ 6])); in main()
57 DEFINE(TASK_PT_GR7, offsetof(struct task_struct, thread.regs.gr[ 7])); in main()
58 DEFINE(TASK_PT_GR8, offsetof(struct task_struct, thread in main()
[all...]
/kernel/linux/linux-5.10/tools/perf/scripts/python/
H A Dstat-cpi.py10 def get_key(time, event, cpu, thread):
11 return "%d-%s-%d-%d" % (time, event, cpu, thread)
13 def store_key(time, cpu, thread):
20 if (thread not in threads):
21 threads.append(thread)
23 def store(time, event, cpu, thread, val, ena, run):
24 #print("event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" %
25 # (event, cpu, thread, time, val, ena, run))
27 store_key(time, cpu, thread)
28 key = get_key(time, event, cpu, thread)
[all...]
/kernel/linux/linux-6.6/tools/perf/scripts/python/
H A Dstat-cpi.py10 def get_key(time, event, cpu, thread):
11 return "%d-%s-%d-%d" % (time, event, cpu, thread)
13 def store_key(time, cpu, thread):
20 if (thread not in threads):
21 threads.append(thread)
23 def store(time, event, cpu, thread, val, ena, run):
24 #print("event %s cpu %d, thread %d, time %d, val %d, ena %d, run %d" %
25 # (event, cpu, thread, time, val, ena, run))
27 store_key(time, cpu, thread)
28 key = get_key(time, event, cpu, thread)
[all...]
/kernel/linux/linux-6.6/arch/riscv/kernel/
H A Dasm-offsets.c23 OFFSET(TASK_THREAD_RA, task_struct, thread.ra); in asm_offsets()
24 OFFSET(TASK_THREAD_SP, task_struct, thread.sp); in asm_offsets()
25 OFFSET(TASK_THREAD_S0, task_struct, thread.s[0]); in asm_offsets()
26 OFFSET(TASK_THREAD_S1, task_struct, thread.s[1]); in asm_offsets()
27 OFFSET(TASK_THREAD_S2, task_struct, thread.s[2]); in asm_offsets()
28 OFFSET(TASK_THREAD_S3, task_struct, thread.s[3]); in asm_offsets()
29 OFFSET(TASK_THREAD_S4, task_struct, thread.s[4]); in asm_offsets()
30 OFFSET(TASK_THREAD_S5, task_struct, thread.s[5]); in asm_offsets()
31 OFFSET(TASK_THREAD_S6, task_struct, thread.s[6]); in asm_offsets()
32 OFFSET(TASK_THREAD_S7, task_struct, thread in asm_offsets()
[all...]

Completed in 8 milliseconds

12345678910>>...98