Home
last modified time | relevance | path

Searched refs:tsk (Results 1 – 8 of 8) sorted by relevance

/net/tipc/
Dsocket.c152 static int tipc_sk_publish(struct tipc_sock *tsk, struct tipc_uaddr *ua);
153 static int tipc_sk_withdraw(struct tipc_sock *tsk, struct tipc_uaddr *ua);
154 static int tipc_sk_leave(struct tipc_sock *tsk);
156 static int tipc_sk_insert(struct tipc_sock *tsk);
157 static void tipc_sk_remove(struct tipc_sock *tsk);
160 static void tipc_sk_push_backlog(struct tipc_sock *tsk, bool nagle_ack);
169 static u32 tsk_own_node(struct tipc_sock *tsk) in tsk_own_node() argument
171 return msg_prevnode(&tsk->phdr); in tsk_own_node()
174 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node() argument
176 return msg_destnode(&tsk->phdr); in tsk_peer_node()
[all …]
Dsocket.h65 struct tipc_sock *tsk, u32 sk_filter_state,
70 struct tipc_sock *tsk));
Ddiag.c51 struct tipc_sock *tsk) in __tipc_add_sock_diag() argument
62 err = tipc_sk_fill_sock_diag(skb, cb, tsk, req->tidiag_states, in __tipc_add_sock_diag()
/net/core/
Dstream.c59 struct task_struct *tsk = current; in sk_stream_wait_connect() local
70 if (signal_pending(tsk)) in sk_stream_wait_connect()
Dnet_namespace.c683 struct task_struct *tsk; in get_net_ns_by_pid() local
689 tsk = find_task_by_vpid(pid); in get_net_ns_by_pid()
690 if (tsk) { in get_net_ns_by_pid()
692 task_lock(tsk); in get_net_ns_by_pid()
693 nsproxy = tsk->nsproxy; in get_net_ns_by_pid()
696 task_unlock(tsk); in get_net_ns_by_pid()
Dpktgen.c457 struct task_struct *tsk; member
3416 remove_proc_entry(t->tsk->comm, t->net->proc_dir); in pktgen_rem_thread()
3663 pr_debug("%s stopping all device\n", t->tsk->comm); in pktgen_thread_worker()
3666 pr_debug("%s removing all device\n", t->tsk->comm); in pktgen_thread_worker()
3669 pr_debug("%s removing thread\n", t->tsk->comm); in pktgen_thread_worker()
3850 t->tsk = p; in pktgen_create_thread()
3852 pe = proc_create_data(t->tsk->comm, 0600, pn->proc_dir, in pktgen_create_thread()
3856 PG_PROC_DIR, t->tsk->comm); in pktgen_create_thread()
3986 kthread_stop(t->tsk); in pg_net_exit()
3987 put_task_struct(t->tsk); in pg_net_exit()
/net/phonet/
Dsocket.c223 struct task_struct *tsk = current; in pn_socket_connect() local
269 if (signal_pending(tsk)) { in pn_socket_connect()
/net/unix/
Daf_unix.c1543 struct sock *tsk; in unix_accept() local
1567 tsk = skb->sk; in unix_accept()
1572 unix_state_lock(tsk); in unix_accept()
1575 sock_graft(tsk, newsock); in unix_accept()
1576 unix_state_unlock(tsk); in unix_accept()