Searched refs:tid (Results 1 – 6 of 6) sorted by relevance
/kernel/locking/ |
D | locktorture.c | 79 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/bpf/ |
D | task_iter.c | 21 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() 133 u32 tid; member [all …]
|
/kernel/debug/ |
D | gdbstub.c | 430 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/ |
D | pid.c | 188 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/ |
D | posix-timers.c | 107 #define lock_timer(tid, flags) \ argument 109 __cond_lock(&__timr->it_lock, __timr = __lock_timer(tid, flags)); \
|
/kernel/events/ |
D | core.c | 7015 data->tid_entry.tid = perf_event_tid(event, current); in __perf_event_header__init_id() 7740 u32 tid; member 7756 .tid = perf_event_tid(event, task), in perf_event_read_event() 8003 u32 tid; member 8036 task_event->event_id.tid = perf_event_tid(event, task); in perf_event_task_output() 8111 u32 tid; member 8140 comm_event->event_id.tid = perf_event_tid(event, comm_event->task); in perf_event_comm_output() 8208 u32 tid; member 8240 namespaces_event->event_id.tid = perf_event_tid(event, in perf_event_namespaces_output() 8446 u32 tid; member [all …]
|