Home
last modified time | relevance | path

Searched refs:map_buf (Results 1 – 5 of 5) sorted by relevance

/Linux-v5.10/tools/testing/selftests/android/ion/
Dionapp_import.c24 unsigned char *map_buf; in main() local
63 map_buf = info.buffer; in main()
65 read_buffer(map_buf, map_len); in main()
69 write_buffer(map_buf, map_len); in main()
Dionapp_export.c33 unsigned char *map_buf; in main() local
104 map_buf = info.buffer; in main()
106 write_buffer(map_buf, map_len); in main()
Dionutils.c153 unsigned char *map_buf; in ion_import_buffer_fd() local
170 map_buf = (unsigned char *)mmap(NULL, map_len, PROT_READ|PROT_WRITE, in ion_import_buffer_fd()
172 if (map_buf == MAP_FAILED) { in ion_import_buffer_fd()
178 ion_info->buffer = map_buf; in ion_import_buffer_fd()
/Linux-v5.10/drivers/scsi/ibmvscsi_tgt/
Dibmvscsi_tgt.h228 caddr_t *map_buf; member
Dibmvscsi_tgt.c771 be64_to_cpu(*(u64 *)vscsi->map_buf); in ibmvscsis_init_msg()
3515 vscsi->map_buf = kzalloc(PAGE_SIZE, GFP_KERNEL); in ibmvscsis_probe()
3516 if (!vscsi->map_buf) { in ibmvscsis_probe()
3522 vscsi->map_ioba = dma_map_single(&vdev->dev, vscsi->map_buf, PAGE_SIZE, in ibmvscsis_probe()
3535 be64_to_cpu(*(u64 *)vscsi->map_buf); in ibmvscsis_probe()
3577 kfree(vscsi->map_buf); in ibmvscsis_probe()
3615 kfree(vscsi->map_buf); in ibmvscsis_remove()