Home
last modified time | relevance | path

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

/kernel/bpf/
Dtask_iter.c21 u32 tid; member
25 u32 *tid, in task_seq_get_next() argument
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
[all …]
/kernel/debug/
Dgdbstub.c433 static struct task_struct *getthread(struct pt_regs *regs, int tid) in getthread() argument
438 if (tid == 0 || tid == -1) in getthread()
439 tid = -atomic_read(&kgdb_active) - 2; in getthread()
440 if (tid < -1 && tid > -NR_CPUS - 2) { in getthread()
441 if (kgdb_info[-tid - 2].task) in getthread()
442 return kgdb_info[-tid - 2].task; in getthread()
444 return idle_task(-tid - 2); in getthread()
446 if (tid <= 0) { in getthread()
457 return find_task_by_pid_ns(tid, &init_pid_ns); in getthread()
/kernel/
Dpid.c188 int tid = 0; in alloc_pid() local
191 tid = set_tid[ns->level - i]; in alloc_pid()
194 if (tid < 1 || tid >= pid_max) in alloc_pid()
200 if (tid != 1 && !tmp->child_reaper) in alloc_pid()
211 if (tid) { in alloc_pid()
212 nr = idr_alloc(&tmp->idr, NULL, tid, in alloc_pid()
213 tid + 1, GFP_ATOMIC); in alloc_pid()
/kernel/time/
Dposix-timers.c107 #define lock_timer(tid, flags) \ argument
109 __cond_lock(&__timr->it_lock, __timr = __lock_timer(tid, flags)); \
/kernel/events/
Dcore.c6740 data->tid_entry.tid = perf_event_tid(event, current); in __perf_event_header__init_id()
7361 u32 tid; member
7377 .tid = perf_event_tid(event, task), in perf_event_read_event()
7624 u32 tid; member
7657 task_event->event_id.tid = perf_event_tid(event, task); in perf_event_task_output()
7732 u32 tid; member
7761 comm_event->event_id.tid = perf_event_tid(event, comm_event->task); in perf_event_comm_output()
7829 u32 tid; member
7861 namespaces_event->event_id.tid = perf_event_tid(event, in perf_event_namespaces_output()
8065 u32 tid; member
[all …]