/kernel/linux/linux-5.10/drivers/misc/ |
D | tifm_core.c | 34 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 111 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend() local 122 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume() local 141 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in type_show() local 244 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_free_device() local [all …]
|
/kernel/linux/linux-5.10/drivers/pcmcia/ |
D | sa11xx_base.h | 69 #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
|
D | db1xxx_ss.c | 71 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 …]
|
D | i82365.c | 217 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 …]
|
D | bcm63xx_pcmcia.c | 52 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
|
D | xxs1500_ss.c | 71 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
|
/kernel/linux/linux-5.10/net/atm/ |
D | svc.c | 41 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 …]
|
D | pvc.c | 22 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()
|
/kernel/linux/linux-5.10/include/net/ |
D | sock.h | 353 struct sock { struct 358 struct sock_common __sk_common; argument 393 socket_lock_t sk_lock; argument 401 * the per-socket spinlock held and requires low latency argument 426 struct socket_wq __rcu *sk_wq; argument 432 struct xfrm_policy __rcu *sk_policy[2]; 434 struct dst_entry __rcu *sk_rx_dst; 435 struct dst_entry __rcu *sk_dst_cache; 436 atomic_t sk_omem_alloc; 437 int sk_sndbuf; [all …]
|
D | scm.h | 47 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() 52 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() 78 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send() 93 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() 109 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata() 114 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() 117 static inline bool scm_has_secdata(struct socket *sock) in scm_has_secdata() 123 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
|
/kernel/linux/linux-5.10/net/rxrpc/ |
D | af_rxrpc.c | 129 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() 500 static int rxrpc_sendmsg(struct socket *sock, struct msghdr *m, size_t len) in rxrpc_sendmsg() [all …]
|
/kernel/linux/linux-5.10/net/nfc/ |
D | llcp_sock.c | 59 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in llcp_sock_bind() 144 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, in llcp_raw_sock_bind() 199 static int llcp_sock_listen(struct socket *sock, int backlog) in llcp_sock_listen() 226 static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, in nfc_llcp_setsockopt() 299 static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, in nfc_llcp_getsockopt() 444 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, in llcp_sock_accept() 498 static int llcp_sock_getname(struct socket *sock, struct sockaddr *uaddr, in llcp_sock_getname() 550 static __poll_t llcp_sock_poll(struct file *file, struct socket *sock, in llcp_sock_poll() 589 static int llcp_sock_release(struct socket *sock) in llcp_sock_release() 653 static int llcp_sock_connect(struct socket *sock, struct sockaddr *_addr, in llcp_sock_connect() [all …]
|
/kernel/linux/linux-5.10/drivers/isdn/mISDN/ |
D | socket.c | 106 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 …]
|
/kernel/linux/linux-5.10/net/bluetooth/rfcomm/ |
D | sock.c | 271 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() 424 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen() 473 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags, in rfcomm_sock_accept() 534 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int peer) in rfcomm_sock_getname() 556 static int rfcomm_sock_sendmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_sendmsg() 596 static int rfcomm_sock_recvmsg(struct socket *sock, struct msghdr *msg, in rfcomm_sock_recvmsg() 621 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, in rfcomm_sock_setsockopt_old() [all …]
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | udp_tunnel_core.c | 17 struct socket *sock = NULL; in udp_sock_create4() local 63 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, in setup_udp_tunnel_sock() 87 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_push_rx_port() 105 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, in udp_tunnel_drop_rx_port() 124 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_add_rx_port() 148 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type) in udp_tunnel_notify_del_rx_port() 194 void udp_tunnel_sock_release(struct socket *sock) in udp_tunnel_sock_release()
|
/kernel/linux/linux-5.10/drivers/memstick/host/ |
D | tifm_ms.c | 85 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 …]
|
/kernel/linux/linux-5.10/net/rds/ |
D | af_rds.c | 59 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 …]
|
/kernel/linux/linux-5.10/net/llc/ |
D | af_llc.c | 146 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() 275 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() 442 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown() 477 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect() 550 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen() 694 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags, in llc_ui_accept() 757 static int llc_ui_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, in llc_ui_recvmsg() [all …]
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
D | tifm_sd.c | 115 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 …]
|
/kernel/linux/linux-5.10/net/ |
D | socket.c | 135 struct socket *sock = f->private_data; in sock_show_fdinfo() local 404 struct file *sock_alloc_file(struct socket *sock, int flags, const char *dname) in sock_alloc_file() 426 static int sock_map_fd(struct socket *sock, int flags) in sock_map_fd() 479 struct socket *sock; in sockfd_lookup() local 497 struct socket *sock; in sockfd_lookup_light() local 544 struct socket *sock = SOCKET_I(d_inode(dentry)); in sockfs_setattr() local 571 struct socket *sock; in sock_alloc() local 589 static void __sock_release(struct socket *sock, struct inode *inode) in __sock_release() 622 void sock_release(struct socket *sock) in sock_release() 649 static inline int sock_sendmsg_nosec(struct socket *sock, struct msghdr *msg) in sock_sendmsg_nosec() [all …]
|
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/ |
D | af_ninet.c | 129 static int ninet_create(struct net *net, struct socket *sock, int protocol, in ninet_create() 247 int ninet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in ninet_bind() 305 int ninet_listen(struct socket *sock, int backlog) in ninet_listen() 337 int ninet_release(struct socket *sock) in ninet_release() 359 int ninet_getname(struct socket *sock, struct sockaddr *uaddr, in ninet_getname() 412 int __ninet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in __ninet_stream_connect() 474 int ninet_stream_connect(struct socket *sock, struct sockaddr *uaddr, in ninet_stream_connect() 485 int ninet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in ninet_ioctl() 588 int ninet_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in ninet_compat_ioctl() 606 static int compat_select_ninet_ioctl(struct socket *sock, unsigned int cmd, in compat_select_ninet_ioctl() [all …]
|
/kernel/linux/linux-5.10/net/bluetooth/cmtp/ |
D | sock.c | 49 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()
|
/kernel/linux/linux-5.10/net/bluetooth/bnep/ |
D | sock.c | 36 static int bnep_sock_release(struct socket *sock) in bnep_sock_release() 52 static int do_bnep_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) in do_bnep_sock_ioctl() 136 static int bnep_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_ioctl() 142 static int bnep_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in bnep_sock_compat_ioctl() 197 static int bnep_sock_create(struct net *net, struct socket *sock, int protocol, in bnep_sock_create()
|
/kernel/linux/linux-5.10/net/bluetooth/ |
D | l2cap_sock.c | 50 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 …]
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | tcp_client.py | 11 def read(sock, n): argument 20 def send(sock, s): argument 35 sock = socket.socket(socket.AF_INET6, socket.SOCK_STREAM) variable
|