Searched refs:task (Results 1 - 25 of 69) sorted by relevance

123

/include/linux/
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 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 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 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 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 Dpid.h86 extern struct pid *get_task_pid(struct task_struct *task, enum pid_type type);
91 extern void attach_pid(struct task_struct *task, enum pid_type);
92 extern void detach_pid(struct task_struct *task, enum pid_type);
93 extern void change_pid(struct task_struct *task, enum pid_type,
129 * ns_of_pid() is expected to be called for a process (task) that has
175 #define do_each_pid_task(pid, type, task) \
178 hlist_for_each_entry_rcu((task), \
185 #define while_each_pid_task(pid, type, task) \
191 #define do_each_pid_thread(pid, type, task) \
192 do_each_pid_task(pid, type, task) { \
[all...]
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 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 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 Dcgroup.h193 * their own contribute one. The count is zero iff there's no task
293 * cgroup_subsys_state objects. This saves space in the task struct
296 * set for a task.
501 * and its descendants contain no task; otherwise, 1. The file also
509 * - cpuset: a task can be moved into an empty cpuset, and again it takes
581 char *task_cgroup_path(struct task_struct *task, char *buf, size_t buflen);
599 * @task: the loop cursor
602 #define cgroup_taskset_for_each(task, tset) \
603 for ((task) = cgroup_taskset_first((tset)); (task); \
732 task_css_set(struct task_struct *task) argument
744 task_css(struct task_struct *task, int subsys_id) argument
758 task_css_is_root(struct task_struct *task, int subsys_id) argument
764 task_cgroup(struct task_struct *task, int subsys_id) argument
[all...]
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 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 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);
/include/asm-generic/
H A Dsyscall.h15 * and only when the caller is sure that the task of interest
26 * syscall_get_nr - find what system call a task is executing
27 * @task: task of interest, must be blocked
28 * @regs: task_pt_regs() of @task
30 * If @task is executing a system call or is at system call
32 * If @task is not executing a system call, i.e. it's blocked
39 * It's only valid to call this when @task is known to be blocked.
41 int syscall_get_nr(struct task_struct *task, struct pt_regs *regs);
45 * @task
[all...]
H A Dcurrent.h6 #define get_current() (current_thread_info()->task)
H A Dmmu_context.h29 static inline void deactivate_mm(struct task_struct *task, argument
/include/trace/events/
H A Doom.h10 TP_PROTO(struct task_struct *task),
12 TP_ARGS(task),
21 __entry->pid = task->pid;
22 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
23 __entry->oom_score_adj = task->signal->oom_score_adj;
H A Dtask.h2 #define TRACE_SYSTEM task
10 TP_PROTO(struct task_struct *task, unsigned long clone_flags),
12 TP_ARGS(task, clone_flags),
22 __entry->pid = task->pid;
23 memcpy(__entry->comm, task->comm, TASK_COMM_LEN);
25 __entry->oom_score_adj = task->signal->oom_score_adj;
35 TP_PROTO(struct task_struct *task, const char *comm),
37 TP_ARGS(task, comm),
47 __entry->pid = task->pid;
48 memcpy(entry->oldcomm, task
[all...]
H A Dsunrpc.h15 TP_PROTO(struct rpc_task *task),
17 TP_ARGS(task),
26 __entry->task_id = task->tk_pid;
27 __entry->client_id = task->tk_client->cl_clid;
28 __entry->status = task->tk_status;
31 TP_printk("task:%u@%u, status %d",
37 TP_PROTO(struct rpc_task *task),
39 TP_ARGS(task)
43 TP_PROTO(struct rpc_task *task),
45 TP_ARGS(task)
[all...]
/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/fsl/bestcomm/
H A Dbestcomm_priv.h111 /* task enable */
238 extern int bcom_load_image(int task, u32 *task_image);
239 extern void bcom_set_initiator(int task, int initiator);
261 bcom_enable_task(int task) argument
264 reg = in_be16(&bcom_eng->regs->tcr[task]);
265 out_be16(&bcom_eng->regs->tcr[task], reg | TASK_ENABLE);
269 bcom_disable_task(int task) argument
271 u16 reg = in_be16(&bcom_eng->regs->tcr[task]);
272 out_be16(&bcom_eng->regs->tcr[task], reg & ~TASK_ENABLE);
277 bcom_task_desc(int task) argument
283 bcom_task_num_descs(int task) argument
289 bcom_task_var(int task) argument
295 bcom_task_inc(int task) argument
328 bcom_set_task_pragma(int task, int pragma) argument
335 bcom_set_task_auto_start(int task, int next_task) argument
342 bcom_set_tcr_initiator(int task, int initiator) argument
[all...]
/include/linux/sunrpc/
H A Dxprt.h72 struct rpc_task * rq_task; /* RPC task data */
121 int (*reserve_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
122 void (*release_xprt)(struct rpc_xprt *xprt, struct rpc_task *task);
123 void (*alloc_slot)(struct rpc_xprt *xprt, struct rpc_task *task);
124 void (*rpcbind)(struct rpc_task *task);
126 void (*connect)(struct rpc_xprt *xprt, struct rpc_task *task);
127 void * (*buf_alloc)(struct rpc_task *task, size_t size);
129 int (*send_request)(struct rpc_task *task);
130 void (*set_retrans_timeout)(struct rpc_task *task);
131 void (*timer)(struct rpc_xprt *xprt, struct rpc_task *task);
[all...]
/include/scsi/
H A Dlibiscsi.h147 static inline int iscsi_task_has_unsol_data(struct iscsi_task *task) argument
149 return task->unsol_r2t.data_length > task->unsol_r2t.sent;
152 static inline void* iscsi_next_hdr(struct iscsi_task *task) argument
154 return (void*)task->hdr + task->hdr_len;
196 struct iscsi_task *task; /* xmit task in progress */ member in struct:iscsi_conn
277 * task management functions. This must be taken before the session
450 * pdu and task processin
[all...]
H A Dlibiscsi_tcp.h100 extern void iscsi_tcp_cleanup_task(struct iscsi_task *task);
101 extern int iscsi_tcp_task_init(struct iscsi_task *task);
102 extern int iscsi_tcp_task_xmit(struct iscsi_task *task);

Completed in 297 milliseconds

123