Home
last modified time | relevance | path

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

12345678910>>...12

/linux-6.1.9/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 struct tifm_dev *sock = container_of(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.1.9/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
Dxxs1500_ss.c71 struct xxs1500_pcmcia_sock *sock = data; in cdirq() local
81 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in xxs1500_pcmcia_configure() local
179 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_io_map() local
190 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_mem_map() local
211 struct xxs1500_pcmcia_sock *sock; in xxs1500_pcmcia_probe() local
306 struct xxs1500_pcmcia_sock *sock = platform_get_drvdata(pdev); in xxs1500_pcmcia_remove() local
/linux-6.1.9/include/net/
Dsock.h353 struct sock { struct
358 struct sock_common __sk_common; argument
398 socket_lock_t sk_lock; argument
405 * the per-socket spinlock held and requires low latency argument
431 struct socket_wq __rcu *sk_wq; argument
437 struct xfrm_policy __rcu *sk_policy[2];
440 struct dst_entry __rcu *sk_dst_cache;
441 atomic_t sk_omem_alloc;
442 int sk_sndbuf;
445 int sk_wmem_queued;
[all …]
/linux-6.1.9/net/atm/
Dsvc.c41 static int svc_shutdown(struct socket *sock, int how) in svc_shutdown()
75 static int svc_release(struct socket *sock) in svc_release()
95 static int svc_bind(struct socket *sock, struct sockaddr *sockaddr, in svc_bind()
151 static int svc_connect(struct socket *sock, struct sockaddr *sockaddr, in svc_connect()
282 static int svc_listen(struct socket *sock, int backlog) in svc_listen()
322 static int svc_accept(struct socket *sock, struct socket *newsock, int flags, in svc_accept()
421 static int svc_getname(struct socket *sock, struct sockaddr *sockaddr, in svc_getname()
453 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt()
498 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt()
526 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()
133 static int pvc_create(struct net *net, struct socket *sock, int protocol, in pvc_create()
/linux-6.1.9/net/rxrpc/
Daf_rxrpc.c129 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind()
209 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen()
280 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call()
352 void rxrpc_kernel_end_call(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_end_call()
379 bool rxrpc_kernel_check_life(const struct socket *sock, in rxrpc_kernel_check_life()
394 u32 rxrpc_kernel_get_epoch(struct socket *sock, struct rxrpc_call *call) in rxrpc_kernel_get_epoch()
409 struct socket *sock, in rxrpc_kernel_new_call_notification()
429 void rxrpc_kernel_set_max_life(struct socket *sock, struct rxrpc_call *call, in rxrpc_kernel_set_max_life()
450 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect()
501 static int rxrpc_sendmsg(struct socket *sock, struct msghdr *m, size_t len) in rxrpc_sendmsg()
[all …]
/linux-6.1.9/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.1.9/net/bluetooth/rfcomm/
Dsock.c271 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio, … in rfcomm_sock_alloc()
312 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create()
334 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind()
381 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect()
429 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen()
478 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags, in rfcomm_sock_accept()
539 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) in rfcomm_sock_getname()
561 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_sendmsg()
601 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_recvmsg()
626 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, in rfcomm_sock_setsockopt_old()
[all …]
/linux-6.1.9/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.1.9/net/
Dsocket.c137 struct socket *sock = f->private_data; in sock_show_fdinfo() local
456 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file()
478 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd()
529 struct socket *sock; in sockfd_lookup() local
549 struct socket *sock; in sockfd_lookup_light() local
598 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local
625 struct socket *sock; in sock_alloc() local
643 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release()
676 void sock_release(struct socket *sock) in sock_release()
712 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec()
[all …]
/linux-6.1.9/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()
667 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create()
698 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create()
729 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info()
[all …]
/linux-6.1.9/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.1.9/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()
274 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind()
338 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind()
443 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown()
478 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect()
551 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen()
693 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags, in llc_ui_accept()
756 static int llc_ui_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in llc_ui_recvmsg()
[all …]
/linux-6.1.9/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
373 struct tifm_dev *sock = host->dev; in tifm_sd_exec() local
390 static void tifm_sd_fetch_resp(struct mmc_command *cmd, struct tifm_dev *sock) in tifm_sd_fetch_resp()
404 struct tifm_dev *sock = host->dev; in tifm_sd_check_status() local
475 static void tifm_sd_data_event(struct tifm_dev *sock) in tifm_sd_data_event()
503 static void tifm_sd_card_event(struct tifm_dev *sock) in tifm_sd_card_event()
595 struct tifm_dev *sock = host->dev; in tifm_sd_set_data_timeout() local
623 struct tifm_dev *sock = host->dev; in tifm_sd_request() local
[all …]
/linux-6.1.9/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.1.9/net/bluetooth/
Dl2cap_sock.c50 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket()
82 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind()
195 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, in l2cap_sock_connect()
287 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen()
346 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, in l2cap_sock_accept()
402 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, in l2cap_sock_getname()
452 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, in l2cap_sock_getsockopt_old()
571 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, in l2cap_sock_getsockopt()
741 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old()
897 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, in l2cap_sock_setsockopt()
[all …]
/linux-6.1.9/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.1.9/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.1.9/drivers/net/ppp/
Dpptp.c54 struct pppox_sock *sock; in lookup_chan() local
73 struct pppox_sock *sock; in lookup_chan_dst() local
93 static int add_chan(struct pppox_sock *sock, in add_chan()
123 static void del_chan(struct pppox_sock *sock) in del_chan()
367 static int pptp_bind(struct socket *sock, struct sockaddr *uservaddr, in pptp_bind()
400 static int pptp_connect(struct socket *sock, struct sockaddr *uservaddr, in pptp_connect()
473 static int pptp_getname(struct socket *sock, struct sockaddr *uaddr, in pptp_getname()
490 static int pptp_release(struct socket *sock) in pptp_release()
532 static int pptp_create(struct net *net, struct socket *sock, int kern) in pptp_create()
/linux-6.1.9/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()
/linux-6.1.9/tools/testing/selftests/net/
Dpsock_tpacket.c101 int ret, sock = socket(PF_PACKET, SOCK_RAW, 0); in pfsocket() local
220 static void walk_v1_v2_rx(int sock, struct ring *ring) in walk_v1_v2_rx()
342 static void __v1_v2_set_packet_loss_discard(int sock) in __v1_v2_set_packet_loss_discard()
369 static void walk_tx(int sock, struct ring *ring) in walk_tx()
500 static void walk_v1_v2(int sock, struct ring *ring) in walk_v1_v2()
581 static void walk_v3_rx(int sock, struct ring *ring) in walk_v3_rx()
622 static void walk_v3(int sock, struct ring *ring) in walk_v3()
667 static void setup_ring(int sock, struct ring *ring, int version, int type) in setup_ring()
708 static void mmap_ring(int sock, struct ring *ring) in mmap_ring()
726 static void bind_ring(int sock, struct ring *ring) in bind_ring()
[all …]

12345678910>>...12