/linux-6.3-rc2/block/ |
A D | blk-settings.c | 37 lim->max_segments = BLK_MAX_SEGMENTS; in blk_set_default_limits() 77 lim->max_segments = USHRT_MAX; in blk_set_stacking_limits() 247 void blk_queue_max_segments(struct request_queue *q, unsigned short max_segments) in blk_queue_max_segments() argument 249 if (!max_segments) { in blk_queue_max_segments() 250 max_segments = 1; in blk_queue_max_segments() 252 __func__, max_segments); in blk_queue_max_segments() 255 q->limits.max_segments = max_segments; in blk_queue_max_segments() 269 unsigned short max_segments) in blk_queue_max_discard_segments() argument 271 q->limits.max_discard_segments = max_segments; in blk_queue_max_discard_segments() 572 t->max_segments = min_not_zero(t->max_segments, b->max_segments); in blk_stack_limits()
|
A D | blk-merge.c | 294 if (nsegs < lim->max_segments && in bio_split_rw() 301 lim->max_segments, max_bytes)) in bio_split_rw()
|
A D | blk-mq.c | 3003 unsigned int max_segments = blk_rq_get_max_segments(rq); in blk_insert_cloned_request() local 3030 if (rq->nr_phys_segments > max_segments) { in blk_insert_cloned_request() 3032 __func__, rq->nr_phys_segments, max_segments); in blk_insert_cloned_request()
|
/linux-6.3-rc2/drivers/infiniband/ulp/rtrs/ |
A D | rtrs.h | 113 u32 max_segments; member
|
A D | rtrs-clt.h | 170 unsigned int max_segments; member
|
A D | rtrs-clt.c | 1468 clt_path->clt->max_segments = in query_fast_reg_mode() 1469 min(clt_path->max_pages_per_mr, clt_path->clt->max_segments); in query_fast_reg_mode() 2719 clt->max_segments = RTRS_MAX_SEGMENTS; in alloc_clt() 3089 attr->max_segments = clt->max_segments; in rtrs_clt_query() 3092 clt->max_segments * SZ_4K); in rtrs_clt_query()
|
/linux-6.3-rc2/drivers/block/rnbd/ |
A D | rnbd-clt.h | 88 u32 max_segments; member
|
A D | rnbd-proto.h | 145 __le16 max_segments; member
|
A D | rnbd-clt.c | 1284 sess->max_segments = attrs.max_segments; in find_and_get_or_create_sess() 1359 blk_queue_max_segments(dev->queue, dev->sess->max_segments); in setup_request_queue() 1637 sess->max_segments, sess->max_io_size / SECTOR_SIZE, in rnbd_clt_map_device()
|
A D | rnbd-srv.c | 546 rsp->max_segments = cpu_to_le16(bdev_max_segments(bdev)); in rnbd_srv_fill_msg_open_rsp()
|
/linux-6.3-rc2/include/linux/ |
A D | blkdev.h | 307 unsigned short max_segments; member 1134 return q->limits.max_segments; in queue_max_segments()
|
/linux-6.3-rc2/drivers/nvme/target/ |
A D | passthru.c | 105 max_hw_sectors = min_not_zero(pctrl->max_segments << (PAGE_SHIFT - 9), in nvmet_passthru_override_id_ctrl()
|
/linux-6.3-rc2/drivers/net/ethernet/myricom/myri10ge/ |
A D | myri10ge.c | 2633 int idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local 2648 max_segments = MXGEFW_MAX_SEND_DESC; in myri10ge_xmit() 2652 max_segments = MYRI10GE_MAX_SEND_DESC_TSO; in myri10ge_xmit() 2655 if ((unlikely(avail < max_segments))) { in myri10ge_xmit() 2766 if (unlikely(count == max_segments)) in myri10ge_xmit()
|
/linux-6.3-rc2/drivers/scsi/ |
A D | sd_zbc.c | 892 q->limits.max_segments << (PAGE_SHIFT - 9)); in sd_zbc_revalidate_zones()
|
/linux-6.3-rc2/drivers/nvme/host/ |
A D | nvme.h | 288 u32 max_segments; member
|
A D | core.c | 1812 u32 max_segments = in nvme_set_queue_limits() local 1815 max_segments = min_not_zero(max_segments, ctrl->max_segments); in nvme_set_queue_limits() 1817 blk_queue_max_segments(q, min_t(u32, max_segments, USHRT_MAX)); in nvme_set_queue_limits()
|
A D | apple.c | 1054 anv->ctrl.max_segments = NVME_MAX_SEGS; in apple_nvme_reset_work()
|
A D | fc.c | 3116 ctrl->ctrl.max_segments = ctrl->lport->ops->max_sgl_segments; in nvme_fc_create_association() 3117 ctrl->ctrl.max_hw_sectors = ctrl->ctrl.max_segments << in nvme_fc_create_association()
|
A D | rdma.c | 866 ctrl->ctrl.max_segments = ctrl->max_fr_pages; in nvme_rdma_configure_admin_queue()
|
A D | pci.c | 2964 dev->ctrl.max_segments = NVME_MAX_SEGS; in nvme_pci_alloc_dev()
|
/linux-6.3-rc2/drivers/block/drbd/ |
A D | drbd_nl.c | 1276 unsigned int max_segments = 0; in drbd_setup_queue_param() local 1286 max_segments = dc->max_bio_bvecs; in drbd_setup_queue_param() 1294 blk_queue_max_segments(q, max_segments ? max_segments : BLK_MAX_SEGMENTS); in drbd_setup_queue_param()
|
/linux-6.3-rc2/fs/btrfs/ |
A D | zoned.c | 772 (u64)lim->max_segments << PAGE_SHIFT), in btrfs_check_zoned_mode()
|
/linux-6.3-rc2/Documentation/ABI/stable/ |
A D | sysfs-block | 447 What: /sys/block/<disk>/queue/max_segments
|
/linux-6.3-rc2/drivers/md/bcache/ |
A D | super.c | 953 q->limits.max_segments = BIO_MAX_VECS; in bcache_device_init()
|