Searched refs:iovec_count (Results 1 - 6 of 6) sorted by relevance

/linux-4.1.27/fs/
H A Dcompat_ioctl.c232 unsigned short iovec_count; /* [i] 0 implies no scatter gather */ 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
264 for (i = 0; i < iovec_count; i++) { sg_build_iovec()
283 u16 iovec_count; sg_ioctl_trans() local
294 if (get_user(iovec_count, &sgio32->iovec_count)) sg_ioctl_trans()
300 (iovec_count * sizeof(sg_iovec_t))); sg_ioctl_trans()
318 if (iovec_count) { sg_ioctl_trans()
319 if (sg_build_iovec(sgio, dxferp, iovec_count)) sg_ioctl_trans()
/linux-4.1.27/drivers/block/
H A Dnvme-scsi.c379 if (hdr->iovec_count > 0) { nvme_trans_copy_to_user()
382 for (i = 0; i < hdr->iovec_count; i++) { nvme_trans_copy_to_user()
420 if (hdr->iovec_count > 0) { nvme_trans_copy_from_user()
423 for (i = 0; i < hdr->iovec_count; i++) { nvme_trans_copy_from_user()
1583 if (hdr->iovec_count > 0) { nvme_trans_send_fw_cmd()
2043 if (hdr->iovec_count > 0) nvme_trans_io_get_num_cmds()
2044 return hdr->iovec_count; nvme_trans_io_get_num_cmds()
2096 if (hdr->iovec_count > 0) { nvme_trans_do_nvme_io()
2203 if (hdr->iovec_count > 0) { nvme_trans_io()
2204 for (i = 0; i < hdr->iovec_count; i++) { nvme_trans_io()
H A Dskd_main.c1388 if (sgp->iovec_count > 256) { skd_sg_io_get_and_check_args()
1389 pr_debug("%s:%s:%d iovec_count invalid %d\n", skd_sg_io_get_and_check_args()
1390 skdev->name, __func__, __LINE__, sgp->iovec_count); skd_sg_io_get_and_check_args()
1434 if (sgp->iovec_count == 0) { skd_sg_io_get_and_check_args()
1441 uint nbytes = sizeof(*iov) * sgp->iovec_count; skd_sg_io_get_and_check_args()
1448 sgp->iovec_count); skd_sg_io_get_and_check_args()
1452 sksgio->iovcnt = sgp->iovec_count; skd_sg_io_get_and_check_args()
1464 for (i = 0; i < sgp->iovec_count; i++) { skd_sg_io_get_and_check_args()
1473 sgp->iovec_count, skd_sg_io_get_and_check_args()
/linux-4.1.27/block/
H A Dscsi_ioctl.c334 if (hdr->iovec_count) { sg_io()
339 hdr->dxferp, hdr->iovec_count, sg_io()
/linux-4.1.27/include/scsi/
H A Dsg.h49 unsigned short iovec_count; /* [i] 0 implies no scatter gather */ member in struct:sg_io_hdr
/linux-4.1.27/drivers/scsi/
H A Dsg.c647 hp->iovec_count = 0; sg_write()
1666 unsigned int iov_count = hp->iovec_count; sg_start_req()

Completed in 237 milliseconds