Home
last modified time | relevance | path

Searched refs:max_segments (Results 1 – 21 of 21) sorted by relevance

/kernel/linux/linux-5.10/block/
Dblk-settings.c40 lim->max_segments = BLK_MAX_SEGMENTS; in blk_set_default_limits()
79 lim->max_segments = USHRT_MAX; in blk_set_stacking_limits()
260 void blk_queue_max_segments(struct request_queue *q, unsigned short max_segments) in blk_queue_max_segments() argument
262 if (!max_segments) { in blk_queue_max_segments()
263 max_segments = 1; in blk_queue_max_segments()
265 __func__, max_segments); in blk_queue_max_segments()
268 q->limits.max_segments = max_segments; in blk_queue_max_segments()
282 unsigned short max_segments) in blk_queue_max_discard_segments() argument
284 q->limits.max_discard_segments = max_segments; in blk_queue_max_discard_segments()
521 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits()
/kernel/linux/linux-5.10/drivers/infiniband/ulp/rtrs/
Drtrs.h60 u16 max_segments,
Drtrs-clt.c1269 req->sge = kmalloc_array(clt->max_segments + 1, in alloc_sess_reqs()
1418 size_t con_num, u16 max_segments, in alloc_sess() argument
1456 sess->max_pages_per_mr = max_segments * max_segment_size >> 12; in alloc_sess()
2553 unsigned int max_segments, in alloc_clt() argument
2585 clt->max_segments = max_segments; in alloc_clt()
2668 u16 max_segments, in rtrs_clt_open() argument
2678 max_segments, max_segment_size, reconnect_delay_sec, in rtrs_clt_open()
2688 max_segments, max_segment_size); in rtrs_clt_open()
2948 sess = alloc_sess(clt, addr, nr_cpu_ids, clt->max_segments, in rtrs_clt_create_path_from_sysfs()
Drtrs-clt.h167 unsigned int max_segments; member
/kernel/linux/linux-5.10/drivers/block/rnbd/
Drnbd-clt.h123 u16 max_segments; member
Drnbd-proto.h139 __le16 max_segments; member
Drnbd-clt.c93 dev->max_segments = BMAX_SEGMENTS; in rnbd_clt_set_dev_attr()
1308 blk_queue_max_segments(dev->queue, dev->max_segments); in setup_request_queue()
1536 dev->secure_discard, dev->max_segments, in rnbd_clt_map_device()
Drnbd-srv.c547 rsp->max_segments = in rnbd_srv_fill_msg_open_rsp()
/kernel/linux/linux-5.10/drivers/nvme/target/
Dpassthru.c48 max_hw_sectors = min_not_zero(pctrl->max_segments << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl()
/kernel/linux/linux-5.10/drivers/scsi/
Dsd_zbc.c748 q->limits.max_segments << (PAGE_SHIFT - 9)); in sd_zbc_revalidate_zones()
/kernel/linux/linux-5.10/include/linux/
Dblkdev.h349 unsigned short max_segments; member
1420 return q->limits.max_segments; in queue_max_segments()
/kernel/linux/linux-5.10/drivers/net/ethernet/myricom/myri10ge/
Dmyri10ge.c2626 int idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local
2641 max_segments = MXGEFW_MAX_SEND_DESC; in myri10ge_xmit()
2645 max_segments = MYRI10GE_MAX_SEND_DESC_TSO; in myri10ge_xmit()
2648 if ((unlikely(avail < max_segments))) { in myri10ge_xmit()
2759 if (unlikely(count == max_segments)) in myri10ge_xmit()
/kernel/linux/linux-5.10/drivers/nvme/host/
Dnvme.h282 u32 max_segments; member
Dcore.c2023 u32 max_segments = in nvme_set_queue_limits() local
2026 max_segments = min_not_zero(max_segments, ctrl->max_segments); in nvme_set_queue_limits()
2028 blk_queue_max_segments(q, min_t(u32, max_segments, USHRT_MAX)); in nvme_set_queue_limits()
Dfc.c3097 ctrl->ctrl.max_segments = ctrl->lport->ops->max_sgl_segments; in nvme_fc_create_association()
3098 ctrl->ctrl.max_hw_sectors = ctrl->ctrl.max_segments << in nvme_fc_create_association()
Drdma.c914 ctrl->ctrl.max_segments = ctrl->max_fr_pages; in nvme_rdma_configure_admin_queue()
Dpci.c2638 dev->ctrl.max_segments = NVME_MAX_SEGS; in nvme_reset_work()
/kernel/linux/linux-5.10/Documentation/block/
Dqueue-sysfs.rst148 max_segments (RO)
Dbiodoc.rst158 blk_queue_max_phys_segments(q, max_segments)
162 blk_queue_max_hw_segments(q, max_segments)
/kernel/linux/linux-5.10/drivers/block/drbd/
Ddrbd_nl.c1338 unsigned int max_segments = 0; in drbd_setup_queue_param() local
1350 max_segments = dc->max_bio_bvecs; in drbd_setup_queue_param()
1360 blk_queue_max_segments(q, max_segments ? max_segments : BLK_MAX_SEGMENTS); in drbd_setup_queue_param()
/kernel/linux/linux-5.10/drivers/md/bcache/
Dsuper.c968 q->limits.max_segments = BIO_MAX_PAGES; in bcache_device_init()