Home
last modified time | relevance | path

Searched defs:task (Results 1 – 25 of 624) sorted by relevance

12345678910>>...25

/linux/net/sunrpc/
H A Dsched.c68 bool rpc_task_set_rpc_status(struct rpc_task *task, int rpc_status) in rpc_task_set_rpc_status()
76 rpc_task_timeout(const struct rpc_task *task) in rpc_task_timeout()
95 __rpc_disable_timer(struct rpc_wait_queue *queue, struct rpc_task *task) in __rpc_disable_timer()
121 __rpc_add_timer(struct rpc_wait_queue *queue, struct rpc_task *task, in __rpc_add_timer()
147 __rpc_list_enqueue_task(struct list_head *q, struct rpc_task *task) in __rpc_list_enqueue_task()
169 __rpc_list_dequeue_task(struct rpc_task *task) in __rpc_list_dequeue_task()
194 struct rpc_task *task, in __rpc_add_wait_queue_priority()
206 struct rpc_task *task, in __rpc_add_wait_queue()
224 static void __rpc_remove_wait_queue_priority(struct rpc_task *task) in __rpc_remove_wait_queue_priority()
233 static void __rpc_remove_wait_queue(struct rpc_wait_queue *queue, struct rpc_task *task) in __rpc_remove_wait_queue()
[all …]
H A Dxprt.c265 int xprt_reserve_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt()
329 int xprt_reserve_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_reserve_xprt_cong()
364 static inline int xprt_lock_write(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_lock_write()
376 static bool __xprt_lock_write_func(struct rpc_task *task, void *data) in __xprt_lock_write_func()
419 void xprt_release_xprt(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_release_xprt()
437 void xprt_release_xprt_cong(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_release_xprt_cong()
447 void xprt_release_write(struct rpc_xprt *xprt, struct rpc_task *task) in xprt_release_write()
518 void xprt_release_rqst_cong(struct rpc_task *task) in xprt_release_rqst_cong()
562 void xprt_adjust_cwnd(struct rpc_xprt *xprt, struct rpc_task *task, int result) in xprt_adjust_cwnd()
679 static void xprt_init_majortimeo(struct rpc_task *task, struct rpc_rqst *req, in xprt_init_majortimeo()
[all …]
H A Dclnt.c907 struct rpc_task *task; in rpc_cancel_tasks() local
1114 void rpc_task_release_transport(struct rpc_task *task) in rpc_task_release_transport()
1128 void rpc_task_release_client(struct rpc_task *task) in rpc_task_release_client()
1163 void rpc_task_set_transport(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_task_set_transport()
1179 void rpc_task_set_client(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_task_set_client()
1196 rpc_task_set_rpc_message(struct rpc_task *task, const struct rpc_message *msg) in rpc_task_set_rpc_message()
1212 rpc_default_callback(struct rpc_task *task, void *data) in rpc_default_callback()
1226 struct rpc_task *task; in rpc_run_task() local
1255 struct rpc_task *task; in rpc_call_sync() local
1292 struct rpc_task *task; in rpc_call_async() local
[all …]
/linux/arch/powerpc/kernel/
H A Dsignal.h48 #define unsafe_copy_fpr_to_user(to, task, label) do { \ argument
58 #define unsafe_copy_vsx_to_user(to, task, label) do { \ argument
68 #define unsafe_copy_fpr_from_user(task, from, label) do { \ argument
78 #define unsafe_copy_vsx_from_user(task, from, label) do { \ argument
89 #define unsafe_copy_ckfpr_to_user(to, task, label) do { \ argument
99 #define unsafe_copy_ckvsx_to_user(to, task, label) do { \ argument
109 #define unsafe_copy_ckfpr_from_user(task, from, label) do { \ argument
119 #define unsafe_copy_ckvsx_from_user(task, from, label) do { \ argument
131 #define unsafe_copy_fpr_to_user(to, task, label) \ argument
135 #define unsafe_copy_fpr_from_user(task, from, label) \ argument
[all …]
/linux/arch/x86/include/asm/
H A Dsyscall.h36 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr()
41 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
48 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
54 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
73 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
79 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
88 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
100 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
112 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
119 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
[all …]
/linux/arch/mips/include/asm/
H A Dsyscall.h29 static inline bool mips_syscall_is_indirect(struct task_struct *task, in mips_syscall_is_indirect()
38 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr()
44 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
59 static inline void mips_syscall_update_nr(struct task_struct *task, in mips_syscall_update_nr()
73 struct task_struct *task, struct pt_regs *regs, unsigned int n) in mips_get_syscall_arg()
93 struct task_struct *task, struct pt_regs *regs, unsigned int n) in mips_set_syscall_arg()
109 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
115 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
121 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
127 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
[all …]
/linux/arch/riscv/include/asm/
H A Dusercfi.h60 #define get_shstk_base(task, size) 0UL argument
62 #define set_shstk_base(task, shstk_addr, size) do {} while (0) argument
64 #define set_active_shstk(task, shstk_addr) do {} while (0) argument
66 #define is_shstk_enabled(task) false argument
68 #define is_shstk_locked(task) false argument
70 #define is_shstk_allocated(task) false argument
72 #define set_shstk_lock(task, lock) do {} while (0) argument
74 #define set_shstk_status(task, enable) do {} while (0) argument
76 #define is_indir_lp_enabled(task) false argument
78 #define is_indir_lp_locked(task) false argument
[all …]
H A Dsyscall.h27 static inline int syscall_get_nr(struct task_struct *task, in syscall_get_nr()
33 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
40 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
46 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
54 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
60 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
67 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
79 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
91 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/include/linux/
H A Dcn_proc.h32 static inline void proc_fork_connector(struct task_struct *task) in proc_fork_connector()
35 static inline void proc_exec_connector(struct task_struct *task) in proc_exec_connector()
38 static inline void proc_id_connector(struct task_struct *task, in proc_id_connector()
42 static inline void proc_sid_connector(struct task_struct *task) in proc_sid_connector()
45 static inline void proc_comm_connector(struct task_struct *task) in proc_comm_connector()
48 static inline void proc_ptrace_connector(struct task_struct *task, in proc_ptrace_connector()
52 static inline void proc_coredump_connector(struct task_struct *task) in proc_coredump_connector()
55 static inline void proc_exit_connector(struct task_struct *task) in proc_exit_connector()
/linux/arch/openrisc/include/asm/
H A Dsyscall.h23 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr()
29 syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr()
35 syscall_rollback(struct task_struct *task, struct pt_regs *regs) in syscall_rollback()
41 syscall_get_error(struct task_struct *task, struct pt_regs *regs) in syscall_get_error()
47 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) in syscall_get_return_value()
53 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, in syscall_set_return_value()
60 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_get_arguments()
67 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_set_arguments()
73 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/nios2/include/asm/
H A Dsyscall.h13 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr()
18 static inline void syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr()
23 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
30 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
36 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
42 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
55 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
66 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
77 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/csky/include/asm/
H A Dsyscall.h14 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr()
20 syscall_set_nr(struct task_struct *task, struct pt_regs *regs, in syscall_set_nr()
27 syscall_rollback(struct task_struct *task, struct pt_regs *regs) in syscall_rollback()
33 syscall_get_error(struct task_struct *task, struct pt_regs *regs) in syscall_get_error()
41 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) in syscall_get_return_value()
47 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, in syscall_set_return_value()
54 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_get_arguments()
63 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_set_arguments()
76 syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/sh/include/asm/
H A Dsyscall_32.h12 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr()
18 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
30 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
39 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
45 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
51 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
58 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
72 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
84 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/m68k/include/asm/
H A Dsyscall.h11 static inline int syscall_get_nr(struct task_struct *task, in syscall_get_nr()
17 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
24 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
30 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
38 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
44 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
51 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
61 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
71 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/loongarch/include/asm/
H A Dsyscall.h23 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr()
29 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
36 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
42 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
50 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
56 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
63 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
71 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
79 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/riscv/kernel/
H A Dusercfi.c24 bool is_shstk_enabled(struct task_struct *task) in is_shstk_enabled() argument
29 bool is_shstk_allocated(struct task_struct *task) in is_shstk_allocated() argument
34 bool is_shstk_locked(struct task_struct *task) in is_shstk_locked() argument
39 void set_shstk_base(struct task_struct *task, unsigned long shstk_addr, unsigned long size) in set_shstk_base() argument
45 unsigned long get_shstk_base(struct task_struct *task, unsigne argument
52 set_active_shstk(struct task_struct * task,unsigned long shstk_addr) set_active_shstk() argument
57 get_active_shstk(struct task_struct * task) get_active_shstk() argument
62 set_shstk_status(struct task_struct * task,bool enable) set_shstk_status() argument
77 set_shstk_lock(struct task_struct * task,bool lock) set_shstk_lock() argument
82 is_indir_lp_enabled(struct task_struct * task) is_indir_lp_enabled() argument
87 is_indir_lp_locked(struct task_struct * task) is_indir_lp_locked() argument
92 set_indir_lp_status(struct task_struct * task,bool enable) set_indir_lp_status() argument
107 set_indir_lp_lock(struct task_struct * task,bool lock) set_indir_lp_lock() argument
447 arch_lock_shadow_stack_status(struct task_struct * task,unsigned long arg) arch_lock_shadow_stack_status() argument
494 arch_prctl_lock_branch_landing_pad_state(struct task_struct * task) arch_prctl_lock_branch_landing_pad_state() argument
[all...]
/linux/arch/powerpc/include/asm/
H A Dsyscall.h28 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr()
42 static inline void syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr()
52 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
58 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
74 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
80 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
103 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
123 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
133 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/arc/include/asm/
H A Dsyscall.h18 syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr()
27 syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr()
38 syscall_rollback(struct task_struct *task, struct pt_regs *regs) in syscall_rollback()
44 syscall_get_error(struct task_struct *task, struct pt_regs *regs) in syscall_get_error()
51 syscall_get_return_value(struct task_struct *task, struct pt_regs *regs) in syscall_get_return_value()
57 syscall_set_return_value(struct task_struct *task, struct pt_regs *regs, in syscall_set_return_value()
68 syscall_get_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_get_arguments()
82 syscall_set_arguments(struct task_struct *task, struct pt_regs *regs, in syscall_set_arguments()
96 syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_success.c39 static int test_acquire_release(struct task_struct *task) in test_acquire_release()
67 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG()
97 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, struct task_struct *task, u64 clone_flags) in BPF_PROG()
111 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG()
120 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG()
129 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG()
144 int BPF_PROG(test_task_xchg_release, struct task_struct *task, u64 clone_flags) in BPF_PROG()
228 int BPF_PROG(test_task_map_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG()
266 int BPF_PROG(test_task_current_acquire_release, struct task_struct *task, u64 clone_flags) in BPF_PROG()
299 int BPF_PROG(test_task_from_pid_arg, struct task_struct *task, u64 clone_flags) in BPF_PROG()
[all …]
H A Dcpumask_failure.c36 int BPF_PROG(test_alloc_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
49 int BPF_PROG(test_alloc_double_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
64 int BPF_PROG(test_acquire_wrong_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
77 int BPF_PROG(test_mutate_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
87 int BPF_PROG(test_insert_remove_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
111 int BPF_PROG(test_cpumask_null, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
121 int BPF_PROG(test_global_mask_out_of_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG() argument
155 int BPF_PROG(test_global_mask_no_null_check, struct task_struct *task, u6 argument
183 BPF_PROG(test_global_mask_rcu_no_null_check,struct task_struct * task,u64 clone_flags) BPF_PROG() argument
208 BPF_PROG(test_invalid_nested_array,struct task_struct * task,u64 clone_flags) BPF_PROG() argument
[all...]
H A Drcu_read_lock.c33 struct task_struct *task; get_cgroup_id() local
54 struct task_struct *task, *real_parent; task_succ() local
83 struct task_struct *task, *real_parent; no_lock() local
95 struct task_struct *task, *real_parent; two_regions() local
114 struct task_struct *task, *real_parent; non_sleepable_1() local
130 struct task_struct *task, *real_parent; non_sleepable_2() local
149 struct task_struct *task, *real_parent, *gparent; task_acquire() local
177 struct task_struct *task; miss_lock() local
191 struct task_struct *task; miss_unlock() local
203 struct task_struct *task, *real_parent; non_sleepable_rcu_mismatch() local
221 struct task_struct *task, *real_parent; inproper_sleepable_helper() local
265 struct task_struct *task, *real_parent; nested_rcu_region() local
284 struct task_struct *task, *group_leader; task_trusted_non_rcuptr() local
298 struct task_struct *task, *real_parent; task_untrusted_rcuptr() local
312 struct task_struct *task, *real_parent; cross_rcu_region() local
[all...]
/linux/arch/hexagon/include/asm/
H A Dsyscall.h23 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr()
29 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
36 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
43 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
50 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
56 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
62 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
69 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/um/include/asm/
H A Dsyscall-generic.h18 static inline int syscall_get_nr(struct task_struct *task, struct pt_regs *regs) in syscall_get_nr()
24 static inline void syscall_set_nr(struct task_struct *task, struct pt_regs *regs, int nr) in syscall_set_nr()
29 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
35 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
43 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
49 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
56 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
70 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
/linux/arch/microblaze/include/asm/
H A Dsyscall.h11 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr()
17 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
24 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
30 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
36 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
42 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
68 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
82 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()
/linux/arch/sparc/include/asm/
H A Dsyscall.h20 static inline long syscall_get_nr(struct task_struct *task, in syscall_get_nr()
28 static inline void syscall_set_nr(struct task_struct *task, in syscall_set_nr()
40 static inline void syscall_rollback(struct task_struct *task, in syscall_rollback()
80 static inline long syscall_get_error(struct task_struct *task, in syscall_get_error()
88 static inline long syscall_get_return_value(struct task_struct *task, in syscall_get_return_value()
96 static inline void syscall_set_return_value(struct task_struct *task, in syscall_set_return_value()
109 static inline void syscall_get_arguments(struct task_struct *task, in syscall_get_arguments()
132 static inline void syscall_set_arguments(struct task_struct *task, in syscall_set_arguments()
142 static inline int syscall_get_arch(struct task_struct *task) in syscall_get_arch()

12345678910>>...25