函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:include\linux\blkdev.h Create Date:2022-07-27 06:47:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:blk_rq_sectors

函数原型:static inline unsigned int blk_rq_sectors(const struct request *rq)

返回类型:unsigned int

参数:

类型参数名称
const struct request *rq
941  返回: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
调用者
名称描述
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.
blk_rq_trace_nr_sectors