Home
last modified time | relevance | path

Searched refs:tsk (Results 1 - 25 of 904) sorted by relevance

12345678910>>...37

/kernel/linux/linux-5.10/drivers/dma/bestcomm/
H A Dfec.c87 struct bcom_task *tsk; in bcom_fec_rx_init() local
90 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_fec_bd), in bcom_fec_rx_init()
92 if (!tsk) in bcom_fec_rx_init()
95 tsk->flags = BCOM_FLAGS_NONE; in bcom_fec_rx_init()
97 priv = tsk->priv; in bcom_fec_rx_init()
101 if (bcom_fec_rx_reset(tsk)) { in bcom_fec_rx_init()
102 bcom_task_free(tsk); in bcom_fec_rx_init()
106 return tsk; in bcom_fec_rx_init()
111 bcom_fec_rx_reset(struct bcom_task *tsk) in bcom_fec_rx_reset() argument
113 struct bcom_fec_priv *priv = tsk in bcom_fec_rx_reset()
158 bcom_fec_rx_release(struct bcom_task *tsk) bcom_fec_rx_release() argument
189 struct bcom_task *tsk; bcom_fec_tx_init() local
212 bcom_fec_tx_reset(struct bcom_task *tsk) bcom_fec_tx_reset() argument
259 bcom_fec_tx_release(struct bcom_task *tsk) bcom_fec_tx_release() argument
[all...]
H A Dgen_bd.c88 struct bcom_task *tsk; in bcom_gen_bd_rx_init() local
91 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_gen_bd), in bcom_gen_bd_rx_init()
93 if (!tsk) in bcom_gen_bd_rx_init()
96 tsk->flags = BCOM_FLAGS_NONE; in bcom_gen_bd_rx_init()
98 priv = tsk->priv; in bcom_gen_bd_rx_init()
104 if (bcom_gen_bd_rx_reset(tsk)) { in bcom_gen_bd_rx_init()
105 bcom_task_free(tsk); in bcom_gen_bd_rx_init()
109 return tsk; in bcom_gen_bd_rx_init()
114 bcom_gen_bd_rx_reset(struct bcom_task *tsk) in bcom_gen_bd_rx_reset() argument
116 struct bcom_gen_bd_priv *priv = tsk in bcom_gen_bd_rx_reset()
161 bcom_gen_bd_rx_release(struct bcom_task *tsk) bcom_gen_bd_rx_release() argument
173 struct bcom_task *tsk; bcom_gen_bd_tx_init() local
198 bcom_gen_bd_tx_reset(struct bcom_task *tsk) bcom_gen_bd_tx_reset() argument
245 bcom_gen_bd_tx_release(struct bcom_task *tsk) bcom_gen_bd_tx_release() argument
[all...]
H A Data.c60 struct bcom_task *tsk; in bcom_ata_init() local
67 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_ata_bd), 0); in bcom_ata_init()
68 if (!tsk) in bcom_ata_init()
71 tsk->flags = BCOM_FLAGS_NONE; in bcom_ata_init()
73 bcom_ata_reset_bd(tsk); in bcom_ata_init()
75 var = (struct bcom_ata_var *) bcom_task_var(tsk->tasknum); in bcom_ata_init()
76 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_init()
78 if (bcom_load_image(tsk->tasknum, bcom_ata_task)) { in bcom_ata_init()
79 bcom_task_free(tsk); in bcom_ata_init()
84 offsetof(struct mpc52xx_sdma, tcr[tsk in bcom_ata_init()
103 bcom_ata_rx_prepare(struct bcom_task *tsk) bcom_ata_rx_prepare() argument
117 bcom_ata_tx_prepare(struct bcom_task *tsk) bcom_ata_tx_prepare() argument
131 bcom_ata_reset_bd(struct bcom_task *tsk) bcom_ata_reset_bd() argument
146 bcom_ata_release(struct bcom_task *tsk) bcom_ata_release() argument
[all...]
/kernel/linux/linux-6.6/drivers/dma/bestcomm/
H A Dfec.c83 struct bcom_task *tsk; in bcom_fec_rx_init() local
86 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_fec_bd), in bcom_fec_rx_init()
88 if (!tsk) in bcom_fec_rx_init()
91 tsk->flags = BCOM_FLAGS_NONE; in bcom_fec_rx_init()
93 priv = tsk->priv; in bcom_fec_rx_init()
97 if (bcom_fec_rx_reset(tsk)) { in bcom_fec_rx_init()
98 bcom_task_free(tsk); in bcom_fec_rx_init()
102 return tsk; in bcom_fec_rx_init()
107 bcom_fec_rx_reset(struct bcom_task *tsk) in bcom_fec_rx_reset() argument
109 struct bcom_fec_priv *priv = tsk in bcom_fec_rx_reset()
154 bcom_fec_rx_release(struct bcom_task *tsk) bcom_fec_rx_release() argument
185 struct bcom_task *tsk; bcom_fec_tx_init() local
208 bcom_fec_tx_reset(struct bcom_task *tsk) bcom_fec_tx_reset() argument
255 bcom_fec_tx_release(struct bcom_task *tsk) bcom_fec_tx_release() argument
[all...]
H A Dgen_bd.c88 struct bcom_task *tsk; in bcom_gen_bd_rx_init() local
91 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_gen_bd), in bcom_gen_bd_rx_init()
93 if (!tsk) in bcom_gen_bd_rx_init()
96 tsk->flags = BCOM_FLAGS_NONE; in bcom_gen_bd_rx_init()
98 priv = tsk->priv; in bcom_gen_bd_rx_init()
104 if (bcom_gen_bd_rx_reset(tsk)) { in bcom_gen_bd_rx_init()
105 bcom_task_free(tsk); in bcom_gen_bd_rx_init()
109 return tsk; in bcom_gen_bd_rx_init()
114 bcom_gen_bd_rx_reset(struct bcom_task *tsk) in bcom_gen_bd_rx_reset() argument
116 struct bcom_gen_bd_priv *priv = tsk in bcom_gen_bd_rx_reset()
161 bcom_gen_bd_rx_release(struct bcom_task *tsk) bcom_gen_bd_rx_release() argument
173 struct bcom_task *tsk; bcom_gen_bd_tx_init() local
198 bcom_gen_bd_tx_reset(struct bcom_task *tsk) bcom_gen_bd_tx_reset() argument
245 bcom_gen_bd_tx_release(struct bcom_task *tsk) bcom_gen_bd_tx_release() argument
[all...]
H A Data.c56 struct bcom_task *tsk; in bcom_ata_init() local
63 tsk = bcom_task_alloc(queue_len, sizeof(struct bcom_ata_bd), 0); in bcom_ata_init()
64 if (!tsk) in bcom_ata_init()
67 tsk->flags = BCOM_FLAGS_NONE; in bcom_ata_init()
69 bcom_ata_reset_bd(tsk); in bcom_ata_init()
71 var = (struct bcom_ata_var *) bcom_task_var(tsk->tasknum); in bcom_ata_init()
72 inc = (struct bcom_ata_inc *) bcom_task_inc(tsk->tasknum); in bcom_ata_init()
74 if (bcom_load_image(tsk->tasknum, bcom_ata_task)) { in bcom_ata_init()
75 bcom_task_free(tsk); in bcom_ata_init()
80 offsetof(struct mpc52xx_sdma, tcr[tsk in bcom_ata_init()
99 bcom_ata_rx_prepare(struct bcom_task *tsk) bcom_ata_rx_prepare() argument
113 bcom_ata_tx_prepare(struct bcom_task *tsk) bcom_ata_tx_prepare() argument
127 bcom_ata_reset_bd(struct bcom_task *tsk) bcom_ata_reset_bd() argument
142 bcom_ata_release(struct bcom_task *tsk) bcom_ata_release() argument
[all...]
/kernel/linux/linux-5.10/include/linux/fsl/bestcomm/
H A Dbestcomm.h68 * @tsk: The BestComm task structure
73 extern void bcom_enable(struct bcom_task *tsk);
77 * @tsk: The BestComm task structure
82 extern void bcom_disable(struct bcom_task *tsk);
87 * @tsk: The BestComm task structure
90 bcom_get_task_irq(struct bcom_task *tsk) { in bcom_get_task_irq() argument
91 return tsk->irq; in bcom_get_task_irq()
101 * @tsk: pointer to task structure
106 _bcom_next_index(struct bcom_task *tsk) in _bcom_next_index() argument
108 return ((tsk in _bcom_next_index()
117 _bcom_next_outdex(struct bcom_task *tsk) _bcom_next_outdex() argument
127 bcom_queue_empty(struct bcom_task *tsk) bcom_queue_empty() argument
137 bcom_queue_full(struct bcom_task *tsk) bcom_queue_full() argument
148 bcom_get_bd(struct bcom_task *tsk, unsigned int index) bcom_get_bd() argument
160 bcom_buffer_done(struct bcom_task *tsk) bcom_buffer_done() argument
177 bcom_prepare_next_buffer(struct bcom_task *tsk) bcom_prepare_next_buffer() argument
187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) bcom_submit_next_buffer() argument
200 bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) bcom_retrieve_buffer() argument
[all...]
/kernel/linux/linux-6.6/include/linux/fsl/bestcomm/
H A Dbestcomm.h68 * @tsk: The BestComm task structure
73 extern void bcom_enable(struct bcom_task *tsk);
77 * @tsk: The BestComm task structure
82 extern void bcom_disable(struct bcom_task *tsk);
87 * @tsk: The BestComm task structure
90 bcom_get_task_irq(struct bcom_task *tsk) { in bcom_get_task_irq() argument
91 return tsk->irq; in bcom_get_task_irq()
101 * @tsk: pointer to task structure
106 _bcom_next_index(struct bcom_task *tsk) in _bcom_next_index() argument
108 return ((tsk in _bcom_next_index()
117 _bcom_next_outdex(struct bcom_task *tsk) _bcom_next_outdex() argument
127 bcom_queue_empty(struct bcom_task *tsk) bcom_queue_empty() argument
137 bcom_queue_full(struct bcom_task *tsk) bcom_queue_full() argument
148 bcom_get_bd(struct bcom_task *tsk, unsigned int index) bcom_get_bd() argument
160 bcom_buffer_done(struct bcom_task *tsk) bcom_buffer_done() argument
177 bcom_prepare_next_buffer(struct bcom_task *tsk) bcom_prepare_next_buffer() argument
187 bcom_submit_next_buffer(struct bcom_task *tsk, void *cookie) bcom_submit_next_buffer() argument
200 bcom_retrieve_buffer(struct bcom_task *tsk, u32 *p_status, struct bcom_bd **p_bd) bcom_retrieve_buffer() argument
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dvtime.h64 extern void vtime_account_kernel(struct task_struct *tsk);
65 extern void vtime_account_idle(struct task_struct *tsk);
67 static inline void vtime_account_kernel(struct task_struct *tsk) { } in vtime_account_kernel() argument
71 extern void arch_vtime_task_switch(struct task_struct *tsk);
72 extern void vtime_user_enter(struct task_struct *tsk);
73 extern void vtime_user_exit(struct task_struct *tsk);
74 extern void vtime_guest_enter(struct task_struct *tsk);
75 extern void vtime_guest_exit(struct task_struct *tsk);
76 extern void vtime_init_idle(struct task_struct *tsk, int cpu);
78 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter() argument
79 vtime_user_exit(struct task_struct *tsk) vtime_user_exit() argument
80 vtime_guest_enter(struct task_struct *tsk) vtime_guest_enter() argument
81 vtime_guest_exit(struct task_struct *tsk) vtime_guest_exit() argument
82 vtime_init_idle(struct task_struct *tsk, int cpu) vtime_init_idle() argument
87 vtime_account_irq_exit(struct task_struct *tsk) vtime_account_irq_exit() argument
94 vtime_account_irq_enter(struct task_struct *tsk) vtime_account_irq_enter() argument
95 vtime_account_irq_exit(struct task_struct *tsk) vtime_account_irq_exit() argument
96 vtime_flush(struct task_struct *tsk) vtime_flush() argument
103 irqtime_account_irq(struct task_struct *tsk) irqtime_account_irq() argument
106 account_irq_enter_time(struct task_struct *tsk) account_irq_enter_time() argument
112 account_irq_exit_time(struct task_struct *tsk) account_irq_exit_time() argument
[all...]
H A Dscs.h33 #define task_scs(tsk) (task_thread_info(tsk)->scs_base)
34 #define task_scs_sp(tsk) (task_thread_info(tsk)->scs_sp)
37 int scs_prepare(struct task_struct *tsk, int node);
38 void scs_release(struct task_struct *tsk);
40 static inline void scs_task_reset(struct task_struct *tsk) in scs_task_reset() argument
46 task_scs_sp(tsk) = task_scs(tsk); in scs_task_reset()
54 static inline bool task_scs_end_corrupted(struct task_struct *tsk) in task_scs_end_corrupted() argument
65 scs_task_reset(struct task_struct *tsk) scs_task_reset() argument
66 scs_prepare(struct task_struct *tsk, int node) scs_prepare() argument
67 scs_release(struct task_struct *tsk) scs_release() argument
68 task_scs_end_corrupted(struct task_struct *tsk) task_scs_end_corrupted() argument
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Dvtime.h16 extern void vtime_account_kernel(struct task_struct *tsk);
17 extern void vtime_account_idle(struct task_struct *tsk);
21 extern void arch_vtime_task_switch(struct task_struct *tsk);
22 extern void vtime_user_enter(struct task_struct *tsk);
23 extern void vtime_user_exit(struct task_struct *tsk);
24 extern void vtime_guest_enter(struct task_struct *tsk);
25 extern void vtime_guest_exit(struct task_struct *tsk);
26 extern void vtime_init_idle(struct task_struct *tsk, int cpu);
28 static inline void vtime_user_enter(struct task_struct *tsk) { } in vtime_user_enter() argument
29 static inline void vtime_user_exit(struct task_struct *tsk) { } in vtime_user_exit() argument
30 vtime_guest_enter(struct task_struct *tsk) vtime_guest_enter() argument
31 vtime_guest_exit(struct task_struct *tsk) vtime_guest_exit() argument
32 vtime_init_idle(struct task_struct *tsk, int cpu) vtime_init_idle() argument
41 vtime_account_irq(struct task_struct *tsk, unsigned int offset) vtime_account_irq() argument
42 vtime_account_softirq(struct task_struct *tsk) vtime_account_softirq() argument
43 vtime_account_hardirq(struct task_struct *tsk) vtime_account_hardirq() argument
44 vtime_flush(struct task_struct *tsk) vtime_flush() argument
135 irqtime_account_irq(struct task_struct *tsk, unsigned int offset) irqtime_account_irq() argument
138 account_softirq_enter(struct task_struct *tsk) account_softirq_enter() argument
144 account_softirq_exit(struct task_struct *tsk) account_softirq_exit() argument
150 account_hardirq_enter(struct task_struct *tsk) account_hardirq_enter() argument
156 account_hardirq_exit(struct task_struct *tsk) account_hardirq_exit() argument
[all...]
H A Dscs.h25 #define task_scs(tsk) (task_thread_info(tsk)->scs_base)
26 #define task_scs_sp(tsk) (task_thread_info(tsk)->scs_sp)
31 int scs_prepare(struct task_struct *tsk, int node);
32 void scs_release(struct task_struct *tsk);
34 static inline void scs_task_reset(struct task_struct *tsk) in scs_task_reset() argument
40 task_scs_sp(tsk) = task_scs(tsk); in scs_task_reset()
48 static inline bool task_scs_end_corrupted(struct task_struct *tsk) in task_scs_end_corrupted() argument
77 scs_task_reset(struct task_struct *tsk) scs_task_reset() argument
78 scs_prepare(struct task_struct *tsk, int node) scs_prepare() argument
79 scs_release(struct task_struct *tsk) scs_release() argument
80 task_scs_end_corrupted(struct task_struct *tsk) task_scs_end_corrupted() argument
[all...]
/kernel/linux/linux-5.10/net/tipc/
H A Dsocket.c140 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope,
142 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope,
144 static int tipc_sk_leave(struct tipc_sock *tsk);
146 static int tipc_sk_insert(struct tipc_sock *tsk);
147 static void tipc_sk_remove(struct tipc_sock *tsk);
150 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack);
159 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node() argument
161 return msg_prevnode(&tsk->phdr); in tsk_own_node()
164 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node() argument
166 return msg_destnode(&tsk in tsk_peer_node()
169 tsk_peer_port(struct tipc_sock *tsk) tsk_peer_port() argument
174 tsk_unreliable(struct tipc_sock *tsk) tsk_unreliable() argument
179 tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) tsk_set_unreliable() argument
184 tsk_unreturnable(struct tipc_sock *tsk) tsk_unreturnable() argument
189 tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) tsk_set_unreturnable() argument
194 tsk_importance(struct tipc_sock *tsk) tsk_importance() argument
212 tsk_conn_cong(struct tipc_sock *tsk) tsk_conn_cong() argument
235 tsk_inc(struct tipc_sock *tsk, int msglen) tsk_inc() argument
244 tsk_set_nagle(struct tipc_sock *tsk) tsk_set_nagle() argument
323 tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg) tsk_peer_msg() argument
452 struct tipc_sock *tsk; tipc_sk_create() local
531 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); tipc_sk_callback() local
540 struct tipc_sock *tsk = tipc_sk(sk); __tipc_shutdown() local
616 struct tipc_sock *tsk; tipc_release() local
668 struct tipc_sock *tsk = tipc_sk(sk); tipc_bind() local
728 struct tipc_sock *tsk = tipc_sk(sk); tipc_getname() local
772 struct tipc_sock *tsk = tipc_sk(sk); tipc_poll() local
824 struct tipc_sock *tsk = tipc_sk(sk); tipc_sendmcast() local
884 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
941 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_unicast() local
984 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_anycast() local
1070 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_bcast() local
1143 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_mcast() local
1264 tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack) tipc_sk_push_backlog() argument
1316 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
1401 struct tipc_sock *tsk = tipc_sk(sk); __tipc_sendmsg() local
1553 struct tipc_sock *tsk = tipc_sk(sk); __tipc_sendstream() local
1652 tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port, u32 peer_node) tipc_sk_finish_conn() argument
1727 tipc_sk_anc_data_recv(struct msghdr *m, struct sk_buff *skb, struct tipc_sock *tsk) tipc_sk_anc_data_recv() argument
1793 tipc_sk_build_ack(struct tipc_sock *tsk) tipc_sk_build_ack() argument
1820 tipc_sk_send_ack(struct tipc_sock *tsk) tipc_sk_send_ack() argument
1889 struct tipc_sock *tsk = tipc_sk(sk); tipc_recvmsg() local
2016 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
2481 struct tipc_sock *tsk; tipc_sk_rcv() local
2570 struct tipc_sock *tsk = tipc_sk(sk); tipc_connect() local
2821 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_check_probing_state() local
2846 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_retry_connect() local
2861 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_timeout() local
2895 tipc_sk_publish(struct tipc_sock *tsk, uint scope, struct tipc_name_seq const *seq) tipc_sk_publish() argument
2923 tipc_sk_withdraw(struct tipc_sock *tsk, uint scope, struct tipc_name_seq const *seq) tipc_sk_withdraw() argument
2965 struct tipc_sock *tsk; tipc_sk_reinit() local
2994 struct tipc_sock *tsk; tipc_sk_lookup() local
3005 tipc_sk_insert(struct tipc_sock *tsk) tipc_sk_insert() argument
3028 tipc_sk_remove(struct tipc_sock *tsk) tipc_sk_remove() argument
3066 tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq) tipc_sk_join() argument
3104 tipc_sk_leave(struct tipc_sock *tsk) tipc_sk_leave() argument
3137 struct tipc_sock *tsk = tipc_sk(sk); tipc_setsockopt() local
3231 struct tipc_sock *tsk = tipc_sk(sk); tipc_getsockopt() local
3461 __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk) __tipc_nl_add_sk_con() argument
3497 __tipc_nl_add_sk_info(struct sk_buff *skb, struct tipc_sock *tsk) __tipc_nl_add_sk_info() argument
3518 __tipc_nl_add_sk(struct sk_buff *skb, struct netlink_callback *cb, struct tipc_sock *tsk) __tipc_nl_add_sk() argument
3549 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
3555 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
3736 __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
3783 struct tipc_sock *tsk; tipc_nl_publ_dump() local
3837 struct tipc_sock *tsk; tipc_sk_filtering() local
3940 struct tipc_sock *tsk; tipc_sk_dump() local
[all...]
/kernel/linux/linux-6.6/net/tipc/
H A Dsocket.c153 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua);
154 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua);
155 static int tipc_sk_leave(struct tipc_sock *tsk);
157 static int tipc_sk_insert(struct tipc_sock *tsk);
158 static void tipc_sk_remove(struct tipc_sock *tsk);
161 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack);
170 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node() argument
172 return msg_prevnode(&tsk->phdr); in tsk_own_node()
175 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node() argument
177 return msg_destnode(&tsk in tsk_peer_node()
180 tsk_peer_port(struct tipc_sock *tsk) tsk_peer_port() argument
185 tsk_unreliable(struct tipc_sock *tsk) tsk_unreliable() argument
190 tsk_set_unreliable(struct tipc_sock *tsk, bool unreliable) tsk_set_unreliable() argument
195 tsk_unreturnable(struct tipc_sock *tsk) tsk_unreturnable() argument
200 tsk_set_unreturnable(struct tipc_sock *tsk, bool unreturnable) tsk_set_unreturnable() argument
205 tsk_importance(struct tipc_sock *tsk) tsk_importance() argument
223 tsk_conn_cong(struct tipc_sock *tsk) tsk_conn_cong() argument
246 tsk_inc(struct tipc_sock *tsk, int msglen) tsk_inc() argument
255 tsk_set_nagle(struct tipc_sock *tsk) tsk_set_nagle() argument
337 tsk_peer_msg(struct tipc_sock *tsk, struct tipc_msg *msg) tsk_peer_msg() argument
466 struct tipc_sock *tsk; tipc_sk_create() local
545 struct tipc_sock *tsk = container_of(head, struct tipc_sock, rcu); tipc_sk_callback() local
554 struct tipc_sock *tsk = tipc_sk(sk); __tipc_shutdown() local
630 struct tipc_sock *tsk; tipc_release() local
680 struct tipc_sock *tsk = tipc_sk(sock->sk); __tipc_bind() local
752 struct tipc_sock *tsk = tipc_sk(sk); tipc_getname() local
796 struct tipc_sock *tsk = tipc_sk(sk); tipc_poll() local
848 struct tipc_sock *tsk = tipc_sk(sk); tipc_sendmcast() local
907 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
964 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_unicast() local
1007 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_anycast() local
1090 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_bcast() local
1163 struct tipc_sock *tsk = tipc_sk(sk); tipc_send_group_mcast() local
1275 tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack) tipc_sk_push_backlog() argument
1329 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
1414 struct tipc_sock *tsk = tipc_sk(sk); __tipc_sendmsg() local
1563 struct tipc_sock *tsk = tipc_sk(sk); __tipc_sendstream() local
1662 tipc_sk_finish_conn(struct tipc_sock *tsk, u32 peer_port, u32 peer_node) tipc_sk_finish_conn() argument
1737 tipc_sk_anc_data_recv(struct msghdr *m, struct sk_buff *skb, struct tipc_sock *tsk) tipc_sk_anc_data_recv() argument
1794 tipc_sk_build_ack(struct tipc_sock *tsk) tipc_sk_build_ack() argument
1821 tipc_sk_send_ack(struct tipc_sock *tsk) tipc_sk_send_ack() argument
1891 struct tipc_sock *tsk = tipc_sk(sk); tipc_recvmsg() local
2019 struct tipc_sock *tsk = tipc_sk(sk); tipc_recvstream() local
2154 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_proto_rcv() local
2195 tipc_sk_filter_connect(struct tipc_sock *tsk, struct sk_buff *skb, struct sk_buff_head *xmitq) tipc_sk_filter_connect() argument
2311 struct tipc_sock *tsk = tipc_sk(sk); rcvbuf_limit() local
2341 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_filter_rcv() local
2488 struct tipc_sock *tsk; tipc_sk_rcv() local
2577 struct tipc_sock *tsk = tipc_sk(sk); tipc_connect() local
2832 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_check_probing_state() local
2857 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_retry_connect() local
2872 struct tipc_sock *tsk = tipc_sk(sk); tipc_sk_timeout() local
2906 tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua) tipc_sk_publish() argument
2931 tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua) tipc_sk_withdraw() argument
2972 struct tipc_sock *tsk; tipc_sk_reinit() local
3001 struct tipc_sock *tsk; tipc_sk_lookup() local
3012 tipc_sk_insert(struct tipc_sock *tsk) tipc_sk_insert() argument
3035 tipc_sk_remove(struct tipc_sock *tsk) tipc_sk_remove() argument
3073 tipc_sk_join(struct tipc_sock *tsk, struct tipc_group_req *mreq) tipc_sk_join() argument
3112 tipc_sk_leave(struct tipc_sock *tsk) tipc_sk_leave() argument
3147 struct tipc_sock *tsk = tipc_sk(sk); tipc_setsockopt() local
3241 struct tipc_sock *tsk = tipc_sk(sk); tipc_getsockopt() local
3468 __tipc_nl_add_sk_con(struct sk_buff *skb, struct tipc_sock *tsk) __tipc_nl_add_sk_con() argument
3505 __tipc_nl_add_sk_info(struct sk_buff *skb, struct tipc_sock *tsk) __tipc_nl_add_sk_info() argument
3526 __tipc_nl_add_sk(struct sk_buff *skb, struct netlink_callback *cb, struct tipc_sock *tsk) __tipc_nl_add_sk() argument
3557 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
3563 struct tipc_sock *tsk; tipc_nl_sk_walk() local
3630 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
3744 __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
3791 struct tipc_sock *tsk; tipc_nl_publ_dump() local
3846 struct tipc_sock *tsk; tipc_sk_filtering() local
3950 struct tipc_sock *tsk; tipc_sk_dump() local
[all...]
/kernel/linux/linux-6.6/kernel/
H A Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
34 delta = now_ns - tsk->group_leader->start_time; in bacct_add_tsk()
38 delta = now_ns - tsk->start_time; in bacct_add_tsk()
46 if (tsk->flags & PF_EXITING) in bacct_add_tsk()
47 stats->ac_exitcode = tsk->exit_code; in bacct_add_tsk()
48 if (thread_group_leader(tsk) && (tsk->flags & PF_FORKNOEXEC)) in bacct_add_tsk()
50 if (tsk->flags & PF_SUPERPRIV) in bacct_add_tsk()
52 if (tsk->flags & PF_DUMPCORE) in bacct_add_tsk()
54 if (tsk in bacct_add_tsk()
20 bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) bacct_add_tsk() argument
124 __acct_update_integrals(struct task_struct *tsk, u64 utime, u64 stime) __acct_update_integrals() argument
152 acct_update_integrals(struct task_struct *tsk) acct_update_integrals() argument
167 acct_account_cputime(struct task_struct *tsk) acct_account_cputime() argument
176 acct_clear_integrals(struct task_struct *tsk) acct_clear_integrals() argument
[all...]
/kernel/linux/linux-5.10/kernel/
H A Dtsacct.c22 struct taskstats *stats, struct task_struct *tsk) in bacct_add_tsk()
32 delta = ktime_get_ns() - tsk->start_time; in bacct_add_tsk()
41 if (tsk->flags & PF_EXITING) in bacct_add_tsk()
42 stats->ac_exitcode = tsk->exit_code; in bacct_add_tsk()
43 if (thread_group_leader(tsk) && (tsk->flags & PF_FORKNOEXEC)) in bacct_add_tsk()
45 if (tsk->flags & PF_SUPERPRIV) in bacct_add_tsk()
47 if (tsk->flags & PF_DUMPCORE) in bacct_add_tsk()
49 if (tsk->flags & PF_SIGNALED) in bacct_add_tsk()
51 stats->ac_nice = task_nice(tsk); in bacct_add_tsk()
20 bacct_add_tsk(struct user_namespace *user_ns, struct pid_namespace *pid_ns, struct taskstats *stats, struct task_struct *tsk) bacct_add_tsk() argument
118 __acct_update_integrals(struct task_struct *tsk, u64 utime, u64 stime) __acct_update_integrals() argument
146 acct_update_integrals(struct task_struct *tsk) acct_update_integrals() argument
161 acct_account_cputime(struct task_struct *tsk) acct_account_cputime() argument
170 acct_clear_integrals(struct task_struct *tsk) acct_clear_integrals() argument
[all...]
/kernel/linux/linux-5.10/arch/mips/include/asm/
H A Ddsp.h39 #define __save_dsp(tsk) \
41 tsk->thread.dsp.dspr[0] = mfhi1(); \
42 tsk->thread.dsp.dspr[1] = mflo1(); \
43 tsk->thread.dsp.dspr[2] = mfhi2(); \
44 tsk->thread.dsp.dspr[3] = mflo2(); \
45 tsk->thread.dsp.dspr[4] = mfhi3(); \
46 tsk->thread.dsp.dspr[5] = mflo3(); \
47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
50 #define save_dsp(tsk) \
53 __save_dsp(tsk); \
[all...]
/kernel/linux/linux-6.6/arch/mips/include/asm/
H A Ddsp.h39 #define __save_dsp(tsk) \
41 tsk->thread.dsp.dspr[0] = mfhi1(); \
42 tsk->thread.dsp.dspr[1] = mflo1(); \
43 tsk->thread.dsp.dspr[2] = mfhi2(); \
44 tsk->thread.dsp.dspr[3] = mflo2(); \
45 tsk->thread.dsp.dspr[4] = mfhi3(); \
46 tsk->thread.dsp.dspr[5] = mflo3(); \
47 tsk->thread.dsp.dspcontrol = rddsp(DSP_MASK); \
50 #define save_dsp(tsk) \
53 __save_dsp(tsk); \
[all...]
/kernel/linux/linux-6.6/arch/s390/mm/
H A Dpfault.c119 struct task_struct *tsk; in pfault_interrupt() local
135 tsk = find_task_by_pid_ns(pid, &init_pid_ns); in pfault_interrupt()
136 if (tsk) in pfault_interrupt()
137 get_task_struct(tsk); in pfault_interrupt()
139 if (!tsk) in pfault_interrupt()
144 if (tsk->thread.pfault_wait == 1) { in pfault_interrupt()
152 tsk->thread.pfault_wait = 0; in pfault_interrupt()
153 list_del(&tsk->thread.list); in pfault_interrupt()
154 wake_up_process(tsk); in pfault_interrupt()
155 put_task_struct(tsk); in pfault_interrupt()
213 struct task_struct *tsk; pfault_cpu_dead() local
[all...]
/kernel/linux/linux-6.6/arch/powerpc/kernel/
H A Dsignal_64.c87 static void prepare_setup_sigcontext(struct task_struct *tsk) in prepare_setup_sigcontext() argument
91 if (tsk->thread.used_vr) in prepare_setup_sigcontext()
92 flush_altivec_to_thread(tsk); in prepare_setup_sigcontext()
94 tsk->thread.vrsave = mfspr(SPRN_VRSAVE); in prepare_setup_sigcontext()
97 flush_fp_to_thread(tsk); in prepare_setup_sigcontext()
100 if (tsk->thread.used_vsr) in prepare_setup_sigcontext()
101 flush_vsx_to_thread(tsk); in prepare_setup_sigcontext()
109 #define unsafe_setup_sigcontext(sc, tsk, signr, set, handler, ctx_has_vsx_region, label)\
111 if (__unsafe_setup_sigcontext(sc, tsk, signr, set, handler, ctx_has_vsx_region))\
115 struct task_struct *tsk, in in __unsafe_setup_sigcontext()
114 __unsafe_setup_sigcontext(struct sigcontext __user *sc, struct task_struct *tsk, int signr, sigset_t *set, unsigned long handler, int ctx_has_vsx_region) __unsafe_setup_sigcontext() argument
206 setup_tm_sigcontexts(struct sigcontext __user *sc, struct sigcontext __user *tm_sc, struct task_struct *tsk, int signr, sigset_t *set, unsigned long handler, unsigned long msr) setup_tm_sigcontexts() argument
337 __unsafe_restore_sigcontext(struct task_struct *tsk, sigset_t *set, int sig, struct sigcontext __user *sc) __unsafe_restore_sigcontext() argument
437 restore_tm_sigcontexts(struct task_struct *tsk, struct sigcontext __user *sc, struct sigcontext __user *tm_sc) restore_tm_sigcontexts() argument
614 restore_tm_sigcontexts(struct task_struct *tsk, struct sigcontext __user *sc, struct sigcontext __user *tm_sc) restore_tm_sigcontexts() argument
857 handle_rt_signal64(struct ksignal *ksig, sigset_t *set, struct task_struct *tsk) handle_rt_signal64() argument
[all...]
/kernel/linux/linux-5.10/drivers/dma-buf/
H A Ddma-buf-process-info.c20 struct task_struct *tsk; member
26 struct task_struct *tsk = NULL; in init_dma_buf_task_info() local
33 tsk = current->group_leader; in init_dma_buf_task_info()
34 buf->exp_pid = task_pid_nr(tsk); in init_dma_buf_task_info()
35 if (tsk->flags & PF_KTHREAD) in init_dma_buf_task_info()
36 tsk = NULL; in init_dma_buf_task_info()
40 if (tsk) in init_dma_buf_task_info()
41 get_task_comm(buf->exp_task_comm, tsk); in init_dma_buf_task_info()
67 struct task_struct *tsk = NULL; in dma_buf_single_file_show() local
74 tsk in dma_buf_single_file_show()
101 struct task_struct *tsk = NULL; dma_buf_process_info_show() local
[all...]
/kernel/linux/linux-6.6/drivers/dma-buf/
H A Ddma-buf-process-info.c20 struct task_struct *tsk; member
26 struct task_struct *tsk = NULL; in init_dma_buf_task_info() local
33 tsk = current->group_leader; in init_dma_buf_task_info()
34 buf->exp_pid = task_pid_nr(tsk); in init_dma_buf_task_info()
35 if (tsk->flags & PF_KTHREAD) in init_dma_buf_task_info()
36 tsk = NULL; in init_dma_buf_task_info()
40 if (tsk) in init_dma_buf_task_info()
41 get_task_comm(buf->exp_task_comm, tsk); in init_dma_buf_task_info()
67 struct task_struct *tsk = NULL; in dma_buf_single_file_show() local
74 tsk in dma_buf_single_file_show()
101 struct task_struct *tsk = NULL; dma_buf_process_info_show() local
[all...]
/kernel/linux/linux-5.10/arch/sh/kernel/cpu/
H A Dfpu.c11 int init_fpu(struct task_struct *tsk) in init_fpu() argument
13 if (tsk_used_math(tsk)) { in init_fpu()
14 if ((boot_cpu_data.flags & CPU_HAS_FPU) && tsk == current) in init_fpu()
15 unlazy_fpu(tsk, task_pt_regs(tsk)); in init_fpu()
22 if (!tsk->thread.xstate) { in init_fpu()
23 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in init_fpu()
25 if (!tsk->thread.xstate) in init_fpu()
30 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; in init_fpu()
34 struct sh_fpu_soft_struct *fp = &tsk in init_fpu()
46 struct task_struct *tsk = current; __fpu_state_restore() local
56 struct task_struct *tsk = current; fpu_state_restore() local
[all...]
/kernel/linux/linux-6.6/arch/sh/kernel/cpu/
H A Dfpu.c11 int init_fpu(struct task_struct *tsk) in init_fpu() argument
13 if (tsk_used_math(tsk)) { in init_fpu()
14 if ((boot_cpu_data.flags & CPU_HAS_FPU) && tsk == current) in init_fpu()
15 unlazy_fpu(tsk, task_pt_regs(tsk)); in init_fpu()
22 if (!tsk->thread.xstate) { in init_fpu()
23 tsk->thread.xstate = kmem_cache_alloc(task_xstate_cachep, in init_fpu()
25 if (!tsk->thread.xstate) in init_fpu()
30 struct sh_fpu_hard_struct *fp = &tsk->thread.xstate->hardfpu; in init_fpu()
34 struct sh_fpu_soft_struct *fp = &tsk in init_fpu()
46 struct task_struct *tsk = current; __fpu_state_restore() local
56 struct task_struct *tsk = current; fpu_state_restore() local
[all...]
/kernel/linux/linux-5.10/arch/powerpc/kernel/
H A Dsignal_64.c92 struct task_struct *tsk, int signr, sigset_t *set, in setup_sigcontext()
107 struct pt_regs *regs = tsk->thread.regs; in setup_sigcontext()
113 BUG_ON(tsk != current); in setup_sigcontext()
119 if (tsk->thread.used_vr) { in setup_sigcontext()
120 flush_altivec_to_thread(tsk); in setup_sigcontext()
122 err |= __copy_to_user(v_regs, &tsk->thread.vr_state, in setup_sigcontext()
135 tsk->thread.vrsave = vrsave; in setup_sigcontext()
142 flush_fp_to_thread(tsk); in setup_sigcontext()
144 err |= copy_fpr_to_user(&sc->fp_regs, tsk); in setup_sigcontext()
157 if (tsk in setup_sigcontext()
91 setup_sigcontext(struct sigcontext __user *sc, struct task_struct *tsk, int signr, sigset_t *set, unsigned long handler, int ctx_has_vsx_region) setup_sigcontext() argument
192 setup_tm_sigcontexts(struct sigcontext __user *sc, struct sigcontext __user *tm_sc, struct task_struct *tsk, int signr, sigset_t *set, unsigned long handler, unsigned long msr) setup_tm_sigcontexts() argument
321 restore_sigcontext(struct task_struct *tsk, sigset_t *set, int sig, struct sigcontext __user *sc) restore_sigcontext() argument
418 restore_tm_sigcontexts(struct task_struct *tsk, struct sigcontext __user *sc, struct sigcontext __user *tm_sc) restore_tm_sigcontexts() argument
813 handle_rt_signal64(struct ksignal *ksig, sigset_t *set, struct task_struct *tsk) handle_rt_signal64() argument
[all...]

Completed in 14 milliseconds

12345678910>>...37