Home
last modified time | relevance | path

Searched defs:tsk (Results 1 – 25 of 350) sorted by relevance

12345678910>>...14

/linux/include/linux/
H A Dvtime.h23 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter()
24 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit()
25 static inline void vtime_guest_enter(struct task_struct *tsk) { } in vtime_guest_enter()
26 static inline void vtime_guest_exit(struct task_struct *tsk) { } in vtime_guest_exit()
27 static inline void vtime_init_idle(struct task_struct *tsk, int cpu) { } in vtime_init_idle()
36 static inline void vtime_account_irq(struct task_struct *tsk, unsigned int offset) { } in vtime_account_irq()
37 static inline void vtime_account_softirq(struct task_struct *tsk) { } in vtime_account_softirq()
38 static inline void vtime_account_hardirq(struct task_struct *tsk) { } in vtime_account_hardirq()
39 static inline void vtime_flush(struct task_struct *tsk) { } in vtime_flush()
130 static inline void irqtime_account_irq(struct task_struct *tsk, unsigned int offset) { } in irqtime_account_irq()
[all …]
H A Dpid.h234 static inline pid_t task_pid_nr(struct task_struct *tsk) in task_pid_nr()
239 static inline pid_t task_pid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pid_nr_ns()
244 static inline pid_t task_pid_vnr(struct task_struct *tsk) in task_pid_vnr()
250 static inline pid_t task_tgid_nr(struct task_struct *tsk) in task_tgid_nr()
270 static inline pid_t task_pgrp_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_pgrp_nr_ns()
275 static inline pid_t task_pgrp_vnr(struct task_struct *tsk) in task_pgrp_vnr()
281 static inline pid_t task_session_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_session_nr_ns()
286 static inline pid_t task_session_vnr(struct task_struct *tsk) in task_session_vnr()
291 static inline pid_t task_tgid_nr_ns(struct task_struct *tsk, struct pid_namespace *ns) in task_tgid_nr_ns()
296 static inline pid_t task_tgid_vnr(struct task_struct *tsk) in task_tgid_vnr()
[all …]
H A Dscs.h25 #define task_scs(tsk) (task_thread_info(tsk)->scs_base) argument
26 #define task_scs_sp(tsk) (task_thread_info(tsk)->scs_sp) argument
34 static inline void scs_task_reset(struct task_struct *tsk) in scs_task_reset()
48 static inline bool task_scs_end_corrupted(struct task_struct *tsk) in task_scs_end_corrupted()
77 static inline void scs_task_reset(struct task_struct *tsk) {} in scs_task_reset()
78 static inline int scs_prepare(struct task_struct *tsk, int node) { return 0; } in scs_prepare()
79 static inline void scs_release(struct task_struct *tsk) {} in scs_release()
80 static inline bool task_scs_end_corrupted(struct task_struct *tsk) { return false; } in task_scs_end_corrupted()
H A Dtsacct_kern.h20 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
32 static inline void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
34 static inline void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
36 static inline void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
/linux/include/linux/sched/
H A Dxacct.h12 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
17 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
22 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
27 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
32 static inline void add_rchar(struct task_struct *tsk, ssize_t amt) in add_rchar()
36 static inline void add_wchar(struct task_struct *tsk, ssize_t amt) in add_wchar()
40 static inline void inc_syscr(struct task_struct *tsk) in inc_syscr()
44 static inline void inc_syscw(struct task_struct *tsk) in inc_syscw()
H A Dcputime.h71 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer()
103 struct thread_group_cputimer *get_running_cputimer(struct task_struct *tsk) in get_running_cputimer()
119 static inline void account_group_user_time(struct task_struct *tsk, in account_group_user_time()
140 static inline void account_group_system_time(struct task_struct *tsk, in account_group_system_time()
161 static inline void account_group_exec_runtime(struct task_struct *tsk, in account_group_exec_runtime()
/linux/include/linux/fsl/bestcomm/
H A Dbestcomm.h90 bcom_get_task_irq(struct bcom_task *tsk) { in bcom_get_task_irq()
106 _bcom_next_index(struct bcom_task *tsk) in _bcom_next_index()
117 _bcom_next_outdex(struct bcom_task *tsk) in _bcom_next_outdex()
127 bcom_queue_empty(struct bcom_task *tsk) in bcom_queue_empty()
137 bcom_queue_full(struct bcom_task *tsk) in bcom_queue_full()
148 *bcom_get_bd(struct bcom_task *tsk, unsigned int index) in bcom_get_bd()
160 bcom_buffer_done(struct bcom_task *tsk) in bcom_buffer_done()
177 bcom_prepare_next_buffer(struct bcom_task *tsk) in bcom_prepare_next_buffer()
187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) in bcom_submit_next_buffer()
200 bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) in bcom_retrieve_buffer()
/linux/arch/sh/include/asm/
H A Dswitch_to_32.h7 #define is_dsp_enabled(tsk) \ argument
10 #define __restore_dsp(tsk) \ argument
33 #define __save_dsp(tsk) \ argument
59 #define is_dsp_enabled(tsk) (0) argument
60 #define __save_dsp(tsk) do { } while (0) argument
61 #define __restore_dsp(tsk) do { } while (0) argument
H A Dfpu.h27 #define save_fpu(tsk) do { } while (0) argument
28 #define restore_fpu(tsk) do { } while (0) argument
40 static inline void __unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in __unlazy_fpu()
50 static inline void unlazy_fpu(struct task_struct *tsk, struct pt_regs *regs) in unlazy_fpu()
57 static inline void clear_fpu(struct task_struct *tsk, struct pt_regs *regs) in clear_fpu()
/linux/net/tipc/
H A Dsocket.c167 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node() argument
172 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node() argument
177 tsk_peer_port(struct tipc_sock * tsk) tsk_peer_port() argument
182 tsk_unreliable(struct tipc_sock * tsk) tsk_unreliable() argument
187 tsk_set_unreliable(struct tipc_sock * tsk,bool unreliable) tsk_set_unreliable() argument
192 tsk_unreturnable(struct tipc_sock * tsk) tsk_unreturnable() argument
197 tsk_set_unreturnable(struct tipc_sock * tsk,bool unreturnable) tsk_set_unreturnable() argument
202 tsk_importance(struct tipc_sock * tsk) tsk_importance() argument
220 tsk_conn_cong(struct tipc_sock * tsk) tsk_conn_cong() argument
243 tsk_inc(struct tipc_sock * tsk,int msglen) tsk_inc() argument
252 tsk_set_nagle(struct tipc_sock * tsk) tsk_set_nagle() argument
334 tsk_peer_msg(struct tipc_sock * tsk,struct tipc_msg * msg) tsk_peer_msg() argument
463 struct tipc_sock *tsk; tipc_sk_create() local
542 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); tipc_sk_callback() local
551 struct tipc_sock *tsk = tipc_sk(sk); __tipc_shutdown() local
627 struct tipc_sock *tsk; tipc_release() local
677 struct tipc_sock *tsk = tipc_sk(sock->sk); __tipc_bind() local
749 struct tipc_sock *tsk = tipc_sk(sk); tipc_getname() local
793 struct tipc_sock *tsk = tipc_sk(sk); tipc_poll() local
845 struct tipc_sock *tsk = tipc_sk(sk); tipc_sendmcast() local
904 tipc_send_group_msg(struct net * net,struct tipc_sock * tsk,struct msghdr * m,struct tipc_member * mb,u32 dnode,u32 dport,int dlen) tipc_send_group_msg() argument
961 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_unicast() local
1004 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_anycast() local
1086 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_bcast() local
1159 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_mcast() local
1270 tipc_sk_push_backlog(struct tipc_sock * tsk,bool nagle_ack) tipc_sk_push_backlog() argument
1324 tipc_sk_conn_proto_rcv(struct tipc_sock * tsk,struct sk_buff * skb,struct sk_buff_head * inputq,struct sk_buff_head * xmitq) tipc_sk_conn_proto_rcv() argument
1409 struct tipc_sock *tsk = tipc_sk(sk); __tipc_sendmsg() local
1558 struct tipc_sock *tsk = tipc_sk(sk); __tipc_sendstream() local
1657 tipc_sk_finish_conn(struct tipc_sock * tsk,u32 peer_port,u32 peer_node) tipc_sk_finish_conn() argument
1733 tipc_sk_anc_data_recv(struct msghdr * m,struct sk_buff * skb,struct tipc_sock * tsk) tipc_sk_anc_data_recv() argument
1789 tipc_sk_build_ack(struct tipc_sock * tsk) tipc_sk_build_ack() argument
1816 tipc_sk_send_ack(struct tipc_sock * tsk) tipc_sk_send_ack() argument
1886 struct tipc_sock *tsk = tipc_sk(sk); tipc_recvmsg() local
2014 struct tipc_sock *tsk = tipc_sk(sk); tipc_recvstream() local
2149 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_proto_rcv() local
2190 tipc_sk_filter_connect(struct tipc_sock * tsk,struct sk_buff * skb,struct sk_buff_head * xmitq) tipc_sk_filter_connect() argument
2306 struct tipc_sock *tsk = tipc_sk(sk); rcvbuf_limit() local
2336 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_filter_rcv() local
2483 struct tipc_sock *tsk; tipc_sk_rcv() local
2572 struct tipc_sock *tsk = tipc_sk(sk); tipc_connect() local
2826 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_check_probing_state() local
2851 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_retry_connect() local
2866 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_timeout() local
2900 tipc_sk_publish(struct tipc_sock * tsk,struct tipc_uaddr * ua) tipc_sk_publish() argument
2925 tipc_sk_withdraw(struct tipc_sock * tsk,struct tipc_uaddr * ua) tipc_sk_withdraw() argument
2966 struct tipc_sock *tsk; tipc_sk_reinit() local
2995 struct tipc_sock *tsk; tipc_sk_lookup() local
3006 tipc_sk_insert(struct tipc_sock * tsk) tipc_sk_insert() argument
3029 tipc_sk_remove(struct tipc_sock * tsk) tipc_sk_remove() argument
3067 tipc_sk_join(struct tipc_sock * tsk,struct tipc_group_req * mreq) tipc_sk_join() argument
3106 tipc_sk_leave(struct tipc_sock * tsk) tipc_sk_leave() argument
3141 struct tipc_sock *tsk = tipc_sk(sk); tipc_setsockopt() local
3235 struct tipc_sock *tsk = tipc_sk(sk); tipc_getsockopt() local
3462 __tipc_nl_add_sk_con(struct sk_buff * skb,struct tipc_sock * tsk) __tipc_nl_add_sk_con() argument
3499 __tipc_nl_add_sk_info(struct sk_buff * skb,struct tipc_sock * tsk) __tipc_nl_add_sk_info() argument
3521 __tipc_nl_add_sk(struct sk_buff * skb,struct netlink_callback * cb,struct tipc_sock * tsk) __tipc_nl_add_sk() argument
3554 tipc_nl_sk_walk(struct sk_buff * skb,struct netlink_callback * cb,int (* skb_handler)(struct sk_buff * skb,struct netlink_callback * cb,struct tipc_sock * tsk)) tipc_nl_sk_walk() argument
3557 struct tipc_sock *tsk; tipc_nl_sk_walk() local
3622 tipc_sk_fill_sock_diag(struct sk_buff * skb,struct netlink_callback * cb,struct tipc_sock * tsk,u32 sk_filter_state,u64 (* tipc_diag_gen_cookie)(struct sock * sk)) tipc_sk_fill_sock_diag() argument
3737 __tipc_nl_list_sk_publ(struct sk_buff * skb,struct netlink_callback * cb,struct tipc_sock * tsk,u32 * last_publ) __tipc_nl_list_sk_publ() argument
3782 struct tipc_sock *tsk; tipc_nl_publ_dump() local
3837 struct tipc_sock *tsk; tipc_sk_filtering() local
3941 struct tipc_sock *tsk; tipc_sk_dump() local
[all...]
/linux/arch/arm64/include/asm/
H A Dpointer_auth.h130 #define ptrauth_thread_switch_user(tsk) \ argument
135 #define ptrauth_prctl_reset_keys(tsk, arg) (-EINVAL) argument
136 #define ptrauth_set_enabled_keys(tsk, keys, enabled) (-EINVAL) argument
137 #define ptrauth_get_enabled_keys(tsk) (-EINVAL) argument
140 #define ptrauth_thread_switch_user(tsk) argument
144 #define ptrauth_thread_init_kernel(tsk) \ argument
146 #define ptrauth_thread_switch_kernel(tsk) \ argument
149 #define ptrauth_thread_init_kernel(tsk) argument
150 #define ptrauth_thread_switch_kernel(tsk) argument
/linux/arch/sh/kernel/cpu/sh4/
H A Dfpu.c41 void save_fpu(struct task_struct *tsk) in save_fpu()
91 void restore_fpu(struct task_struct *tsk) in restore_fpu()
228 struct task_struct *tsk = current; in ieee_fpe_handler() local
241 struct task_struct *tsk = current; in ieee_fpe_handler() local
279 struct task_struct *tsk = current; in ieee_fpe_handler() local
323 struct task_struct *tsk = current; in ieee_fpe_handler() local
363 struct task_struct *tsk = current; in ieee_fpe_handler() local
396 struct task_struct *tsk = current; in float_rounding_mode() local
403 struct task_struct *tsk = current; in BUILD_TRAP_HANDLER() local
/linux/arch/powerpc/kernel/
H A Dprocess.c83 static void check_if_tm_restore_required(struct task_struct *tsk) in check_if_tm_restore_required()
101 static inline void check_if_tm_restore_required(struct task_struct *tsk) { } in check_if_tm_restore_required()
151 static void __giveup_fpu(struct task_struct *tsk) in __giveup_fpu()
163 void giveup_fpu(struct task_struct *tsk) in giveup_fpu()
177 void flush_fp_to_thread(struct task_struct *tsk) in flush_fp_to_thread()
230 static inline void __giveup_fpu(struct task_struct *tsk) { } in __giveup_fpu()
234 static void __giveup_altivec(struct task_struct *tsk) in __giveup_altivec()
246 void giveup_altivec(struct task_struct *tsk) in giveup_altivec()
285 void flush_altivec_to_thread(struct task_struct *tsk) in flush_altivec_to_thread()
300 static void __giveup_vsx(struct task_struct *tsk) in __giveup_vsx()
[all …]
H A Dsignal_64.c87 static void prepare_setup_sigcontext(struct task_struct *tsk) in prepare_setup_sigcontext()
109 #define unsafe_setup_sigcontext(sc, tsk, signr, set, handler, ctx_has_vsx_region, label)\ argument
115 struct task_struct *tsk, int signr, sigset_t *set, in __unsafe_setup_sigcontext()
208 struct task_struct *tsk, in setup_tm_sigcontexts()
333 #define unsafe_restore_sigcontext(tsk, set, sig, sc, label) do { \ argument
337 static long notrace __unsafe_restore_sigcontext(struct task_struct *tsk, sigset_t *set, in __unsafe_restore_sigcontext()
437 static long restore_tm_sigcontexts(struct task_struct *tsk, in restore_tm_sigcontexts()
614 static long restore_tm_sigcontexts(struct task_struct *tsk, struct sigcontext __user *sc, in restore_tm_sigcontexts()
858 struct task_struct *tsk) in handle_rt_signal64()
/linux/kernel/time/
H A Dposix-cpu-timers.c78 struct task_struct *tsk = pid_task(pid, PIDTYPE_PID); in pid_for_clock() local
273 void thread_group_sample_cputime(struct task_struct *tsk, u64 *samples) in thread_group_sample_cputime()
295 static void thread_group_start_cputime(struct task_struct *tsk, u64 *samples) in thread_group_start_cputime()
326 static void __thread_group_cputime(struct task_struct *tsk, u64 *samples) in __thread_group_cputime()
361 struct task_struct *tsk; in posix_cpu_clock_get() local
417 struct task_struct *tsk) in timer_base()
434 struct task_struct *tsk) in trigger_base_recalc_expires()
552 void posix_cpu_timers_exit(struct task_struct *tsk) in posix_cpu_timers_exit()
556 void posix_cpu_timers_exit_group(struct task_struct *tsk) in posix_cpu_timers_exit_group()
838 static inline void check_dl_overrun(struct task_struct *tsk) in check_dl_overrun()
[all …]
/linux/arch/mips/include/asm/
H A Ddsp.h39 #define __save_dsp(tsk) \ argument
50 #define save_dsp(tsk) \ argument
56 #define __restore_dsp(tsk) \ argument
67 #define restore_dsp(tsk) \ argument
73 #define __get_dsp_regs(tsk) \ argument
/linux/arch/arc/include/asm/
H A Dprocessor.h49 #define KSTK_EIP(tsk) (task_pt_regs(tsk)->ret) argument
50 #define KSTK_ESP(tsk) (task_pt_regs(tsk)->sp) argument
56 #define TSK_K_ESP(tsk) (task_thread_info(tsk)->ksp) argument
58 #define TSK_K_REG(tsk, off) (*((unsigned long *)(TSK_K_ESP(tsk) + \ argument
61 #define TSK_K_BLINK(tsk) TSK_K_REG(tsk, 4) argument
62 #define TSK_K_FP(tsk) TSK_K_REG(tsk, 0) argument
/linux/kernel/
H A Dfork.c176 void __weak arch_release_task_struct(struct task_struct *tsk) in arch_release_task_struct()
187 static inline void free_task_struct(struct task_struct *tsk) in free_task_struct()
235 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
282 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
333 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
355 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
362 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
374 static void free_thread_stack(struct task_struct *tsk) in free_thread_stack()
389 static void thread_stack_delayed_free(struct task_struct *tsk) in thread_stack_delayed_free()
396 static int alloc_thread_stack_node(struct task_struct *tsk, int node) in alloc_thread_stack_node()
[all …]
H A Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
123 static void __acct_update_integrals(struct task_struct *tsk, in __acct_update_integrals()
151 void acct_update_integrals(struct task_struct *tsk) in acct_update_integrals()
166 void acct_account_cputime(struct task_struct *tsk) in acct_account_cputime()
175 void acct_clear_integrals(struct task_struct *tsk) in acct_clear_integrals()
H A Dsmpboot.c30 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_thread_get() local
50 struct task_struct *tsk = per_cpu(idle_threads, cpu); in idle_init() local
168 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in __smpboot_create_thread() local
226 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_unpark_thread() local
245 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_park_thread() local
268 struct task_struct *tsk = *per_cpu_ptr(ht->store, cpu); in smpboot_destroy_threads() local
/linux/arch/riscv/kernel/
H A Dvector.c126 void riscv_v_thread_alloc(struct task_struct *tsk) in riscv_v_thread_alloc()
133 void riscv_v_thread_free(struct task_struct *tsk) in riscv_v_thread_free()
147 static inline int riscv_v_ctrl_get_cur(struct task_struct *tsk) in riscv_v_ctrl_get_cur()
152 static inline int riscv_v_ctrl_get_next(struct task_struct *tsk) in riscv_v_ctrl_get_next()
157 static inline bool riscv_v_ctrl_test_inherit(struct task_struct *tsk) in riscv_v_ctrl_test_inherit()
162 static inline void riscv_v_ctrl_set(struct task_struct *tsk, int cur, int nxt, in riscv_v_ctrl_set()
224 void riscv_v_vstate_ctrl_init(struct task_struct *tsk) in riscv_v_vstate_ctrl_init()
/linux/arch/arc/kernel/
H A Dstacktrace.c43 seed_unwind_frame_info(struct task_struct *tsk, struct pt_regs *regs, in seed_unwind_frame_info()
117 arc_unwind_core(struct task_struct *tsk, struct pt_regs *regs, in arc_unwind_core()
234 noinline void show_stacktrace(struct task_struct *tsk, struct pt_regs *regs, in show_stacktrace()
243 void show_stack(struct task_struct *tsk, unsigned long *sp, const char *loglvl) in show_stack()
252 unsigned int __get_wchan(struct task_struct *tsk) in __get_wchan()
263 void save_stack_trace_tsk(struct task_struct *tsk, struct stack_trace *trace) in save_stack_trace_tsk()
/linux/arch/powerpc/mm/
H A Dmmu_context.c16 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
29 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
39 static inline void switch_mm_pgdir(struct task_struct *tsk, in switch_mm_pgdir()
44 struct task_struct *tsk) in switch_mm_irqs_off()
/linux/drivers/dma/bestcomm/
H A Data.c56 struct bcom_task *tsk; in bcom_ata_init() local
99 void bcom_ata_rx_prepare(struct bcom_task *tsk) in bcom_ata_rx_prepare()
113 void bcom_ata_tx_prepare(struct bcom_task *tsk) in bcom_ata_tx_prepare()
127 void bcom_ata_reset_bd(struct bcom_task *tsk) in bcom_ata_reset_bd()
142 void bcom_ata_release(struct bcom_task *tsk) in bcom_ata_release()
/linux/arch/x86/include/asm/
H A Dresctrl.h100 static inline void __resctrl_sched_in(struct task_struct *tsk) in __resctrl_sched_in()
146 static inline void resctrl_arch_set_closid_rmid(struct task_struct *tsk, in resctrl_arch_set_closid_rmid()
153 static inline bool resctrl_arch_match_closid(struct task_struct *tsk, u32 closid) in resctrl_arch_match_closid()
158 static inline bool resctrl_arch_match_rmid(struct task_struct *tsk, u32 ignored, in resctrl_arch_match_rmid()
164 static inline void resctrl_arch_sched_in(struct task_struct *tsk) in resctrl_arch_sched_in()
198 static inline void resctrl_arch_sched_in(struct task_struct *tsk) {} in resctrl_arch_sched_in()

12345678910>>...14