Home
last modified time | relevance | path

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

/linux-4.1.27/drivers/mmc/card/
Dmmc_test.c79 unsigned int max_segs; member
321 unsigned int max_segs, in mmc_test_alloc_mem() argument
339 if (max_segs > max_page_cnt) in mmc_test_alloc_mem()
340 max_segs = max_page_cnt; in mmc_test_alloc_mem()
346 mem->arr = kzalloc(sizeof(struct mmc_test_pages) * max_segs, in mmc_test_alloc_mem()
376 if (mem->cnt >= max_segs) { in mmc_test_alloc_mem()
396 unsigned int max_segs, unsigned int max_seg_sz, in mmc_test_map_sg() argument
403 sg_init_table(sglist, max_segs); in mmc_test_map_sg()
404 if (min_sg_len > max_segs) in mmc_test_map_sg()
405 min_sg_len = max_segs; in mmc_test_map_sg()
[all …]
Dqueue.c218 if (host->max_segs == 1) { in mmc_init_queue()
278 blk_queue_max_segments(mq->queue, host->max_segs); in mmc_init_queue()
281 mqrq_cur->sg = mmc_alloc_sg(host->max_segs, &ret); in mmc_init_queue()
286 mqrq_prev->sg = mmc_alloc_sg(host->max_segs, &ret); in mmc_init_queue()
/linux-4.1.27/drivers/infiniband/hw/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.1.27/drivers/infiniband/hw/qib/
Dqib_mr.c67 mr->max_segs = count; in init_qib_mregion()
411 fmr->mr.max_segs = fmr_attr->max_pages; in qib_alloc_fmr()
450 if (list_len > fmr->mr.max_segs) { in qib_map_phys_fmr()
Dqib_keys.c363 if (wr->wr.fast_reg.page_list_len > mr->max_segs) in qib_fast_reg_mr()
Dqib_verbs.h305 u32 max_segs; /* number of qib_segs in all the arrays */ member
/linux-4.1.27/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.c1027 mmc->max_segs = PAGE_SIZE / sizeof(struct sunxi_idma_des); in sunxi_mmc_probe()
1029 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.c1120 mmc->max_segs = 32; in tmio_mmc_host_probe()
1123 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()
Ddw_mmc.c2432 mmc->max_segs = host->pdata->blk_settings->max_segs; in dw_mci_init_slot()
2440 mmc->max_segs = host->ring_size; in dw_mci_init_slot()
2446 mmc->max_segs = 64; in dw_mci_init_slot()
Dmxs-mmc.c656 mmc->max_segs = 52; in mxs_mmc_probe()
Dsh_mmcif.c1425 mmc->max_segs = 32; in sh_mmcif_probe()
1427 mmc->max_req_size = PAGE_CACHE_SIZE * mmc->max_segs; in sh_mmcif_probe()
Datmel-mci.c2192 mmc->max_segs = 256; in atmci_init_slot()
2196 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; in atmci_init_slot()
2198 mmc->max_segs = 64; in atmci_init_slot()
Dpxamci.c655 mmc->max_segs = NR_SG; in pxamci_probe()
Dusdhi6rol0.c1784 mmc->max_segs = 32; in usdhi6_probe()
1786 mmc->max_req_size = PAGE_CACHE_SIZE * mmc->max_segs; in usdhi6_probe()
Dmvsdio.c743 mmc->max_segs = 1; in mvsd_probe()
Dsdhci.c3354 mmc->max_segs = SDHCI_MAX_SEGS; in sdhci_add_host()
3356 mmc->max_segs = 1; in sdhci_add_host()
3358 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()
Dau1xmmc.c1002 mmc->max_segs = AU1XMMC_DESCRIPTOR_COUNT; in au1xmmc_probe()
Dtifm_sd.c980 mmc->max_segs = mmc->max_blk_count; in tifm_sd_probe()
Dmxcmmc.c1067 mmc->max_segs = 64; in mxcmci_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()
Domap.c1258 mmc->max_segs = 32; in mmc_omap_new_slot()
Drtsx_pci_sdmmc.c1371 mmc->max_segs = 256; in realtek_init_host()
Dmmci.c1650 mmc->max_segs = NR_SG; in mmci_probe()
Ds3cmci.c1737 mmc->max_segs = 128; in s3cmci_probe()
Domap_hsmmc.c2030 mmc->max_segs = 1024; in omap_hsmmc_probe()
Dvub300.c2160 mmc->max_segs = 128; in vub300_probe()
/linux-4.1.27/include/linux/mmc/
Ddw_mmc.h239 unsigned short max_segs; /* see blk_queue_max_segments */ member
Dhost.h305 unsigned short max_segs; /* see blk_queue_max_segments */ member
/linux-4.1.27/net/ipv4/
Dtcp_output.c1565 unsigned int max_segs, in tcp_mss_split_point() argument
1572 max_len = mss_now * max_segs; in tcp_mss_split_point()
1768 bool *is_cwnd_limited, u32 max_segs) in tcp_tso_should_defer() argument
1801 if (limit >= max_segs * tp->mss_cache) in tcp_tso_should_defer()
2041 u32 max_segs; in tcp_write_xmit() local
2055 max_segs = tcp_tso_autosize(sk, mss_now); in tcp_write_xmit()
2081 if (tso_segs == 1 || !max_segs) { in tcp_write_xmit()
2089 max_segs)) in tcp_write_xmit()
2094 if (tso_segs > 1 && max_segs && !tcp_urg_mode(tp)) in tcp_write_xmit()
2098 max_segs), in tcp_write_xmit()
/linux-4.1.27/drivers/mmc/core/
Dhost.c512 host->max_segs = 1; in mmc_alloc_host()
/linux-4.1.27/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.1.27/drivers/net/wireless/brcm80211/brcmfmac/
Dbcmsdh.c1056 sdiodev->sg_support = host->max_segs > 1; in brcmf_sdiod_probe()
1060 sdiodev->max_segment_count = min_t(uint, host->max_segs, in brcmf_sdiod_probe()
/linux-4.1.27/drivers/scsi/
Dst.c3749 int segs, max_segs, b_size, order, got; in enlarge_buffer() local
3758 max_segs = STbuffer->use_sg; in enlarge_buffer()
3773 max_segs * (PAGE_SIZE << order) < new_size; in enlarge_buffer()
3778 if (max_segs * (PAGE_SIZE << order) < new_size) { in enlarge_buffer()
3786 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()