Searched refs:nseg_new (Results 1 - 1 of 1) sorted by relevance
/linux-master/drivers/scsi/aacraid/ |
H A D | aachba.c | 225 int pages, int nseg, int nseg_new); 3974 int j, nseg_new = nseg, err_found; local 3977 nseg_new = 2; 3983 nseg_new += (rio2->sge[j].length / (i*PAGE_SIZE)); 3988 if (i > 0 && nseg_new <= sg_max) { 3989 int ret = aac_convert_sgraw2(rio2, i, nseg, nseg_new); 4006 static int aac_convert_sgraw2(struct aac_raw_io2 *rio2, int pages, int nseg, int nseg_new) argument 4015 sge = kmalloc_array(nseg_new, sizeof(*sge), GFP_ATOMIC); 4032 memcpy(&rio2->sge[1], &sge[1], (nseg_new-1)*sizeof(struct sge_ieee1212)); 4035 rio2->sgeCnt = cpu_to_le32(nseg_new); [all...] |
Completed in 256 milliseconds