Searched refs:uptr64 (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/scsi/ |
A D | scsi_bsg.c | 10 #define uptr64(val) ((void __user *)(uintptr_t)(val)) macro 44 if (copy_from_user(sreq->cmd, uptr64(hdr->request), sreq->cmd_len)) in scsi_bsg_sg_io_fn() 52 ret = blk_rq_map_user(rq->q, rq, NULL, uptr64(hdr->dout_xferp), in scsi_bsg_sg_io_fn() 55 ret = blk_rq_map_user(rq->q, rq, NULL, uptr64(hdr->din_xferp), in scsi_bsg_sg_io_fn() 82 if (copy_to_user(uptr64(hdr->response), sreq->sense, len)) in scsi_bsg_sg_io_fn()
|
/linux/block/ |
A D | bsg-lib.c | 19 #define uptr64(val) ((void __user *)(uintptr_t)(val)) macro 57 job->request = memdup_user(uptr64(hdr->request), hdr->request_len); in bsg_transport_sg_io_fn() 71 uptr64(hdr->din_xferp), hdr->din_xfer_len, in bsg_transport_sg_io_fn() 84 ret = blk_rq_map_user(rq->q, rq, NULL, uptr64(hdr->dout_xferp), in bsg_transport_sg_io_fn() 87 ret = blk_rq_map_user(rq->q, rq, NULL, uptr64(hdr->din_xferp), in bsg_transport_sg_io_fn() 118 if (copy_to_user(uptr64(hdr->response), job->reply, len)) in bsg_transport_sg_io_fn()
|
Completed in 10 milliseconds