Searched refs:sk_peer_pid (Results 1 – 6 of 6) sorted by relevance
163 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()
277 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()
1720 return sk->sk_peer_pid; in l2cap_sock_get_peer_pid_cb()
1770 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()
684 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()
308 * @sk_peer_lock: lock protecting @sk_peer_pid and @sk_peer_cred309 * @sk_peer_pid: &struct pid for this socket's peer503 struct pid *sk_peer_pid; member