/linux-master/kernel/ |
H A D | seccomp.c | 563 * @tsk: task the filter should be released from. 569 void seccomp_filter_release(struct task_struct *tsk) argument 571 struct seccomp_filter *orig = tsk->seccomp.filter; 574 WARN_ON(tsk->sighand != NULL); 577 tsk->seccomp.filter = NULL; 933 /* get_seccomp_filter - increments the reference count of the filter on @tsk */ 934 void get_seccomp_filter(struct task_struct *tsk) argument 936 struct seccomp_filter *orig = tsk->seccomp.filter;
|
H A D | pid.c | 520 struct pid_namespace *task_active_pid_ns(struct task_struct *tsk) argument 522 return ns_of_pid(task_pid(tsk));
|
H A D | auditfilter.c | 1174 struct task_struct *tsk; local 1194 tsk = kthread_run(audit_send_list_thread, dest, "audit_send_list"); 1195 if (IS_ERR(tsk)) { 1199 return PTR_ERR(tsk);
|
/linux-master/arch/sparc/kernel/ |
H A D | process_64.c | 398 void exit_thread(struct task_struct *tsk) argument 400 struct thread_info *t = task_thread_info(tsk);
|
H A D | traps_64.c | 2450 void show_stack(struct task_struct *tsk, unsigned long *_ksp, const char *loglvl) argument 2460 if (!tsk) 2461 tsk = current; 2462 tp = task_thread_info(tsk); 2464 if (tsk == current) 2499 ret_stack = ftrace_graph_get_ret_stack(tsk, graph);
|
/linux-master/arch/xtensa/kernel/ |
H A D | ptrace.c | 386 static struct perf_event *ptrace_hbp_create(struct task_struct *tsk, int type) argument 399 tsk);
|
/linux-master/arch/x86/kernel/ |
H A D | kgdb.c | 629 struct task_struct *tsk = current; local 634 tsk->thread.virtual_dr6 |= (DR_TRAP0 << i);
|
/linux-master/io_uring/ |
H A D | timeout.c | 659 __cold bool io_kill_timeouts(struct io_ring_ctx *ctx, struct task_struct *tsk, argument 674 if (io_match_task(req, tsk, cancel_all) &&
|
/linux-master/net/phonet/ |
H A D | socket.c | 223 struct task_struct *tsk = current; local 269 if (signal_pending(tsk)) {
|
/linux-master/security/smack/ |
H A D | smack.h | 454 a->a.u.tsk = t;
|
/linux-master/arch/openrisc/include/asm/ |
H A D | pgtable.h | 201 #define SET_PAGE_DIR(tsk, pgdir)
|
/linux-master/arch/loongarch/kernel/ |
H A D | process.c | 103 void exit_thread(struct task_struct *tsk) argument
|
/linux-master/drivers/gpu/drm/i915/ |
H A D | i915_request.c | 1951 struct task_struct *tsk; member in struct:request_wait 1958 wake_up_process(fetch_and_zero(&wait->tsk)); 2049 wait.tsk = current; 2091 if (READ_ONCE(wait.tsk))
|
/linux-master/block/ |
H A D | blk-core.c | 1095 struct task_struct *tsk = current; local 1100 if (tsk->plug) 1116 tsk->plug = plug;
|
H A D | blk-cgroup.c | 1503 static void blkcg_exit(struct task_struct *tsk) argument 1505 if (tsk->throttle_disk) 1506 put_disk(tsk->throttle_disk); 1507 tsk->throttle_disk = NULL;
|
/linux-master/drivers/scsi/qla2xxx/ |
H A D | qla_iocb.c | 2540 qla24xx_tm_iocb(srb_t *sp, struct tsk_mgmt_entry *tsk) argument 2553 tsk->entry_type = TSK_MGMT_IOCB_TYPE; 2554 tsk->entry_count = 1; 2555 tsk->handle = make_handle(req->id, tsk->handle); 2556 tsk->nport_handle = cpu_to_le16(fcport->loop_id); 2557 tsk->timeout = cpu_to_le16(ha->r_a_tov / 10 * 2); 2558 tsk->control_flags = cpu_to_le32(flags); 2559 tsk->port_id[0] = fcport->d_id.b.al_pa; 2560 tsk [all...] |
/linux-master/arch/s390/kernel/ |
H A D | perf_cpum_sf.c | 672 struct task_struct *tsk; local 678 tsk = find_task_by_pid_ns(pid, &init_pid_ns); 680 if (tsk) { 687 pid = __task_pid_nr_ns(tsk, type, event->ns); 692 if (!pid && !pid_alive(tsk))
|
/linux-master/mm/ |
H A D | page-writeback.c | 386 struct task_struct *tsk; local 420 tsk = current; 421 if (rt_task(tsk)) { 462 struct task_struct *tsk = current; local 471 if (rt_task(tsk)) 1984 * dirty tsk->nr_dirtied_pause pages; 1988 * (tsk->nr_dirtied_pause - 1) pages, balance_dirty_pages() will never be
|
H A D | mempolicy.c | 405 void mpol_rebind_task(struct task_struct *tsk, const nodemask_t *new) argument 407 mpol_rebind_policy(tsk->mempolicy, new); 1883 /* to prevent miscount use tsk->mems_allowed_seq to detect rebind */ 1905 /* to prevent miscount, use tsk->mems_allowed_seq to detect rebind */ 2165 * If tsk's mempolicy is "bind", check for intersection between mask and 2167 * including "interleave", as a tsk with "interleave" policy may have 2170 * Takes task_lock(tsk) to prevent freeing of its mempolicy. 2172 bool mempolicy_in_oom_domain(struct task_struct *tsk, argument 2181 task_lock(tsk); 2182 mempolicy = tsk [all...] |
/linux-master/kernel/trace/ |
H A D | trace.h | 725 void update_max_tr(struct trace_array *tr, struct task_struct *tsk, int cpu, 728 struct task_struct *tsk, int cpu); 1380 int trace_save_cmdline(struct task_struct *tsk);
|
/linux-master/include/linux/ |
H A D | blkdev.h | 1019 * tsk == current here 1021 static inline void blk_plug_invalidate_ts(struct task_struct *tsk) argument 1023 struct blk_plug *plug = tsk->plug; 1053 static inline void blk_plug_invalidate_ts(struct task_struct *tsk) argument
|
/linux-master/net/core/ |
H A D | pktgen.c | 459 struct task_struct *tsk; member in struct:pktgen_thread 3436 remove_proc_entry(t->tsk->comm, t->net->proc_dir); 3709 pr_debug("%s stopping all device\n", t->tsk->comm); 3712 pr_debug("%s removing all device\n", t->tsk->comm); 3715 pr_debug("%s removing thread\n", t->tsk->comm); 3897 t->tsk = p; 3899 pe = proc_create_data(t->tsk->comm, 0600, pn->proc_dir, 3903 PG_PROC_DIR, t->tsk->comm); 4033 kthread_stop_put(t->tsk);
|
/linux-master/kernel/irq/ |
H A D | manage.c | 1238 struct task_struct *tsk = current; local 1245 action = kthread_data(tsk); 1248 tsk->comm, tsk->pid, action->irq);
|
/linux-master/fs/proc/ |
H A D | array.c | 142 static inline const char *get_task_state(struct task_struct *tsk) argument 145 return task_state_array[task_state_index(tsk)];
|
/linux-master/kernel/sched/ |
H A D | rt.c | 1210 struct task_struct *tsk; local 1215 tsk = rt_task_of(rt_se); 1217 return (tsk->policy == SCHED_RR) ? 1 : 0; 2901 int sched_rt_can_attach(struct task_group *tg, struct task_struct *tsk) argument 2904 if (rt_task(tsk) && tg->rt_bandwidth.rt_runtime == 0)
|