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:blk_rq_bytes

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

Type:unsigned int

Parameter:

TypeParameterName
const struct request *rq
929  Return total data len
Caller
NameDescribe
blk_dump_rq_flags
blk_insert_cloned_requestlk_insert_cloned_request - Helper for stacking drivers to submit a request*@q: the queue to submit the request*@rq: the request being queued
blk_rq_err_byteslk_rq_err_bytes - determine number of bytes till the next failure boundary*@rq: request to examine* Description:* A request could be merge of IOs which require different failure* handling
blk_update_requestlk_update_request - Special helper function for request stacking drivers*@req: the request being processed*@error: block status code*@nr_bytes: number of bytes to complete @req* Description:* Ends I/O on a number of bytes attached to @req, but doesn't
__blk_rq_prep_cloneCopy attributes of the original request to the clone request.* The actual data parts (e.g. ->cmd, ->sense) are not copied.
blk_rq_map_sgmap a request to scatterlist, return number of sg entries setup. Caller* must make sure sg can hold rq->nr_phys_segments entries
attempt_mergeFor non-mq, this has to be called with the request spinlock acquired.* For mq with scheduling, the appropriate queue wide lock should be held.
blk_mq_end_request
blk_mq_start_request
__blk_mq_requeue_request
blk_mq_make_request
bsg_map_buffer