Home
last modified time | relevance | path

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

/openbmc/linux/net/bluetooth/
H A Daf_bluetooth.c163 sk->sk_peer_pid = get_pid(task_tgid(current)); in bt_sock_alloc()
231 old_pid = sk->sk_peer_pid; in bt_accept_enqueue()
233 sk->sk_peer_pid = get_pid(parent->sk_peer_pid); in bt_accept_enqueue()
H A Dhci_sock.c277 if (!sk->sk_peer_pid) { in hci_sock_copy_creds()
279 if (bt_sk(sk)->parent && bt_sk(sk)->parent->sk_peer_pid) in hci_sock_copy_creds()
286 if (creds->pid == pid_vnr(sk->sk_peer_pid)) in hci_sock_copy_creds()
291 creds->pid = pid_vnr(sk->sk_peer_pid); in hci_sock_copy_creds()
H A Dl2cap_sock.c1720 return sk->sk_peer_pid; in l2cap_sock_get_peer_pid_cb()
/openbmc/linux/net/core/
H A Dsock.c1770 cred_to_ucred(sk->sk_peer_pid, sk->sk_peer_cred, &peercred); in sk_getsockopt()
1788 peer_pid = get_pid(sk->sk_peer_pid); in sk_getsockopt()
2212 put_pid(sk->sk_peer_pid); in __sk_destruct()
3458 sk->sk_peer_pid = NULL; in sock_init_data_uid()
/openbmc/linux/net/unix/
H A Daf_unix.c684 old_pid = sk->sk_peer_pid; in init_peercred()
686 sk->sk_peer_pid = get_pid(task_tgid(current)); in init_peercred()
704 sk->sk_peer_pid = get_pid(peersk->sk_peer_pid); in copy_peercred()
/openbmc/linux/include/net/
H A Dsock.h308 * @sk_peer_lock: lock protecting @sk_peer_pid and @sk_peer_cred
309 * @sk_peer_pid: &struct pid for this socket's peer
503 struct pid *sk_peer_pid; member