Function report

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:block\blk-core.c Create Date:2022-07-28 17:00:10
Last Modify:2020-03-12 14:18:49 Copyright©Brick
home page Tree
Annotation kernel can get tool activityDownload SCCTChinese

Name:direct_make_request - hand a buffer directly to its device driver for I/O*@bio: The bio describing the location in memory and on the device.* This function behaves like generic_make_request(), but does not protect* against recursion

Proto:blk_qc_t direct_make_request(struct bio *bio)

Type:blk_qc_t

Parameter:

TypeParameterName
struct bio *bio
1115  q = queue
1116  nowait = bottom bits req flags, * top bits REQ_OP. Use * accessors. & REQ_NOWAIT
1119  If Not generic_make_request_checks(bio) Then Return BLK_QC_T_NONE
1122  If Value for the false possibility is greater at compile time(lk_queue_enter() - try to increase q->q_usage_counter*@q: request queue pointer*@flags: BLK_MQ_REQ_NOWAIT and/or BLK_MQ_REQ_PREEMPT) Then
1123  If nowait && Not blk_queue_dying(q) Then bi_status = BLK_STS_AGAIN
1125  Else bi_status = BLK_STS_IOERR
1127  _endio - end I/O on a bio*@bio: bio* Description:* bio_endio() will end I/O on the whole bio. bio_endio() is the preferred* way to end I/O on a bio. No one should call bi_end_io() directly on a
1128  Return BLK_QC_T_NONE
1131  ret = make_request_fn(q, bio)
1132  blk_queue_exit(q)
1133  Return ret