Searched refs:dxferp (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/fs/
H A Dcompat_ioctl.c234 compat_uint_t dxferp; /* [i], [*io] points to data transfer memory member in struct:sg_io_hdr32
258 static int sg_build_iovec(sg_io_hdr_t __user *sgio, void __user *dxferp, u16 iovec_count) sg_build_iovec() argument
261 sg_iovec32_t __user *iov32 = dxferp; sg_build_iovec()
274 if (put_user(iov, &sgio->dxferp)) sg_build_iovec()
285 void __user *dxferp; sg_ioctl_trans() local
315 if (get_user(data, &sgio32->dxferp)) sg_ioctl_trans()
317 dxferp = compat_ptr(data); sg_ioctl_trans()
319 if (sg_build_iovec(sgio, dxferp, iovec_count)) sg_ioctl_trans()
322 if (put_user(dxferp, &sgio->dxferp)) sg_ioctl_trans()
/linux-4.1.27/block/
H A Dbsg.c215 void __user *dxferp = NULL; bsg_map_hdr() local
260 dxferp = (void __user *)(unsigned long)hdr->din_xferp; bsg_map_hdr()
261 ret = blk_rq_map_user(q, next_rq, NULL, dxferp, bsg_map_hdr()
269 dxferp = (void __user *)(unsigned long)hdr->dout_xferp; bsg_map_hdr()
272 dxferp = (void __user *)(unsigned long)hdr->din_xferp; bsg_map_hdr()
277 ret = blk_rq_map_user(q, rq, NULL, dxferp, dxfer_len, bsg_map_hdr()
H A Dscsi_ioctl.c339 hdr->dxferp, hdr->iovec_count, sg_io()
350 ret = blk_rq_map_user(q, rq, NULL, hdr->dxferp, hdr->dxfer_len, sg_io()
641 hdr.dxferp = cgc.buffer; scsi_cmd_ioctl()
/linux-4.1.27/drivers/block/
H A Dnvme-scsi.c383 not_copied = copy_from_user(&sgl, hdr->dxferp + nvme_trans_copy_to_user()
402 not_copied = copy_to_user(hdr->dxferp, from, n); nvme_trans_copy_to_user()
424 not_copied = copy_from_user(&sgl, hdr->dxferp + nvme_trans_copy_from_user()
444 not_copied = copy_from_user(to, hdr->dxferp, n); nvme_trans_copy_from_user()
1593 (unsigned long)hdr->dxferp, tot_len); nvme_trans_send_fw_cmd()
2099 retcode = copy_from_user(&sgl, hdr->dxferp + nvme_trans_do_nvme_io()
2111 next_mapping_addr = hdr->dxferp + nvme_trans_do_nvme_io()
2205 not_copied = copy_from_user(&sgl, hdr->dxferp + nvme_trans_io()
H A Dskd_main.c1435 sksgio->iov[0].iov_base = sgp->dxferp; skd_sg_io_get_and_check_args()
1454 if (copy_from_user(iov, sgp->dxferp, nbytes)) { skd_sg_io_get_and_check_args()
1456 skdev->name, __func__, __LINE__, sgp->dxferp); skd_sg_io_get_and_check_args()
/linux-4.1.27/drivers/scsi/
H A Dsg.c657 hp->dxferp = (char __user *)buf + cmd_size; sg_write()
659 hp->dxferp = NULL; sg_write()
1723 blk_rq_aligned(q, (unsigned long)hp->dxferp, dxfer_len)) sg_start_req()
1741 md->null_mapped = hp->dxferp ? 0 : 1; sg_start_req()
1752 res = import_iovec(rw, hp->dxferp, iov_count, 0, &iov, &i); sg_start_req()
1761 res = blk_rq_map_user(q, rq, md, hp->dxferp, sg_start_req()
/linux-4.1.27/include/scsi/
H A Dsg.h51 void __user *dxferp; /* [i], [*io] points to data transfer memory member in struct:sg_io_hdr

Completed in 287 milliseconds