Searched refs:kaddr (Results 1 – 2 of 2) sorted by relevance
55 void *kaddr = kmap_local_page(p->bv_page + \57 base = kaddr + offset % PAGE_SIZE; \61 kunmap_local(kaddr); \479 void *kaddr = kmap_local_page(page); in copy_page_to_iter() local481 n = _copy_to_iter(kaddr + offset, n, i); in copy_page_to_iter()482 kunmap_local(kaddr); in copy_page_to_iter()509 void *kaddr = kmap_local_page(page); in copy_page_to_iter_nofault() local513 copyout_nofault(base, kaddr + offset + off, len), in copy_page_to_iter_nofault()514 memcpy(base, kaddr + offset + off, len) in copy_page_to_iter_nofault()516 kunmap_local(kaddr); in copy_page_to_iter_nofault()[all …]
1221 unsigned long kaddr; in extract_kvec_to_sg() local1230 kaddr = (unsigned long)kv[i].iov_base + start; in extract_kvec_to_sg()1231 off = kaddr & ~PAGE_MASK; in extract_kvec_to_sg()1233 kaddr &= PAGE_MASK; in extract_kvec_to_sg()1239 if (is_vmalloc_or_module_addr((void *)kaddr)) in extract_kvec_to_sg()1240 page = vmalloc_to_page((void *)kaddr); in extract_kvec_to_sg()1242 page = virt_to_page((void *)kaddr); in extract_kvec_to_sg()1250 kaddr += PAGE_SIZE; in extract_kvec_to_sg()