Home
last modified time | relevance | path

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

12345678910>>...22

/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.c919 struct rpc_task *task; in rpc_cancel_tasks() local
1141 void rpc_task_release_transport(struct rpc_task *task) in rpc_task_release_transport()
1155 void rpc_task_release_client(struct rpc_task *task) in rpc_task_release_client()
1190 void rpc_task_set_transport(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_task_set_transport()
1206 void rpc_task_set_client(struct rpc_task *task, struct rpc_clnt *clnt) in rpc_task_set_client()
1223 rpc_task_set_rpc_message(struct rpc_task *task, const struct rpc_message *msg) in rpc_task_set_rpc_message()
1239 rpc_default_callback(struct rpc_task *task, void *data) in rpc_default_callback()
1253 struct rpc_task *task; in rpc_run_task() local
1282 struct rpc_task *task; in rpc_call_sync() local
1319 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/tools/testing/selftests/bpf/progs/
H A Dtask_kfunc_failure.c20 static struct __tasks_kfunc_map_value *insert_lookup_task(struct task_struct *task) in insert_lookup_task()
33 int BPF_PROG(task_kfunc_acquire_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG()
54 int BPF_PROG(task_kfunc_acquire_fp, struct task_struct *task, u64 clone_flags) in BPF_PROG()
70 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe, struct task_struct *task, u64 clone_flags) in BPF_PROG()
85 int BPF_PROG(task_kfunc_acquire_unsafe_kretprobe_rcu, struct task_struct *task, u64 clone_flags) in BPF_PROG()
105 int BPF_PROG(task_kfunc_acquire_null, struct task_struct *task, u64 clone_flags) in BPF_PROG()
120 int BPF_PROG(task_kfunc_acquire_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG()
134 int BPF_PROG(task_kfunc_xchg_unreleased, struct task_struct *task, u64 clone_flags) in BPF_PROG()
154 int BPF_PROG(task_kfunc_acquire_release_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG()
167 int BPF_PROG(task_kfunc_release_untrusted, struct task_struct *task, u64 clone_flags) in BPF_PROG()
[all …]
H A Dtask_kfunc_success.c40 static int test_acquire_release(struct task_struct *task) in test_acquire_release()
68 int BPF_PROG(test_task_kfunc_flavor_relo, struct task_struct *task, u64 clone_flags) in BPF_PROG()
98 int BPF_PROG(test_task_kfunc_flavor_relo_not_found, struct task_struct *task, u64 clone_flags) in BPF_PROG()
112 int BPF_PROG(test_task_acquire_release_argument, struct task_struct *task, u64 clone_flags) in BPF_PROG()
121 int BPF_PROG(test_task_acquire_release_current, struct task_struct *task, u64 clone_flags) in BPF_PROG()
130 int BPF_PROG(test_task_acquire_leave_in_map, struct task_struct *task, u64 clone_flags) in BPF_PROG()
147 struct task_struct *task, *kptr, *acquired; in test_task_xchg_release() local
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()
49 int BPF_PROG(test_alloc_double_release, struct task_struct *task, u64 clone_flags) in BPF_PROG()
64 int BPF_PROG(test_acquire_wrong_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG()
77 int BPF_PROG(test_mutate_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG()
87 int BPF_PROG(test_insert_remove_no_release, struct task_struct *task, u64 clone_flags) in BPF_PROG()
111 int BPF_PROG(test_cpumask_null, struct task_struct *task, u64 clone_flags) in BPF_PROG()
159 int BPF_PROG(test_global_mask_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG()
187 int BPF_PROG(test_global_mask_rcu_no_null_check, struct task_struct *task, u64 clone_flags) in BPF_PROG()
212 int BPF_PROG(test_invalid_nested_array, struct task_struct *task, u64 clone_flags) in BPF_PROG()
232 int BPF_PROG(test_populate_invalid_destination, struct task_struct *task, u64 clone_flags) in BPF_PROG()
[all …]
H A Dcpumask_success.c139 int BPF_PROG(test_alloc_free_cpumask, struct task_struct *task, u64 clone_flags) in BPF_PROG()
155 int BPF_PROG(test_set_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG()
184 int BPF_PROG(test_setall_clear_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG()
213 int BPF_PROG(test_first_firstzero_cpu, struct task_struct *task, u64 clone_flags) in BPF_PROG()
252 int BPF_PROG(test_firstand_nocpu, struct task_struct *task, u64 clone_flags) in BPF_PROG()
284 int BPF_PROG(test_test_and_set_clear, struct task_struct *task, u64 clone_flags) in BPF_PROG()
316 int BPF_PROG(test_and_or_xor, struct task_struct *task, u64 clone_flags) in BPF_PROG()
363 int BPF_PROG(test_intersects_subset, struct task_struct *task, u64 clone_flags) in BPF_PROG()
405 int BPF_PROG(test_copy_any_anyand, struct task_struct *task, u64 clone_flags) in BPF_PROG()
459 int BPF_PROG(test_insert_leave, struct task_struct *task, u64 clone_flags) in BPF_PROG()
[all …]
H A Drcu_read_lock.c43 struct task_struct *task; in get_cgroup_id() local
64 struct task_struct *task, *real_parent; in task_succ() local
93 struct task_struct *task, *real_parent; in no_lock() local
105 struct task_struct *task, *real_parent; in two_regions() local
124 struct task_struct *task, *real_parent; in non_sleepable_1() local
140 struct task_struct *task, *real_parent; in non_sleepable_2() local
159 struct task_struct *task, *real_parent, *gparent; in task_acquire() local
187 struct task_struct *task; in miss_lock() local
201 struct task_struct *task; in miss_unlock() local
213 struct task_struct *task, *real_parent; in non_sleepable_rcu_mismatch() local
[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/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/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/arch/riscv/kernel/
H A Dusercfi.c24 bool is_shstk_enabled(struct task_struct *task) in is_shstk_enabled()
29 bool is_shstk_allocated(struct task_struct *task) in is_shstk_allocated()
34 bool is_shstk_locked(struct task_struct *task) in is_shstk_locked()
39 void set_shstk_base(struct task_struct *task, unsigned long shstk_addr, unsigned long size) in set_shstk_base()
45 unsigned long get_shstk_base(struct task_struct *task, unsigned long *size) in get_shstk_base()
52 void set_active_shstk(struct task_struct *task, unsigned long shstk_addr) in set_active_shstk()
57 unsigned long get_active_shstk(struct task_struct *task) in get_active_shstk()
62 void set_shstk_status(struct task_struct *task, bool enable) in set_shstk_status()
77 void set_shstk_lock(struct task_struct *task, bool lock) in set_shstk_lock()
82 bool is_indir_lp_enabled(struct task_struct *task) in is_indir_lp_enabled()
[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()
/linux/kernel/livepatch/
H A Dtransition.c94 struct task_struct *g, *task; klp_complete_transition() local
184 klp_update_patch_state(struct task_struct * task) klp_update_patch_state() argument
263 klp_check_stack(struct task_struct * task,const char ** oldname) klp_check_stack() argument
293 klp_check_and_switch_task(struct task_struct * task,void * arg) klp_check_and_switch_task() argument
314 klp_try_switch_task(struct task_struct * task) klp_try_switch_task() argument
410 struct task_struct *g, *task; klp_send_signals() local
454 struct task_struct *g, *task; klp_try_complete_transition() local
532 struct task_struct *g, *task; klp_start_transition() local
575 struct task_struct *g, *task; klp_init_transition() local
651 struct task_struct *g, *task; klp_reverse_transition() local
730 struct task_struct *g, *task; klp_force_transition() local
[all...]
/linux/tools/testing/selftests/landlock/
H A Dtrace.h71 #define TRACE_PREFIX(task) \ argument
82 #define REGEX_ADD_RULE_PATH_BENEATH(task) \ argument
91 #define REGEX_ADD_RULE_NET_PORT(task) \ argument
98 #define REGEX_CREATE_RULESET(task) \ argument
106 #define REGEX_CREATE_DOMAIN(task) \ argument
113 #define REGEX_CHECK_RULE_FS(task) \ argument
122 #define REGEX_CHECK_RULE_NET(task) \ argument
130 #define REGEX_DENY_ACCESS_FS(task) \ argument
141 #define REGEX_DENY_ACCESS_NET(task) \ argument
150 #define REGEX_DENY_PTRACE(task) \ argument
[all …]
/linux/arch/riscv/include/asm/
H A Dswitch_to.h28 static inline void fstate_off(struct task_struct *task, in fstate_off()
34 static inline void fstate_save(struct task_struct *task, in fstate_save()
43 static inline void fstate_restore(struct task_struct *task, in fstate_restore()
69 #define fstate_save(task, regs) do { } while (0) argument
70 #define fstate_restore(task, regs) do { } while (0) argument
74 static inline void envcfg_update_bits(struct task_struct *task, in envcfg_update_bits()
95 static inline bool switch_to_should_flush_icache(struct task_struct *task) in switch_to_should_flush_icache()

12345678910>>...22