Home
last modified time | relevance | path

Searched refs:unix_sock (Results 1 – 11 of 11) sorted by relevance

/linux/net/unix/
H A Dgarbage.c87 struct unix_sock *predecessor;
88 struct unix_sock *successor;
93 struct unix_sock *unix_get_socket(struct file *filp) in unix_get_socket()
199 void unix_add_edges(struct scm_fp_list *fpl, struct unix_sock *receiver) in unix_add_edges()
209 struct unix_sock *inflight = unix_get_socket(fpl->fp[j++]); in unix_add_edges()
236 struct unix_sock *receiver; in unix_del_edges()
263 void unix_update_edges(struct unix_sock *receiver) in unix_update_edges()
319 struct unix_sock *u; in unix_vertex_dead()
356 struct unix_sock *u; in unix_collect_skb()
H A Daf_unix.h28 void unix_add_edges(struct scm_fp_list *fpl, struct unix_sock *receiver);
30 void unix_update_edges(struct unix_sock *receiver);
H A Daf_unix.c135 const struct unix_sock *a, *b; in unix_state_lock_cmp_fn()
137 a = container_of(_a, struct unix_sock, lock.dep_map); in unix_state_lock_cmp_fn()
138 b = container_of(_b, struct unix_sock, lock.dep_map); in unix_state_lock_cmp_fn()
432 struct unix_sock *u = unix_sk(s); in __unix_find_socket_byname()
502 struct unix_sock *u; in unix_dgram_peer_wake_relay()
505 u = container_of(q, struct unix_sock, peer_wake); in unix_dgram_peer_wake_relay()
521 struct unix_sock *u, *u_other; in unix_dgram_peer_wake_connect()
543 struct unix_sock *u, *u_other; in unix_dgram_peer_wake_disconnect()
637 struct unix_sock *u = unix_sk(sk); in unix_sock_destructor()
667 struct unix_sock *u = unix_sk(sk); in unix_release_sock()
[all …]
H A Dunix_bpf.c20 struct unix_sock *u = unix_sk(sk); in unix_msg_wait_data()
54 struct unix_sock *u = unix_sk(sk); in unix_bpf_recvmsg()
/linux/tools/testing/selftests/bpf/progs/
H A Dtest_skc_to_unix_sock.c16 struct unix_sock *unix_sk; in BPF_PROG()
22 unix_sk = (struct unix_sock *)bpf_skc_to_unix_sock(sock->sk); in BPF_PROG()
H A Dbpf_iter_setsockopt_unix.c16 static inline int cmpname(struct unix_sock *unix_sk) in cmpname()
31 struct unix_sock *unix_sk = ctx->unix_sk; in change_sndbuf()
H A Dbpf_iter_unix.c27 struct unix_sock *unix_sk = ctx->unix_sk; in dump_unix()
/linux/security/apparmor/
H A Daf_unix.c28 static inline struct sock *aa_unix_sk(struct unix_sock *u) in aa_unix_sk()
108 struct sockaddr_un *aa_sunaddr(const struct unix_sock *u, int *addrlen) in aa_sunaddr()
124 struct unix_sock *u, struct aa_perms **p, in match_to_sk()
139 u32 request, struct unix_sock *u, in match_to_cmd()
156 u32 request, struct unix_sock *u, in match_to_peer()
628 struct unix_sock *peeru = unix_sk(peer_sk); in aa_unix_peer_perm()
629 struct unix_sock *u = unix_sk(sk); in aa_unix_peer_perm()
/linux/security/apparmor/include/
H A Daf_unix.h34 struct sockaddr_un *aa_sunaddr(const struct unix_sock *u, int *addrlen);
/linux/security/
H A Dlsm_audit.c288 const struct unix_sock *u; in audit_log_lsm_data()
/linux/net/core/
H A Dfilter.c11907 BTF_TYPE_EMIT(struct unix_sock); in BPF_CALL_1()