[go: nahoru, domu]

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

/drivers/scsi/aacraid/
H A Daachba.c141 int pages, int nseg, int nseg_new);
3097 int j, nseg_new = nseg, err_found; local
3100 nseg_new = 2;
3106 nseg_new += (rio2->sge[j].length / (i*PAGE_SIZE));
3111 if (i > 0 && nseg_new <= sg_max)
3112 aac_convert_sgraw2(rio2, i, nseg, nseg_new);
3126 static int aac_convert_sgraw2(struct aac_raw_io2 *rio2, int pages, int nseg, int nseg_new) argument
3135 sge = kmalloc(nseg_new * sizeof(struct sge_ieee1212), GFP_ATOMIC);
3152 memcpy(&rio2->sge[1], &sge[1], (nseg_new-1)*sizeof(struct sge_ieee1212));
3155 rio2->sgeCnt = cpu_to_le32(nseg_new);
[all...]

Completed in 14 milliseconds