/kernel/linux/linux-5.10/block/ |
D | blk-settings.c | 40 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/ |
D | rtrs.h | 60 u16 max_segments,
|
D | rtrs-clt.c | 1269 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()
|
D | rtrs-clt.h | 167 unsigned int max_segments; member
|
/kernel/linux/linux-5.10/drivers/block/rnbd/ |
D | rnbd-clt.h | 123 u16 max_segments; member
|
D | rnbd-proto.h | 139 __le16 max_segments; member
|
D | rnbd-clt.c | 93 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()
|
D | rnbd-srv.c | 547 rsp->max_segments = in rnbd_srv_fill_msg_open_rsp()
|
/kernel/linux/linux-5.10/drivers/nvme/target/ |
D | passthru.c | 48 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/ |
D | sd_zbc.c | 748 q->limits.max_segments << (PAGE_SHIFT - 9)); in sd_zbc_revalidate_zones()
|
/kernel/linux/linux-5.10/include/linux/ |
D | blkdev.h | 349 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/ |
D | myri10ge.c | 2626 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/ |
D | nvme.h | 282 u32 max_segments; member
|
D | core.c | 2023 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()
|
D | fc.c | 3097 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()
|
D | rdma.c | 914 ctrl->ctrl.max_segments = ctrl->max_fr_pages; in nvme_rdma_configure_admin_queue()
|
D | pci.c | 2638 dev->ctrl.max_segments = NVME_MAX_SEGS; in nvme_reset_work()
|
/kernel/linux/linux-5.10/Documentation/block/ |
D | queue-sysfs.rst | 148 max_segments (RO)
|
D | biodoc.rst | 158 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/ |
D | drbd_nl.c | 1338 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/ |
D | super.c | 968 q->limits.max_segments = BIO_MAX_PAGES; in bcache_device_init()
|