Searched refs:max_segments (Results 1 – 5 of 5) sorted by relevance
18 int max_length, int max_segments) in diva_data_q_init() argument23 q->segments = max_segments; in diva_data_q_init()
20 int max_length, int max_segments);
2828 int idx, avail, frag_cnt, frag_idx, count, mss, max_segments; in myri10ge_xmit() local2843 max_segments = MXGEFW_MAX_SEND_DESC; in myri10ge_xmit()2847 max_segments = MYRI10GE_MAX_SEND_DESC_TSO; in myri10ge_xmit()2850 if ((unlikely(avail < max_segments))) { in myri10ge_xmit()2961 if (unlikely(count == max_segments)) in myri10ge_xmit()
1131 unsigned int max_segments = 0; in drbd_setup_queue_param() local1139 max_segments = rcu_dereference(device->ldev->disk_conf)->max_bio_bvecs; in drbd_setup_queue_param()1149 blk_queue_max_segments(q, max_segments ? max_segments : BLK_MAX_SEGMENTS); in drbd_setup_queue_param()
809 q->limits.max_segments = BIO_MAX_PAGES; in bcache_device_init()