tag | line | file | source code |
ubuf | 526 | drivers/net/ppp.c | ppp->ubuf = NULL; |
ubuf | 792 | drivers/net/ppp.c | ppp_free_buf (ppp->ubuf); |
ubuf | 802 | drivers/net/ppp.c | ppp->ubuf = NULL; |
ubuf | 906 | drivers/net/ppp.c | ppp->ubuf = ppp_alloc_buf (RBUFSIZE, BUFFER_TYPE_TTY_RD); |
ubuf | 907 | drivers/net/ppp.c | if (ppp->ubuf == NULL) { |
ubuf | 1371 | drivers/net/ppp.c | buf_base (ppp->ubuf) [current_idx++] = (u_char) (c); \ |
ubuf | 1372 | drivers/net/ppp.c | current_idx &= ppp->ubuf->size; \ |
ubuf | 1373 | drivers/net/ppp.c | if (current_idx == ppp->ubuf->tail) \ |
ubuf | 1381 | drivers/net/ppp.c | if (set_bit (0, &ppp->ubuf->locked)) { |
ubuf | 1386 | drivers/net/ppp.c | current_idx = ppp->ubuf->head; |
ubuf | 1406 | drivers/net/ppp.c | ppp->ubuf->head = current_idx; |
ubuf | 1408 | drivers/net/ppp.c | clear_bit (0, &ppp->ubuf->locked); |
ubuf | 1423 | drivers/net/ppp.c | clear_bit (0, &ppp->ubuf->locked); |
ubuf | 1786 | drivers/net/ppp.c | c = buf_base (ppp->ubuf) [ppp->ubuf->tail++]; \ |
ubuf | 1787 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; \ |
ubuf | 1813 | drivers/net/ppp.c | if (set_bit (0, &ppp->ubuf->locked) != 0) { |
ubuf | 1836 | drivers/net/ppp.c | if (ppp->ubuf->head == ppp->ubuf->tail) |
ubuf | 1849 | drivers/net/ppp.c | clear_bit (0, &ppp->ubuf->locked); |
ubuf | 1884 | drivers/net/ppp.c | ppp->ubuf->tail += len; |
ubuf | 1885 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; |
ubuf | 1886 | drivers/net/ppp.c | clear_bit (0, &ppp->ubuf->locked); |
ubuf | 1896 | drivers/net/ppp.c | ppp->ubuf->tail += len; |
ubuf | 1897 | drivers/net/ppp.c | ppp->ubuf->tail &= ppp->ubuf->size; |
ubuf | 1898 | drivers/net/ppp.c | clear_bit (0, &ppp->ubuf->locked); |
ubuf | 1920 | drivers/net/ppp.c | clear_bit (0, &ppp->ubuf->locked); |
ubuf | 2648 | drivers/net/ppp.c | if (set_bit (0, &ppp->ubuf->locked) == 0) { |
ubuf | 2650 | drivers/net/ppp.c | if (ppp->ubuf->head != ppp->ubuf->tail) { |
ubuf | 2651 | drivers/net/ppp.c | clear_bit (0, &ppp->ubuf->locked); |
ubuf | 2654 | drivers/net/ppp.c | clear_bit (0, &ppp->ubuf->locked); |
ubuf | 257 | fs/super.c | asmlinkage int sys_ustat(dev_t dev, struct ustat * ubuf) |
ubuf | 272 | fs/super.c | error = verify_area(VERIFY_WRITE,ubuf,sizeof(struct ustat)); |
ubuf | 285 | fs/super.c | memcpy_tofs(ubuf,&tmp,sizeof(struct ustat)); |
ubuf | 137 | include/linux/if_pppvar.h | struct ppp_buffer *ubuf; /* User buffer information */ |
ubuf | 105 | include/linux/net.h | int (*read) (struct socket *sock, char *ubuf, int size, |
ubuf | 107 | include/linux/net.h | int (*write) (struct socket *sock, const char *ubuf, int size, |
ubuf | 1648 | net/appletalk/ddp.c | static int atalk_sendto(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags, |
ubuf | 1653 | net/appletalk/ddp.c | iov.iov_base=(void *)ubuf; |
ubuf | 1664 | net/appletalk/ddp.c | static int atalk_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags) |
ubuf | 1666 | net/appletalk/ddp.c | return atalk_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
ubuf | 1719 | net/appletalk/ddp.c | static int atalk_write(struct socket *sock, const char *ubuf, int size, int noblock) |
ubuf | 1721 | net/appletalk/ddp.c | return atalk_send(sock,ubuf,size,noblock,0); |
ubuf | 1725 | net/appletalk/ddp.c | static int atalk_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags, |
ubuf | 1730 | net/appletalk/ddp.c | iov.iov_base=ubuf; |
ubuf | 1742 | net/appletalk/ddp.c | static int atalk_recv(struct socket *sock, void *ubuf, int size , int noblock, |
ubuf | 1748 | net/appletalk/ddp.c | return atalk_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
ubuf | 1751 | net/appletalk/ddp.c | static int atalk_read(struct socket *sock, char *ubuf, int size, int noblock) |
ubuf | 1753 | net/appletalk/ddp.c | return atalk_recv(sock,ubuf,size,noblock,0); |
ubuf | 1801 | net/ax25/af_ax25.c | static int ax25_sendto(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags, |
ubuf | 1807 | net/ax25/af_ax25.c | iov.iov_base = (void *)ubuf; |
ubuf | 1819 | net/ax25/af_ax25.c | static int ax25_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags) |
ubuf | 1821 | net/ax25/af_ax25.c | return ax25_sendto(sock, ubuf, size, noblock, flags, NULL, 0); |
ubuf | 1824 | net/ax25/af_ax25.c | static int ax25_write(struct socket *sock, const char *ubuf, int size, int noblock) |
ubuf | 1826 | net/ax25/af_ax25.c | return ax25_sendto(sock, ubuf, size, noblock, 0, NULL, 0); |
ubuf | 1909 | net/ax25/af_ax25.c | static int ax25_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags, |
ubuf | 1915 | net/ax25/af_ax25.c | iov.iov_base = ubuf; |
ubuf | 1929 | net/ax25/af_ax25.c | static int ax25_recv(struct socket *sock, void *ubuf, int size , int noblock, |
ubuf | 1937 | net/ax25/af_ax25.c | return ax25_recvfrom(sock, ubuf, size, noblock, flags, NULL, NULL); |
ubuf | 1940 | net/ax25/af_ax25.c | static int ax25_read(struct socket *sock, char *ubuf, int size, int noblock) |
ubuf | 1942 | net/ax25/af_ax25.c | return ax25_recv(sock, ubuf, size, noblock, 0); |
ubuf | 1166 | net/ipv4/af_inet.c | static int inet_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
ubuf | 1178 | net/ipv4/af_inet.c | return(sk->prot->recvfrom(sk, (unsigned char *) ubuf, size, noblock, flags, |
ubuf | 1183 | net/ipv4/af_inet.c | static int inet_recv(struct socket *sock, void *ubuf, int size, int noblock, |
ubuf | 1187 | net/ipv4/af_inet.c | return inet_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL); |
ubuf | 1190 | net/ipv4/af_inet.c | static int inet_read(struct socket *sock, char *ubuf, int size, int noblock) |
ubuf | 1199 | net/ipv4/af_inet.c | return(sk->prot->read(sk, (unsigned char *) ubuf, size, noblock, 0)); |
ubuf | 1202 | net/ipv4/af_inet.c | static int inet_send(struct socket *sock, const void *ubuf, int size, int noblock, |
ubuf | 1216 | net/ipv4/af_inet.c | return(sk->prot->write(sk, (const unsigned char *) ubuf, size, noblock, flags)); |
ubuf | 1219 | net/ipv4/af_inet.c | static int inet_write(struct socket *sock, const char *ubuf, int size, int noblock) |
ubuf | 1221 | net/ipv4/af_inet.c | return inet_send(sock,ubuf,size,noblock,0); |
ubuf | 1224 | net/ipv4/af_inet.c | static int inet_sendto(struct socket *sock, const void *ubuf, int size, int noblock, |
ubuf | 1240 | net/ipv4/af_inet.c | return(sk->prot->sendto(sk, (const unsigned char *) ubuf, size, noblock, flags, |
ubuf | 992 | net/ipx/af_ipx.c | ipxrtr_route_packet(ipx_socket *sk, struct sockaddr_ipx *usipx, const void *ubuf, int len) |
ubuf | 1042 | net/ipx/af_ipx.c | memcpy_fromfs(skb_put(skb,len),ubuf,len); |
ubuf | 1694 | net/ipx/af_ipx.c | static int ipx_sendto(struct socket *sock, const void *ubuf, int len, int noblock, |
ubuf | 1731 | net/ipx/af_ipx.c | retval = ipxrtr_route_packet(sk, usipx, ubuf, len); |
ubuf | 1737 | net/ipx/af_ipx.c | static int ipx_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags) |
ubuf | 1739 | net/ipx/af_ipx.c | return ipx_sendto(sock,ubuf,size,noblock,flags,NULL,0); |
ubuf | 1742 | net/ipx/af_ipx.c | static int ipx_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, |
ubuf | 1773 | net/ipx/af_ipx.c | skb_copy_datagram(skb,sizeof(struct ipx_packet),ubuf,copied); |
ubuf | 1787 | net/ipx/af_ipx.c | static int ipx_write(struct socket *sock, const char *ubuf, int size, int noblock) |
ubuf | 1789 | net/ipx/af_ipx.c | return ipx_send(sock,ubuf,size,noblock,0); |
ubuf | 1793 | net/ipx/af_ipx.c | static int ipx_recv(struct socket *sock, void *ubuf, int size , int noblock, |
ubuf | 1799 | net/ipx/af_ipx.c | return ipx_recvfrom(sock,ubuf,size,noblock,flags,NULL, NULL); |
ubuf | 1802 | net/ipx/af_ipx.c | static int ipx_read(struct socket *sock, char *ubuf, int size, int noblock) |
ubuf | 1804 | net/ipx/af_ipx.c | return ipx_recv(sock,ubuf,size,noblock,0); |
ubuf | 1130 | net/netrom/af_netrom.c | static int nr_sendto(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags, |
ubuf | 1136 | net/netrom/af_netrom.c | iov.iov_base = (void *)ubuf; |
ubuf | 1147 | net/netrom/af_netrom.c | static int nr_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags) |
ubuf | 1149 | net/netrom/af_netrom.c | return nr_sendto(sock, ubuf, size, noblock, flags, NULL, 0); |
ubuf | 1152 | net/netrom/af_netrom.c | static int nr_write(struct socket *sock, const char *ubuf, int size, int noblock) |
ubuf | 1154 | net/netrom/af_netrom.c | return nr_sendto(sock, ubuf, size, noblock, 0, NULL, 0); |
ubuf | 1212 | net/netrom/af_netrom.c | static int nr_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags, |
ubuf | 1218 | net/netrom/af_netrom.c | iov.iov_base = ubuf; |
ubuf | 1233 | net/netrom/af_netrom.c | static int nr_recv(struct socket *sock, void *ubuf, int size , int noblock, |
ubuf | 1241 | net/netrom/af_netrom.c | return nr_recvfrom(sock, ubuf, size, noblock, flags, NULL, NULL); |
ubuf | 1244 | net/netrom/af_netrom.c | static int nr_read(struct socket *sock, char *ubuf, int size, int noblock) |
ubuf | 1246 | net/netrom/af_netrom.c | return nr_recv(sock, ubuf, size, noblock, 0); |
ubuf | 321 | net/socket.c | static int sock_read(struct inode *inode, struct file *file, char *ubuf, int size) |
ubuf | 334 | net/socket.c | if ((err=verify_area(VERIFY_WRITE,ubuf,size))<0) |
ubuf | 336 | net/socket.c | return(sock->ops->read(sock, ubuf, size, (file->f_flags & O_NONBLOCK))); |
ubuf | 344 | net/socket.c | static int sock_write(struct inode *inode, struct file *file, const char *ubuf, int size) |
ubuf | 359 | net/socket.c | if ((err=verify_area(VERIFY_READ,ubuf,size))<0) |
ubuf | 361 | net/socket.c | return(sock->ops->write(sock, ubuf, size,(file->f_flags & O_NONBLOCK))); |
ubuf | 1014 | net/unix/af_unix.c | static int unix_recvfrom(struct socket *sock, void *ubuf, int size, int noblock, unsigned flags, |
ubuf | 1019 | net/unix/af_unix.c | iov.iov_base=ubuf; |
ubuf | 1031 | net/unix/af_unix.c | static int unix_read(struct socket *sock, char *ubuf, int size, int noblock) |
ubuf | 1033 | net/unix/af_unix.c | return unix_recvfrom(sock,ubuf,size,noblock,0,NULL,NULL); |
ubuf | 1036 | net/unix/af_unix.c | static int unix_recv(struct socket *sock, void *ubuf, int size, int noblock, unsigned int flags) |
ubuf | 1038 | net/unix/af_unix.c | return unix_recvfrom(sock,ubuf,size,noblock,flags,NULL,NULL); |
ubuf | 1041 | net/unix/af_unix.c | static int unix_sendto(struct socket *sock, const void *ubuf, int size, int noblock, unsigned flags, |
ubuf | 1046 | net/unix/af_unix.c | iov.iov_base=(void *)ubuf; |
ubuf | 1056 | net/unix/af_unix.c | static int unix_write(struct socket *sock, const char *ubuf, int size, int noblock) |
ubuf | 1058 | net/unix/af_unix.c | return unix_sendto(sock,ubuf,size,noblock, 0, NULL, 0); |
ubuf | 1061 | net/unix/af_unix.c | static int unix_send(struct socket *sock, const void *ubuf, int size, int noblock, unsigned int flags) |
ubuf | 1063 | net/unix/af_unix.c | return unix_sendto(sock,ubuf,size,noblock, flags, NULL, 0); |