Home
last modified time | relevance | path

Searched defs:sock (Results 1 – 25 of 312) sorted by relevance

12345678910>>...13

/linux-6.6.21/drivers/misc/
Dtifm_core.c34 static int tifm_dev_match(struct tifm_dev *sock, struct tifm_device_id *id) in tifm_dev_match()
43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() local
60 const struct tifm_dev *sock = container_of_const(dev, struct tifm_dev, dev); in tifm_uevent() local
70 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe() local
85 static void tifm_dummy_event(struct tifm_dev *sock) in tifm_dummy_event()
92 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove() local
110 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend() local
121 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume() local
140 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in type_show() local
242 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_free_device() local
[all …]
/linux-6.6.21/drivers/pcmcia/
Ddb1xxx_ss.c71 static int db1300_card_inserted(struct db1x_pcmcia_sock *sock) in db1300_card_inserted()
77 static int db1200_card_inserted(struct db1x_pcmcia_sock *sock) in db1200_card_inserted()
86 static int db1000_card_inserted(struct db1x_pcmcia_sock *sock) in db1000_card_inserted()
91 static int db1x_card_inserted(struct db1x_pcmcia_sock *sock) in db1x_card_inserted()
107 static inline void set_stschg(struct db1x_pcmcia_sock *sock, int en) in set_stschg()
119 struct db1x_pcmcia_sock *sock = data; in db1000_pcmcia_cdirq() local
128 struct db1x_pcmcia_sock *sock = data; in db1000_pcmcia_stschgirq() local
148 struct db1x_pcmcia_sock *sock = data; in db1200_pcmcia_cdirq_fn() local
162 static int db1x_pcmcia_setup_irqs(struct db1x_pcmcia_sock *sock) in db1x_pcmcia_setup_irqs()
219 static void db1x_pcmcia_free_irqs(struct db1x_pcmcia_sock *sock) in db1x_pcmcia_free_irqs()
[all …]
Dsa11xx_base.h69 #define MECR_SET(mecr, sock, shift, mask, bs) \ argument
74 #define MECR_GET(mecr, sock, shift, mask) \ argument
78 #define MECR_BSIO_SET(mecr, sock, bs) \ argument
81 #define MECR_BSIO_GET(mecr, sock) \ argument
84 #define MECR_BSA_SET(mecr, sock, bs) \ argument
87 #define MECR_BSA_GET(mecr, sock) \ argument
90 #define MECR_BSM_SET(mecr, sock, bs) \ argument
93 #define MECR_BSM_GET(mecr, sock) \ argument
96 #define MECR_FAST_SET(mecr, sock, fast) \ argument
99 #define MECR_FAST_GET(mecr, sock) \ argument
Di82365.c217 static u_char i365_get(u_short sock, u_short reg) in i365_get()
231 static void i365_set(u_short sock, u_short reg, u_char data) in i365_set()
243 static void i365_bset(u_short sock, u_short reg, u_char mask) in i365_bset()
250 static void i365_bclr(u_short sock, u_short reg, u_char mask) in i365_bclr()
257 static void i365_bflip(u_short sock, u_short reg, u_char mask, int b) in i365_bflip()
267 static u_short i365_get_pair(u_short sock, u_short reg) in i365_get_pair()
275 static void i365_set_pair(u_short sock, u_short reg, u_short data) in i365_set_pair()
489 static u_int __init test_irq(u_short sock, int irq) in test_irq()
517 static u_int __init isa_scan(u_short sock, u_int mask0) in isa_scan()
572 static int __init identify(unsigned int port, u_short sock) in identify()
[all …]
Dbcm63xx_pcmcia.c52 static int bcm63xx_pcmcia_sock_init(struct pcmcia_socket *sock) in bcm63xx_pcmcia_sock_init()
63 static int bcm63xx_pcmcia_suspend(struct pcmcia_socket *sock) in bcm63xx_pcmcia_suspend()
75 static int bcm63xx_pcmcia_set_socket(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_socket()
249 static int bcm63xx_pcmcia_get_status(struct pcmcia_socket *sock, in bcm63xx_pcmcia_get_status()
290 static int bcm63xx_pcmcia_set_io_map(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_io_map()
298 static int bcm63xx_pcmcia_set_mem_map(struct pcmcia_socket *sock, in bcm63xx_pcmcia_set_mem_map()
329 struct pcmcia_socket *sock; in bcm63xx_drv_pcmcia_probe() local
/linux-6.6.21/include/net/
Dsock.h357 struct sock { struct
362 struct sock_common __sk_common; argument
402 socket_lock_t sk_lock; argument
409 * the per-socket spinlock held and requires low latency argument
436 struct socket_wq __rcu *sk_wq; argument
442 struct xfrm_policy __rcu *sk_policy[2];
445 struct dst_entry __rcu *sk_dst_cache;
446 atomic_t sk_omem_alloc;
447 int sk_sndbuf;
450 int sk_wmem_queued;
[all …]
Dscm.h48 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
53 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram()
79 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send()
94 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
110 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
115 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec()
118 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata()
160 static inline bool __scm_recv_common(struct socket *sock, struct msghdr *msg, in __scm_recv_common()
190 static inline void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
199 static inline void scm_recv_unix(struct socket *sock, struct msghdr *msg, in scm_recv_unix()
/linux-6.6.21/net/rxrpc/
Daf_rxrpc.c130 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind()
210 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen()
282 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call()
355 void rxrpc_kernel_shutdown_call(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_shutdown_call()
381 void rxrpc_kernel_put_call(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_put_call()
395 bool rxrpc_kernel_check_life(const struct socket *sock, in rxrpc_kernel_check_life()
414 u32 rxrpc_kernel_get_epoch(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_get_epoch()
429 struct socket *sock, in rxrpc_kernel_new_call_notification()
449 void rxrpc_kernel_set_max_life(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_set_max_life()
470 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect()
[all …]
/linux-6.6.21/net/atm/
Dsvc.c46 static int svc_shutdown(struct socket *sock, int how) in svc_shutdown()
80 static int svc_release(struct socket *sock) in svc_release()
100 static int svc_bind(struct socket *sock, struct sockaddr *sockaddr, in svc_bind()
156 static int svc_connect(struct socket *sock, struct sockaddr *sockaddr, in svc_connect()
287 static int svc_listen(struct socket *sock, int backlog) in svc_listen()
327 static int svc_accept(struct socket *sock, struct socket *newsock, int flags, in svc_accept()
426 static int svc_getname(struct socket *sock, struct sockaddr *sockaddr, in svc_getname()
458 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt()
503 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt()
531 static int svc_addparty(struct socket *sock, struct sockaddr *sockaddr, in svc_addparty()
[all …]
Dpvc.c22 static int pvc_shutdown(struct socket *sock, int how) in pvc_shutdown()
27 static int pvc_bind(struct socket *sock, struct sockaddr *sockaddr, in pvc_bind()
59 static int pvc_connect(struct socket *sock, struct sockaddr *sockaddr, in pvc_connect()
65 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt()
77 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt()
89 static int pvc_getname(struct socket *sock, struct sockaddr *sockaddr, in pvc_getname()
132 static int pvc_create(struct net *net, struct socket *sock, int protocol, in pvc_create()
/linux-6.6.21/net/nfc/
Dllcp_sock.c59 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind()
149 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, in llcp_raw_sock_bind()
204 static int llcp_sock_listen(struct socket *sock, int backlog) in llcp_sock_listen()
231 static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, in nfc_llcp_setsockopt()
304 static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, in nfc_llcp_getsockopt()
449 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, in llcp_sock_accept()
503 static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, in llcp_sock_getname()
555 static __poll_t llcp_sock_poll(struct file *file, struct socket *sock, in llcp_sock_poll()
594 static int llcp_sock_release(struct socket *sock) in llcp_sock_release()
651 static int llcp_sock_connect(struct socket *sock, struct sockaddr *_addr, in llcp_sock_connect()
[all …]
/linux-6.6.21/net/bluetooth/rfcomm/
Dsock.c271 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, in rfcomm_sock_alloc()
305 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create()
327 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind()
374 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect()
422 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen()
471 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags, in rfcomm_sock_accept()
532 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) in rfcomm_sock_getname()
554 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_sendmsg()
594 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_recvmsg()
619 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, in rfcomm_sock_setsockopt_old()
[all …]
/linux-6.6.21/drivers/isdn/mISDN/
Dsocket.c106 mISDN_sock_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in mISDN_sock_recvmsg()
167 mISDN_sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) in mISDN_sock_sendmsg()
236 data_sock_release(struct socket *sock) in data_sock_release()
350 data_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in data_sock_ioctl()
403 static int data_sock_setsockopt(struct socket *sock, int level, int optname, in data_sock_setsockopt()
435 static int data_sock_getsockopt(struct socket *sock, int level, int optname, in data_sock_getsockopt()
465 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in data_sock_bind()
552 data_sock_getname(struct socket *sock, struct sockaddr *addr, in data_sock_getname()
593 data_sock_create(struct net *net, struct socket *sock, int protocol, int kern) in data_sock_create()
618 base_sock_release(struct socket *sock) in base_sock_release()
[all …]
/linux-6.6.21/net/
Dsocket.c139 struct socket *sock = f->private_data; in sock_show_fdinfo() local
462 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file()
485 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
536 struct socket *sock; in sockfd_lookup() local
556 struct socket *sock; in sockfd_lookup_light() local
605 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local
632 struct socket *sock; in sock_alloc() local
650 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release()
685 void sock_release(struct socket *sock) in sock_release()
728 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
[all …]
/linux-6.6.21/drivers/memstick/host/
Dtifm_ms.c85 struct tifm_dev *sock = host->dev; in tifm_ms_read_data() local
125 struct tifm_dev *sock = host->dev; in tifm_ms_write_data() local
182 struct tifm_dev *sock = host->dev; in tifm_ms_transfer_data() local
254 struct tifm_dev *sock = host->dev; in tifm_ms_issue_cmd() local
336 struct tifm_dev *sock = host->dev; in tifm_ms_complete_cmd() local
381 static void tifm_ms_data_event(struct tifm_dev *sock) in tifm_ms_data_event()
417 static void tifm_ms_card_event(struct tifm_dev *sock) in tifm_ms_card_event()
459 struct tifm_dev *sock = host->dev; in tifm_ms_req_tasklet() local
499 struct tifm_dev *sock = host->dev; in tifm_ms_set_param() local
551 static int tifm_ms_probe(struct tifm_dev *sock) in tifm_ms_probe()
[all …]
/linux-6.6.21/net/rds/
Daf_rds.c59 static int rds_release(struct socket *sock) in rds_release()
114 static int rds_getname(struct socket *sock, struct sockaddr *uaddr, in rds_getname()
212 static __poll_t rds_poll(struct file *file, struct socket *sock, in rds_poll()
255 static int rds_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in rds_ioctl()
432 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt()
483 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt()
536 static int rds_connect(struct socket *sock, struct sockaddr *uaddr, in rds_connect()
666 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create()
697 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create()
728 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info()
[all …]
/linux-6.6.21/net/llc/
Daf_llc.c146 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init()
171 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, in llc_ui_create()
200 static int llc_ui_release(struct socket *sock) in llc_ui_release()
276 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind()
340 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind()
445 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown()
480 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect()
553 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen()
697 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags, in llc_ui_accept()
760 static int llc_ui_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in llc_ui_recvmsg()
[all …]
/linux-6.6.21/drivers/mmc/host/
Dtifm_sd.c115 struct tifm_dev *sock = host->dev; in tifm_sd_read_fifo() local
141 struct tifm_dev *sock = host->dev; in tifm_sd_write_fifo() local
263 struct tifm_dev *sock = host->dev; in tifm_sd_set_dma_data() local
368 struct tifm_dev *sock = host->dev; in tifm_sd_exec() local
385 static void tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) in tifm_sd_fetch_resp()
399 struct tifm_dev *sock = host->dev; in tifm_sd_check_status() local
470 static void tifm_sd_data_event(struct tifm_dev *sock) in tifm_sd_data_event()
498 static void tifm_sd_card_event(struct tifm_dev *sock) in tifm_sd_card_event()
587 struct tifm_dev *sock = host->dev; in tifm_sd_set_data_timeout() local
615 struct tifm_dev *sock = host->dev; in tifm_sd_request() local
[all …]
/linux-6.6.21/net/ipv4/
Dudp_tunnel_core.c14 struct socket *sock = NULL; in udp_sock_create4() local
60 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock()
85 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_push_rx_port()
99 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_drop_rx_port()
114 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_add_rx_port()
134 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_del_rx_port()
176 void udp_tunnel_sock_release(struct socket *sock) in udp_tunnel_sock_release()
/linux-6.6.21/net/handshake/
Dhandshake-test.c148 struct socket *sock; in handshake_req_submit_test1() local
186 struct socket *sock; in handshake_req_submit_test3() local
211 struct socket *sock; in handshake_req_submit_test4() local
245 struct socket *sock; in handshake_req_submit_test5() local
282 struct socket *sock; in handshake_req_submit_test6() local
315 struct socket *sock; in handshake_req_cancel_test1() local
350 struct socket *sock; in handshake_req_cancel_test2() local
392 struct socket *sock; in handshake_req_cancel_test3() local
450 struct socket *sock; in handshake_req_destroy_test1() local
/linux-6.6.21/net/bluetooth/
Dl2cap_sock.c51 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket()
83 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind()
181 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, in l2cap_sock_connect()
271 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen()
328 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, in l2cap_sock_accept()
384 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, in l2cap_sock_getname()
434 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old()
553 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt()
723 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old()
879 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt()
[all …]
/linux-6.6.21/tools/testing/selftests/bpf/progs/
Dlsm_cgroup.c51 static __always_inline int real_create(struct socket *sock, int family, in real_create()
85 int BPF_PROG(socket_post_create, struct socket *sock, int family, in BPF_PROG()
94 int BPF_PROG(socket_post_create2, struct socket *sock, int family, in BPF_PROG()
101 static __always_inline int real_bind(struct socket *sock, in real_bind()
126 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG()
135 int BPF_PROG(socket_bind2, struct socket *sock, struct sockaddr *address, in BPF_PROG()
/linux-6.6.21/net/bluetooth/cmtp/
Dsock.c49 static int cmtp_sock_release(struct socket *sock) in cmtp_sock_release()
66 static int do_cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_cmtp_sock_ioctl()
139 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_ioctl()
145 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in cmtp_sock_compat_ioctl()
200 static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol, in cmtp_sock_create()
/linux-6.6.21/drivers/net/ppp/
Dpptp.c55 struct pppox_sock *sock; in lookup_chan() local
74 struct pppox_sock *sock; in lookup_chan_dst() local
94 static int add_chan(struct pppox_sock *sock, in add_chan()
124 static void del_chan(struct pppox_sock *sock) in del_chan()
381 static int pptp_bind(struct socket *sock, struct sockaddr *uservaddr, in pptp_bind()
414 static int pptp_connect(struct socket *sock, struct sockaddr *uservaddr, in pptp_connect()
482 static int pptp_getname(struct socket *sock, struct sockaddr *uaddr, in pptp_getname()
499 static int pptp_release(struct socket *sock) in pptp_release()
541 static int pptp_create(struct net *net, struct socket *sock, int kern) in pptp_create()
/linux-6.6.21/net/bluetooth/bnep/
Dsock.c37 static int bnep_sock_release(struct socket *sock) in bnep_sock_release()
53 static int do_bnep_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_bnep_sock_ioctl()
137 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl()
143 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl()
198 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, in bnep_sock_create()

12345678910>>...13