Home
last modified time | relevance | path

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

/linux/drivers/scsi/mpi3mr/
H A Dmpi3mr_os.c37 static int max_sgl_entries = MPI3MR_DEFAULT_SGL_ENTRIES; variable
38 module_param(max_sgl_entries, int, 0444);
39 MODULE_PARM_DESC(max_sgl_entries,
3599 if (sges_left > mrioc->max_sgl_entries) { in mpi3mr_prepare_sg_scmd()
5275 mrioc->max_sgl_entries = max_sgl_entries; in mpi3mr_probe()
5276 if (max_sgl_entries > MPI3MR_MAX_SGL_ENTRIES) in mpi3mr_probe()
5277 mrioc->max_sgl_entries = MPI3MR_MAX_SGL_ENTRIES; in mpi3mr_probe()
5278 else if (max_sgl_entries < MPI3MR_DEFAULT_SGL_ENTRIES) in mpi3mr_probe()
5279 mrioc->max_sgl_entries = MPI3MR_DEFAULT_SGL_ENTRIES; in mpi3mr_probe()
5281 mrioc->max_sgl_entries /= MPI3MR_DEFAULT_SGL_ENTRIES; in mpi3mr_probe()
[all …]
H A Dmpi3mr.h1257 u16 max_sgl_entries; member
H A Dmpi3mr_fw.c3683 if (mrioc->max_sgl_entries > (mrioc->facts.max_data_length / in mpi3mr_alloc_chain_bufs()
3685 mrioc->max_sgl_entries = mrioc->facts.max_data_length / in mpi3mr_alloc_chain_bufs()
3687 sz = mrioc->max_sgl_entries * sizeof(struct mpi3_sge_common); in mpi3mr_alloc_chain_bufs()
3689 mrioc->max_sgl_entries, sz/1024); in mpi3mr_alloc_chain_bufs()
/linux/drivers/scsi/
H A D3w-xxxx.h422 u32 max_sgl_entries; member
H A D3w-sas.h386 unsigned int max_sgl_entries; member
H A D3w-9xxx.h672 unsigned int max_sgl_entries; member
H A D3w-sas.c182 tw_dev->max_sgl_entries, in twl_show_stats()
362 if (tw_dev->sgl_entries > tw_dev->max_sgl_entries) in twl_scsiop_execute_scsi()
363 tw_dev->max_sgl_entries = tw_dev->sgl_entries; in twl_scsiop_execute_scsi()
H A D3w-xxxx.c516 tw_dev->max_sgl_entries, in tw_show_stats()
1767 if (tw_dev->sgl_entries > tw_dev->max_sgl_entries) in tw_scsiop_read_write()
1768 tw_dev->max_sgl_entries = tw_dev->sgl_entries; in tw_scsiop_read_write()
H A D3w-9xxx.c181 tw_dev->max_sgl_entries, in twa_show_stats()
1898 if (tw_dev->sgl_entries > tw_dev->max_sgl_entries) in DEF_SCSI_QCMD()
1899 tw_dev->max_sgl_entries = tw_dev->sgl_entries; in DEF_SCSI_QCMD()
/linux/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c79 static int max_sgl_entries = -1; variable
80 module_param(max_sgl_entries, int, 0444);
81 MODULE_PARM_DESC(max_sgl_entries, " max sg entries ");
6295 if (max_sgl_entries != -1) in _base_allocate_memory_pools()
6296 sg_tablesize = max_sgl_entries; in _base_allocate_memory_pools()