Home
last modified time | relevance | path

Searched refs:kaddr (Results 1 – 10 of 10) sorted by relevance

/drivers/acpi/
Dnvs.c77 void *kaddr; member
137 if (entry->kaddr) { in suspend_nvs_free()
139 iounmap(entry->kaddr); in suspend_nvs_free()
142 acpi_os_unmap_memory(entry->kaddr, in suspend_nvs_free()
145 entry->kaddr = NULL; in suspend_nvs_free()
181 entry->kaddr = acpi_os_get_iomem(phys, size); in suspend_nvs_save()
182 if (!entry->kaddr) { in suspend_nvs_save()
183 entry->kaddr = acpi_os_ioremap(phys, size); in suspend_nvs_save()
184 entry->unmap = !!entry->kaddr; in suspend_nvs_save()
186 if (!entry->kaddr) { in suspend_nvs_save()
[all …]
/drivers/scsi/isci/
Drequest.c1416 void *kaddr; in sci_stp_request_pio_data_in_copy_data_buffer() local
1430 kaddr = kmap_atomic(page); in sci_stp_request_pio_data_in_copy_data_buffer()
1431 memcpy(kaddr + sg->offset, src_addr, copy_len); in sci_stp_request_pio_data_in_copy_data_buffer()
1432 kunmap_atomic(kaddr); in sci_stp_request_pio_data_in_copy_data_buffer()
1774 void *frame_header, *kaddr; in sci_io_request_frame_handler() local
1780 kaddr = kmap_atomic(sg_page(sg)); in sci_io_request_frame_handler()
1781 rsp = kaddr + sg->offset; in sci_io_request_frame_handler()
1817 kunmap_atomic(kaddr); in sci_io_request_frame_handler()
2926 void *kaddr; in isci_request_io_request_complete() local
2931 kaddr = kmap_atomic(sg_page(sg)); in isci_request_io_request_complete()
[all …]
/drivers/block/
Dnbd.c232 void *kaddr = kmap(bvec->bv_page); in sock_send_bvec() local
233 result = sock_xmit(nbd, 1, kaddr + bvec->bv_offset, in sock_send_bvec()
329 void *kaddr = kmap(bvec->bv_page); in sock_recv_bvec() local
330 result = sock_xmit(nbd, 0, kaddr + bvec->bv_offset, bvec->bv_len, in sock_recv_bvec()
Dbrd.c365 void **kaddr, unsigned long *pfn) in brd_direct_access() argument
379 *kaddr = page_address(page); in brd_direct_access()
Drbd.c1154 void *kaddr; in zero_pages() local
1159 kaddr = kmap_atomic(*page); in zero_pages()
1160 memset(kaddr + page_offset, 0, length); in zero_pages()
1161 kunmap_atomic(kaddr); in zero_pages()
/drivers/s390/block/
Ddcssblk.c32 void **kaddr, unsigned long *pfn);
870 void **kaddr, unsigned long *pfn) in dcssblk_direct_access() argument
883 *kaddr = (void *) (dev_info->start+pgoff*PAGE_SIZE); in dcssblk_direct_access()
884 *pfn = virt_to_phys(*kaddr) >> PAGE_SHIFT; in dcssblk_direct_access()
/drivers/md/
Dbitmap.c836 void *kaddr; in bitmap_file_set_bit() local
845 kaddr = kmap_atomic(page); in bitmap_file_set_bit()
847 set_bit(bit, kaddr); in bitmap_file_set_bit()
849 set_bit_le(bit, kaddr); in bitmap_file_set_bit()
850 kunmap_atomic(kaddr); in bitmap_file_set_bit()
/drivers/scsi/
Dpmcraid.c3404 void *kaddr; in pmcraid_copy_sglist() local
3417 kaddr = kmap(page); in pmcraid_copy_sglist()
3419 rc = __copy_from_user(kaddr, in pmcraid_copy_sglist()
3423 rc = __copy_to_user((void *)buffer, kaddr, bsize_elem); in pmcraid_copy_sglist()
3438 kaddr = kmap(page); in pmcraid_copy_sglist()
3441 rc = __copy_from_user(kaddr, in pmcraid_copy_sglist()
3446 kaddr, in pmcraid_copy_sglist()
Dscsi_debug.c2310 unsigned char *kaddr, *buf; in resp_xdwriteread() local
2324 kaddr = (unsigned char *)kmap_atomic(sg_page(sg)); in resp_xdwriteread()
2325 if (!kaddr) in resp_xdwriteread()
2329 *(kaddr + sg->offset + j) ^= *(buf + offset + j); in resp_xdwriteread()
2332 kunmap_atomic(kaddr); in resp_xdwriteread()
Dipr.c3729 void *kaddr; in ipr_copy_ucode_buffer() local
3739 kaddr = kmap(page); in ipr_copy_ucode_buffer()
3740 memcpy(kaddr, buffer, bsize_elem); in ipr_copy_ucode_buffer()
3754 kaddr = kmap(page); in ipr_copy_ucode_buffer()
3755 memcpy(kaddr, buffer, len % bsize_elem); in ipr_copy_ucode_buffer()