/linux-2.6.39/drivers/misc/ |
D | tifm_core.c | 37 static int tifm_dev_match(struct tifm_dev *sock, struct tifm_device_id *id) in tifm_dev_match() 46 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_bus_match() local 63 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_uevent() local 73 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_probe() local 88 static void tifm_dummy_event(struct tifm_dev *sock) in tifm_dummy_event() 95 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_remove() local 114 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_suspend() local 125 struct tifm_dev *sock = container_of(dev, struct tifm_dev, dev); in tifm_device_resume() local 144 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 …]
|
/linux-2.6.39/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 | 67 static int db1200_card_inserted(struct db1x_pcmcia_sock *sock) in db1200_card_inserted() 76 static int db1000_card_inserted(struct db1x_pcmcia_sock *sock) in db1000_card_inserted() 81 static int db1x_card_inserted(struct db1x_pcmcia_sock *sock) in db1x_card_inserted() 95 static inline void set_stschg(struct db1x_pcmcia_sock *sock, int en) in set_stschg() 107 struct db1x_pcmcia_sock *sock = data; in db1000_pcmcia_cdirq() local 116 struct db1x_pcmcia_sock *sock = data; in db1000_pcmcia_stschgirq() local 125 struct db1x_pcmcia_sock *sock = data; in db1200_pcmcia_cdirq() local 145 static int db1x_pcmcia_setup_irqs(struct db1x_pcmcia_sock *sock) in db1x_pcmcia_setup_irqs() 201 static void db1x_pcmcia_free_irqs(struct db1x_pcmcia_sock *sock) in db1x_pcmcia_free_irqs() 227 struct db1x_pcmcia_sock *sock = to_db1x_socket(skt); in db1x_pcmcia_configure() local [all …]
|
D | m32r_cfc.c | 105 void pcc_ioread_byte(int sock, unsigned long port, void *buf, size_t size, in pcc_ioread_byte() 130 void pcc_ioread_word(int sock, unsigned long port, void *buf, size_t size, in pcc_ioread_word() 161 void pcc_iowrite_byte(int sock, unsigned long port, void *buf, size_t size, in pcc_iowrite_byte() 186 void pcc_iowrite_word(int sock, unsigned long port, void *buf, size_t size, in pcc_iowrite_word() 248 static unsigned int pcc_get(u_short sock, unsigned int reg) in pcc_get() 256 static void pcc_set(u_short sock, unsigned int reg, unsigned int data) in pcc_set() 271 static int __init is_alive(u_short sock) in is_alive() 395 static int _pcc_get_status(u_short sock, u_int *value) in _pcc_get_status() 467 static int _pcc_set_socket(u_short sock, socket_state_t *state) in _pcc_set_socket() 519 static int _pcc_set_io_map(u_short sock, struct pccard_io_map *io) in _pcc_set_io_map() [all …]
|
D | m32r_pcc.c | 85 void pcc_iorw(int sock, unsigned long port, void *buf, size_t size, size_t nmemb, int wr, int flag) in pcc_iorw() 234 void pcc_ioread(int sock, unsigned long port, void *buf, size_t size, size_t nmemb, int flag) { in pcc_ioread() 238 void pcc_iowrite(int sock, unsigned long port, void *buf, size_t size, size_t nmemb, int flag) { in pcc_iowrite() 262 static unsigned int pcc_get(u_short sock, unsigned int reg) in pcc_get() 268 static void pcc_set(u_short sock, unsigned int reg, unsigned int data) in pcc_set() 282 static int __init is_alive(u_short sock) in is_alive() 394 static int _pcc_get_status(u_short sock, u_int *value) in _pcc_get_status() 419 static int _pcc_set_socket(u_short sock, socket_state_t *state) in _pcc_set_socket() 476 static int _pcc_set_io_map(u_short sock, struct pccard_io_map *io) in _pcc_set_io_map() 491 static int _pcc_set_mem_map(u_short sock, struct pccard_mem_map *mem) [all …]
|
D | i82365.c | 218 static u_char i365_get(u_short sock, u_short reg) in i365_get() 232 static void i365_set(u_short sock, u_short reg, u_char data) in i365_set() 244 static void i365_bset(u_short sock, u_short reg, u_char mask) in i365_bset() 251 static void i365_bclr(u_short sock, u_short reg, u_char mask) in i365_bclr() 258 static void i365_bflip(u_short sock, u_short reg, u_char mask, int b) in i365_bflip() 268 static u_short i365_get_pair(u_short sock, u_short reg) in i365_get_pair() 276 static void i365_set_pair(u_short sock, u_short reg, u_short data) in i365_set_pair() 490 static u_int __init test_irq(u_short sock, int irq) in test_irq() 518 static u_int __init isa_scan(u_short sock, u_int mask0) in isa_scan() 573 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 | 70 struct xxs1500_pcmcia_sock *sock = data; in cdirq() local 80 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in xxs1500_pcmcia_configure() local 178 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_io_map() local 189 struct xxs1500_pcmcia_sock *sock = to_xxs_socket(skt); in au1x00_pcmcia_set_mem_map() local 210 struct xxs1500_pcmcia_sock *sock; in xxs1500_pcmcia_probe() local 305 struct xxs1500_pcmcia_sock *sock = platform_get_drvdata(pdev); in xxs1500_pcmcia_remove() local
|
/linux-2.6.39/net/atm/ |
D | svc.c | 39 static int svc_shutdown(struct socket *sock, int how) in svc_shutdown() 73 static int svc_release(struct socket *sock) in svc_release() 93 static int svc_bind(struct socket *sock, struct sockaddr *sockaddr, in svc_bind() 148 static int svc_connect(struct socket *sock, struct sockaddr *sockaddr, in svc_connect() 286 static int svc_listen(struct socket *sock, int backlog) in svc_listen() 325 static int svc_accept(struct socket *sock, struct socket *newsock, int flags) in svc_accept() 423 static int svc_getname(struct socket *sock, struct sockaddr *sockaddr, in svc_getname() 454 static int svc_setsockopt(struct socket *sock, int level, int optname, in svc_setsockopt() 499 static int svc_getsockopt(struct socket *sock, int level, int optname, in svc_getsockopt() 527 static int svc_addparty(struct socket *sock, struct sockaddr *sockaddr, in svc_addparty() [all …]
|
D | pvc.c | 20 static int pvc_shutdown(struct socket *sock, int how) in pvc_shutdown() 25 static int pvc_bind(struct socket *sock, struct sockaddr *sockaddr, in pvc_bind() 57 static int pvc_connect(struct socket *sock, struct sockaddr *sockaddr, in pvc_connect() 63 static int pvc_setsockopt(struct socket *sock, int level, int optname, in pvc_setsockopt() 75 static int pvc_getsockopt(struct socket *sock, int level, int optname, in pvc_getsockopt() 87 static int pvc_getname(struct socket *sock, struct sockaddr *sockaddr, in pvc_getname() 130 static int pvc_create(struct net *net, struct socket *sock, int protocol, in pvc_create()
|
/linux-2.6.39/include/net/ |
D | sock.h | 238 struct sock { struct 243 struct sock_common __sk_common; argument 259 socket_lock_t sk_lock; argument 263 * the per-socket spinlock held and requires low latency argument 284 struct socket_wq __rcu *sk_wq; argument 287 struct sk_buff_head sk_async_wait_queue; 291 struct xfrm_policy *sk_policy[2]; 293 unsigned long sk_flags; 294 struct dst_entry *sk_dst_cache; 295 spinlock_t sk_dst_lock; [all …]
|
D | scm.h | 39 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() 44 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) in unix_get_peersec_dgram() 73 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, in scm_send() 85 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() 101 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) in scm_passec() 105 static __inline__ void scm_recv(struct socket *sock, struct msghdr *msg, in scm_recv()
|
/linux-2.6.39/net/bluetooth/ |
D | l2cap_sock.c | 91 static int l2cap_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) in l2cap_sock_bind() 158 static int l2cap_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in l2cap_sock_connect() 244 static int l2cap_sock_listen(struct socket *sock, int backlog) in l2cap_sock_listen() 303 static int l2cap_sock_accept(struct socket *sock, struct socket *newsock, int flags) in l2cap_sock_accept() 359 static int l2cap_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in l2cap_sock_getname() 382 static int l2cap_sock_getsockopt_old(struct socket *sock, int optname, char __user *optval, int __u… in l2cap_sock_getsockopt_old() 467 static int l2cap_sock_getsockopt(struct socket *sock, int level, int optname, char __user *optval, … in l2cap_sock_getsockopt() 528 static int l2cap_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsigne… in l2cap_sock_setsockopt_old() 613 static int l2cap_sock_setsockopt(struct socket *sock, int level, int optname, char __user *optval, … in l2cap_sock_setsockopt() 702 static int l2cap_sock_sendmsg(struct kiocb *iocb, struct socket *sock, struct msghdr *msg, size_t l… in l2cap_sock_sendmsg() [all …]
|
/linux-2.6.39/drivers/isdn/mISDN/ |
D | socket.c | 114 mISDN_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in mISDN_sock_recvmsg() 180 mISDN_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in mISDN_sock_sendmsg() 252 data_sock_release(struct socket *sock) in data_sock_release() 366 data_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in data_sock_ioctl() 419 static int data_sock_setsockopt(struct socket *sock, int level, int optname, in data_sock_setsockopt() 451 static int data_sock_getsockopt(struct socket *sock, int level, int optname, in data_sock_getsockopt() 478 data_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in data_sock_bind() 566 data_sock_getname(struct socket *sock, struct sockaddr *addr, in data_sock_getname() 607 data_sock_create(struct net *net, struct socket *sock, int protocol) in data_sock_create() 632 base_sock_release(struct socket *sock) in base_sock_release() [all …]
|
/linux-2.6.39/net/rds/ |
D | af_rds.c | 67 static int rds_release(struct socket *sock) in rds_release() 128 static int rds_getname(struct socket *sock, struct sockaddr *uaddr, in rds_getname() 171 static unsigned int rds_poll(struct file *file, struct socket *sock, in rds_poll() 211 static int rds_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) in rds_ioctl() 274 static int rds_setsockopt(struct socket *sock, int level, int optname, in rds_setsockopt() 311 static int rds_getsockopt(struct socket *sock, int level, int optname, in rds_getsockopt() 350 static int rds_connect(struct socket *sock, struct sockaddr *uaddr, in rds_connect() 410 static int __rds_create(struct socket *sock, struct sock *sk, int protocol) in __rds_create() 437 static int rds_create(struct net *net, struct socket *sock, int protocol, in rds_create() 468 static void rds_sock_inc_info(struct socket *sock, unsigned int len, in rds_sock_inc_info() [all …]
|
D | tcp.c | 55 void rds_tcp_nonagle(struct socket *sock) in rds_tcp_nonagle() 66 void rds_tcp_tune(struct socket *sock) in rds_tcp_tune() 93 void rds_tcp_restore_callbacks(struct socket *sock, in rds_tcp_restore_callbacks() 120 void rds_tcp_set_callbacks(struct socket *sock, struct rds_connection *conn) in rds_tcp_set_callbacks() 151 static void rds_tcp_tc_info(struct socket *sock, unsigned int len, in rds_tcp_tc_info()
|
/linux-2.6.39/net/rxrpc/ |
D | af_rxrpc.c | 121 static int rxrpc_bind(struct socket *sock, struct sockaddr *saddr, int len) in rxrpc_bind() 187 static int rxrpc_listen(struct socket *sock, int backlog) in rxrpc_listen() 222 static struct rxrpc_transport *rxrpc_name_to_transport(struct socket *sock, in rxrpc_name_to_transport() 268 struct rxrpc_call *rxrpc_kernel_begin_call(struct socket *sock, in rxrpc_kernel_begin_call() 356 void rxrpc_kernel_intercept_rx_messages(struct socket *sock, in rxrpc_kernel_intercept_rx_messages() 372 static int rxrpc_connect(struct socket *sock, struct sockaddr *addr, in rxrpc_connect() 443 static int rxrpc_sendmsg(struct kiocb *iocb, struct socket *sock, in rxrpc_sendmsg() 512 static int rxrpc_setsockopt(struct socket *sock, int level, int optname, in rxrpc_setsockopt() 588 static unsigned int rxrpc_poll(struct file *file, struct socket *sock, in rxrpc_poll() 614 static int rxrpc_create(struct net *net, struct socket *sock, int protocol, in rxrpc_create() [all …]
|
/linux-2.6.39/net/bluetooth/rfcomm/ |
D | sock.c | 284 static struct sock *rfcomm_sock_alloc(struct net *net, struct socket *sock, int proto, gfp_t prio) in rfcomm_sock_alloc() 325 static int rfcomm_sock_create(struct net *net, struct socket *sock, in rfcomm_sock_create() 347 static int rfcomm_sock_bind(struct socket *sock, struct sockaddr *addr, int addr_len) in rfcomm_sock_bind() 388 static int rfcomm_sock_connect(struct socket *sock, struct sockaddr *addr, int alen, int flags) in rfcomm_sock_connect() 430 static int rfcomm_sock_listen(struct socket *sock, int backlog) in rfcomm_sock_listen() 479 static int rfcomm_sock_accept(struct socket *sock, struct socket *newsock, int flags) in rfcomm_sock_accept() 540 static int rfcomm_sock_getname(struct socket *sock, struct sockaddr *addr, int *len, int peer) in rfcomm_sock_getname() 558 static int rfcomm_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in rfcomm_sock_sendmsg() 617 static int rfcomm_sock_recvmsg(struct kiocb *iocb, struct socket *sock, in rfcomm_sock_recvmsg() 642 static int rfcomm_sock_setsockopt_old(struct socket *sock, int optname, char __user *optval, unsign… in rfcomm_sock_setsockopt_old() [all …]
|
/linux-2.6.39/drivers/memstick/host/ |
D | tifm_ms.c | 88 struct tifm_dev *sock = host->dev; in tifm_ms_read_data() local 128 struct tifm_dev *sock = host->dev; in tifm_ms_write_data() local 183 struct tifm_dev *sock = host->dev; in tifm_ms_transfer_data() local 255 struct tifm_dev *sock = host->dev; in tifm_ms_issue_cmd() local 340 struct tifm_dev *sock = host->dev; in tifm_ms_complete_cmd() local 385 static void tifm_ms_data_event(struct tifm_dev *sock) in tifm_ms_data_event() 421 static void tifm_ms_card_event(struct tifm_dev *sock) in tifm_ms_card_event() 463 struct tifm_dev *sock = host->dev; in tifm_ms_req_tasklet() local 503 struct tifm_dev *sock = host->dev; in tifm_ms_set_param() local 555 static int tifm_ms_probe(struct tifm_dev *sock) in tifm_ms_probe() [all …]
|
/linux-2.6.39/net/llc/ |
D | af_llc.c | 133 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) in llc_ui_sk_init() 158 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, in llc_ui_create() 187 static int llc_ui_release(struct socket *sock) in llc_ui_release() 252 static int llc_ui_autobind(struct socket *sock, struct sockaddr_llc *addr) in llc_ui_autobind() 304 static int llc_ui_bind(struct socket *sock, struct sockaddr *uaddr, int addrlen) in llc_ui_bind() 398 static int llc_ui_shutdown(struct socket *sock, int how) in llc_ui_shutdown() 433 static int llc_ui_connect(struct socket *sock, struct sockaddr *uaddr, in llc_ui_connect() 506 static int llc_ui_listen(struct socket *sock, int backlog) in llc_ui_listen() 646 static int llc_ui_accept(struct socket *sock, struct socket *newsock, int flags) in llc_ui_accept() 708 static int llc_ui_recvmsg(struct kiocb *iocb, struct socket *sock, in llc_ui_recvmsg() [all …]
|
/linux-2.6.39/drivers/mmc/host/ |
D | tifm_sd.c | 116 struct tifm_dev *sock = host->dev; in tifm_sd_read_fifo() local 142 struct tifm_dev *sock = host->dev; in tifm_sd_write_fifo() local 264 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-2.6.39/net/tipc/ |
D | socket.c | 61 #define tipc_rx_ready(sock) (!skb_queue_empty(&sock->sk->sk_receive_queue) || \ argument 180 static int tipc_create(struct net *net, struct socket *sock, int protocol, in tipc_create() 267 static int release(struct socket *sock) in release() 345 static int bind(struct socket *sock, struct sockaddr *uaddr, int uaddr_len) in bind() 382 static int get_name(struct socket *sock, struct sockaddr *uaddr, in get_name() 450 static unsigned int poll(struct file *file, struct socket *sock, in poll() 524 static int send_msg(struct kiocb *iocb, struct socket *sock, in send_msg() 630 static int send_packet(struct kiocb *iocb, struct socket *sock, in send_packet() 688 static int send_stream(struct kiocb *iocb, struct socket *sock, in send_stream() 783 static int auto_connect(struct socket *sock, struct tipc_msg *msg) in auto_connect() [all …]
|
/linux-2.6.39/net/ |
D | socket.c | 358 static int sock_alloc_file(struct socket *sock, struct file **f, int flags) in sock_alloc_file() 398 int sock_map_fd(struct socket *sock, int flags) in sock_map_fd() 435 struct socket *sock; in sockfd_lookup() local 453 struct socket *sock; in sockfd_lookup_light() local 477 struct socket *sock; in sock_alloc() local 521 void sock_release(struct socket *sock) in sock_release() 554 static inline int __sock_sendmsg(struct kiocb *iocb, struct socket *sock, in __sock_sendmsg() 574 int sock_sendmsg(struct socket *sock, struct msghdr *msg, size_t size) in sock_sendmsg() 589 int kernel_sendmsg(struct socket *sock, struct msghdr *msg, in kernel_sendmsg() 685 static inline int __sock_recvmsg_nosec(struct kiocb *iocb, struct socket *sock, in __sock_recvmsg_nosec() [all …]
|
/linux-2.6.39/net/irda/ |
D | af_irda.c | 711 static int irda_getname(struct socket *sock, struct sockaddr *uaddr, in irda_getname() 748 static int irda_listen(struct socket *sock, int backlog) in irda_listen() 779 static int irda_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len) in irda_bind() 844 static int irda_accept(struct socket *sock, struct socket *newsock, int flags) in irda_accept() 970 static int irda_connect(struct socket *sock, struct sockaddr *uaddr, in irda_connect() 1101 static int irda_create(struct net *net, struct socket *sock, int protocol, in irda_create() 1223 static int irda_release(struct socket *sock) in irda_release() 1287 static int irda_sendmsg(struct kiocb *iocb, struct socket *sock, in irda_sendmsg() 1378 static int irda_recvmsg_dgram(struct kiocb *iocb, struct socket *sock, in irda_recvmsg_dgram() 1427 static int irda_recvmsg_stream(struct kiocb *iocb, struct socket *sock, in irda_recvmsg_stream() [all …]
|
/linux-2.6.39/net/ieee802154/ |
D | af_ieee802154.c | 96 static int ieee802154_sock_release(struct socket *sock) in ieee802154_sock_release() 106 static int ieee802154_sock_sendmsg(struct kiocb *iocb, struct socket *sock, in ieee802154_sock_sendmsg() 114 static int ieee802154_sock_bind(struct socket *sock, struct sockaddr *uaddr, in ieee802154_sock_bind() 125 static int ieee802154_sock_connect(struct socket *sock, struct sockaddr *uaddr, in ieee802154_sock_connect() 167 static int ieee802154_sock_ioctl(struct socket *sock, unsigned int cmd, in ieee802154_sock_ioctl() 243 static int ieee802154_create(struct net *net, struct socket *sock, in ieee802154_create()
|