Searched refs:uptr64 (Results 1 – 2 of 2) sorted by relevance
/block/ |
D | bsg-lib.c | 18 #define uptr64(val) ((void __user *)(uintptr_t)(val)) macro 43 job->request = memdup_user(uptr64(hdr->request), hdr->request_len); in bsg_transport_fill_hdr() 55 uptr64(hdr->din_xferp), hdr->din_xfer_len, in bsg_transport_fill_hdr() 102 if (copy_to_user(uptr64(hdr->response), job->reply, len)) in bsg_transport_complete_rq()
|
D | bsg.c | 56 #define uptr64(val) ((void __user *)(uintptr_t)(val)) macro 83 if (copy_from_user(sreq->cmd, uptr64(hdr->request), sreq->cmd_len)) in bsg_scsi_fill_hdr() 110 if (copy_to_user(uptr64(hdr->response), sreq->sense, len)) in bsg_scsi_complete_rq() 175 ret = blk_rq_map_user(q, rq, NULL, uptr64(hdr.dout_xferp), in bsg_sg_io() 178 ret = blk_rq_map_user(q, rq, NULL, uptr64(hdr.din_xferp), in bsg_sg_io()
|