Lines Matching refs:addr
443 char *addr = kmap_atomic(page); in memzero_page() local
444 memset(addr + offset, 0, len); in memzero_page()
445 kunmap_atomic(addr); in memzero_page()
510 static size_t copy_pipe_to_iter(const void *addr, size_t bytes, in copy_pipe_to_iter() argument
525 memcpy_to_page(pipe->bufs[idx].page, off, addr, chunk); in copy_pipe_to_iter()
529 addr += chunk; in copy_pipe_to_iter()
535 size_t copy_to_iter(const void *addr, size_t bytes, struct iov_iter *i) in copy_to_iter() argument
537 const char *from = addr; in copy_to_iter()
539 return copy_pipe_to_iter(addr, bytes, i); in copy_to_iter()
552 size_t copy_from_iter(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter() argument
554 char *to = addr; in copy_from_iter()
571 size_t copy_from_iter_nocache(void *addr, size_t bytes, struct iov_iter *i) in copy_from_iter_nocache() argument
573 char *to = addr; in copy_from_iter_nocache()
956 unsigned long addr = (unsigned long)v.iov_base; in iov_iter_get_pages()
957 size_t len = v.iov_len + (*start = addr & (PAGE_SIZE - 1)); in iov_iter_get_pages()
963 addr &= ~(PAGE_SIZE - 1); in iov_iter_get_pages()
965 res = get_user_pages_fast(addr, n, (i->type & WRITE) != WRITE, pages); in iov_iter_get_pages()
1036 unsigned long addr = (unsigned long)v.iov_base; in iov_iter_get_pages_alloc()
1037 size_t len = v.iov_len + (*start = addr & (PAGE_SIZE - 1)); in iov_iter_get_pages_alloc()
1041 addr &= ~(PAGE_SIZE - 1); in iov_iter_get_pages_alloc()
1046 res = get_user_pages_fast(addr, n, (i->type & WRITE) != WRITE, p); in iov_iter_get_pages_alloc()
1069 size_t csum_and_copy_from_iter(void *addr, size_t bytes, __wsum *csum, in csum_and_copy_from_iter() argument
1072 char *to = addr; in csum_and_copy_from_iter()
1111 size_t csum_and_copy_to_iter(const void *addr, size_t bytes, __wsum *csum, in csum_and_copy_to_iter() argument
1114 const char *from = addr; in csum_and_copy_to_iter()