Searched defs:task (Results 1 - 25 of 44) sorted by relevance

12

/include/linux/
H A Dtask_work.h15 int task_work_add(struct task_struct *task, struct callback_head *twork, bool);
19 static inline void exit_task_work(struct task_struct *task) argument
H A Dperf_regs.h8 u64 perf_reg_abi(struct task_struct *task);
20 static inline u64 perf_reg_abi(struct task_struct *task) argument
H A Dcn_proc.h23 void proc_fork_connector(struct task_struct *task);
24 void proc_exec_connector(struct task_struct *task);
25 void proc_id_connector(struct task_struct *task, int which_id);
26 void proc_sid_connector(struct task_struct *task);
27 void proc_ptrace_connector(struct task_struct *task, int which_id);
28 void proc_comm_connector(struct task_struct *task);
29 void proc_coredump_connector(struct task_struct *task);
30 void proc_exit_connector(struct task_struct *task);
32 static inline void proc_fork_connector(struct task_struct *task) argument
35 static inline void proc_exec_connector(struct task_struct *task) argument
38 proc_id_connector(struct task_struct *task, int which_id) argument
42 proc_sid_connector(struct task_struct *task) argument
45 proc_comm_connector(struct task_struct *task) argument
48 proc_ptrace_connector(struct task_struct *task, int ptrace_id) argument
52 proc_coredump_connector(struct task_struct *task) argument
55 proc_exit_connector(struct task_struct *task) argument
[all...]
H A Ddebug_locks.h52 extern void debug_show_held_locks(struct task_struct *task);
60 static inline void debug_show_held_locks(struct task_struct *task) argument
H A Dlatencytop.h30 void __account_scheduler_latency(struct task_struct *task, int usecs, int inter);
32 account_scheduler_latency(struct task_struct *task, int usecs, int inter) argument
35 __account_scheduler_latency(task, usecs, inter);
43 account_scheduler_latency(struct task_struct *task, int usecs, int inter) argument
H A Dtracehook.h81 * tracehook_report_syscall_entry - task is about to attempt a system call
82 * @regs: user register state of current task
85 * current task has just entered the kernel for a system call.
92 * made. If @task ever returns to user mode after this, its register state
106 * tracehook_report_syscall_exit - task has just finished a system call
107 * @regs: user register state of current task
111 * current task has just finished an attempted system call. Full
153 * @task: task that will call tracehook_notify_resume()
155 * Calling this arranges that @task wil
160 set_notify_resume(struct task_struct *task) argument
[all...]
H A Dioprio.h53 static inline int task_nice_ioprio(struct task_struct *task) argument
55 return (task_nice(task) + 20) / 5;
59 * This is for the case where the task hasn't asked for a specific IO class.
60 * Check for idle and rt task process, and return appropriate IO class.
62 static inline int task_nice_ioclass(struct task_struct *task) argument
64 if (task->policy == SCHED_IDLE)
66 else if (task->policy == SCHED_FIFO || task->policy == SCHED_RR)
77 extern int set_task_ioprio(struct task_struct *task, int ioprio);
H A Diocontext.h148 void exit_io_context(struct task_struct *task);
149 struct io_context *get_task_io_context(struct task_struct *task,
154 static inline void exit_io_context(struct task_struct *task) { } argument
H A Dkthread.h69 struct task_struct *task; member in struct:kthread_worker
H A Dmutex.h25 * - only one task can hold the mutex at a time
31 * - task may not exit with mutex held
47 * - detects multi-task circular deadlocks and prints out all affected
72 * which resides on the blocked task's kernel stack:
76 struct task_struct *task; member in struct:mutex_waiter
H A Dfreezer.h41 /* Takes and releases task alloc lock using task_lock() */
73 extern bool cgroup_freezing(struct task_struct *task);
75 static inline bool cgroup_freezing(struct task_struct *task) argument
98 * Tell freezers to ignore the current task when determining whether the
99 * target frozen state is reached. IOW, the current task will be
102 * The caller shouldn't do anything which isn't allowed for a frozen task
139 * freezer_should_skip - whether to skip a task when determining frozen
141 * @p: task in quesion
144 * test whether a task should be skipped when determining the target frozen
154 * impossible for a task t
[all...]
H A Dproc_fs.h51 static inline void proc_flush_task(struct task_struct *task) argument
H A Dshm.h22 /* The task created the shm object. NULL if the task is dead. */
56 void exit_shm(struct task_struct *task);
57 #define shm_init_task(task) INIT_LIST_HEAD(&(task)->sysvshm.shm_clist)
73 static inline void exit_shm(struct task_struct *task) argument
76 static inline void shm_init_task(struct task_struct *task) argument
H A Dww_mutex.h28 struct task_struct *task; member in struct:ww_acquire_ctx
115 * An acquire context must be released with ww_acquire_fini by the same task
122 ctx->task = current;
199 * Lock the w/w mutex exclusively for this task.
214 * The mutex must later on be released by the same task that
215 * acquired it. The task may not exit without first unlocking the mutex. Also,
237 * Lock the w/w mutex exclusively for this task.
253 * The mutex must later on be released by the same task that
254 * acquired it. The task may not exit without first unlocking the mutex. Also,
H A Dcpuset.h88 struct task_struct *task);
211 struct task_struct *task)
210 cpuset_task_status_allowed(struct seq_file *m, struct task_struct *task) argument
H A Dposix-timers.h24 struct task_struct *task; member in struct:cpu_timer_list
128 void run_posix_cpu_timers(struct task_struct *task);
129 void posix_cpu_timers_exit(struct task_struct *task);
130 void posix_cpu_timers_exit_group(struct task_struct *task);
134 void set_process_cpu_timer(struct task_struct *task, unsigned int clock_idx,
139 void update_rlimit_cpu(struct task_struct *task, unsigned long rlim_new);
H A Dptrace.h14 * The owner ship rules for task->ptrace which holds the ptrace
15 * flags is simple. When a task is running it owns it's task->ptrace
16 * flags. When the a task is stopped the ptracer owns task->ptrace.
60 extern bool ptrace_may_access(struct task_struct *task, unsigned int mode);
79 * ptrace_parent - return the task that is tracing the given task
80 * @task: task t
89 ptrace_parent(struct task_struct *task) argument
105 ptrace_event_enabled(struct task_struct *task, int event) argument
200 ptrace_release_task(struct task_struct *task) argument
260 user_enable_single_step(struct task_struct *task) argument
274 user_disable_single_step(struct task_struct *task) argument
303 user_enable_block_step(struct task_struct *task) argument
[all...]
H A Drtc.h76 struct rtc_task task; member in struct:rtc_timer
162 struct rtc_task *task);
164 struct rtc_task *task);
166 struct rtc_task *task, int enabled);
168 struct rtc_task *task, int freq);
179 int rtc_register(rtc_task_t *task);
180 int rtc_unregister(rtc_task_t *task);
H A Dhrtimer.h99 * @start_pid: timer statistics field to store the pid of the task which
124 * @task: task to wake up
126 * task is set to NULL, when the timer expires.
130 struct task_struct *task; member in struct:hrtimer_sleeper
H A Dkprobes.h199 struct task_struct *task; member in struct:kretprobe_instance
/include/asm-generic/
H A Dmmu_context.h29 static inline void deactivate_mm(struct task_struct *task, argument
/include/linux/sched/
H A Drt.h21 extern int rt_mutex_check_prio(struct task_struct *task, int newprio);
22 extern struct task_struct *rt_mutex_get_top_task(struct task_struct *task);
34 static inline int rt_mutex_check_prio(struct task_struct *task, int newprio) argument
39 static inline struct task_struct *rt_mutex_get_top_task(struct task_struct *task) argument
/include/linux/sunrpc/
H A Dmetrics.h85 static inline void rpc_count_iostats(const struct rpc_task *task, argument
/include/scsi/
H A Dsas_ata.h41 void sas_ata_task_abort(struct sas_task *task);
62 static inline void sas_ata_task_abort(struct sas_task *task) argument
/include/net/
H A Ddn_nsp.h137 __u8 task; member in struct:srcobj_fmt

Completed in 7908 milliseconds

12