Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/mmc/card/
Dmmc_test.c79 unsigned int max_segs; member
315 unsigned int max_segs, in mmc_test_alloc_mem() argument
333 if (max_segs > max_page_cnt) in mmc_test_alloc_mem()
334 max_segs = max_page_cnt; in mmc_test_alloc_mem()
340 mem->arr = kzalloc(sizeof(struct mmc_test_pages) * max_segs, in mmc_test_alloc_mem()
370 if (mem->cnt >= max_segs) { in mmc_test_alloc_mem()
390 unsigned int max_segs, unsigned int max_seg_sz, in mmc_test_map_sg() argument
397 sg_init_table(sglist, max_segs); in mmc_test_map_sg()
398 if (min_sg_len > max_segs) in mmc_test_map_sg()
399 min_sg_len = max_segs; in mmc_test_map_sg()
[all …]
Dqueue.c216 if (host->max_segs == 1) { in mmc_init_queue()
276 blk_queue_max_segments(mq->queue, host->max_segs); in mmc_init_queue()
279 mqrq_cur->sg = mmc_alloc_sg(host->max_segs, &ret); in mmc_init_queue()
284 mqrq_prev->sg = mmc_alloc_sg(host->max_segs, &ret); in mmc_init_queue()
/linux-4.4.14/drivers/staging/rdma/ipath/
Dipath_mr.c152 mr->mr.max_segs = num_phys_buf; in ipath_reg_phys_mr()
219 mr->mr.max_segs = n; in ipath_reg_user_mr()
321 fmr->mr.max_segs = fmr_attr->max_pages; in ipath_alloc_fmr()
357 if (list_len > fmr->mr.max_segs) { in ipath_map_phys_fmr()
Dipath_verbs.h249 u32 max_segs; /* number of ipath_segs in all the arrays */ member
/linux-4.4.14/drivers/infiniband/hw/qib/
Dqib_mr.c67 mr->max_segs = count; in init_qib_mregion()
359 if (unlikely(mr->npages == mr->mr.max_segs)) in qib_set_page()
418 fmr->mr.max_segs = fmr_attr->max_pages; in qib_alloc_fmr()
457 if (list_len > fmr->mr.max_segs) { in qib_map_phys_fmr()
Dqib_keys.c364 if (mr->npages > mrg->max_segs) in qib_reg_mr()
Dqib_verbs.h305 u32 max_segs; /* number of qib_segs in all the arrays */ member
/linux-4.4.14/drivers/staging/rdma/hfi1/
Dmr.c84 mr->max_segs = count; in init_mregion()
408 fmr->mr.max_segs = fmr_attr->max_pages; in hfi1_alloc_fmr()
447 if (list_len > fmr->mr.max_segs) { in hfi1_map_phys_fmr()
Dverbs.h316 u32 max_segs; /* number of hfi1_segs in all the arrays */ member
/linux-4.4.14/drivers/mmc/host/
Dwmt-sdmmc.c184 u32 max_segs; member
743 .max_segs = 128,
798 mmc->max_segs = wmt_caps->max_segs; in wmt_mci_probe()
801 mmc->max_req_size = (16*512*mmc->max_segs); in wmt_mci_probe()
Dbfin_sdh.c545 mmc->max_segs = 1; in sdh_probe()
547 mmc->max_segs = PAGE_SIZE / sizeof(struct dma_desc_array); in sdh_probe()
Dandroid-goldfish.c506 mmc->max_segs = 32; in goldfish_mmc_probe()
Dsunxi-mmc.c1060 mmc->max_segs = PAGE_SIZE / sizeof(struct sunxi_idma_des); in sunxi_mmc_probe()
1062 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; in sunxi_mmc_probe()
Dushc.c458 mmc->max_segs = 1; in ushc_probe()
Dtmio_mmc_pio.c1123 mmc->max_segs = 32; in tmio_mmc_host_probe()
1126 mmc->max_segs; in tmio_mmc_host_probe()
Ddavinci_mmc.c1333 mmc->max_segs = MAX_NR_SG; in davinci_mmcsd_probe()
1343 dev_dbg(mmc_dev(host->mmc), "max_segs=%d\n", mmc->max_segs); in davinci_mmcsd_probe()
Dmxs-mmc.c656 mmc->max_segs = 52; in mxs_mmc_probe()
Dsh_mmcif.c1514 mmc->max_segs = 32; in sh_mmcif_probe()
1516 mmc->max_req_size = PAGE_CACHE_SIZE * mmc->max_segs; in sh_mmcif_probe()
Datmel-mci.c2191 mmc->max_segs = 256; in atmci_init_slot()
2195 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()
2197 mmc->max_segs = 64; in atmci_init_slot()
Dpxamci.c676 mmc->max_segs = NR_SG; in pxamci_probe()
Dusdhi6rol0.c1790 mmc->max_segs = 32; in usdhi6_probe()
1792 mmc->max_req_size = PAGE_CACHE_SIZE * mmc->max_segs; in usdhi6_probe()
Dmvsdio.c743 mmc->max_segs = 1; in mvsd_probe()
Ddw_mmc.c2588 mmc->max_segs = host->ring_size; in dw_mci_init_slot()
2594 mmc->max_segs = 64; in dw_mci_init_slot()
2602 mmc->max_segs = 64; in dw_mci_init_slot()
Dsdhci.c3324 mmc->max_segs = SDHCI_MAX_SEGS; in sdhci_add_host()
3326 mmc->max_segs = 1; in sdhci_add_host()
3328 mmc->max_segs = SDHCI_MAX_SEGS; in sdhci_add_host()
Djz4740_mmc.c1054 mmc->max_segs = 128; in jz4740_mmc_probe()
Dmmc_spi.c1344 mmc->max_segs = MMC_SPI_BLOCKSATONCE; in mmc_spi_probe()
Dmxcmmc.c1063 mmc->max_segs = 64; in mxcmci_probe()
Dtifm_sd.c980 mmc->max_segs = mmc->max_blk_count; in tifm_sd_probe()
Dau1xmmc.c1002 mmc->max_segs = AU1XMMC_DESCRIPTOR_COUNT; in au1xmmc_probe()
Dvia-sdmmc.c1051 mmc->max_segs = 1; in via_init_mmc_host()
Dwbsd.c1237 mmc->max_segs = 128; in wbsd_alloc_mmc()
Drtsx_usb_sdmmc.c1344 mmc->max_segs = 256; in rtsx_usb_init_host()
Drtsx_pci_sdmmc.c1371 mmc->max_segs = 256; in realtek_init_host()
Domap.c1259 mmc->max_segs = 32; in mmc_omap_new_slot()
Dmmci.c1650 mmc->max_segs = NR_SG; in mmci_probe()
Ds3cmci.c1737 mmc->max_segs = 128; in s3cmci_probe()
Dmtk-sd.c1548 mmc->max_segs = MAX_BD_NUM; in msdc_drv_probe()
Domap_hsmmc.c2115 mmc->max_segs = 1024; in omap_hsmmc_probe()
Dvub300.c2160 mmc->max_segs = 128; in vub300_probe()
/linux-4.4.14/include/linux/mmc/
Ddw_mmc.h252 unsigned short max_segs; /* see blk_queue_max_segments */ member
Dhost.h297 unsigned short max_segs; /* see blk_queue_max_segments */ member
/linux-4.4.14/net/ipv4/
Dtcp_output.c1554 unsigned int max_segs, in tcp_mss_split_point() argument
1561 max_len = mss_now * max_segs; in tcp_mss_split_point()
1756 bool *is_cwnd_limited, u32 max_segs) in tcp_tso_should_defer() argument
1789 if (limit >= max_segs * tp->mss_cache) in tcp_tso_should_defer()
2029 u32 max_segs; in tcp_write_xmit() local
2043 max_segs = tcp_tso_autosize(sk, mss_now); in tcp_write_xmit()
2076 max_segs)) in tcp_write_xmit()
2085 max_segs), in tcp_write_xmit()
/linux-4.4.14/drivers/mmc/core/
Dhost.c360 host->max_segs = 1; in mmc_alloc_host()
/linux-4.4.14/drivers/net/wireless/ath/ath6kl/
Dsdio.c731 if (ar_sdio->func->card->host->max_segs < MAX_SCATTER_ENTRIES_PER_REQ) { in ath6kl_sdio_enable_scatter()
733 ar_sdio->func->card->host->max_segs, in ath6kl_sdio_enable_scatter()
/linux-4.4.14/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c1066 sdiodev->sg_support = host->max_segs > 1; in brcmf_sdiod_probe()
1070 sdiodev->max_segment_count = min_t(uint, host->max_segs, in brcmf_sdiod_probe()
/linux-4.4.14/net/core/
Dsock.c1606 u32 max_segs = 1; in sk_setup_caps() local
1619 max_segs = max_t(u32, dst->dev->gso_max_segs, 1); in sk_setup_caps()
1622 sk->sk_gso_max_segs = max_segs; in sk_setup_caps()
/linux-4.4.14/drivers/scsi/
Dst.c3803 int segs, max_segs, b_size, order, got; in enlarge_buffer() local
3812 max_segs = STbuffer->use_sg; in enlarge_buffer()
3827 max_segs * (PAGE_SIZE << order) < new_size; in enlarge_buffer()
3832 if (max_segs * (PAGE_SIZE << order) < new_size) { in enlarge_buffer()
3840 segs < max_segs && got < new_size;) { in enlarge_buffer()
Dosst.c5333 int segs, nbr, max_segs, b_size, order, got; in enlarge_buffer() local
5344 nbr = max_segs = STbuffer->use_sg; in enlarge_buffer()
5370 segs < max_segs && got < OS_FRAME_SIZE; ) { in enlarge_buffer()