Home
last modified time | relevance | path

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

/kernel/bpf/
Dtask_iter.c31 u32 tid; member
35 u32 *tid, in task_group_seq_get_next() argument
42 if (!*tid) { in task_group_seq_get_next()
52 *tid = common->pid; in task_group_seq_get_next()
62 if (*tid == common->pid_visiting) { in task_group_seq_get_next()
88 saved_tid = *tid; in task_group_seq_get_next()
89 *tid = __task_pid_nr_ns(next_task, PIDTYPE_PID, common->ns); in task_group_seq_get_next()
90 if (!*tid || *tid == common->pid) { in task_group_seq_get_next()
94 *tid = saved_tid; in task_group_seq_get_next()
99 common->pid_visiting = *tid; in task_group_seq_get_next()
[all …]
/kernel/locking/
Dlocktorture.c79 int (*writelock)(int tid);
82 void (*writeunlock)(int tid);
83 int (*readlock)(int tid);
85 void (*readunlock)(int tid);
108 static int torture_lock_busted_write_lock(int tid __maybe_unused) in torture_lock_busted_write_lock()
125 static void torture_lock_busted_write_unlock(int tid __maybe_unused) in torture_lock_busted_write_unlock()
148 static int torture_spin_lock_write_lock(int tid __maybe_unused) in torture_spin_lock_write_lock()
173 static void torture_spin_lock_write_unlock(int tid __maybe_unused) in torture_spin_lock_write_unlock()
190 static int torture_spin_lock_write_lock_irq(int tid __maybe_unused) in torture_spin_lock_write_lock_irq()
200 static void torture_lock_spin_write_unlock_irq(int tid __maybe_unused) in torture_lock_spin_write_unlock_irq()
[all …]
/kernel/debug/
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/
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.c6931 data->tid_entry.tid = perf_event_tid(event, current); in __perf_event_header__init_id()
7688 u32 tid; member
7704 .tid = perf_event_tid(event, task), in perf_event_read_event()
7951 u32 tid; member
7984 task_event->event_id.tid = perf_event_tid(event, task); in perf_event_task_output()
8059 u32 tid; member
8088 comm_event->event_id.tid = perf_event_tid(event, comm_event->task); in perf_event_comm_output()
8156 u32 tid; member
8188 namespaces_event->event_id.tid = perf_event_tid(event, in perf_event_namespaces_output()
8394 u32 tid; member
[all …]