Searched refs:uptr64 (Results 1 – 2 of 2) sorted by relevance
/Linux-v6.6/drivers/scsi/ |
D | scsi_bsg.c | 10 #define uptr64(val) ((void __user *)(uintptr_t)(val)) macro 42 if (copy_from_user(scmd->cmnd, uptr64(hdr->request), scmd->cmd_len)) in scsi_bsg_sg_io_fn() 50 ret = blk_rq_map_user(rq->q, rq, NULL, uptr64(hdr->dout_xferp), in scsi_bsg_sg_io_fn() 53 ret = blk_rq_map_user(rq->q, rq, NULL, uptr64(hdr->din_xferp), in scsi_bsg_sg_io_fn() 80 if (copy_to_user(uptr64(hdr->response), scmd->sense_buffer, in scsi_bsg_sg_io_fn()
|
/Linux-v6.6/block/ |
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()
|