/openbmc/linux/drivers/misc/ |
H A D | tifm_core.c | 43 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() 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 250 struct tifm_dev *sock = NULL; in tifm_alloc_device() local 278 void tifm_eject(struct tifm_dev *sock) in tifm_eject() [all …]
|
/openbmc/linux/drivers/pcmcia/ |
H A 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() 91 static int db1x_card_inserted(struct db1x_pcmcia_sock *sock) in db1x_card_inserted() 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 245 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in db1x_pcmcia_configure() local 341 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in db1x_pcmcia_get_status() local 394 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in au1x00_pcmcia_set_io_map() local 405 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in au1x00_pcmcia_set_mem_map() local [all …]
|
H A 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
|
H A 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() 267 static u_short i365_get_pair(u_short sock, u_short reg) in i365_get_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() 640 static int __init is_alive(u_short sock) in is_alive() 755 int i, j, sock, k, ns, id; in isa_probe() local [all …]
|
H A 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
|
H A 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
|
/openbmc/linux/include/net/ |
H A D | sock.h | 357 struct sock { struct 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 453 union { 477 * changes are protected by socket lock. argument 480 sk_kern_sock : 1, argument 491 int sk_err, 522 struct socket *sk_socket; argument 529 void (*sk_state_change)(struct sock *sk); argument [all …]
|
H A D | scm.h | 48 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()
|
/openbmc/linux/net/rxrpc/ |
H A D | af_rxrpc.c | 130 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() 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() 470 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect() 739 static __poll_t rxrpc_poll(struct file *file, struct socket *sock, in rxrpc_poll() 819 static int rxrpc_shutdown(struct socket *sock, int flags) in rxrpc_shutdown() [all …]
|
/openbmc/linux/net/atm/ |
H A D | svc.c | 46 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() 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() 561 static int svc_dropparty(struct socket *sock, int ep_ref) in svc_dropparty() [all …]
|
H A 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() 132 static int pvc_create(struct net *net, struct socket *sock, int protocol, in pvc_create()
|
/openbmc/linux/net/nfc/ |
H A D | llcp_sock.c | 59 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() 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() 775 static int llcp_sock_sendmsg(struct socket *sock, struct msghdr *msg, in llcp_sock_sendmsg() 828 static int llcp_sock_recvmsg(struct socket *sock, struct msghdr *msg, in llcp_sock_recvmsg() 1010 void nfc_llcp_sock_free(struct nfc_llcp_sock *sock) in nfc_llcp_sock_free() [all …]
|
/openbmc/linux/net/bluetooth/rfcomm/ |
H A D | sock.c | 271 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() 422 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen() 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() 661 static int rfcomm_sock_setsockopt(struct socket *sock, int level, int optname, in rfcomm_sock_setsockopt() 886 static int rfcomm_sock_shutdown(struct socket *sock, int how) in rfcomm_sock_shutdown() [all …]
|
/openbmc/linux/drivers/isdn/mISDN/ |
H A 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() 618 base_sock_release(struct socket *sock) in base_sock_release() 634 base_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in base_sock_ioctl() [all …]
|
/openbmc/linux/net/ipv4/ |
H A D | udp_tunnel_core.c | 14 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()
|
/openbmc/linux/drivers/memstick/host/ |
H A 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() 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() 591 static void tifm_ms_remove(struct tifm_dev *sock) in tifm_ms_remove() [all …]
|
/openbmc/linux/net/rds/ |
H A 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() 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() 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() 767 static void rds6_sock_inc_info(struct socket *sock, unsigned int len, in rds6_sock_inc_info() 799 static void rds_sock_info(struct socket *sock, unsigned int len, in rds_sock_info() [all …]
|
/openbmc/linux/net/llc/ |
H A 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() 276 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind() 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() 1027 static int llc_ui_getname(struct socket *sock, struct sockaddr *uaddr, in llc_ui_getname() 1075 static int llc_ui_ioctl(struct socket *sock, unsigned int cmd, in llc_ui_ioctl() 1091 static int llc_ui_setsockopt(struct socket *sock, int level, int optname, in llc_ui_setsockopt() [all …]
|
/openbmc/linux/net/ |
H A D | socket.c | 536 struct socket *sock; in sockfd_lookup() local 556 struct socket *sock; in sockfd_lookup_light() local 632 struct socket *sock; in sock_alloc() local 1252 struct socket *sock; in sock_ioctl() local 1504 struct socket *sock; in __sock_create() local 1646 struct socket *sock; in __sys_socket_create() local 1668 struct socket *sock; in __sys_socket_file() local 1707 struct socket *sock; in __sys_socket() local 1839 struct socket *sock; in __sys_bind() local 1873 struct socket *sock; in __sys_listen() local [all …]
|
/openbmc/linux/drivers/mmc/host/ |
H A 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 368 struct tifm_dev *sock = host->dev; in tifm_sd_exec() local 399 struct tifm_dev *sock = host->dev; in tifm_sd_check_status() local 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 729 struct tifm_dev *sock = host->dev; in tifm_sd_end_cmd() local 791 struct tifm_dev *sock = host->dev; in tifm_sd_ios() local 859 struct tifm_dev *sock = host->dev; in tifm_sd_ro() local [all …]
|
/openbmc/linux/net/handshake/ |
H A D | handshake-test.c | 148 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
|
/openbmc/linux/net/bluetooth/cmtp/ |
H A 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()
|
/openbmc/linux/net/bluetooth/bnep/ |
H A D | sock.c | 37 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()
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | lsm_cgroup.c | 51 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() 130 int BPF_PROG(socket_bind, struct socket *sock, struct sockaddr *address, in BPF_PROG() 139 int BPF_PROG(socket_bind2, struct socket *sock, struct sockaddr *address, in BPF_PROG()
|
/openbmc/linux/net/bluetooth/ |
H A D | l2cap_sock.c | 51 bool l2cap_is_socket(struct socket *sock) in l2cap_is_socket() 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() 724 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, in l2cap_sock_setsockopt_old() 1113 static int l2cap_sock_sendmsg(struct socket *sock, struct msghdr *msg, in l2cap_sock_sendmsg() 1173 static int l2cap_sock_recvmsg(struct socket *sock, struct msghdr *msg, in l2cap_sock_recvmsg() 1309 static int l2cap_sock_shutdown(struct socket *sock, int how) in l2cap_sock_shutdown() [all …]
|