Home
last modified time | relevance | path

Searched refs:max_segs (Results 1 – 25 of 56) sorted by relevance

123

/openbmc/linux/drivers/mmc/core/
H A Dmmc_test.c79 unsigned int max_segs; member
336 unsigned int max_segs, in mmc_test_alloc_mem() argument
354 if (max_segs > max_page_cnt) in mmc_test_alloc_mem()
355 max_segs = max_page_cnt; in mmc_test_alloc_mem()
390 if (mem->cnt >= max_segs) { in mmc_test_alloc_mem()
417 sg_init_table(sglist, max_segs); in mmc_test_map_sg()
418 if (min_sg_len > max_segs) in mmc_test_map_sg()
419 min_sg_len = max_segs; in mmc_test_map_sg()
462 unsigned int max_segs, in mmc_test_map_sg_max_scatter() argument
471 sg_init_table(sglist, max_segs); in mmc_test_map_sg_max_scatter()
[all …]
H A Dqueue.c200 host->max_segs; in mmc_get_max_segments()
443 host->max_segs < MMC_DMA_MAP_MERGE_SEGMENTS && in mmc_init_queue()
H A Dhost.c574 host->max_segs = 1; in mmc_alloc_host()
/openbmc/linux/drivers/mmc/host/
H A Drenesas_sdhi.h35 unsigned short max_segs; member
H A Drenesas_sdhi_internal_dmac.c104 .max_segs = 1,
119 .max_segs = 1,
135 .max_segs = 1,
H A Dwmt-sdmmc.c180 u32 max_segs; member
739 .max_segs = 128,
791 mmc->max_segs = wmt_caps->max_segs; in wmt_mci_probe()
794 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe()
H A Dmmci_stm32_sdmmc.c206 host->mmc->max_segs = SDMMC_LLI_BUF_LEN / in sdmmc_idma_setup()
212 host->mmc->max_segs = 1; in sdmmc_idma_setup()
H A Dtmio_mmc_core.c1177 mmc->max_segs = pdata->max_segs ? : 32; in tmio_mmc_host_probe()
1180 (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; in tmio_mmc_host_probe()
H A Dcavium.c1042 mmc->max_segs = 16; in cvm_mmc_of_slot_probe()
1044 mmc->max_segs = 1; in cvm_mmc_of_slot_probe()
H A Drenesas_sdhi_core.c977 mmc_data->max_segs = of_data->max_segs; in renesas_sdhi_probe()
H A Dushc.c457 mmc->max_segs = 1; in ushc_probe()
H A Dmeson-gx-mmc.c1232 mmc->max_segs = 1; in meson_mmc_probe()
1238 mmc->max_segs = SD_EMMC_DESC_BUF_LEN / in meson_mmc_probe()
H A Ddavinci_mmc.c1282 mmc->max_segs = MAX_NR_SG; in davinci_mmcsd_probe()
1292 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe()
H A Duniphier-sd.c705 tmio_data->max_segs = 1; in uniphier_sd_probe()
H A Dowl-mmc.c605 mmc->max_segs = 256; in owl_mmc_probe()
/openbmc/linux/include/linux/mfd/
H A Dtmio.h102 unsigned short max_segs; member
/openbmc/linux/include/rdma/
H A Drdmavt_mr.h39 u32 max_segs; /* number of rvt_segs in all the arrays */ member
/openbmc/linux/net/ipv4/
H A Dtcp_output.c2013 unsigned int max_segs, in tcp_mss_split_point() argument
2020 max_len = mss_now * max_segs; in tcp_mss_split_point()
2182 u32 max_segs) in tcp_tso_should_defer() argument
2216 if (limit >= max_segs * tp->mss_cache) in tcp_tso_should_defer()
2679 u32 max_segs; in tcp_write_xmit() local
2694 max_segs = tcp_tso_segs(sk, mss_now); in tcp_write_xmit()
2735 &is_rwnd_limited, max_segs)) in tcp_write_xmit()
2744 max_segs), in tcp_write_xmit()
3413 u32 max_segs; in tcp_xmit_retransmit_queue() local
3421 max_segs = tcp_tso_segs(sk, tcp_current_mss(sk)); in tcp_xmit_retransmit_queue()
[all …]
/openbmc/linux/include/linux/
H A Dbio.h460 static inline int bio_iov_vecs_to_alloc(struct iov_iter *iter, int max_segs) in bio_iov_vecs_to_alloc() argument
464 return iov_iter_npages(iter, max_segs); in bio_iov_vecs_to_alloc()
/openbmc/linux/drivers/infiniband/sw/rdmavt/
H A Dmr.c116 mr->max_segs = count; in rvt_init_mregion()
564 if (unlikely(mapped_segs == mr->mr.max_segs)) in rvt_set_page()
/openbmc/linux/fs/smb/client/
H A Dfile.c3467 size_t max_segs, unsigned int *_nsegs) in cifs_limit_bvec_subset() argument
3492 if (max_size == 0 || nsegs >= max_segs) in cifs_limit_bvec_subset()
3513 unsigned int xid, max_segs = INT_MAX; in cifs_write_from_iter() local
3525 max_segs = server->smbd_conn->max_frmr_depth; in cifs_write_from_iter()
3558 cur_len = cifs_limit_bvec_subset(from, max_len, max_segs, &nsegs); in cifs_write_from_iter()
3560 cur_len, max_len, nsegs, from->nr_segs, max_segs); in cifs_write_from_iter()
4047 unsigned int rsize, nsegs, max_segs = INT_MAX; in cifs_send_async_read() local
4059 max_segs = server->smbd_conn->max_frmr_depth; in cifs_send_async_read()
4089 max_segs, &nsegs); in cifs_send_async_read()
4091 cur_len, max_len, nsegs, ctx->iter.nr_segs, max_segs); in cifs_send_async_read()
/openbmc/linux/include/linux/mmc/
H A Dhost.h437 unsigned short max_segs; /* see blk_queue_max_segments */ member
/openbmc/linux/block/
H A Dblk-merge.c233 unsigned max_segs, unsigned max_bytes) in bvec_split_segs() argument
240 while (len && *nsegs < max_segs) { in bvec_split_segs()
/openbmc/linux/drivers/net/wireless/ath/ath6kl/
H A Dsdio.c744 if (ar_sdio->func->card->host->max_segs < MAX_SCATTER_ENTRIES_PER_REQ) { in ath6kl_sdio_enable_scatter()
746 ar_sdio->func->card->host->max_segs, in ath6kl_sdio_enable_scatter()
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dbcmsdh.c760 sdiodev->sg_support = host->max_segs > 1; in brcmf_sdiod_sgtable_alloc()
764 sdiodev->max_segment_count = min_t(uint, host->max_segs, in brcmf_sdiod_sgtable_alloc()

123