Home
last modified time | relevance | path

Searched refs:tid (Results 1 – 9 of 9) sorted by relevance

/kernel/locking/
A Dlocktorture.c139 int (*nested_lock)(int tid, u32 lockset);
140 int (*writelock)(int tid);
143 void (*writeunlock)(int tid);
145 int (*readlock)(int tid);
147 void (*readunlock)(int tid);
905 int tid = lwsp - cxt.lwsa; in lock_torture_writer() local
934 cxt.cur_ops->writelock(tid); in lock_torture_writer()
952 cxt.cur_ops->writeunlock(tid); in lock_torture_writer()
972 int tid = lrsp - cxt.lrsa; in lock_torture_reader() local
982 cxt.cur_ops->readlock(tid); in lock_torture_reader()
[all …]
/kernel/bpf/
A Dtask_iter.c32 u32 tid; member
36 u32 *tid, in task_group_seq_get_next() argument
43 if (!*tid) { in task_group_seq_get_next()
96 if (*tid && *tid != common->pid) in task_seq_get_next()
124 ++*tid; in task_seq_get_next()
130 ++*tid; in task_seq_get_next()
159 ++info->tid; in task_seq_next()
253 u32 tid; member
414 u32 tid; member
498 info->tid++; in task_vma_seq_get_next()
[all …]
/kernel/trace/
A Dtrace_btf.c58 u32 tid; member
77 u32 tid, cur_offset = 0; in btf_find_struct_member() local
94 if (btf_type_skip_modifiers(btf, member->type, &tid) && in btf_find_struct_member()
96 anon_stack[top].tid = tid; in btf_find_struct_member()
111 tid = anon_stack[--top].tid; in btf_find_struct_member()
113 type = btf_type_by_id(btf, tid); in btf_find_struct_member()
A Dtrace_probe.c345 s32 tid; in btf_type_is_char_ptr() local
347 real_type = btf_type_skip_modifiers(btf, type->type, &tid); in btf_type_is_char_ptr()
364 s32 tid; in btf_type_is_char_array() local
371 real_type = btf_type_skip_modifiers(btf, array->type, &tid); in btf_type_is_char_array()
558 s32 tid; in parse_btf_field() local
567 type = btf_type_skip_modifiers(ctx->btf, type->type, &tid); in parse_btf_field()
604 type = btf_type_skip_modifiers(ctx->btf, field->type, &tid); in parse_btf_field()
640 u32 tid; in parse_btf_arg() local
663 tid = ctx->proto->type; in parse_btf_arg()
702 tid = params[i].type; in parse_btf_arg()
[all …]
A Dtrace_output.c702 s32 tid, nr = 0; in print_function_args() local
737 t = btf_type_skip_modifiers(btf, param[p].type, &tid); in print_function_args()
/kernel/debug/
A Dgdbstub.c430 static struct task_struct *getthread(struct pt_regs *regs, int tid) in getthread() argument
435 if (tid == 0 || tid == -1) in getthread()
436 tid = -atomic_read(&kgdb_active) - 2; in getthread()
437 if (tid < -1 && tid > -NR_CPUS - 2) { in getthread()
438 if (kgdb_info[-tid - 2].task) in getthread()
439 return kgdb_info[-tid - 2].task; in getthread()
441 return idle_task(-tid - 2); in getthread()
443 if (tid <= 0) { in getthread()
454 return find_task_by_pid_ns(tid, &init_pid_ns); in getthread()
/kernel/
A Dpid.c191 int tid = 0; in alloc_pid() local
195 tid = set_tid[ns->level - i]; in alloc_pid()
198 if (tid < 1 || tid >= pid_max) in alloc_pid()
204 if (tid != 1 && !tmp->child_reaper) in alloc_pid()
215 if (tid) { in alloc_pid()
216 nr = idr_alloc(&tmp->idr, NULL, tid, in alloc_pid()
217 tid + 1, GFP_ATOMIC); in alloc_pid()
/kernel/time/
A Dposix-timers.c71 #define lock_timer(tid) \ argument
73 __cond_lock(&__timr->it_lock, __timr = __lock_timer(tid)); \
/kernel/events/
A Dcore.c7686 data->tid_entry.tid = perf_event_tid(event, current); in __perf_event_header__init_id()
8524 u32 tid; member
8540 .tid = perf_event_tid(event, task), in perf_event_read_event()
8781 u32 tid; member
8814 task_event->event_id.tid = perf_event_tid(event, task); in perf_event_task_output()
8937 u32 tid; member
9034 u32 tid; member
9066 namespaces_event->event_id.tid = perf_event_tid(event, in perf_event_namespaces_output()
9272 u32 tid; member
10083 u32 tid; in perf_log_itrace_start() member
[all …]

Completed in 45 milliseconds