Searched refs:kaddr (Results 1 – 11 of 11) sorted by relevance
/net/sunrpc/ |
D | socklib.c | 105 char *kaddr; in xdr_partial_copy_from_skb() local 119 kaddr = kmap_atomic(*ppage); in xdr_partial_copy_from_skb() 124 ret = copy_actor(desc, kaddr + base, len); in xdr_partial_copy_from_skb() 129 ret = copy_actor(desc, kaddr, len); in xdr_partial_copy_from_skb() 132 kunmap_atomic(kaddr); in xdr_partial_copy_from_skb()
|
D | xdr.c | 126 char *kaddr; in xdr_terminate_string() local 128 kaddr = kmap_atomic(buf->pages[0]); in xdr_terminate_string() 129 kaddr[buf->page_base + len] = '\0'; in xdr_terminate_string() 130 kunmap_atomic(kaddr); in xdr_terminate_string() 802 void *kaddr; in xdr_set_page_base() local 815 kaddr = page_address(*xdr->page_ptr); in xdr_set_page_base() 818 xdr->p = (__be32*)(kaddr + pgoff); in xdr_set_page_base() 823 xdr->end = (__be32*)(kaddr + pgend); in xdr_set_page_base()
|
D | cache.c | 878 static ssize_t cache_do_downcall(char *kaddr, const char __user *buf, in cache_do_downcall() argument 885 if (copy_from_user(kaddr, buf, count)) in cache_do_downcall() 887 kaddr[count] = '\0'; in cache_do_downcall() 888 ret = cd->cache_parse(cd, kaddr, count); in cache_do_downcall() 914 char *kaddr; in cache_downcall() local 924 kaddr = kmap(page); in cache_downcall() 925 ret = cache_do_downcall(kaddr, buf, count, cd); in cache_downcall()
|
/net/netfilter/ |
D | xt_ipvs.c | 32 static bool ipvs_mt_addrcmp(const union nf_inet_addr *kaddr, in ipvs_mt_addrcmp() argument 38 return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; in ipvs_mt_addrcmp() 41 return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in ipvs_mt_addrcmp()
|
D | xt_conntrack.c | 26 conntrack_addrcmp(const union nf_inet_addr *kaddr, in conntrack_addrcmp() argument 31 return ((kaddr->ip ^ uaddr->ip) & umask->ip) == 0; in conntrack_addrcmp() 33 return ipv6_masked_addr_cmp(&kaddr->in6, &umask->in6, in conntrack_addrcmp()
|
/net/ |
D | socket.c | 178 int move_addr_to_kernel(void __user *uaddr, int ulen, struct sockaddr_storage *kaddr) in move_addr_to_kernel() argument 184 if (copy_from_user(kaddr, uaddr, ulen)) in move_addr_to_kernel() 186 return audit_sockaddr(ulen, kaddr); in move_addr_to_kernel() 206 static int move_addr_to_user(struct sockaddr_storage *kaddr, int klen, in move_addr_to_user() argument 221 if (audit_sockaddr(klen, kaddr)) in move_addr_to_user() 223 if (copy_to_user(uaddr, kaddr, len)) in move_addr_to_user()
|
/net/ipv4/ |
D | ip_output.c | 945 char *kaddr; in csum_page() local 947 kaddr = kmap(page); in csum_page() 948 csum = csum_partial(kaddr + offset, copy, 0); in csum_page()
|
/net/tls/ |
D | tls_device.c | 552 char *kaddr = kmap(page); in tls_device_sendpage() local 567 iov.iov_base = kaddr + offset; in tls_device_sendpage()
|
/net/core/ |
D | sock.c | 2739 char *kaddr = kmap(page); in sock_no_sendpage() local 2740 iov.iov_base = kaddr + offset; in sock_no_sendpage() 2754 char *kaddr = kmap(page); in sock_no_sendpage_locked() local 2756 iov.iov_base = kaddr + offset; in sock_no_sendpage_locked()
|
/net/ceph/ |
D | messenger.c | 1543 char *kaddr; in ceph_crc32c_page() local 1545 kaddr = kmap(page); in ceph_crc32c_page() 1546 BUG_ON(kaddr == NULL); in ceph_crc32c_page() 1547 crc = crc32c(crc, kaddr + page_offset, length); in ceph_crc32c_page()
|
/net/packet/ |
D | af_packet.c | 4468 void *kaddr = rb->pg_vec[i].buffer; in packet_mmap() local 4472 page = pgv_to_page(kaddr); in packet_mmap() 4477 kaddr += PAGE_SIZE; in packet_mmap()
|