n_elem 193 drivers/ata/acard-ahci.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 221 drivers/ata/acard-ahci.c unsigned int n_elem; n_elem 235 drivers/ata/acard-ahci.c n_elem = 0; n_elem 237 drivers/ata/acard-ahci.c n_elem = acard_ahci_fill_sg(qc, cmd_tbl); n_elem 1604 drivers/ata/libahci.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 1635 drivers/ata/libahci.c unsigned int n_elem; n_elem 1649 drivers/ata/libahci.c n_elem = 0; n_elem 1651 drivers/ata/libahci.c n_elem = ahci_fill_sg(qc, cmd_tbl); n_elem 1656 drivers/ata/libahci.c opts = cmd_fis_len | n_elem << 16 | (qc->dev->link->pmp << 12); n_elem 1550 drivers/ata/libata-core.c unsigned int n_elem, unsigned long timeout) n_elem 1609 drivers/ata/libata-core.c for_each_sg(sgl, sg, n_elem, i) n_elem 1612 drivers/ata/libata-core.c ata_sg_init(qc, sgl, n_elem); n_elem 1729 drivers/ata/libata-core.c unsigned int n_elem = 0; n_elem 1735 drivers/ata/libata-core.c n_elem++; n_elem 1738 drivers/ata/libata-core.c return ata_exec_internal_sg(dev, tf, cdb, dma_dir, psg, n_elem, n_elem 4999 drivers/ata/libata-core.c unsigned int n_elem) n_elem 5002 drivers/ata/libata-core.c qc->n_elem = n_elem; n_elem 5025 drivers/ata/libata-core.c VPRINTK("unmapping %u sg elements\n", qc->n_elem); n_elem 5027 drivers/ata/libata-core.c if (qc->n_elem) n_elem 5050 drivers/ata/libata-core.c unsigned int n_elem; n_elem 5054 drivers/ata/libata-core.c n_elem = dma_map_sg(ap->dev, qc->sg, qc->n_elem, qc->dma_dir); n_elem 5055 drivers/ata/libata-core.c if (n_elem < 1) n_elem 5058 drivers/ata/libata-core.c VPRINTK("%d sg elements mapped\n", n_elem); n_elem 5059 drivers/ata/libata-core.c qc->orig_n_elem = qc->n_elem; n_elem 5060 drivers/ata/libata-core.c qc->n_elem = n_elem; n_elem 5454 drivers/ata/libata-core.c if (ata_is_data(prot) && (!qc->sg || !qc->n_elem || !qc->nbytes)) n_elem 854 drivers/ata/libata-scsi.c qc->n_elem = scsi_sg_count(cmd); n_elem 2583 drivers/ata/libata-sff.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 2634 drivers/ata/libata-sff.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 56 drivers/ata/libata.h unsigned int n_elem, unsigned long timeout); n_elem 536 drivers/ata/pata_arasan_cf.c for_each_sg(qc->sg, sg, qc->n_elem, temp) { n_elem 712 drivers/ata/pata_ep93xx.c txd = dmaengine_prep_slave_sg(channel, qc->sg, qc->n_elem, qc->dma_dir, n_elem 238 drivers/ata/pata_icside.c set_dma_sg(state->dma, qc->sg, qc->n_elem); n_elem 531 drivers/ata/pata_macio.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 457 drivers/ata/pata_mpc52xx.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 566 drivers/ata/pata_octeon_cf.c VPRINTK("%d scatterlists\n", qc->n_elem); n_elem 57 drivers/ata/pata_pxa.c tx = dmaengine_prep_slave_sg(pd->dma_chan, qc->sg, qc->n_elem, dir, n_elem 266 drivers/ata/pdc_adma.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 388 drivers/ata/sata_dwc_460ex.c desc = dmaengine_prep_slave_sg(hsdevp->chan, qc->sg, qc->n_elem, n_elem 399 drivers/ata/sata_dwc_460ex.c qc->sg, qc->n_elem, &hsdev->dmadr); n_elem 455 drivers/ata/sata_fsl.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 470 drivers/ata/sata_inic162x.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 1793 drivers/ata/sata_mv.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 1299 drivers/ata/sata_nv.c if (idx == qc->n_elem - 1) n_elem 1319 drivers/ata/sata_nv.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 1977 drivers/ata/sata_nv.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 586 drivers/ata/sata_promise.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 244 drivers/ata/sata_qstor.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 534 drivers/ata/sata_rcar.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 301 drivers/ata/sata_sil.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 776 drivers/ata/sata_sil24.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 459 drivers/ata/sata_sx4.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 256 drivers/block/sx8.c int n_elem; n_elem 712 drivers/block/sx8.c int i, n_elem = 0, rc; n_elem 716 drivers/block/sx8.c crq->n_elem = 0; n_elem 727 drivers/block/sx8.c n_elem = blk_rq_map_sg(q, rq, sg); n_elem 728 drivers/block/sx8.c if (n_elem <= 0) n_elem 732 drivers/block/sx8.c n_elem = dma_map_sg(&host->pdev->dev, sg, n_elem, carm_rq_dir(rq)); n_elem 733 drivers/block/sx8.c if (n_elem <= 0) n_elem 737 drivers/block/sx8.c if (host->hw_sg_used >= CARM_MAX_HOST_SG - n_elem) n_elem 740 drivers/block/sx8.c crq->n_elem = n_elem; n_elem 741 drivers/block/sx8.c host->hw_sg_used += n_elem; n_elem 759 drivers/block/sx8.c msg->sg_count = n_elem; n_elem 768 drivers/block/sx8.c for (i = 0; i < n_elem; i++) { n_elem 785 drivers/block/sx8.c host->hw_sg_used -= n_elem; n_elem 792 drivers/block/sx8.c dma_unmap_sg(&host->pdev->dev, &crq->sg[0], n_elem, carm_rq_dir(rq)); n_elem 932 drivers/block/sx8.c dma_unmap_sg(&host->pdev->dev, &crq->sg[0], crq->n_elem, n_elem 1004 drivers/block/sx8.c host->hw_sg_used -= crq->n_elem; n_elem 61 drivers/mmc/host/mmci_stm32_sdmmc.c int n_elem; n_elem 63 drivers/mmc/host/mmci_stm32_sdmmc.c n_elem = dma_map_sg(mmc_dev(host->mmc), n_elem 68 drivers/mmc/host/mmci_stm32_sdmmc.c if (!n_elem) { n_elem 219 drivers/scsi/hisi_sas/hisi_sas.h u64 n_elem; n_elem 239 drivers/scsi/hisi_sas/hisi_sas_main.c if (slot->n_elem) n_elem 287 drivers/scsi/hisi_sas/hisi_sas_main.c struct sas_task *task, int n_elem, n_elem 294 drivers/scsi/hisi_sas/hisi_sas_main.c if (n_elem) n_elem 307 drivers/scsi/hisi_sas/hisi_sas_main.c struct sas_task *task, int *n_elem, n_elem 314 drivers/scsi/hisi_sas/hisi_sas_main.c *n_elem = task->num_scatter; n_elem 319 drivers/scsi/hisi_sas/hisi_sas_main.c *n_elem = dma_map_sg(dev, task->scatter, n_elem 321 drivers/scsi/hisi_sas/hisi_sas_main.c if (!*n_elem) { n_elem 340 drivers/scsi/hisi_sas/hisi_sas_main.c if (*n_elem > HISI_SAS_SGE_PAGE_CNT) { n_elem 342 drivers/scsi/hisi_sas/hisi_sas_main.c *n_elem); n_elem 350 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_dma_unmap(hisi_hba, task, *n_elem, n_elem 423 drivers/scsi/hisi_sas/hisi_sas_main.c int n_elem = 0, n_elem_dif = 0, n_elem_req = 0; n_elem 458 drivers/scsi/hisi_sas/hisi_sas_main.c rc = hisi_sas_dma_map(hisi_hba, task, &n_elem, n_elem 505 drivers/scsi/hisi_sas/hisi_sas_main.c slot->n_elem = n_elem; n_elem 553 drivers/scsi/hisi_sas/hisi_sas_main.c hisi_sas_dma_unmap(hisi_hba, task, n_elem, n_elem 1944 drivers/scsi/hisi_sas/hisi_sas_main.c int dlvry_queue_slot, dlvry_queue, n_elem = 0, rc, slot_idx; n_elem 1977 drivers/scsi/hisi_sas/hisi_sas_main.c slot->n_elem = n_elem; n_elem 891 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c int n_elem) n_elem 897 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c for_each_sg(scatter, sg, n_elem, i) { n_elem 908 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c hdr->sg_len = cpu_to_le32(n_elem << CMD_HDR_DATA_SGL_LEN_OFF); n_elem 1011 drivers/scsi/hisi_sas/hisi_sas_v1_hw.c slot->n_elem); n_elem 1671 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c int n_elem) n_elem 1677 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c for_each_sg(scatter, sg, n_elem, i) { n_elem 1688 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c hdr->sg_len = cpu_to_le32(n_elem << CMD_HDR_DATA_SGL_LEN_OFF); n_elem 1785 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c slot->n_elem); n_elem 2554 drivers/scsi/hisi_sas/hisi_sas_v2_hw.c slot->n_elem); n_elem 1052 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c int n_elem) n_elem 1058 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c for_each_sg(scatter, sg, n_elem, i) { n_elem 1069 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hdr->sg_len |= cpu_to_le32(n_elem << CMD_HDR_DATA_SGL_LEN_OFF); n_elem 1076 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c int n_elem) n_elem 1084 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c for_each_sg(scatter, sg, n_elem, i) { n_elem 1097 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c hdr->sg_len |= cpu_to_le32(n_elem << CMD_HDR_DIF_SGL_LEN_OFF); n_elem 1222 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c slot->n_elem); n_elem 1394 drivers/scsi/hisi_sas/hisi_sas_v3_hw.c slot->n_elem); n_elem 6925 drivers/scsi/ipr.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 6971 drivers/scsi/ipr.c for_each_sg(qc->sg, sg, qc->n_elem, si) { n_elem 7077 drivers/scsi/ipr.c ipr_cmd->dma_use_sg = qc->n_elem; n_elem 202 drivers/scsi/libsas/sas_ata.c task->num_scatter = qc->n_elem; n_elem 204 drivers/scsi/libsas/sas_ata.c for_each_sg(qc->sg, sg, qc->n_elem, si) n_elem 317 drivers/scsi/mvsas/mv_sas.c u32 flags = (tei->n_elem << MCH_PRD_LEN_SHIFT); n_elem 361 drivers/scsi/mvsas/mv_sas.c if (tei->n_elem) n_elem 366 drivers/scsi/mvsas/mv_sas.c i = MVS_CHIP_DISP->prd_size() * tei->n_elem; n_elem 397 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); n_elem 462 drivers/scsi/mvsas/mv_sas.c flags = (tei->n_elem << MCH_PRD_LEN_SHIFT); n_elem 506 drivers/scsi/mvsas/mv_sas.c if (tei->n_elem) n_elem 545 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); n_elem 549 drivers/scsi/mvsas/mv_sas.c TRASH_BUCKET_SIZE, tei->n_elem, buf_prd); n_elem 595 drivers/scsi/mvsas/mv_sas.c hdr->flags = cpu_to_le32(flags | (tei->n_elem << MCH_PRD_LEN_SHIFT)); n_elem 621 drivers/scsi/mvsas/mv_sas.c if (tei->n_elem) n_elem 626 drivers/scsi/mvsas/mv_sas.c i = MVS_CHIP_DISP->prd_size() * tei->n_elem; n_elem 690 drivers/scsi/mvsas/mv_sas.c MVS_CHIP_DISP->make_prd(task->scatter, tei->n_elem, buf_prd); n_elem 702 drivers/scsi/mvsas/mv_sas.c u32 tag = 0xdeadbeef, n_elem = 0; n_elem 754 drivers/scsi/mvsas/mv_sas.c n_elem = dma_map_sg(mvi->dev, n_elem 758 drivers/scsi/mvsas/mv_sas.c if (!n_elem) { n_elem 764 drivers/scsi/mvsas/mv_sas.c n_elem = task->num_scatter; n_elem 774 drivers/scsi/mvsas/mv_sas.c slot->n_elem = n_elem; n_elem 786 drivers/scsi/mvsas/mv_sas.c tei.n_elem = n_elem; n_elem 833 drivers/scsi/mvsas/mv_sas.c if (n_elem) n_elem 834 drivers/scsi/mvsas/mv_sas.c dma_unmap_sg(mvi->dev, task->scatter, n_elem, n_elem 883 drivers/scsi/mvsas/mv_sas.c if (slot->n_elem) n_elem 885 drivers/scsi/mvsas/mv_sas.c slot->n_elem, task->data_dir); n_elem 312 drivers/scsi/mvsas/mv_sas.h u32 n_elem; n_elem 422 drivers/scsi/mvsas/mv_sas.h int n_elem; n_elem 4337 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); n_elem 4410 drivers/scsi/pm8001/pm8001_hwi.c pm8001_chip_make_sg(task->scatter, ccb->n_elem, ccb->buf_prd); n_elem 387 drivers/scsi/pm8001/pm8001_sas.c u32 tag = 0xdeadbeef, rc, n_elem = 0; n_elem 437 drivers/scsi/pm8001/pm8001_sas.c n_elem = dma_map_sg(pm8001_ha->dev, n_elem 441 drivers/scsi/pm8001/pm8001_sas.c if (!n_elem) { n_elem 447 drivers/scsi/pm8001/pm8001_sas.c n_elem = t->num_scatter; n_elem 451 drivers/scsi/pm8001/pm8001_sas.c ccb->n_elem = n_elem; n_elem 497 drivers/scsi/pm8001/pm8001_sas.c if (n_elem) n_elem 529 drivers/scsi/pm8001/pm8001_sas.c if (ccb->n_elem) n_elem 824 drivers/scsi/pm8001/pm8001_sas.c ccb->n_elem = 0; n_elem 300 drivers/scsi/pm8001/pm8001_sas.h u32 n_elem; n_elem 1502 drivers/scsi/pm8001/pm80xx_hwi.c ccb->n_elem = 0; n_elem 4097 drivers/scsi/pm8001/pm80xx_hwi.c ccb->n_elem, ccb->buf_prd); n_elem 4156 drivers/scsi/pm8001/pm80xx_hwi.c pm8001_chip_make_sg(task->scatter, ccb->n_elem, n_elem 4278 drivers/scsi/pm8001/pm80xx_hwi.c ccb->n_elem, ccb->buf_prd); n_elem 4344 drivers/scsi/pm8001/pm80xx_hwi.c ccb->n_elem, ccb->buf_prd); n_elem 626 include/linux/libata.h unsigned int n_elem; n_elem 1166 include/linux/libata.h unsigned int n_elem); n_elem 1718 include/linux/libata.h qc->n_elem = 0; n_elem 343 net/rxrpc/key.c unsigned int toklen = *_toklen, n_elem, loop; n_elem 353 net/rxrpc/key.c n_elem = ntohl(*xdr++); n_elem 355 net/rxrpc/key.c if (n_elem > max_n_elem) n_elem 357 net/rxrpc/key.c *_n_elem = n_elem; n_elem 358 net/rxrpc/key.c if (n_elem > 0) { n_elem 359 net/rxrpc/key.c if (toklen <= (n_elem + 1) * 4) n_elem 362 net/rxrpc/key.c _debug("n_elem %d", n_elem); n_elem 364 net/rxrpc/key.c td = kcalloc(n_elem, sizeof(struct krb5_tagged_data), n_elem 370 net/rxrpc/key.c for (loop = 0; loop < n_elem; loop++) {