Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-28 05:46:28
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:blk_rq_sectors

Proto:static inline unsigned int blk_rq_sectors(const struct request *rq)

Type:unsigned int

Parameter:

TypeParameterName
const struct request *rq
941  Return blk_rq_bytes(rq) >> The basic unit of block I/O is a sector. It is used in a number of contexts* in Linux (blk, bio, genhd). The size of one sector is 512 = 2**9* bytes. Variables of type sector_t represent an offset or size that is a* multiple of 512 bytes
Caller
NameDescribe
blk_dump_rq_flags
bio_attempt_discard_merge
blk_cloned_rq_check_limitslk_cloned_rq_check_limits - Helper function to check a cloned request* for new the queue limits*@q: the queue*@rq: the request being checked* Description:*@rq may have been made based on weaker limitations of upper-level queues
blk_flush_policy
ll_back_merge_fn
ll_front_merge_fn
req_attempt_discard_merge
ll_merge_requests_fn
blk_try_req_merge
blk_try_merge
blk_mq_start_request
ioc_rqos_merge
bfq_serv_to_chargesee the definition of bfq_async_charge_factor for details
bfq_reset_rate_computation
bfq_update_peak_rateUpdate the read/write peak rate (the main quantity used for* auto-tuning, see update_thr_responsiveness_params())
__bfq_bfqq_recalc_budget__bfq_bfqq_recalc_budget - try to adapt the budget to the @bfqq behavior.*@bfqd: device data.*@bfqq: queue to update.*@reason: reason for expiration.* Handle the feedback on @bfqq budget at queue expiration.* See the body for detailed comments.
bfq_choose_bfqq_for_injectionThis function chooses the queue from which to pick the next extra* I/O request to inject, if it finds a compatible queue
bfq_rq_enqueuedCalled when a new fs request (rq) is added to bfqq. Check if there's* something we should do about it.