Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/scsi/aacraid/
Daachba.c225 int pages, int nseg, int nseg_new);
3973 int j, nseg_new = nseg, err_found; in aac_build_sgraw2() local
3976 nseg_new = 2; in aac_build_sgraw2()
3982 nseg_new += (rio2->sge[j].length / (i*PAGE_SIZE)); in aac_build_sgraw2()
3987 if (i > 0 && nseg_new <= sg_max) { in aac_build_sgraw2()
3988 int ret = aac_convert_sgraw2(rio2, i, nseg, nseg_new); in aac_build_sgraw2()
4005 static int aac_convert_sgraw2(struct aac_raw_io2 *rio2, int pages, int nseg, int nseg_new) in aac_convert_sgraw2() argument
4014 sge = kmalloc_array(nseg_new, sizeof(*sge), GFP_ATOMIC); in aac_convert_sgraw2()
4031 memcpy(&rio2->sge[1], &sge[1], (nseg_new-1)*sizeof(struct sge_ieee1212)); in aac_convert_sgraw2()
4034 rio2->sgeCnt = cpu_to_le32(nseg_new); in aac_convert_sgraw2()