Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

Name:lk_rq_pos() : the current sector* blk_rq_bytes() : bytes left in the entire request* blk_rq_cur_bytes() : bytes left in the current segment* blk_rq_err_bytes() : bytes left till the next error boundary* blk_rq_sectors() : sectors left in the entire

Proto:static inline sector_t blk_rq_pos(const struct request *rq)

Type:sector_t

Parameter:

TypeParameterName
const struct request *rq
924  Return sector cursor
Caller
NameDescribe
elv_rb_addRB-tree support functions for inserting/lookup/removal of requests* in a sorted RB tree.
elv_rb_find
elv_attempt_insert_mergeAttempt to do an insertion back merge. Only check for the case where* we can append 'rq' to an existing request, so we can throw 'rq' away* afterwards.* Returns true if we merged, false otherwise
print_req_error
blk_dump_rq_flags
bio_attempt_discard_merge
blk_account_io_start
__blk_rq_prep_cloneCopy attributes of the original request to the clone request.* The actual data parts (e.g. ->cmd, ->sense) are not copied.
ll_back_merge_fn
req_attempt_discard_merge
ll_merge_requests_fn
blk_try_req_merge
blk_try_merge
plug_rq_cmp
ioc_rqos_merge
dd_request_merge
bfq_choose_reqLifted from AS - choose which of rq1 and rq2 that is best served now.* We choose the request that is closer to the head right now. Distance* behind the head is penalized and only allowed to a certain extent.
bfq_rq_pos_tree_lookup
bfq_pos_tree_add_moveThe following function is not marked as __cold because it is* actually cold, but for the same performance goal described in the* comments on the likely() at the beginning of* bfq_setup_cooperator()
bfq_find_next_rq
get_sdist
bfq_request_merged
bfq_io_struct_pos
bfqq_find_close
bfq_update_peak_rateUpdate the read/write peak rate (the main quantity used for* auto-tuning, see update_thr_responsiveness_params())
bfq_rq_enqueuedCalled when a new fs request (rq) is added to bfqq. Check if there's* something we should do about it.