enabled、blk_attempt_plug_merge以及一个_raw_spin_lock_irq的调用,并在其内部调用了elv_merge函数。
if(blk_mq_attempt_bio_merge(q,bio,nsegs, same_queue_rq)) returnNULL; checked=true; if(!blk_mq_can_use_cached_rq(rq,bio)) goto fallback; rq->cmd_flags=bio->bi_opf; plug->cached_rq=rq_list_next(rq); INIT_LIST_HEAD(&rq->queuelist); ...
* Together with queue_head for cacheline sharing */structlist_headqueue_head;structrequest*last_merge;structelevator_queue*elevator;structblk_queue_stats*stats;structrq_qos*rq_qos;make_request_fn *make_request_fn; dma_drain_needed_fn *dma_drain_needed;conststructblk_mq_ops*mq_ops;/* sw que...
("%s: attempt to access beyond end of device\n" "%pg: rw=%d, sector=%llu, nr_sectors = %u limit=%llu\n", current->comm,bio->bi_bdev,bio->bi_opf, bio->bi_iter.bi_sector,nr_sectors,maxsector); return-EIO; } return0;
* This is a hack to attempt to create a block event * that we can read. * * We'll make a format file to look like this: * * name: blktrace * ID: 13 * format: * field:unsigned short common_type; offset:0; size:2;
cec_transmit_attempt_done_ts cec_transmit_done_ts cec_unregister_adapter cfg80211_assoc_timeout cfg80211_auth_timeout cfg80211_calculate_bitrate cfg80211_ch_switch_notify cfg80211_chandef_create cfg80211_chandef_valid cfg80211_classify8021d cfg80211_conn_failed cfg80211_connect_don...
Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties ...
In most scenarios,BLKFlexibleHeightBarBehaviorDefinerisn't useful until subclassed. By itself, it only provides snapping functionality and a property that controls whether or not the bar bounces when it reaches its maximum height. It makes no attempt to adjust the height of the bar during scrollin...
By itself, it only provides snapping functionality and a property that controls whether or not the bar bounces when it reaches its maximum height. It makes no attempt to adjust the height of the bar during scrolling.Subclassing guidelinesStart by creating a subclass BLKFlexibleHeightBarBehavior...