Home
last modified time | relevance | path

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

/net/tipc/
Dsocket.c107 static int tipc_sk_publish(struct tipc_sock *tsk, uint scope,
109 static int tipc_sk_withdraw(struct tipc_sock *tsk, uint scope,
111 static u32 tipc_sk_ref_acquire(struct tipc_sock *tsk);
115 static void tipc_sk_put(struct tipc_sock *tsk);
169 static u32 tsk_peer_node(struct tipc_sock *tsk) in tsk_peer_node() argument
171 return msg_destnode(&tsk->phdr); in tsk_peer_node()
174 static u32 tsk_peer_port(struct tipc_sock *tsk) in tsk_peer_port() argument
176 return msg_destport(&tsk->phdr); in tsk_peer_port()
179 static bool tsk_unreliable(struct tipc_sock *tsk) in tsk_unreliable() argument
181 return msg_src_droppable(&tsk->phdr) != 0; in tsk_unreliable()
[all …]
/net/core/
Dnet_namespace.c451 struct task_struct *tsk; in get_net_ns_by_pid() local
457 tsk = find_task_by_vpid(pid); in get_net_ns_by_pid()
458 if (tsk) { in get_net_ns_by_pid()
460 task_lock(tsk); in get_net_ns_by_pid()
461 nsproxy = tsk->nsproxy; in get_net_ns_by_pid()
464 task_unlock(tsk); in get_net_ns_by_pid()
Dstream.c57 struct task_struct *tsk = current; in sk_stream_wait_connect() local
69 if (signal_pending(tsk)) in sk_stream_wait_connect()
Dpktgen.c424 struct task_struct *tsk; member
3292 remove_proc_entry(t->tsk->comm, t->net->proc_dir); in pktgen_rem_thread()
3486 pr_debug("%s stopping all device\n", t->tsk->comm); in pktgen_thread_worker()
3489 pr_debug("%s removing all device\n", t->tsk->comm); in pktgen_thread_worker()
3492 pr_debug("%s removing thread\n", t->tsk->comm); in pktgen_thread_worker()
3681 t->tsk = p; in pktgen_create_thread()
3683 pe = proc_create_data(t->tsk->comm, 0600, pn->proc_dir, in pktgen_create_thread()
3687 PG_PROC_DIR, t->tsk->comm); in pktgen_create_thread()
3817 kthread_stop(t->tsk); in pg_net_exit()
/net/phonet/
Dsocket.c232 struct task_struct *tsk = current; in pn_socket_connect() local
278 if (signal_pending(tsk)) { in pn_socket_connect()
/net/unix/
Daf_unix.c1387 struct sock *tsk; in unix_accept() local
1411 tsk = skb->sk; in unix_accept()
1416 unix_state_lock(tsk); in unix_accept()
1419 sock_graft(tsk, newsock); in unix_accept()
1420 unix_state_unlock(tsk); in unix_accept()