/kernel/linux/linux-5.10/drivers/mmc/core/ |
H A D | mmc_test.c | 68 * @max_segs: maximum segments allowed by driver in scatterlist @sg 80 unsigned int max_segs; member 337 unsigned int max_segs, in mmc_test_alloc_mem() 355 if (max_segs > max_page_cnt) in mmc_test_alloc_mem() 356 max_segs = max_page_cnt; in mmc_test_alloc_mem() 362 mem->arr = kcalloc(max_segs, sizeof(*mem->arr), GFP_KERNEL); in mmc_test_alloc_mem() 391 if (mem->cnt >= max_segs) { in mmc_test_alloc_mem() 411 unsigned int max_segs, unsigned int max_seg_sz, in mmc_test_map_sg() 418 sg_init_table(sglist, max_segs); in mmc_test_map_sg() 419 if (min_sg_len > max_segs) in mmc_test_map_sg() 335 mmc_test_alloc_mem(unsigned long min_sz, unsigned long max_sz, unsigned int max_segs, unsigned int max_seg_sz) mmc_test_alloc_mem() argument 409 mmc_test_map_sg(struct mmc_test_mem *mem, unsigned long size, struct scatterlist *sglist, int repeat, unsigned int max_segs, unsigned int max_seg_sz, unsigned int *sg_len, int min_sg_len) mmc_test_map_sg() argument 460 mmc_test_map_sg_max_scatter(struct mmc_test_mem *mem, unsigned long sz, struct scatterlist *sglist, unsigned int max_segs, unsigned int max_seg_sz, unsigned int *sg_len) mmc_test_map_sg_max_scatter() argument [all...] |
H A D | queue.c | 201 host->max_segs; in mmc_get_max_segments() 456 * the host->can_dma_map_merge should be set before to get max_segs in mmc_init_queue() 460 host->max_segs < MMC_DMA_MAP_MERGE_SEGMENTS && in mmc_init_queue()
|
/kernel/linux/linux-6.6/drivers/mmc/core/ |
H A D | mmc_test.c | 67 * @max_segs: maximum segments allowed by driver in scatterlist @sg 79 unsigned int max_segs; member 336 unsigned int max_segs, in mmc_test_alloc_mem() 354 if (max_segs > max_page_cnt) in mmc_test_alloc_mem() 355 max_segs = max_page_cnt; in mmc_test_alloc_mem() 361 mem->arr = kcalloc(max_segs, sizeof(*mem->arr), GFP_KERNEL); in mmc_test_alloc_mem() 390 if (mem->cnt >= max_segs) { in mmc_test_alloc_mem() 410 unsigned int max_segs, unsigned int max_seg_sz, in mmc_test_map_sg() 417 sg_init_table(sglist, max_segs); in mmc_test_map_sg() 418 if (min_sg_len > max_segs) in mmc_test_map_sg() 334 mmc_test_alloc_mem(unsigned long min_sz, unsigned long max_sz, unsigned int max_segs, unsigned int max_seg_sz) mmc_test_alloc_mem() argument 408 mmc_test_map_sg(struct mmc_test_mem *mem, unsigned long size, struct scatterlist *sglist, int repeat, unsigned int max_segs, unsigned int max_seg_sz, unsigned int *sg_len, int min_sg_len) mmc_test_map_sg() argument 459 mmc_test_map_sg_max_scatter(struct mmc_test_mem *mem, unsigned long sz, struct scatterlist *sglist, unsigned int max_segs, unsigned int max_seg_sz, unsigned int *sg_len) mmc_test_map_sg_max_scatter() argument [all...] |
H A D | queue.c | 200 host->max_segs; in mmc_get_max_segments() 439 * the host->can_dma_map_merge should be set before to get max_segs in mmc_init_queue() 443 host->max_segs < MMC_DMA_MAP_MERGE_SEGMENTS && in mmc_init_queue()
|
/kernel/linux/linux-5.10/drivers/mmc/host/ |
H A D | renesas_sdhi.h | 33 unsigned short max_segs; member
|
H A D | wmt-sdmmc.c | 181 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()
|
H A D | renesas_sdhi_internal_dmac.c | 101 .max_segs = 1, 116 .max_segs = 1,
|
H A D | mmci_stm32_sdmmc.c | 137 host->mmc->max_segs = SDMMC_LLI_BUF_LEN / in sdmmc_idma_setup() 141 host->mmc->max_segs = 1; in sdmmc_idma_setup()
|
H A D | cqhci.c | 50 (cq_host->mmc->max_segs * tag * in get_trans_desc_dma() 57 (cq_host->trans_desc_len * cq_host->mmc->max_segs * tag); in get_trans_desc() 196 cq_host->data_size = cq_host->trans_desc_len * cq_host->mmc->max_segs * in cqhci_host_alloc_tdl()
|
H A D | tmio_mmc_core.c | 1118 mmc->max_segs = pdata->max_segs ? : 32; in tmio_mmc_host_probe() 1121 (PAGE_SIZE / mmc->max_blk_size) * mmc->max_segs; in tmio_mmc_host_probe()
|
/kernel/linux/linux-5.10/block/ |
H A D | blk-merge.c | 184 * bio without exceeding @max_segs 188 * @max_segs: [in] upper bound for *@nsegs 200 unsigned *sectors, unsigned max_segs, in bvec_split_segs() 208 while (len && *nsegs < max_segs) { in bvec_split_segs() 255 const unsigned max_segs = queue_max_segments(q); in blk_bio_segment_split() local 265 if (nsegs < max_segs && in blk_bio_segment_split() 270 } else if (bvec_split_segs(q, &bv, &nsegs, §ors, max_segs, in blk_bio_segment_split() 198 bvec_split_segs(const struct request_queue *q, const struct bio_vec *bv, unsigned *nsegs, unsigned *sectors, unsigned max_segs, unsigned max_sectors) bvec_split_segs() argument
|
/kernel/linux/linux-6.6/drivers/mmc/host/ |
H A D | wmt-sdmmc.c | 180 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 D | renesas_sdhi.h | 35 unsigned short max_segs; member
|
H A D | renesas_sdhi_internal_dmac.c | 104 .max_segs = 1, 119 .max_segs = 1, 135 .max_segs = 1,
|
H A D | mmci_stm32_sdmmc.c | 206 host->mmc->max_segs = SDMMC_LLI_BUF_LEN / in sdmmc_idma_setup() 212 host->mmc->max_segs = 1; in sdmmc_idma_setup()
|
H A D | tmio_mmc_core.c | 1177 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()
|
/kernel/linux/linux-5.10/include/rdma/ |
H A D | rdmavt_mr.h | 39 u32 max_segs; /* number of rvt_segs in all the arrays */ member
|
/kernel/linux/linux-5.10/include/linux/mfd/ |
H A D | tmio.h | 103 unsigned short max_segs; member
|
/kernel/linux/linux-6.6/include/linux/mfd/ |
H A D | tmio.h | 102 unsigned short max_segs; member
|
/kernel/linux/linux-6.6/include/rdma/ |
H A D | rdmavt_mr.h | 39 u32 max_segs; /* number of rvt_segs in all the arrays */ member
|
/kernel/linux/linux-5.10/net/ipv4/ |
H A D | tcp_output.c | 2003 unsigned int max_segs, in tcp_mss_split_point() 2010 max_len = mss_now * max_segs; in tcp_mss_split_point() 2177 u32 max_segs) in tcp_tso_should_defer() 2211 if (limit >= max_segs * tp->mss_cache) in tcp_tso_should_defer() 2621 u32 max_segs; in tcp_write_xmit() local 2636 max_segs = tcp_tso_segs(sk, mss_now); in tcp_write_xmit() 2676 &is_rwnd_limited, max_segs)) in tcp_write_xmit() 2685 max_segs), in tcp_write_xmit() 3323 u32 max_segs; in tcp_xmit_retransmit_queue() local 3331 max_segs in tcp_xmit_retransmit_queue() 2000 tcp_mss_split_point(const struct sock *sk, const struct sk_buff *skb, unsigned int mss_now, unsigned int max_segs, int nonagle) tcp_mss_split_point() argument 2174 tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, bool *is_cwnd_limited, bool *is_rwnd_limited, u32 max_segs) tcp_tso_should_defer() argument [all...] |
/kernel/linux/linux-6.6/net/ipv4/ |
H A D | tcp_output.c | 2013 unsigned int max_segs, in tcp_mss_split_point() 2020 max_len = mss_now * max_segs; in tcp_mss_split_point() 2182 u32 max_segs) in tcp_tso_should_defer() 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 in tcp_xmit_retransmit_queue() 2010 tcp_mss_split_point(const struct sock *sk, const struct sk_buff *skb, unsigned int mss_now, unsigned int max_segs, int nonagle) tcp_mss_split_point() argument 2179 tcp_tso_should_defer(struct sock *sk, struct sk_buff *skb, bool *is_cwnd_limited, bool *is_rwnd_limited, u32 max_segs) tcp_tso_should_defer() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | bio.h | 460 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()
|
/kernel/linux/linux-5.10/drivers/infiniband/sw/rdmavt/ |
H A D | mr.c | 158 mr->max_segs = count; in rvt_init_mregion() 605 if (unlikely(mapped_segs == mr->mr.max_segs)) in rvt_set_page()
|
/kernel/linux/linux-6.6/block/ |
H A D | blk-merge.c | 217 * bio without exceeding @max_segs 221 * @max_segs: [in] upper bound for *@nsegs 233 unsigned max_segs, unsigned max_bytes) in bvec_split_segs() 240 while (len && *nsegs < max_segs) { in bvec_split_segs() 231 bvec_split_segs(const struct queue_limits *lim, const struct bio_vec *bv, unsigned *nsegs, unsigned *bytes, unsigned max_segs, unsigned max_bytes) bvec_split_segs() argument
|