Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/scsi/mpt3sas/
Dmpt3sas_base.c2684 u32 sges_in_segment; in _base_build_sg_scmd() local
2709 sges_in_segment = ioc->max_sges_in_main_message; in _base_build_sg_scmd()
2710 if (sges_left <= sges_in_segment) in _base_build_sg_scmd()
2714 (sges_in_segment * ioc->sge_size))/4; in _base_build_sg_scmd()
2717 while (sges_in_segment) { in _base_build_sg_scmd()
2718 if (sges_in_segment == 1) in _base_build_sg_scmd()
2728 sges_in_segment--; in _base_build_sg_scmd()
2739 sges_in_segment = (sges_left <= in _base_build_sg_scmd()
2742 chain_offset = (sges_left == sges_in_segment) ? in _base_build_sg_scmd()
2743 0 : (sges_in_segment * ioc->sge_size)/4; in _base_build_sg_scmd()
[all …]
/Linux-v6.1/drivers/scsi/mpi3mr/
Dmpi3mr_os.c3350 u32 sges_in_segment; in mpi3mr_prepare_sg_scmd() local
3403 sges_in_segment = (mrioc->facts.op_req_sz - in mpi3mr_prepare_sg_scmd()
3409 sges_in_segment--; in mpi3mr_prepare_sg_scmd()
3415 sges_in_segment--; in mpi3mr_prepare_sg_scmd()
3420 sges_in_segment = 1; in mpi3mr_prepare_sg_scmd()
3422 if (sges_left <= sges_in_segment) in mpi3mr_prepare_sg_scmd()
3426 while (sges_in_segment > 1) { in mpi3mr_prepare_sg_scmd()
3432 sges_in_segment--; in mpi3mr_prepare_sg_scmd()
3446 sges_in_segment = sges_left; in mpi3mr_prepare_sg_scmd()
3447 chain_length = sges_in_segment * sizeof(struct mpi3_sge_common); in mpi3mr_prepare_sg_scmd()