Home
last modified time | relevance | path

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

/linux-6.15/include/net/
H A Daf_unix.h16 struct unix_sock *unix_get_socket(struct file *filp);
18 static inline struct unix_sock *unix_get_socket(struct file *filp) in unix_get_socket()
36 struct unix_sock { struct
55 #define unix_sk(ptr) container_of_const(ptr, struct unix_sock, sk) argument
/linux-6.15/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.c132 const struct unix_sock *a, *b; in unix_state_lock_cmp_fn()
429 struct unix_sock *u = unix_sk(s); in __unix_find_socket_byname()
499 struct unix_sock *u; in unix_dgram_peer_wake_relay()
518 struct unix_sock *u, *u_other; in unix_dgram_peer_wake_connect()
540 struct unix_sock *u, *u_other; in unix_dgram_peer_wake_disconnect()
634 struct unix_sock *u = unix_sk(sk); in unix_sock_destructor()
659 struct unix_sock *u = unix_sk(sk); in unix_release_sock()
772 struct unix_sock *u = unix_sk(sk); in unix_listen()
832 struct unix_sock *u; in unix_count_nr_fds()
851 struct unix_sock *u; in unix_show_fdinfo()
[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-6.15/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-6.15/tools/include/linux/
H A Dbtf_ids.h191 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UNIX, unix_sock) \
/linux-6.15/include/linux/
H A Dbtf_ids.h256 BTF_SOCK_TYPE(BTF_SOCK_TYPE_UNIX, unix_sock) \
/linux-6.15/security/
H A Dlsm_audit.c307 const struct unix_sock *u; in audit_log_lsm_data()
/linux-6.15/net/core/
H A Dfilter.c11901 BTF_TYPE_EMIT(struct unix_sock); in BPF_CALL_1()