Searched refs:nsegs (Results 1 – 1 of 1) sorted by relevance
1308 unsigned int use_sg, nsegs=0, len; in cciss_scatter_gather() local1326 nsegs=1; in cciss_scatter_gather()1334 for (nsegs=0; nsegs < use_sg; nsegs++) { in cciss_scatter_gather()1335 addr64 = (__u64) sg_dma_address(&scatter[nsegs]); in cciss_scatter_gather()1336 len = sg_dma_len(&scatter[nsegs]); in cciss_scatter_gather()1337 cp->SG[nsegs].Addr.lower = in cciss_scatter_gather()1339 cp->SG[nsegs].Addr.upper = in cciss_scatter_gather()1341 cp->SG[nsegs].Len = len; in cciss_scatter_gather()1342 cp->SG[nsegs].Ext = 0; // we are not chaining in cciss_scatter_gather()1346 cp->Header.SGList = (__u8) nsegs; /* no. SGs contig in this cmd */ in cciss_scatter_gather()[all …]