Home
last modified time | relevance | path

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

123

/linux/drivers/mmc/core/
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 …]
A Dqueue.c199 host->max_segs; in mmc_get_max_segments()
442 host->max_segs < MMC_DMA_MAP_MERGE_SEGMENTS && in mmc_init_queue()
A Dhost.c575 host->max_segs = 1; in mmc_alloc_host()
/linux/block/
A Dblk-merge.c232 unsigned *sectors, unsigned max_segs, in bvec_split_segs() argument
240 while (len && *nsegs < max_segs) { in bvec_split_segs()
287 const unsigned max_segs = queue_max_segments(q); in blk_bio_segment_split() local
297 if (nsegs < max_segs && in blk_bio_segment_split()
302 } else if (bvec_split_segs(q, &bv, &nsegs, &sectors, max_segs, in blk_bio_segment_split()
/linux/drivers/mmc/host/
A Dwmt-sdmmc.c181 u32 max_segs; member
740 .max_segs = 128,
795 mmc->max_segs = wmt_caps->max_segs; in wmt_mci_probe()
798 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe()
A Drenesas_sdhi.h33 unsigned short max_segs; member
A Drenesas_sdhi_internal_dmac.c108 .max_segs = 1,
127 .max_segs = 1,
A Dmmci_stm32_sdmmc.c137 host->mmc->max_segs = SDMMC_LLI_BUF_LEN / in sdmmc_idma_setup()
141 host->mmc->max_segs = 1; in sdmmc_idma_setup()
A Dtmio_mmc_core.c1163 mmc->max_segs = pdata->max_segs ? : 32; in tmio_mmc_host_probe()
1166 (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; in tmio_mmc_host_probe()
A Dcavium.c1042 mmc->max_segs = 16; in cvm_mmc_of_slot_probe()
1044 mmc->max_segs = 1; in cvm_mmc_of_slot_probe()
A Drenesas_sdhi_core.c947 mmc_data->max_segs = of_data->max_segs; in renesas_sdhi_probe()
A Ddavinci_mmc.c1285 mmc->max_segs = MAX_NR_SG; in davinci_mmcsd_probe()
1295 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe()
A Dmeson-gx-mmc.c1240 mmc->max_segs = 1; in meson_mmc_probe()
1246 mmc->max_segs = SD_EMMC_DESC_BUF_LEN / in meson_mmc_probe()
A Dushc.c457 mmc->max_segs = 1; in ushc_probe()
A Duniphier-sd.c633 tmio_data->max_segs = 1; in uniphier_sd_probe()
A Dsunxi-mmc.c1413 mmc->max_segs = PAGE_SIZE / sizeof(struct sunxi_idma_des); in sunxi_mmc_probe()
1415 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
A Dowl-mmc.c605 mmc->max_segs = 256; in owl_mmc_probe()
/linux/include/linux/mfd/
A Dtmio.h108 unsigned short max_segs; member
/linux/include/rdma/
A Drdmavt_mr.h39 u32 max_segs; /* number of rvt_segs in all the arrays */ member
/linux/net/ipv4/
A Dtcp_output.c1995 unsigned int max_segs, in tcp_mss_split_point() argument
2002 max_len = mss_now * max_segs; in tcp_mss_split_point()
2166 u32 max_segs) in tcp_tso_should_defer() argument
2200 if (limit >= max_segs * tp->mss_cache) in tcp_tso_should_defer()
2598 u32 max_segs; in tcp_write_xmit() local
2613 max_segs = tcp_tso_segs(sk, mss_now); in tcp_write_xmit()
2653 &is_rwnd_limited, max_segs)) in tcp_write_xmit()
2662 max_segs), in tcp_write_xmit()
3275 u32 max_segs; in tcp_xmit_retransmit_queue() local
3283 max_segs = tcp_tso_segs(sk, tcp_current_mss(sk)); in tcp_xmit_retransmit_queue()
[all …]
/linux/include/linux/
A Dbio.h396 static inline int bio_iov_vecs_to_alloc(struct iov_iter *iter, int max_segs) in bio_iov_vecs_to_alloc() argument
400 return iov_iter_npages(iter, max_segs); in bio_iov_vecs_to_alloc()
/linux/drivers/infiniband/sw/rdmavt/
A Dmr.c116 mr->max_segs = count; in rvt_init_mregion()
564 if (unlikely(mapped_segs == mr->mr.max_segs)) in rvt_set_page()
/linux/include/linux/mmc/
A Dhost.h412 unsigned short max_segs; /* see blk_queue_max_segments */ member
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
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()
/linux/drivers/net/wireless/ath/ath6kl/
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()

Completed in 71 milliseconds

123